Author Topic: Weird server crash issue with local and online players  (Read 592 times)

Legacy_paopufruito

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Weird server crash issue with local and online players
« on: July 13, 2014, 05:04:36 am »


               

Alright, so I have this problem. When I am playing in my own server, and if a player from the internet joins the server, it just crashes the server instantly. I have experienced this happen consistently every single time. On one occasion, an internet player was able to join and play for a few minutes. As soon as I join the server, boom - you guessed it - CRASH.


 


I'm running a NWN dedicated server setup with NWNX installed on a Win7 64bit PC. Would running it on Linux (last resort) be any better? Also I'm joining the server using the local IP address, as I cannot connect to my IP. Could that be the reason why? I'm not really sure what is going on at this point.


 



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Weird server crash issue with local and online players
« Reply #1 on: July 13, 2014, 05:38:53 am »


               

First - make sure this happens without NWNX as well.


If does - well then I dont really have much ideas.


If not - what are your plugins?


Couldnt be one of them nwnx_connect ? (I know about one crash there which I fixed  but havent yet uploaded due to some issues with github and the way i works)


Other known crash causes latest nwnx_funcs. At any way, if nwnx is an issue try disable plugins one by one till it stops - that way you will find a plugin that causes this and can get specific instructions what to do about it.



               
               

               
            

Legacy_paopufruito

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Weird server crash issue with local and online players
« Reply #2 on: July 13, 2014, 06:06:52 am »


               

Ok, I'll try running it without NWNX2 and see if it makes any difference.


 


Anyways my current plugins are nwnx-module, nwnx_serverlist, nwnx_resetplugin, nwnx_profiler, nwnx_odbc, and nwnx_chat. All are the current version from the NWNX website. At first I was using the NWNX2 provided at the download page but I downloaded an updated one with time-stamped log folders and all plugin logs (which is pretty useful!).


 


It just seems weird, though. I was able to play with a friend (internet) that can connect to the server without any issue, but I believe he used direct connect every time. I assume the rest of the players use the server list join. Also, I tried running multiple clients and I was able to connect it to the server, without having any issue. BUT, if an internet player joins that's not him, with ANY local players connected, it just seems to crash completely. Forgot to say this but the server also sometimes crashes one or two more times after the initial crash.


 


EDIT: I found out what is exactly causing it. The friend who I was able to successfully play with, actually crashed the server when he did not join via direct connect - so the reason why the server is crashing directly correlates to a player joining from the server list. And, at least, I have narrowed it down. I hosted another module with NWNX2 and without NWNX2 and it did not crash, in either cases of server list joining or direct connection. So I'm guessing it's a problem with my module. Did some further testing, and I was able to successfully play for awhile, even in a party. However, it crashes ANYTIME a chat message is sent. I removed the chat plugin and it did not crash. I did some research on the NWNX chat plugin and it seems that hosting on Windows 64bit seems to be a problem...



               
               

               


                     Modifié par paopufruito, 14 juillet 2014 - 04:39 .