TMap without VersionID

03/16/2015 21:40 Appius4S#1
Well i forgot where is my version id for tclient and where is my last source :)) ... i want to do tmap to running without checked version id...... well after "Wrong version id" kicked me ... what can i do ?
TMAP/CSHandler.cpp
PHP Code:
    if( wVersion != TVERSION )
    {
        
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
        return 
EC_SESSION_INVALIDCHAR;
    } 
03/16/2015 22:44 SalutSalope60#2
It's fixed TMAP or ? because i have sometimes server crashed, (Tmap still online) only down serv need fix :( what is so?
03/17/2015 08:13 glossypvp#3
Quote:
Originally Posted by Appius4S View Post
Well i forgot where is my version id for tclient and where is my last source :)) ... i want to do tmap to running without checked version id...... well after "Wrong version id" kicked me ... what can i do ?
TMAP/CSHandler.cpp
PHP Code:
    if( wVersion != TVERSION )
    {
        
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
        return 
EC_SESSION_INVALIDCHAR;
    } 
Why?
Excuse me, I didn't want to be rude, but why don't you use your brain.exe?
If you've already found the code that needs to be edited to fit your needs, why don't you simply edit it? Why have you opened a new thread because of that?

ps. you could just simply remove the whole code where it checks TVERSION in tmap's cshandler. Just remove it.
03/17/2015 08:40 Appius4S#4
Quote:
ps. you could just simply remove the whole code where it checks TVERSION in tmap's cshandler. Just remove it
Like this?
PHP Code:
  if( wVersion )
    {
        
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
        return 
EC_SESSION_INVALIDCHAR;
    } 
I'm not good in c++ ....
but ... i want learn :D
03/17/2015 10:25 Logtetsch#5
Quote:
Originally Posted by Appius4S View Post
I'm not good in c++ ....
but ... i want learn :D
Well, here is a good reference/beginner book. Have fun!
[Only registered and activated users can see links. Click Here To Register...]

B2t: You have just to remove the entire code that you've posted from the source..
03/17/2015 10:49 Appius4S#6
Quote:
Originally Posted by Logtetsch View Post
Well, here is a good reference/beginner book. Have fun!
[Only registered and activated users can see links. Click Here To Register...]

B2t: You have just to remove the entire code that you've posted from the source..
i have do this .... but without success i got kick every time
[Only registered and activated users can see links. Click Here To Register...]

Well guys i have do this but without success ....
....
I want to thank you all for your help! Well I am glad that there are still people who help the so-called "Beginners" for free! I hope I can help and I will someday!

UP!
03/17/2015 14:55 Sicarium#7
This is an example
Quote:
if( wVersion != 258)
{
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
return EC_SESSION_INVALIDCHAR;
}
03/17/2015 15:03 Appius4S#8
Quote:
Originally Posted by Sicarium View Post
This is an example
but i don't remember the version id of tclient ... and i don't have source...
03/17/2015 15:41 AncientCompiler#9
then easily do

if( wVersion < 0)
{
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
return EC_SESSION_INVALIDCHAR;
}
03/17/2015 15:43 iJirkusCZ#10
If it donīt work with that comment-outed wVersion, problem is somewhere else, maybe if you are using odin source, there is one it isnīt bug, but itīs a ... ok find it yourself :D
03/17/2015 15:49 Appius4S#11
Quote:
Originally Posted by 121jirkus View Post
If it donīt work with that comment-outed wVersion, problem is somewhere else, maybe if you are using odin source, there is one it isnīt bug, but itīs a ... ok find it yourself :D
i don't use odin source .... tmap is from sicarium . Tlogin ,ctrl ,world and tclient is from e4story global , glossy
03/17/2015 16:09 iJirkusCZ#12
And.. If you change it to that ok version, it works?
03/17/2015 16:09 Appius4S#13
Quote:
Originally Posted by iSuicideBomber View Post
then easily do

if( wVersion < 0)
{
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
return EC_SESSION_INVALIDCHAR;
}
don't work ...

Quote:
Originally Posted by 121jirkus View Post
And.. If you change it to that ok version, it works?
i think so... but i don't know the corect version id of client ...
03/17/2015 16:24 julianjl#14
You use our old E4story global client O_o, your server still be outdated
03/17/2015 16:37 Appius4S#15
yes is from 2014 ....
Quote:
send me the tclient, and a tlogin which may be compatible with the client (version doesnt matter)
i'll extract the version id for you
but he don't have free time for me now , is here any one who know how to do this ?