• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. Z

    Open Tibia attempt to index local 'value' (a nil value)

    I've fix it in other way with a good guys helping, it can be closed ;)
  2. Z

    Open Tibia attempt to index local 'value' (a nil value)

    Why my quests is not working? It is showing this error on console: error on console: [20:0:29.635] [Error - Action Interface] [20:0:29.635] data/actions/scripts/quests/quests.lua:onUse [20:0:29.635] Description: [20:0:29.635] data/actions/scripts/quests/quests.lua:4: attempt to index local...
  3. Z

    how to use goto or continue on LUA?

    nvm i gonna go without continue... thank you all guys!
  4. Z

    how to use goto or continue on LUA?

    how can i fix this? i was using 5.1 i tried to sudo apt-get install lua5.2 and change my Makefile editing every lua5.1 to lua5.2: SRC = actions.cpp admin.cpp allocator.cpp baseevents.cpp beds.cpp chat.cpp\ combat.cpp condition.cpp configmanager.cpp connection.cpp container.cpp\...
  5. Z

    how to use goto or continue on LUA?

    print(_VERSION) prints: Lua 5.1
  6. Z

    how to use goto or continue on LUA?

    Yes, im 100% The error is in data/talkactions/scripts/quests.lua:22 the other script i load is in data/actions/scripts/quests.lua
  7. Z

    how to use goto or continue on LUA?

    u mean to use this? dofile(getDataDir() .. "actions/scripts/quests.lua") function onSay(cid, words, param, channel) local mins = 60 local hours = 60 * 60 local days = 24 * 60 * 60 print("----------") print(mins, hours, days) local time = os.time() local final = ''...
  8. Z

    how to use goto or continue on LUA?

    I need to use continue in a loop in LUA I tried this: dofile(getDataDir() .. "actions/scripts/quests.lua") function onSay(cid, words, param, channel) local mins = 60 local hours = 60 * 60 local days = 24 * 60 * 60 print("----------") print(mins, hours, days) local...
Top