The client doesn't log enough, and all i see server side is that the client forcibly disconnected. Sometimes i see an unknown client packet logged by the server, but that seem to have no relation to the crashes.
My research seems to be that it's either.
1) server sending invalid packets, which always causes the client to instantly close.
2) general instability on pre 5017, which is why the servers like to use 5017.
3) weirdness with old clients and new operating systems.
4) router being paranoid and messing with/blocking packets.
The fact that i can't seem to find any private server on the net still using 4351 doesn't help.
This version was deliberately chosen because it's the one before potency, and the source i'm using i have used in the past.
What i've tried.
1) running the server as lan only with 192.168.0.x address space behind the router. Still closes randomly.
2) compatibility mode on client. no difference, though fullscreen works again if i use vista compatibility, which is what the troubleshooter says to use.
3) setting client to one core.
4) disabling SPI on the router.
What i haven't tried yet.
1) 4351 client on another server. (if anyone is actually running one that takes 4351, let me know, so i can test.)
2) placing the server source onto a windows VPS (needs odbc for it's database). that requires money.
3) placing it on a linux vps and trying to run it with wine (would still need odbc to work somehow). in theory this can be done for free for testing purposes.
4) upgrade source to 5017 or something more stable. (quite the undertaking)
5) logging and validating the packets to figure out if there is a bug in the source. This seems unlikely to get anywhere, since the frequency of the crashes is totally random, but it may be what's required. Every time i actually hit a breakpoint all clients end up disconnecting, so that does make me think it could be bad packets.
6) actually installing xp on something.
7) throttling the app.
8) rewriting the socket system (it's the usual xynetsocket, which is known as xynetshit, so that could very well be to blame)
The source i'm using has the rather unique feature of lua scripting for npcs, items, and even making stuff happen during levelup and as time passes, so scrapping the source completely isn't an option unless someone else has another source that does the same that i can port all the custom npcs and quests into.
Any recommendations?
My research seems to be that it's either.
1) server sending invalid packets, which always causes the client to instantly close.
2) general instability on pre 5017, which is why the servers like to use 5017.
3) weirdness with old clients and new operating systems.
4) router being paranoid and messing with/blocking packets.
The fact that i can't seem to find any private server on the net still using 4351 doesn't help.
This version was deliberately chosen because it's the one before potency, and the source i'm using i have used in the past.
What i've tried.
1) running the server as lan only with 192.168.0.x address space behind the router. Still closes randomly.
2) compatibility mode on client. no difference, though fullscreen works again if i use vista compatibility, which is what the troubleshooter says to use.
3) setting client to one core.
4) disabling SPI on the router.
What i haven't tried yet.
1) 4351 client on another server. (if anyone is actually running one that takes 4351, let me know, so i can test.)
2) placing the server source onto a windows VPS (needs odbc for it's database). that requires money.
3) placing it on a linux vps and trying to run it with wine (would still need odbc to work somehow). in theory this can be done for free for testing purposes.
4) upgrade source to 5017 or something more stable. (quite the undertaking)
5) logging and validating the packets to figure out if there is a bug in the source. This seems unlikely to get anywhere, since the frequency of the crashes is totally random, but it may be what's required. Every time i actually hit a breakpoint all clients end up disconnecting, so that does make me think it could be bad packets.
6) actually installing xp on something.
7) throttling the app.
8) rewriting the socket system (it's the usual xynetsocket, which is known as xynetshit, so that could very well be to blame)
The source i'm using has the rather unique feature of lua scripting for npcs, items, and even making stuff happen during levelup and as time passes, so scrapping the source completely isn't an option unless someone else has another source that does the same that i can port all the custom npcs and quests into.
Any recommendations?