- Joined
- Dec 11, 2007
- Messages
- 3,666
- Solutions
- 1
- Reaction score
- 125
- Location
- Warsaw, Poland
- GitHub
- tayandenga
- Twitch
- tayandenga
Many people just don't want to upgrade their servers (at least yet) to 8.1.
I guess it is caused by need of (almost) map remake (if they have their own), and the current features provided by OpenTibia-based servers aren't worth to work 2 days to fix at least 50% of tiles (well, thats my case ) on map.
All of us want to bring the best to our players, so bug fixes provided by SVN revisions are required.
Now, when TFS became a 8.1, its impossible to have both at one time without some source code edition.
Im writing this small tutorial mostly for newbies, but remember, one day You were also a beginer, so don't comment it like I would kill Your mother.
Everything You have to edit are 3 files and it takes not longer than 3 minutes. Its very easy so far - so, lets begin.
IMPORTANT! You need to have also a non-8.1 items.otb (Dowonload here)
1. Open items.cpp, and find (line 191):
Replace it with:
Save and close the file.
2. Open protocolgame.cpp, and find (line 487):
Replace it with:
Save and close the file.
3. Open protocollogin.cpp, and find (line 94):
Replace it with:
Save and close the file.
Thats all, now You may compile the core
P.S. I know (because I have checked the difference of almost all new files to their last rev ) there were done many changes not only in these files, but I tested it so far, and didnt find any bug yet (I was mostly afraid of earth damage instead of poison one, but it seem to be working fine).
I guess it is caused by need of (almost) map remake (if they have their own), and the current features provided by OpenTibia-based servers aren't worth to work 2 days to fix at least 50% of tiles (well, thats my case ) on map.
All of us want to bring the best to our players, so bug fixes provided by SVN revisions are required.
Now, when TFS became a 8.1, its impossible to have both at one time without some source code edition.
Im writing this small tutorial mostly for newbies, but remember, one day You were also a beginer, so don't comment it like I would kill Your mother.
Everything You have to edit are 3 files and it takes not longer than 3 minutes. Its very easy so far - so, lets begin.
IMPORTANT! You need to have also a non-8.1 items.otb (Dowonload here)
1. Open items.cpp, and find (line 191):
Code:
else if(Items::dwMinorVersion < CLIENT_VERSION_810){
Code:
else if(Items::dwMinorVersion < CLIENT_VERSION_800){
2. Open protocolgame.cpp, and find (line 487):
Code:
if(version < 810)
{
disconnectClient(0x0A, "Only clients with protocol 8.1 allowed!");
return false;
}
Code:
if(version != 800)
{
disconnectClient(0x0A, "Only clients with protocol 8.0 allowed!");
return false;
}
3. Open protocollogin.cpp, and find (line 94):
Code:
if(version < 810)
{
disconnectClient(0x0A, "Only clients with protocol 8.1 allowed!");
return false;
}
Code:
if(version != 800)
{
disconnectClient(0x0A, "Only clients with protocol 8.0 allowed!");
return false;
}
Thats all, now You may compile the core
P.S. I know (because I have checked the difference of almost all new files to their last rev ) there were done many changes not only in these files, but I tested it so far, and didnt find any bug yet (I was mostly afraid of earth damage instead of poison one, but it seem to be working fine).
Last edited: