Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

JoinServer 0.77 MapMove AutoDisconnect DLL

Hybrid
Loyal Member
Joined
Mar 15, 2006
Messages
451
Reaction score
285
Solution for "account already connected" problem.

GS doesn't send logut packet to JS when users are in MapMove state or account in gs is not in logged state.

It means that if you've requested to move to another GS using move command or your character is on the map that is served by another GS and you are trying to enter game - gs will mark you with MapMove State and after sending MapMove Request JS will mark you with MapMove State.

Possible situations:
1. your provider sucks, inet connection goes down, and your connections to new GS lost.
2. When you will try to join new GS first of all GS requests MapMove Authorization. If MapMove Authorization succeedes, then JS resets your MapMove State and GS sets your account in logged state. If smth goes wrong your account won't be logged in GS, so no logout packet to JS will be sent, but JS will keep you in MapMove State.
(eRRoR told me that most of all stucks happen because of failed authorization)

So our key is JS MpMove State flag. JS knows that users are in MapMove state, so if they remain to long in MapMove state we can disconnect them.

Other thing that JS already has this function, that checks all users for MapMove state and disconnects them if they are stucked in this state more than 30 seconds. But i haven't found any reference to it and when JS is working this function remains silent. Also this function every 2 minutes or 3 send Bill Info to GS.

So DLL code is simple. When JS starts we start a new thread with entry point of this function + remove BillInfo send. When JS closes softly suspend our thread.

I don't have full info about this problem, so i don't know if it will help in all cases. So you can test if it works :D

hook dll and enjoy :) hope it will help
Code:
[URL=http://seeupload.com/541JsHook.dll]JsHook DLL[/URL]
Code:
[URL=http://seeupload.com/730JS_AutoDC_MD5.rar]JoinServer MD5+ with hooked DLL[/URL]

[URL=http://seeupload.com/861JS_AutoDC_NO_MD5.rar]JoinServer MD5- with hooked DLL[/URL]
 
Last edited:
Newbie Spellweaver
Joined
Feb 26, 2006
Messages
8
Reaction score
0
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

very usefull! thx gembrid.
I'll try with that.
 
Skilled Illusionist
Joined
Feb 17, 2008
Messages
349
Reaction score
190
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Great Job! Really Great job! 10/10
 
Experienced Elementalist
Joined
Mar 25, 2008
Messages
203
Reaction score
5
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

It's realy nice 10/10 - you are a genius
 
Newbie Spellweaver
Joined
Oct 6, 2006
Messages
67
Reaction score
14
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Joinserver (MD5) + DLL hooked:



please test
 
Junior Spellweaver
Joined
Apr 14, 2007
Messages
111
Reaction score
2
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

omg Gembrid you and your good work again amaze me :D: good one 10/10
 
Junior Spellweaver
Joined
Apr 14, 2007
Messages
111
Reaction score
2
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

I use 97d and i don't have this probl , go on dev section and leave your options on MuServer v4.0 posted by me, thenks :D:
 
Legendary Battlemage
Loyal Member
Joined
Dec 13, 2007
Messages
613
Reaction score
161
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

I use 97d and i don't have this probl , go on dev section and leave your options on MuServer v4.0 posted by me, thenks :D:
all u use is 97D you have a passion for 97D?
you leave your gf for 97D?
kill your parents for 97D?..
97D released in 2003 we are in 2008 (soon 2009 :p)
use a new version or you are obseded by 97D?
ONTOPIC: btw nice fix :) i will use it!

gembird you will add this to edata?:):D
auto disconnecting players when client crashes?:)
 
Hybrid
Loyal Member
Joined
Mar 15, 2006
Messages
451
Reaction score
285
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

all u use is 97D you have a passion for 97D?
you leave your gf for 97D?
kill your parents for 97D?..
97D released in 2003 we are in 2008 (soon 2009 :p)
use a new version or you are obseded by 97D?
ONTOPIC: btw nice fix :) i will use it!

gembird you will add this to edata?:):D
auto disconnecting players when client crashes?:)

eRRoR already added solution in eDS but haven't released yet, will release when fix some more bugs
 
Junior Spellweaver
Joined
Feb 16, 2006
Messages
112
Reaction score
0
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Do anyone know how to replicate that bug ? I am warping between GS & GS_CS non-stop and i never get stuck )
 
Experienced Elementalist
Joined
Jun 3, 2006
Messages
203
Reaction score
33
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Joinserver (MD5) + DLL hooked:



please test
I'm using 0.77 too, but for me your JS gives me an error - send, don't send, on Vista Ultimate.
 
Gyvastis
Joined
Apr 16, 2006
Messages
474
Reaction score
71
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Compitable with md5? and is hooking to js same as to main?
 
Hybrid
Loyal Member
Joined
Mar 15, 2006
Messages
451
Reaction score
285
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Compitable with md5? and is hooking to js same as to main?

yep =)


Do anyone know how to replicate that bug ? I am warping between GS & GS_CS non-stop and i never get stuck )

you can put wrong ip or port for GS_CS in mapserverinfo.dat

+ other way you have to be on GS_CS, exit game, then enter again
 
Gyvastis
Joined
Apr 16, 2006
Messages
474
Reaction score
71
Re: [Release] JoinServer 0.77 MapMove AutoDisconnect DLL

Thanks for this great release ;)
 
Back
Top