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

Players are getting free go to Edron :(

chupaescadatri

Banned User
Joined
Jul 5, 2014
Messages
338
Reaction score
49
How To Fix, free account players are managing to travel by boat?
Code:
---Edron----------------------------------------------------------------------------------------------------------------------------------------- 
local EdronText = 'Do you want to Travel to Edron for 110 gold coins?' 
local EdronTextNo = 'Ok, come back when you want then!' 
local NoTravel = 'Sorry, i do not travel to this city..' 
local EdronLvl = 8 
local EdronPremium = true --True/false 

--Edron-- 
if Edron == true then 
local travelNode = keywordHandler:addKeyword({'edron'},  
StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = EdronText }) 
travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = EdronPremium, level = EdronLvl, cost = EdronCost, destination = EdronPosition }) 
travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = EdronTextNo }) 
else 
local travelNode = keywordHandler:addKeyword({'edron'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = NoTravel }) 
end
 
cost = EdronCost

You did not define EdronCost. That's why it's free.
local EdronPosition = {x=33176, y=31764, z=6} ----> Destination from Edron Boat <----
local EdronCost = 110 ----> Cost to Travel for Edron <----
Edron = true ----> TRUE:Working/FALSE:Not Working<--

this is ok in another paragraph.
wondered why premium players and free buy all spells and promotion go hand boat also, the only difference is the outfit
 
Back
Top