Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 4Story
You last visited: Today at 16:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



TMap without VersionID

Discussion on TMap without VersionID within the 4Story forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
TMap without VersionID

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;
    } 
Appius4S is offline  
Old 03/16/2015, 22:44   #2
 
elite*gold: 0
Join Date: May 2014
Posts: 91
Received Thanks: 9
It's fixed TMAP or ? because i have sometimes server crashed, (Tmap still online) only down serv need fix what is so?
SalutSalope60 is offline  
Old 03/17/2015, 08:13   #3
 
glossypvp's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 662
Received Thanks: 658
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.
glossypvp is offline  
Thanks
2 Users
Old 03/17/2015, 08:40   #4
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
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
Appius4S is offline  
Old 03/17/2015, 10:25   #5
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Quote:
Originally Posted by Appius4S View Post
I'm not good in c++ ....
but ... i want learn
Well, here is a good reference/beginner book. Have fun!


B2t: You have just to remove the entire code that you've posted from the source..
Logtetsch is offline  
Thanks
1 User
Old 03/17/2015, 10:49   #6
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
Quote:
Originally Posted by Logtetsch View Post
Well, here is a good reference/beginner book. Have fun!


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


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!
Appius4S is offline  
Old 03/17/2015, 14:55   #7
 
elite*gold: 0
Join Date: Nov 2010
Posts: 214
Received Thanks: 171
This is an example
Quote:
if( wVersion != 258)
{
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
return EC_SESSION_INVALIDCHAR;
}
Sicarium is offline  
Old 03/17/2015, 15:03   #8
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
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...
Appius4S is offline  
Old 03/17/2015, 15:41   #9


 
AncientCompiler's Avatar
 
elite*gold: 1
Join Date: Jan 2013
Posts: 899
Received Thanks: 689
then easily do

if( wVersion < 0)
{
pPlayer->SendCS_CONNECT_ACK(CN_INVALIDVER);
return EC_SESSION_INVALIDCHAR;
}
AncientCompiler is offline  
Old 03/17/2015, 15:43   #10
 
elite*gold: 215
Join Date: May 2011
Posts: 217
Received Thanks: 461
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
iJirkusCZ is offline  
Old 03/17/2015, 15:49   #11
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
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
i don't use odin source .... tmap is from sicarium . Tlogin ,ctrl ,world and tclient is from e4story global , glossy
Appius4S is offline  
Old 03/17/2015, 16:09   #12
 
elite*gold: 215
Join Date: May 2011
Posts: 217
Received Thanks: 461
And.. If you change it to that ok version, it works?
iJirkusCZ is offline  
Old 03/17/2015, 16:09   #13
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
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 ...
Appius4S is offline  
Old 03/17/2015, 16:24   #14
 
elite*gold: 0
Join Date: Oct 2010
Posts: 546
Received Thanks: 152
You use our old E4story global client O_o, your server still be outdated
julianjl is offline  
Old 03/17/2015, 16:37   #15
 
elite*gold: 0
Join Date: Mar 2015
Posts: 59
Received Thanks: 23
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 ?
Appius4S is offline  
Reply


Similar Threads Similar Threads
[HELP]Second TMap
11/25/2014 - 4Story - 2 Replies
hello guys When i try launch second Tmap in services i got error someone know how i can fix it ? :( Close Topic
TMAP Problem
03/19/2014 - 4Story - 6 Replies
Hello guys,i've got a problem with one service "TMAP",It starts,runs online for a while and then it crashes and all char name & country got changed random,someone know where can be the problem? Thank in advance :)
[HELP]CANT START TMAP[HELP]
01/21/2013 - 4Story - 3 Replies
i installed the server on my win7 (32bit) and cant start tmap yes i started after tworld etc.. + checked the TServices_GSP its in C: odbc done too someone plz help :/
TMap Problem
12/29/2012 - 4Story - 1 Replies
#closerequest
how to creat a tmap ?
12/31/2010 - Cabal Private Server - 1 Replies
tmap.bin how to get files from the MCL. could someone tell me or help me:confused:



All times are GMT +1. The time now is 16:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.