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

TFS 0.X How Make runes 7.6 in 8.6 with charges function

wesleyt10

Well-Known Member
Joined
Dec 15, 2012
Messages
69
Reaction score
68
Hello everyone!
I've been researching how to make the 8.6 runes look like the 7.4 and 7.6 runes, but I got it partially!
as? = editing the .dat .spr and item.otb but the error is as follows! the charging system does not work! does not appear and in the item the number of loads he has! and when attacking all runes disappear!
I believe it is necessary to edit the item.cpp and container.cpp from the source but there comes the biggest problem!
because following this, I don't understand anything about source!
and comparing a distro 0.4 to 8.6 and one to 7.7 I noticed that there are different command lines in these files! someone who has knowledge and can help me please! beg! help me!
 
OP
W

wesleyt10

Well-Known Member
Joined
Dec 15, 2012
Messages
69
Reaction score
68
I had look some archives from sources 7.7 , and search for this tag
IsRune
but I do not believe it is the same way, because what I observed also affects the item stacking system, and I would just like runes to have loads, and that their consumption would be through those loads! and not the general consumption of the item as it is!


someone give me a path, you don't need to do it for me, just give me a direction, or some topic that will help me with the problem!
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,276
Solutions
36
Reaction score
1,634
Location
PLand
'charges' attribute (little number on item in Tibia Client in backpack, not 'count' like on bolts) is not possible to display in client 8.60 as it was removed from .dat (and .exe!) in 8.60. As I remember it was in client up to 8.54.

If you do a looot of changes in OT engine, you can use normal stackable items count as charges (make it not possible to stack them by player 'item move' in OT engine), but it's not possible to make them 'not stackable' (no window with count to move, when you move item) in client and show their count in same time.

So.. use OTClient or try it on 8.54, not 8.60.
 
OP
W

wesleyt10

Well-Known Member
Joined
Dec 15, 2012
Messages
69
Reaction score
68
'charges' attribute (little number on item in Tibia Client in backpack, not 'count' like on bolts) is not possible to display in client 8.60 as it was removed from .dat (and .exe!) in 8.60. As I remember it was in client up to 8.54.

If you do a looot of changes in OT engine, you can use normal stackable items count as charges (make it not possible to stack them by player 'item move' in OT engine), but it's not possible to make them 'not stackable' (no window with count to move, when you move item) in client and show their count in same time.

So.. use OTClient or try it on 8.54, not 8.60.

I didn’t understand it very well, but from what I read, the client doesn’t allow this rune mode? example will he try to group them? right? would i have to reverse this in the .exe too? because in this case he will try to stack the item, even if I make them untagable in .dat and .otb?
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,276
Solutions
36
Reaction score
1,634
Location
PLand
I tried to make 8.60 client runes look/work like 8.00 (for Kasteria/Eloth), but after checking every possibility of client/server config (dat/otb/modified ots protocol) I found out it was not possible.

I don't remember what was final solution. We changed client to 8.54 or we bought .dll that made 8.6 work with stackable runes like 8.00.
Before you ask.. we don't have that .dll anymore and guy who made it is not active in OT community from 3 years.

In case of 8.60 client you must accept one option:
1. on runes in backpack it does not show charges count (little number on run), you got to 'look' at it to view count - it was unacceptable for popular server, people would abuse it to trade backpacks with 3x and 1x runes as they look the same
2. there is number of charges on runes, but when you move rune in client, it shows window with count you want to move (same as when you move bolts/meat etc.)

All other problems (make them not stack, remove charges when use etc.) can be solved by .dat, .otb and OT source changes.
No matter which option you choose, it's few hours of work for experienced OTS C++ programmer.

I would use OTClient for this or ignore that problem at all. Rune stacks were not so high (max 5 for HMM?).
You can make runes not stackable at all (just edit .otb and .dat, no changes in engine!). Each will have x1 use.
Post automatically merged:

First thing to try:
Set rune attributes in .dat and .otb same as 'Stone Skin Amulet' and check what happens.
 
Last edited:
OP
W

wesleyt10

Well-Known Member
Joined
Dec 15, 2012
Messages
69
Reaction score
68
I am really grateful, I am admired by those who help and encourage those who do not know or are learning about something. I have a very basic knowledge and inultou in moon and C ++, nothing very ultiu, but thank you from the heart! just to enjoy a little of your goodwill, would you know to tell me if i can find a more complete distro for 8.54? if there is already a war sitem it would be top!
 
Top