• 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++ [Request] Adapting Avesta 7.4 to 7.3 + Generating items.otb

Faerus

New Member
Joined
Dec 11, 2007
Messages
15
Reaction score
4
Hello, community!

I’m working on an OTServer distribution based on Avesta 7.4, but I want to adapt it to be a pure Tibia 7.3 version. I already have the Avesta 7.4 sources and can compile them without issues.

I’m aware that some mechanics were introduced in 7.4 that did not exist in 7.3, so I need to remove or modify them. So far, I have identified the following required changes:

📌 Features that did NOT exist in 7.3 and need to be removed/modified:​

  • Waiting list in the login queue.
  • Item rotations (items did not rotate when used).
  • PVP Lock (instead, the "Keep Distance" function should be re-implemented).
  • "Hangable" item property (hanging items did not exist in 7.3).
  • Hotkeys did not execute automatically, pressing "Enter" was required.
  • "Use With" was not possible via hotkeys.
  • Furniture could not be destroyed with weapons.

🔧 Problem with items.otb for 7.3:​

One of the biggest issues I encountered is that I have not been able to find a tool that can generate/edit an items.otb file for versions older than 7.4.

However, I can read the .spr and .dat files from the Tibia 7.3 client using ObjectBuilder, so at least I have access to the item data.

❓ My Questions:​

  1. Which source files should I modify to properly disable/remove the mentioned mechanics?
  2. Is there any way to generate an items.otb file compatible with 7.3? Or is there an alternative method to properly load items in the server without using a modern .otb file?
⚠️ IMPORTANT NOTE: I know that a simple workaround would be to edit the 7.4 client sprites to "look like" 7.3, but I am NOT interested in that approach. I want to play the real 7.3 version for nostalgia, so please do not suggest that solution.

Any guidance on this would be greatly appreciated. Thanks in advance! 🙌
 
I have not been able to find a tool that can generate/edit an items.otb file for versions older than 7.4.
I played RL Tibia and OTSes since 7.x+ times (going back to my oldest character from 2003 Tibia - Free Multiplayer Online Role Playing Game (https://www.tibia.com/community/?name=Grao)).
All OTSes up to ~7.4-7.6 had some simple issue. You could modify Tibia.dat on client side and server side (OTS) just accepted it, you were able to walk/shot thru walls - this was a serious issue around 2005 on OTSes - and cast spells on others using modified (bot) packets (m-walls on any tile, SD thru wall).
There were some popular RPG OTSes ~7.4 (10+ players online in 7.4 times, 100+ on top hosting machines in 7.6 times [like 0.4 GHz and 64 MB RAM]), but they were not using official 'otserv' engine (first public OTS engine with open-source repository?).

To bring back 7.3- times, you would need to get 7.x OTS tools made in "Windows XP" times or even "Windows 98".
As I remember 7.4 was first version ever to convert Tibia.dat client attributes - "can shot thru wall" - to items.otb server attributes - so server was able to block client cheats (bots) - and most of OTSes added this modification around 7.6+ protocol, way after 7.4 protocol. As I remember, there were OTSes not able to detect 'client cheats in Tibia.dat' up to 8.1 protocol.

It you plan to host real 7.3, you must somehow convert all these client and server tools to 7.3 (from 7.4+). IDK where to get these 20+ years old .exes. There was some German forum with these tools these days (ex. TibiCam).
OTClient supports client version for protocols 7.1+, but these official "7.1 servers" - compatible with OTClient - were probably made in 7.6+ times.
 
what would be the difference? i play since 7.0 and can't remember a huge change from 7.3 to 7.4 maybe from 7.0 to 7.1 might be but seems to be unnecessary what's the purpose of it? Removing few things? i remember a version don't know which one when paladins use to have a feature to attack and run away by itself but it sucked so it was removed and the waiting list queue don't think that gonna be ever used in a server so, and old engine does not even have it so don't worry
apart from removing content why would you invest time in doing it

  • "Hangable" item property (hanging items did not exist in 7.3). <<< you can easily remove it from items.xml
  • Hotkeys did not execute automatically, pressing "Enter" was required. << you can do it in client side with ot or change the protocol in 7.3 to connect like it were a 7.4. but it will suck, that why everyone uses 7.7 or 7.4 due the lack of dx9 or opengl in client configuration
  • "Use With" was not possible via hotkeys. use with was not possible at 7.4 either
  • Furniture could not be destroyed with weapons. << easily editable in items.xml
 
Last edited:
I played RL Tibia and OTSes since 7.x+ times (going back to my oldest character from 2003 Tibia - Free Multiplayer Online Role Playing Game (https://www.tibia.com/community/?name=Grao)).
All OTSes up to ~7.4-7.6 had some simple issue. You could modify Tibia.dat on client side and server side (OTS) just accepted it, you were able to walk/shot thru walls - this was a serious issue around 2005 on OTSes - and cast spells on others using modified (bot) packets (m-walls on any tile, SD thru wall).
There were some popular RPG OTSes ~7.4 (10+ players online in 7.4 times, 100+ on top hosting machines in 7.6 times [like 0.4 GHz and 64 MB RAM]), but they were not using official 'otserv' engine (first public OTS engine with open-source repository?).

To bring back 7.3- times, you would need to get 7.x OTS tools made in "Windows XP" times or even "Windows 98".
As I remember 7.4 was first version ever to convert Tibia.dat client attributes - "can shot thru wall" - to items.otb server attributes - so server was able to block client cheats (bots) - and most of OTSes added this modification around 7.6+ protocol, way after 7.4 protocol. As I remember, there were OTSes not able to detect 'client cheats in Tibia.dat' up to 8.1 protocol.

It you plan to host real 7.3, you must somehow convert all these client and server tools to 7.3 (from 7.4+). IDK where to get these 20+ years old .exes. There was some German forum with these tools these days (ex. TibiCam).
OTClient supports client version for protocols 7.1+, but these official "7.1 servers" - compatible with OTClient - were probably made in 7.6+ times.
Thanks for the reply

I played RL Tibia and OTSes since 7.x+ times (going back to my oldest character from 2003

I started back in 2003 too and proably my favorite era was 7.2-7.5

you were able to walk/shot thru walls - this was a serious issue around 2005 on OTSes

LOL I remember the "wall issue back in the 7.6 servers" in fact I used to have an OT (YourOTS) and I remember I had to put double walls in some areas and some houses until I found a different distribution that didn't have that issue. I was 15 years old back then.

To bring back 7.3- times, you would need to get 7.x OTS tools made in "Windows XP" times or even "Windows 98".

I use a lot of those .exes made in XP or even 98 and work fine with Windoes 10-11

The Avesta distribution I have and the source I re-compile works fine with original 7.4 client from CIPSOFT, I'm trying to do a downgrade to 7.3 but I'm uncertain which .h and .cpp files contain the things implemented in 7.4

7.4 was first version ever to convert Tibia.dat client attributes - "can shot thru wall" - to items.otb server attributes

About items.otb, how is that file made? or how can it be modified? I have object builder and it allows me to edit spr and dat files of 7.1 and 7.3 clients but I can't find and option to generate the items.otb file from the spr and dat

what would be the difference? i play since 7.0 and can't remember a huge change from 7.3 to 7.4 maybe from 7.0 to 7.1 might be but seems to be unnecessary what's the purpose of it? Removing few things? i remember a version don't know which one when paladins use to have a feature to attack and run away by itself but it sucked so it was removed and the waiting list queue don't think that gonna be ever used in a server so, and old engine does not even have it so don't worry
apart from removing content why would you invest time in doing it

  • "Hangable" item property (hanging items did not exist in 7.3). <<< you can easily remove it from items.xml
  • Hotkeys did not execute automatically, pressing "Enter" was required. << you can do it in client side with ot or change the protocol in 7.3 to connect like it were a 7.4. but it will suck, that why everyone uses 7.7 or 7.4 due the lack of dx9 or opengl in client configuration
  • "Use With" was not possible via hotkeys. use with was not possible at 7.4 either
  • Furniture could not be destroyed with weapons. << easily editable in items.xml

what would be the difference?
Probably not so much on critical things, 7.2 and 7.3 were pretty much like 7.4 but didn't have the skill bars and they had the "keep distance" function that you mention here

i remember a version don't know which one when paladins use to have a feature to attack and run away by itself but it sucked so it was removed and the waiting list queue don't think that gonna be ever used in a server so, and old engine does not even have it so don't worry

Yes, that would be the "keep distance" function, it dissapeared in 7.4 update and was replaced with the "PVP-Lock" function (hand closed/open), if you ask me I think that they should've never removed it proabbly the fact that back then you had to collect spears from the ground made it hard to use but it would be very functional with wands too.

Furniture could not be destroyed with weapons. << easily editable in items.xml

Do you know where? I can't find it on items.xml
 
Last edited:
Back
Top