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

Compiling Firewalker boots 0.2.9

Erikas Kontenis

Excellent OT User
Joined
Jul 3, 2009
Messages
1,937
Reaction score
682
Location
Lithuania
Hello, i tired of trying compile firewalker boots script to 0.2.9 cant understand wich things i need to edit mayby someone could help me with that issue?
 
LUA:
local condition = {}
for i = 1, 4 do
	table.insert(condition, createConditionObject(CONDITION_FIRE))
	addDamageCondition(condition[i], 1, 0, -(i == 1 and 20 or i==2 and 2 or i == 3 and 10 or i == 4 and 1))
	addDamageCondition(condition[i], isInArray({1,3},i)==TRUE and 7 or 2, 9000, -(isInArray({1,3},i)==TRUE and 10 or 1))
end

function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) == FALSE or getPlayerFlagValue(cid, PlayerFlag_CannotBeAttacked) == FALSE then
		return doRemoveCondition(cid, CONDITION_FIRE), doAddCondition(cid, isInArray({1487,1492},item.itemid) == TRUE and condition[isPlayer(cid) == TRUE and getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == 9932 and 2 or 1] or condition[isPlayer(cid) == TRUE and getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == 9932 and 4 or 3])
	else
		doSendMagicEffect(position, CONST_ME_POFF)
	end
end
 
Bump. still my compile is not succefully when i doing it my self i not having errors but firewalkers i gues no doing effect and fire fields dont work at all. sadness and sorrows...
 
You don't need source edit if there is a LUA script doing exactly the same

1. movements cant handle so much fire fields, server might crash.
2. this script do not doing excatly the same thing it not doing fire ticks i think so...
3. this might give errors becouse its should not work on 0.2.9... Missing functions.
 
Back
Top