• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Feature [TFS & OTClient] Progressbar for creatures

I'm having problems with this system: When using the progressbar functoin in lua, everything seems fine, and the events to the client are also triggered, but percent is always 0, it seems its never updated, and the bar is never shown. Anyone?
Ok my bad, I went again the code, I did it wrong when changing to g_drawPool, copypaste issue. All warking as expected.
 
Last edited:
Looks amazing. Will give it a go on 1.4.2. Btw, I like the shiny golden armor!
 
Tried to implement it on tfs 1.3, but i dont see progress bar in otcv8. I made talkaction script to test it but nothing shows up. No error on server or in otclientv8. Otclientv8 already contains part of this code (but still not showing up the progress bar)
LUA:
        GameServerProgressBar               = 59,
and other functions with slighly different names in client.
Tried to add ServerRunProgressbar to protocolcodes.h and protocolgameparse but ended with
Code:
error C2196: case value '59' already used

Any idea how to get it to work on otclientv8 that has already GameServerProgressBar implemented ?
 
i did tfs part and i use otcv8 and don't work for me
creature:sendProgressbar(180000, true)

im use 8.60
 
i am in doubt. is it necessary to create a module in the otcliente? i installed everything correctly, but I still do not understand how to do the operation of it
 
Last edited:
Back
Top