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

Solved lags like crazy when using vip wand or rod

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
923
Location
Chile
Hey, well as the tittle says, when i use the wand or rod that are for vip players, it lags like crazy, even tho i'm testing local now...so plz guys if anyone could help me would be awesome! :D
i'm using otb 2.52 i believe it's the same as otx 0.4, tibia version 9.83
here i will post 1 weapon, i think posting the two is unnecesary

<wand id="21253" level="8" mana="2" min="400" max="600" type="holy" event="script" value="Prestiged druid rod.lua"> <!-- donation wand -->

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,50)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -350, -1.0, -500)

local area = createCombatArea({
{0, 0, 0},
{0, 3, 0},
{0, 0, 0}
})

setCombatArea(combat, area)

function onUseWeapon(cid, var)

return doCombat(cid, combat, var)
end

<item id="21253" article="a" name="Prestiged Druid Rod">
<attribute key="description" value="La rod mas fuerte de este universo." />
<attribute key="weight" value="10" />
<attribute key="armor" value="25" />
<attribute key="weaponType" value="wand" />
<attribute key="magicPoints" value="5"/>
<attribute key="maxmanapoints" value="100"/>
<attribute key="manaGain" value="15"/>
<attribute key="absorbPercentPhysical" value="5"/>
<attribute key="range" value="7" />
<attribute key="shootType" value="death" />
<attribute key="attackspeed" value="1000"/>
</item>
 
Last edited:
try to change weapons.xml to
<wand id="2453" level="8" range="5" mana="100" enabled="1" swing="yes" script="donation wand.lua">
 
try to change weapons.xml to
<wand id="2453" level="8" range="5" mana="100" enabled="1" swing="yes" script="donation wand.lua">
dude, it worked awesome! you helped me twice now hehe, thanks man! :D, so i assume for the other wand i should do the same right?
 

Similar threads

Back
Top