Conversation
|
demo: 2026-01-07.14-51-49.mp4 |
|
legacy I don't like being forced to have an OTFI. 1098Even with an OTFI, an error occurs. 13.10 with GameLoadSprInsteadProtobufi add
but but I don't load anything, neither the assets nor the .spr/.dat 13.10 with assetsgame_actionbar
by the way In UIItem, how would you put resourceId? |
|
@InnerCircleTFS I only tested on assets, thank you for your feedback
below |
|
roadmap:
|
|
@InnerCircleTFS I addressed reported issues Instructions for testersin data/things/(version) create packinfo.xml: drop your sprites (or assets) to in data/things/(version)/normal/ and in data/things/(version)/custom/ set the version to match the resource (eg. if your custom dat is for version 10.98, set it to version 1098) Known issues
Advanced usersto test protocol changes (read only for now, no send methods yet), uncomment |
|
to do:
|
|
old protocol - g_lua.bindSingletonFunction("g_sprites", "getSprSignature", &SpriteManager::getSignature, &g_sprites);function ProtocolLogin:sendLoginPacket()
local msg = OutputMessage.create()
msg:addU8(ClientOpcodes.ClientEnterAccount)
msg:addU16(g_game.getOs())
msg:addU16(g_game.getProtocolVersion())
if g_game.getFeature(GameClientVersion) then
msg:addU32(g_game.getClientVersion())
end
if g_game.getFeature(GameContentRevision) then
msg:addU16(g_things.getContentRevision())
msg:addU16(0)
else
msg:addU32(g_things.getDatSignature())
end
msg:addU32(g_sprites.getSprSignature()) --<---------HEREopen game_outfit
game_actionbar |
|
@javiertringol |
|
new: added render code for auras and wings 2026-01-11.05-36-43.mp4 |
|
|
the packets are pretty much ready, but the modules will require some extra work Now I intend to modify some server to be compatible with these changes. When this gets merged: opentibiabr/canary#3794 @javiertringol bug with items in action bar is now fixed |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
|
This PR is stale because it has been open 45 days with no activity. |






Description
I am looking for testers and collaborators on this.
This change is a HUGE BREAKTHROUGH for servers that want to have both custom sprites and use most recent assets.
It allows loading multiple spr/dat/assets SIMULTANEOUSLY (at the same time) which means that it will be possible to USE MULTIPLE SPRITE PACKS
Everyone will benefit, we can start a new chapter in the history of OpenTibia
I already have server side and mapeditor loader for this tech, and half-finished code for a format that will replace otbm and support these changes. This means that this technology is no longer a dream, it's something reachable, possibly this year.
Here is how it'll work:
This does two things:
This PR is highly experimental, unexpected things may happen while testing.
Type of change
How Has This Been Tested
It wasn't tested properly yet.
So far I managed to log into game with a two asset packs loaded and change outfit client-side with:
g_game.getLocalPlayer():setOutfit({type = 1921, resourceId = 1})Checklist