• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results for query: Argument # in unsafe

  1. Mjmackan

    TFS 1.X+ Argument #3 unsafe

    Why does this return with: Argument #3 is unsafe? Can someone explain these effin' basics to me? Tfs 1.3 Do i need to declare what monster is inside each addevent or can i just use the declaration I have used in my action script? And how if so? addEvent(function(id)...
  2. Sigoles

    Lua Unsafe Argument #5 NPC

    Hello, I'm having troubles with this npc, he awnser but we got error on screen Lua Script Error: [Npc interface] data/npc/scripts/Grizzly Adams.lua:onCreatureSay luaAddEvent(). Argument #5 is unsafe stack traceback: [C]: in function 'addEvent'...
  3. lukatxd

    TFS 1.X+ TFS 1.4.2 AddEvent Argument #3 is unsafe

    I know it may seem like a duplicate, but from the threads I found in this forum, they're not pointing to the same argument, and I tried their solutions beforehand. I was trying to make a crossbow that shoots faster than normal without changing tfs sources, then I found the addEvent but I...
  4. A

    spell ERROR AddEvent() Argument # 3 is unsafe

    Hi everybody I need a simple help for this spells.... the truth is that I do not know much about... buy someone can explain me, I'll be grateful. this is my script.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat...
  5. spyk3z

    Solved TFS 1.0 Spell

    Console keeps getting spammed with argument #3 is unsafe.
  6. Aeronx

    Solved Script question TFS 1.2

    Still nothing, argument unsafe#3 and same errors after that :/
  7. Vinicius Chaves

    Argument #3 is unsafe

    Hello guys, I am trying to make to convert an old Svarground arena to a version. But everytime a player kills the monster and goes into the another TP, it appears on the distro: \arena_pit.lua:callback LuaScriptInterface::luaAddEvent(). Argument #3 is unsafe stack traceback: [C]: in...
  8. xLosT

    Script Unsafe

    in tfs 1.2 have one erro Lua Script Error: [Weapon Interface] data/weapons/scripts/wand.lua:onUseWeapon luaAddEvent(). Argument #3 is unsafe stack traceback: [C]: in function 'addEvent' data/weapons/scripts/wand.lua:17: in function w = { [1] = {ef = 36, sh = 3, dmg =...
  9. guiismiti

    Solved [TFS 1.2] Remove monster doesn't always work

    Still got the same "argument #3 is unsafe" error. By the way, the missing comma is before 'seconds,' and not after Ok, I solved the unsafe argument thing by using 'id.uid' instead of 'id'. I have also tried using 'cid.uid', but in both cases, the problem persists - it won't remove the monster...
  10. donnyred

    TFS 1.X+ ERROR AddEvent() Argument # 3 is unsafe

    Hi everybody I need a simple help for this spells.... the truth is that I do not know much about... buy someone can explain me, I'll be grateful. this is my script.lua local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT...
  11. trustjah

    Lua [TFS 1.0] Stamina gain when Training on "monks"

    @Xeraphus still getting an error here, Argument 3 unsafe, C in function 'addEvent'
  12. New_Age

    Compare with boolean

    It worked perfectly but now appears an error in addEvent luaAddEvent<>. Argument #3 is unsafe addEvent(Test, 1000, cid)
  13. pacan123

    break beetwen two different combat onCastSpell()

    Lua Script Error: [Spell Interface] data/spells/scripts/WaveOwn.lua:onCastSpell luaAddEvent(). Argument #3 is unsafe stack traceback:
  14. yohanaugusto

    Lua Argument #3 is unsafe

    Hello, someone could help me to update this to TFS 1.1? The only problem is on "AddEvent": addEvent(script, 1000, cid)
  15. E

    TFS 1.X+ Error spell console

    Use search function before creating such topic. This issue occured number of times. search: Search results for query: Argument # in unsafe (https://otland.net/search/700999/?q=Argument+%23+in+unsafe&o=relevance) e.g. post: Solved - What is wrong? Lua...
  16. Svira

    TFS 1.X+ Problem NPC - Argument #5 is unsafe

    Hello, I have a problem with an NPC - Argument #5 is unsafe, I found some errors on the forum but I cannot solve the problem in my code. Will there be a soul who will tell me where the mistake is and how to fix it? error: Lua Script Error: [Npc interface] (Unknown scriptfile) luaAddEvent()...
  17. Volrath

    Compare with boolean

    Wont you need to send in the arguments in the right order? cid first.
  18. guiismiti

    Solved [TFS 1.2] Remove monster doesn't always work

    Using both codes I got the same error, saying that in function addEvent the Argument #3 is unsafe By the way, the second code is missing a comma after "seconds"
  19. zbizu

    CreatureEvent [TFS 1.1] Random Item Stats

    first post updated should work now edit: updated again fixed "argument is unsafe" now find_loot_Container(pos) doesn't need a player parameter anymore
  20. Gubailovo

    MoveEvent Hunting Room (No MOD's)

    is there for 1.2? 1617304703 Lua Script Error: [MoveEvents Interface] data/movements/scripts/hunt/dragon/dragon.lua:onStepIn LuaScriptInterface::luaAddEvent(). Argument #3 is unsafe stack traceback: [C]: at 0x7ff6b7bbebc0
Back
Top