• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

tibia 7.72 rune charges problem

CoverPower

New Member
Joined
Apr 1, 2013
Messages
19
Reaction score
1
dear developers,

hello, im creating my own server based on

OTHire Beta 0.0.2
OpenTibia Server for Tibia 7.72..

i tried to look all around google and found nothing, so im about to ask you what a problem could be.
so whats going on is:

my rune charges doesnt disappear. every rune with no matter how many charges it has disappears after first use. even if i give it like 100 charges in spell.xml as "charges" "conjureCount" and items as "charges".. nothing works. I dont want a rune to be infinite. I want rune to be finite like 20 charges. If i put such number into above named attributes nothing changes. I checked cpps and they should be okay. any idea?

items.xml
Code:
<item id="2268" article="an" name="sudden death rune">
     <attribute key="runeSpellName" value="adori vita vis"/>
     <attribute key="weight" value="120"/>
     <attribute key="charges" value="10"/>
   </item>

spells.xml
Code:
<rune name="adori vita vis" id="2268" maglv="15" needtarget="1" charges="10" script="attack/sudden_death.lua" />
Code:
<conjure name="Sudden Death" words="adori vita vis" needlearn="0" lvl="45" mana="985" soul="5" reagentId="2260" conjureId="2268" conjureCount="10" function="conjureRune">
     <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>
   </conjure>

thank you for any help.
 
Code:
-- Remove rune charges
-- This only applies to runes done using the default functions.
-- Custom runes made using actions will not be affected.
remove_rune_charges = true
its set, runes still disappear after first use. if its false runes doesnt disappear
 
Wait, what is your problem?

In your first post you said Runes wont disappear, now they disappear after first use?
 
i said my rune CHARGES doesnt disappear. and i said that rune disappear after first use. not after tenth for example. or after the number of charges used.
 
its already posted in main post but w/e

Code:
<?xml version="1.0" encoding="UTF-8"?>
<item id="2268" article="an" name="sudden death rune">
     <attribute key="runeSpellName" value="adori vita vis"/>
     <attribute key="weight" value="120"/>
     <attribute key="charges" value="10"/>
   </item>
 
Hello CoverPower,

for satan's sake, I can't explain what's going on with your distro or your lua scripts, I'll be home in about 6 hours, I could give you a hand over TeamViewer if you like.

Kindest Regards,
Okke.
 
Back
Top