• 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

  1. zxzxzx

    Svarground Arena tfs 1.2

    located in \actions\scripts\quests\svargrond arena - script action xml <!-- Arena Quest--> <action actionid="13100" script="quests/svargrond arena/arena_door.lua" /> <action actionid="26100" script="quests/svargrond arena/arena_door.lua" /> <action actionid="27100"...
  2. zxzxzx

    item change script on tfs 1.2+

    Thanks for hint, I add return true end and function onUse(player, item) - now in console I don't see error but when I use it I see still error on use "attempt to index global 'item2' (a nil value) in line 7 realy don't know what to do I need to change this:function onUse(player, item) or this...
  3. zxzxzx

    Svarground Arena tfs 1.2

    Hello! In my script from tfs 10.90 1.2 I have this error from arena door.lua : 2 attempt to idex global 'storage' (a nil value) CJ in function '__index' lua2 in main chunk how to make this works? code: local storages = { [26100] = Storage.SvargrondArena.Greenhorn, [27100] =...
  4. zxzxzx

    item change script on tfs 1.2+

    tell me how.. I'm not scripter. just wan't to make this works. I forgot something?
  5. zxzxzx

    item change script on tfs 1.2+

    local upg = { [2191] = 8921, [2186] = 8911, } onUse() local tmp = upg[item2:getId()] if item:getId() == 10305 and tmp then item:remove() item2:transform(tmp) player:sendTextMessage() end lua6 attempt to call global 'onuse' (a nil value)
  6. zxzxzx

    item change script on tfs 1.2+

    Error in line 7 (eof) expected near 'else'
  7. zxzxzx

    item change script on tfs 1.2+

    bump
  8. zxzxzx

    item change script on tfs 1.2+

    where to put items ids? here? [id1] = toid1, [id2] = toid2,
  9. zxzxzx

    item change script on tfs 1.2+

    Can we make the script works with more items?, I don't wan't to make single action line for single item, now my script looks like this: function onUse(cid, item, frompos, item2, topos) if item.itemid == 10305 then if doPlayerRemoveItem(cid,2191,1) == true then doPlayerAddItem(cid,8921,1)...
  10. zxzxzx

    item change script on tfs 1.2+

    Hello! I have script which change item 2191 to item 8921 when I use item id 10305 and then items id 2191 and 10305 remove - this is ok but when I use item 10305 on the ground (not backpack) item 10305 not remove and this is the problem.. Help me to make item 10305 remove when it is on the...
  11. zxzxzx

    Double Exp item conflict with config.lua and exp stage!

    ok solved thanks! ;)
  12. zxzxzx

    Double Exp item conflict with config.lua and exp stage!

    events.xml <?xml version="1.0" encoding="UTF-8"?> <events> <!-- Creature methods --> <event class="Creature" method="onChangeOutfit" enabled="0" /> <event class="Creature" method="onAreaCombat" enabled="0" /> <event class="Creature" method="onTargetCombat" enabled="0" />...
  13. zxzxzx

    Double Exp item conflict with config.lua and exp stage!

    Hello! I have problem with my double experience item - I edited oryginal player.lua script from events and add: function Player:onDoubleExperience(source, exp, rawExp) local thing = self:getStorageValue(80000) if thing > os.time() then return exp * 2.0 end return exp end...
  14. zxzxzx

    Annihilator bug. tfs 1.2

    HHAHAH YES YOU RIGHT XDDDD MY BAD :( :P ... damn xD thanks for help ;) /my idiotism solved.. xD
  15. zxzxzx

    Annihilator bug. tfs 1.2

    error: (acti0n interface) on use attempt to index a nil value/ lua34 in function/ lua 28 y1042 x959 z11 stackpos - 0 y1043 x959 z11 stackpos - 0 y1044 x959 z11 stackpos - 0 its look like the 4 position did not work correctly? + when I use this...
  16. zxzxzx

    Annihilator bug. tfs 1.2

    bump
  17. zxzxzx

    Annihilator bug. tfs 1.2

    Hello! I have this annihilator script - i don't know why the script not working, when I try to use the lever the console show this lines: (acti0n interface) on use attempt to index a nil value/ lua33 in function/ lua 28 code: local config = { requiredLevel = 1, daily = false...
  18. zxzxzx

    DHQ for 1.2

    OK now works! thanks ;)
  19. zxzxzx

    Amulet of Life for tfs 1.2

    ok now work! thanks ;)
  20. zxzxzx

    Amulet of Life for tfs 1.2

    not working, this same problem.
Back
Top