opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
373 stars 614 forks source link

Maximum ClientID Assets Editor & Item Editor #407

Closed Fanghis closed 2 years ago

Fanghis commented 2 years ago

Priority

Low

Area

What happened?

A bug happened!

While using Item editor & assets editor from this repository with canary server, I Wanted to know the maximum clientID authorized on Item Editor , seems i just introduce a full spr from another server to try the limits of this two editors. Since there is not a "report" on the otbr tools i write there.

Assets editor, can get 50k+ Client ID without problems. Item editor takes only to 388xx Client ID i dont remember where was the maximum ( using bypass ) open Item Editor, introduce many items ID , do not close, use spider converter extract ( .SPR from 780Mb ) reload items otb converting version it will reload the spr loaded, it give's an error , press continue, all pictures disappear but you can continue adding items ID, until 41132 , seems to be the maximum, client id 3888x didn't remember the number exactly.

How we can increase this number ? Or just is using the last protocol each time it will increase slowly the number ?

Regards,

What OS are you seeing the problem on?

Windows

Code of Conduct

marcosvf132 commented 2 years ago

First of all

This issue will be closed since it's not related to the Canary base or source. For doubts like that you can try reaching us on the Discord group, for further questions you can try @ me on Discord.

The itemID limit is 65535. Can't create an item with a clientID higher then that since its the uint16_t max value.

TL:DR:

We here dont use items.otb or client 10x .dat/.spr anymore, only on few tools like Remeres. But if you want to add custom items on your items.otb or client 10x .dat/.spr. First you must edit your client 12x, then convert it using Spider Client Converter and then open the item editor using your brand-new client 10x.

Fanghis commented 2 years ago

Hello @marcosvf132 Thanks for the Tip. About item editor and assets editor, i have tried cap the Tools, on assets is like Illimited, i try around 400k+ without problems. The problem is from using client 12x .spr .dat converted by spider converter, and used on items editor as preferences openning items.otb on item editor. If you go upper than 388xx Client ID ( assets editor ) on item editor it will not go more than 42132 i think is the maximum allowed, there is not much ID to integrate all tibia + custom sets, is like 200 ID free. After reach this number top, item editor it will not open anymore the item.otb showing an error. It was just for inform and know about the top on 12x.

Thanks for the information have a nice day