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

Problem with scripts

dawiisss

Ye wanna!!
Joined
Nov 30, 2008
Messages
161
Reaction score
0
Location
United Kingdom
Hi i have a problem when i add any script it always shows
[10/01/2010 17:58:51] [Error - LuaScriptInterface::loadFile] data/actions/scripts/paccrune.lua:1: unexpected symbol near 'ÿ'
[10/01/2010 17:58:51] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/paccrune.lua)

in the gui console i am using TFS 0.3.6 for 8.54

after this none of scripts work... please help
 
@2Up
Lua:
function onStepIn(cid, item, position, fromPosition)
local config = {
demonHornID = 5954, -- Put the ID of the Demon Horn here
demonHornPosition = {x=574, y=623, z=10, stackpos=2}, -- Where the demon horn should be
teleportPos = {x=577, y=630, z=11} -- Where the player should get teleported
}

if getThingFromPos(config.demonHornPosition).itemid == config.demonHornID then
doTeleportThing(cid, config.teleportPos)
doRemoveItem(getThingFromPos(config.demonHornPosition).uid)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
doSendMagicEffect(fromPosition, CONST_ME_POFF)
end
return true
end

Just do as I said... It's not an action script so you DON'T click on it, you WALK on a tile...
Btw, this question doesn't belong here in this thread ^^

@dawiisss
Try to solve it yourself first, we've already tried but it just seems like you're doing something else than what we're telling you ^^
 
Back
Top