• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Updating protocol of items.otb from 7.92 to 8.10(evolution 0.7.8), stop closing thread.

KazushiMetaxa

Member
Joined
Nov 24, 2012
Messages
28
Solutions
3
Reaction score
8
Hello, I've seen a lot of threads about it, but none of them really solved my problem.
I want to update protocol of ots via sources from 7.92 to 8.10.
It's quite a suprise that I used every method known to me to do this, and all went for nothing.
Here are the solutions I tried to use:
-update items.cpp(reading the items.otb) by increasing the protocol from 7.92 to 8.10 (yes, I added those protocols to itemloader.h).
-update iomapotb.cpp(reading the items.otb) by increasing the protocol from 7.92 to 8.10.
-changed the value of clientId from 0 to 100; in items.cpp.
-changed using protocol from 7.92 to 8.1 in both status.cpp and otserv.cpp.
-tried to compare almost every file of other 8.1 source that is working perfectly with 8.10 items.otb, but that made no sense to me, cuz all things I did were in both sources and still no results.
-tried to delete version check in both items.cpp/iomapotb.cpp, but again nothing happend, still items.otb wouldn't load, and even if it did some error pop-out, and none of them made sense to me.(I mean like failed to create an object).
So, my question is: Is there any possibility I have missed something? Let me know.
And please no stupid answers like: "change your sources to tfs, it's more stable"
Yes, I know it's more stable, but this one is classic and balance of everything is unique to this protocol(pvp, push, exhausts are unique), and people are more likely they would like to play on this kind of server, not the TFS one on this protocol.
 
Hello, I've seen a lot of threads about it, but none of them really solved my problem.
I want to update protocol of ots via sources from 7.92 to 8.10.
It's quite a suprise that I used every method known to me to do this, and all went for nothing.
Here are the solutions I tried to use:
-update items.cpp(reading the items.otb) by increasing the protocol from 7.92 to 8.10 (yes, I added those protocols to itemloader.h).
-update iomapotb.cpp(reading the items.otb) by increasing the protocol from 7.92 to 8.10.
-changed the value of clientId from 0 to 100; in items.cpp.
-changed using protocol from 7.92 to 8.1 in both status.cpp and otserv.cpp.
-tried to compare almost every file of other 8.1 source that is working perfectly with 8.10 items.otb, but that made no sense to me, cuz all things I did were in both sources and still no results.
-tried to delete version check in both items.cpp/iomapotb.cpp, but again nothing happend, still items.otb wouldn't load, and even if it did some error pop-out, and none of them made sense to me.(I mean like failed to create an object).
So, my question is: Is there any possibility I have missed something? Let me know.
And please no stupid answers like: "change your sources to tfs, it's more stable"
Yes, I know it's more stable, but this one is classic and balance of everything is unique to this protocol(pvp, push, exhausts are unique), and people are more likely they would like to play on this kind of server, not the TFS one on this protocol.
Try to adjust the tfs itself to make it compatible with your game style then :p
 
What else can I update to make this work under 8.10 items.otb, I did everything from the above.
I heard about updating the protocol79.h (sending packets like addU16 to addU32).
Please let me know.
 
Last edited:
That's will require rework on the main files not only items files with header u need to edit the all of the main sources because this sources is not really finished and it's possibly have a data racing... Plainly u need at least a programmer to do that hard work for you.
I also recommend using another sources like Eldin Sources or TFS 0.3 last trunk SVN RELEASE they have the same game style that u want to build.
Sincerely,
Tarek
 
That's will require rework on the main files not only items files with header u need to edit the all of the main sources because this sources is not really finished and it's possibly have a data racing... Plainly u need at least a programmer to do that hard work for you.
I also recommend using another sources like Eldin Sources or TFS 0.3 last trunk SVN RELEASE they have the same game style that u want to build.
Sincerely,
Tarek
Well, I am looking forward to compare the files of EldinWorld to see what are the differences between both of the sources.
Thank you for reply.
 
Back
Top