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

Woe, problem magic wall

Demian

New Member
Joined
Sep 10, 2010
Messages
36
Reaction score
0
I have a big problem with woe
Magic players throw and block wall and can last 15 minutes with no problem generating help??
sorry my bad English
 
i don't know what you mean

if you mean

magic wall is like Infinty, never disapear


Then

Either swap the attributes of magic walls in items.xml (items 1497 and 1498) or change the ID used in data/spells/scripts/support/magic wall rune.lua to the other one.


REP ++
 
I think he's saying that people can use a magic wall and it lasts 15 minute, and it doesn't generate any problems.
 
Lua:
local fromPosition = {x="1000", y="1000", z="0"}
local toPosition = {x="1000", y="1000", z="15"}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497)

function onCastSpell(cid, var)
if not isInRange(cid, fromPosition, toPosition) then
	return doCombat(cid, combat, var)
		else
	return doPlayerSendCancel(cid, "You may not use this rune in WOE")
	end
end
 
Did you edit
Lua:
 local fromPosition = {x="1000", y="1000", z="0"}
local toPosition = {x="1000", y="1000", z="15"}
?
 
yes, local fromPosition = {x="55", y="86", z="7"}
local toPosition = {x="55", y="24", z="5"}

lol, try didn't understand.
fromPosition = left top corner cords
and toPosition the bottom right corner cords. also change z like fromposition to 0 and toposition to 15
 
change to :
local fromPosition = {x="52", y="85", z="7"}
local toPosition = {x="74", y="23", z="15"}
or
local fromPosition = {x="52", y="85", z="0"}
local toPosition = {x="74", y="23", z="15"}
 
Back
Top