Author Topic: Game crashing on PVP, dedicated server crashing on player login  (Read 1018 times)

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0


               

There's definitely something wrong with my installation of NWN, since, as written in the title, the game crashes when a PVP fight starts in multiplayer (I wanted to test something for my module in PVP, so I arranged this). I wanted to check if it's because of a game client, so I did the same on dedicated server. It was even worse, because the server crashed as soon as I tried to log in as a player.


 


I tried using an original version of a game's exe (instead of NWNCX, which I normally use), but the problem persisted.


Then I wanted to check if maybe my override is to blame for some reason, so I tried it with an empty override folder, still the same thing.


 


I'm positive that it's a recent problem, since just a week or two ago I was hosting a dedicated server and logging in with no problems.


Any ideas what might be going on?



               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #1 on: March 19, 2015, 01:48:57 am »


               

Did you change or delete a hak or serverside override that affects a tileset? If so, you could have one or more broken areas that are the cause. If you open each area in the toolset, you should find which are glitched if this was the case.



               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #2 on: March 19, 2015, 08:48:20 am »


               

I tried this with non-hak modules as well, and the result was the same. So I assume it's not a hak's fault.



               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #3 on: March 20, 2015, 07:56:17 pm »


               

I reinstalled the game and got rid of the PVP problem.


The server still crashes on player joining the game, though. It seems that NWNX is the culprit, because it doesn't happen when it's not used.


 


Anyone knows why that might be?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #4 on: March 21, 2015, 03:56:25 am »


               


I reinstalled the game and got rid of the PVP problem.


The server still crashes on player joining the game, though. It seems that NWNX is the culprit, because it doesn't happen when it's not used.


 


Anyone knows why that might be?




no but disabling nwnx plugins one by one till you find the one causing this then turn on the plugin creator


               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #5 on: March 21, 2015, 10:48:42 am »


               

Right, the culprit has been found. Looks like "nwnx-connect" plugin crashes the server on player login IF the module does not use a custom talk table. At least this happens when said player logs in using NWNCX with nwncx-connect plugin, not sure if it occurs without this client-side plugin, too, but chances are high that it does not.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #6 on: March 21, 2015, 05:52:57 pm »


               


Right, the culprit has been found. Looks like "nwnx-connect" plugin crashes the server on player login IF the module does not use a custom talk table. At least this happens when said player logs in using NWNCX with nwncx-connect plugin, not sure if it occurs without this client-side plugin, too, but chances are high that it does not.




thats mine plugin and i already fixed that you must have old version did you get it from here?


               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #7 on: March 21, 2015, 10:31:42 pm »


               

Don't remember, but I did just now and I still encounter this problem.


 


Edit: Apparently, the server crashes even if a player logs using an original exe file and not NWNCX. Just checked it.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #8 on: March 22, 2015, 07:00:40 am »


               


Don't remember, but I did just now and I still encounter this problem.


 


Edit: Apparently, the server crashes even if a player logs using an original exe file and not NWNCX. Just checked it.




post nwnx_connect.txt from logs.0 folder (when it crashes)


               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #9 on: March 22, 2015, 09:27:26 am »


               

 


NWNX Connect v1.3 created by Shadooow and addicted2rpg, based on Virusman's linux original


! HandlePlayerToServerMessage() hooked at 0x5426A0 .


Message: PID 0, type 1, subtype 0, CNWSMessage 851BC18

Sending hak list...pMessage=851BC18, nPlayerID=0, sharedHeap=3D0000

(null)



               
               

               
            

Legacy_Thayan

  • Sr. Member
  • ****
  • Posts: 435
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #10 on: June 01, 2015, 12:00:25 am »


               

Query related to this -


My nwnx_connect log on the server get pretty large (megabytes in size) during the ~24 hours that I have the server run before an automated reset. It doesn't seem to be causing any problems at the moment, but is there a way I can just turn logging off, or reduce verbosity, for nwnx_connect on the server?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Game crashing on PVP, dedicated server crashing on player login
« Reply #11 on: June 05, 2015, 12:38:27 am »


               


Query related to this -


My nwnx_connect log on the server get pretty large (megabytes in size) during the ~24 hours that I have the server run before an automated reset. It doesn't seem to be causing any problems at the moment, but is there a way I can just turn logging off, or reduce verbosity, for nwnx_connect on the server?




Try this.


 


Grani you as well if you still have problems with my plugin.