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

Action .::1-Row Slot Machine::. TFS [0.3/0.4/1.0/1.2]

using tfs 1.0
Lua Script Error: [Action Interface]
data/actions/scripts/slot.lua:eek:nUse
data/actions/scripts/slot.lua:189: attempt to call global 'mayNotMove' (a nil value)
stack traceback:
[C]: in function 'mayNotMove'
data/actions/scripts/slot.lua:189: in function <data/actions/scripts/slot.lua:136>

bump
 
Which protocol of TFS 1.0?
 
I'll see later when I have free time.
 
On tfs 0.3.7 When you have (example) Lemon Lemon ANY and Lemon, lemon, lemon and you score lemon, lemon, lemon you get paid by Lemon, Lemon, Any..

Any idea how to fix it?
 
I have this error, I have TFS 1.0
plz help

9k9px0.jpg
 
It Worked , but only Once , when i use it remove the money , the fruit appears , but character can't move and i don't receive the message that the char be the loser or the winner, And can't use it again , it keep putting action +1 like "
00:28 You see a lever.
ItemID: [9825], ActionID: [1], UniqueID: [6298]."
If i use again
00:28 You see a lever.
ItemID: [9825], ActionID: [2], UniqueID: [6298].
And keep like this. Work only 1x :/
Would you help ? No errors on exe . TFS 0.3.6 3429
 
Tfs 1.0
Lua Script Error: [Action Interface]
data/actions/scripts/slot.lua:eek:nUse
data/actions/scripts/slot.lua:200: attempt to call global 'mayNotMove' <a nil value>
stack traceback:
[C]: in function 'mayNotMove'
data/actions/scripts/slot.lua:200: in function <data/actions/scripts/slot.lua:136.

eventuaLLY after a player spamed the lever it turned into a normal lever
 
Last edited:
Also getting 'maynotmove' error. Anyone managed to fix?
 
[11/09/2014 20:21:49] [Error - Action Interface]
[11/09/2014 20:21:49] In a timer event called from:
[11/09/2014 20:21:49] data/actions/scripts/other/slot.lua:eek:nUse
[11/09/2014 20:21:49] Description:
[11/09/2014 20:21:49] (luaDoCreateItem) Tile not found

[11/09/2014 20:21:49] [Error - Action Interface]
[11/09/2014 20:21:49] In a timer event called from:
[11/09/2014 20:21:49] data/actions/scripts/other/slot.lua:eek:nUse
[11/09/2014 20:21:49] Description:
[11/09/2014 20:21:49] (luaDoTransformItem) Item not found
 
use tfs 1.0
Lua Script Error: [Action Interface]
data/actions/scripts/slot.lua:eek:nUse
data/compat.lua:758: attempt to compare number with userdata stack traceback:
[C]: in function '__le'
data/compat.lua:758: in function 'getThingPos'
data/actions/scripts/slot.lua:138: in function
 
change
Lua:
local money = 1000
to
Lua:
local cost_item, cost_count = 2159, 1
change
Lua:
if not doPlayerRemoveMoney(cid, money) then  
    return doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'You need '..money..' gps to play Slot Machine.')
end
to
Lua:
if not doPlayerRemoveItem(cid, cost_item, cost_count) then
    return doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'You need '.. cost_count ..' '.. getItemNameById(cost_item) ..' to play Slot Machine.')
end
delete
Lua:
doSendAnimatedText(getThingPos(cid), '-$'..money,COLOR_RED)


I want to pay, using scarab coins. It doesn't work, can you help me please? :)
 
Back
Top