• 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!

Programmer c++ / display charges for runes (inventory)

I think that what you'd like to achieve, with your requirements, is kinda impossible. Client handles runes in a different way than regular stackable items, so this is not a matter of engine, but rather the client itself. And you'll have a hard time changing the client behaviour without any client modifications. The simplest way would be to set that runes are stackable (in .dat), and treat them as stackables on the engine side.
 
I think that what you'd like to achieve, with your requirements, is kinda impossible. Client handles runes in a different way than regular stackable items, so this is not a matter of engine, but rather the client itself. And you'll have a hard time changing the client behaviour without any client modifications. The simplest way would be to set that runes are stackable (in .dat), and treat them as stackables on the engine side.
this is a picture is taken from 8.0 era, where rune charges was displayed in the top right corner and other stackables in the bottom right corner, and "stackable" was not selected in the .dat file at that time, which means cipsoft probably handled it on the engine side. also i'm pretty sure if i were to tick that option the charges would be in wrong position and then i probably would need to do a client edit, which i'm strongly against at this point.

if someone convince me it's not possible trough c++, ill drop the project and say no more. but i do appreciate that you guys trying to help, so thank you for that.

i just want to clarify that i'm using client 8.0 and not 8.6 or any other version you that are thinking off.
2PAl87b.png
 
Last edited:
this is a picture is taken from 8.0 era, where rune charges was displayed in the top right corner and other stackables in the bottom right corner, and "stackable" was not selected in the .dat file at that time, which means cipsoft probably handled it on the engine side. also i'm pretty sure if i were to tick that option the charges would be in wrong position and then i probably would need to do a client edit, which i'm strongly against at this point.

if someone convince me it's not possible trough c++, ill drop the project and say no more. but i do appreciate that you guys trying to help, so thank you for that.

i just want to clarify that i'm using client 8.0 and not 8.6 or any other version you that are thinking off.
2PAl87b.png

then try playing around with the dat
 
this is a picture is taken from 8.0 era, where rune charges was displayed in the top right corner and other stackables in the bottom right corner, and "stackable" was not selected in the .dat file at that time, which means cipsoft probably handled it on the engine side. also i'm pretty sure if i were to tick that option the charges would be in wrong position and then i probably would need to do a client edit, which i'm strongly against at this point.

if someone convince me it's not possible trough c++, ill drop the project and say no more. but i do appreciate that you guys trying to help, so thank you for that.

i just want to clarify that i'm using client 8.0 and not 8.6 or any other version you that are thinking off.
2PAl87b.png
Drop your whole project for not being able to add a count on a rune? The dedication.
 
this is a picture is taken from 8.0 era, where rune charges was displayed in the top right corner and other stackables in the bottom right corner, and "stackable" was not selected in the .dat file at that time, which means cipsoft probably handled it on the engine side. also i'm pretty sure if i were to tick that option the charges would be in wrong position and then i probably would need to do a client edit, which i'm strongly against at this point.

if someone convince me it's not possible trough c++, ill drop the project and say no more. but i do appreciate that you guys trying to help, so thank you for that.

i just want to clarify that i'm using client 8.0 and not 8.6 or any other version you that are thinking off.
2PAl87b.png

Don't blame me for saying this but you just say they were not stackable and if it was charge count then a HMM rune wouldn't have 50 charges, so wouldn't a SD & an UH rune have 10 charges each.

Edit: I still don't think it's enough to make a storm on a teacup just because numbers on top of runes, you can look at it to see the charges, sort of a non-relevant detail.

Best Wishes,
Okke
 
Don't blame me for saying this but you just say they were not stackable and if it was charge count then a HMM rune wouldn't have 50 charges, so wouldn't a SD & an UH rune have 10 charges each.



Best Wishes,
Okke
then why didnt SD in bag stack then?
 
Try it yourself, if queryAdd isn't bugged you can stack them the way you like, of course following the array of the backpack, doesn't matter if forward or backwards
 
Try it yourself, if queryAdd isn't bugged you can stack them the way you like, of course following the array of the backpack, doesn't matter if forward or backwards
we are talking about 8.0 version bud calm yar tittities
 
Don't blame me for saying this but you just say they were not stackable and if it was charge count then a HMM rune wouldn't have 50 charges, so wouldn't a SD & an UH rune have 10 charges each.



Best Wishes,
Okke
hmm, i think you're on to something lol, that picture was from a youtube video, could had been from an OT possibly, altho the date of the video was 1 day after release of 8.0, so idk

the one that i linked before tho looks more realistic
jdgGUem.png
 
hmm, i think you're on to something lol, that picture was from a youtube video, could had been from an OT possibly, altho the date of the video was 1 day after release of 8.0, so idk

the one that i linked before tho looks more realistic
jdgGUem.png
it is definately charges displayed bruh.
 
Still Emil, you shouldn't drop your project because of that. If you really want to have charges on runes just take the advice everyone is giving you, modifying client files isn't much of a deal as I think you'd also want to have a custom RSA key and therefore modifications on the client are also needed.
 
IDK what you all are arguing about. In 8.0, the runes had visible charges on the sprite ID once they were in container or equipment slots. They were not stacked, they simply had visible charges.

Emil, I don't remember if I have you on Skype, but I think so. I converted an Avesta to 8.0 once and got the charges to display. I can send it over later this weekend and you can see what differs.
 
i did what you suggested, added stackables to both tibia.dat and items.otb and here is the result, now what?

36761
 
IDK what you all are arguing about. In 8.0, the runes had visible charges on the sprite ID once they were in container or equipment slots. They were not stacked, they simply had visible charges.

Emil, I don't remember if I have you on Skype, but I think so. I converted an Avesta to 8.0 once and got the charges to display. I can send it over later this weekend and you can see what differs.
i'd be interested in that actually, yeah you do but i haven't used skype in ages, maby you could send a message here instead or on my discord i have it in my signature
 
i'd be interested in that actually, yeah you do but i haven't used skype in ages, maby you could send a message here instead or on my discord i have it in my signature
No problems, if I haven't sent it over this weekend, please send me a PM here reminding me.
 
Back
Top