• 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: lottery globalevent

  1. M

    Server Save bug on 0h

    <?xml version="1.0" encoding="UTF-8"?> <globalevents> <globalevent name="HouseClean" interval="60" event="script" value="houseclean.lua"/> <!-- Dota 100% Automatico --> <globalevent name="dota" time="17:00" event="script" value="dota.lua"/> <!-- Effects Teleports -->...
  2. Extrodus

    Lottery Premium points Help me

    If you currently are using a lottery script, we can edit it to add a local function addPremiumPoints(amount) then simply alter the script to have a chance to give premium points using that function. Although if you don't have a base to start from or can't use the search tool to find the numerous...
  3. S

    TFS 1.X+ Help Script Lottery - TFS 1.3

    iam using this lottery system in globalevents/scripts/lottery.lua add this local config = { interval = "2 hours", rewards = {[2160] = 3, [2159] = 1, [24774] = 1}, -- [itemid] = count; [2160] = 50 - it gives 50 crystal coins website = false } function onThink(interval) local...
  4. J

    GlobalEvent Lottery System v2

    you sure it work in 0.4 rev3884? for me it give the reward every 2-3 seconds btw, i didnt modify that mod..
  5. Samme

    Lottery System configuration ;)

    Nie mam pojęcia dlaczego w timer to dajecie? Tu powinno być OK, wklej to do GLOBALEVENTS! -- by vDk -- With premium points by Samme. local config = { lottery_hour = "3 Hours", -- Time to next lottery (real time you set on globalevents.xml, its only for broadcast message.) points = 15...
  6. X

    Lua Do not give certain access lottery reward error [0.4]

    if getPlayerAccess(tid) <= 2 then -- changed list[#list + 1] = tid -- changed if #list == 0 then -- added print("Not enough players for EventName to trigger.") return true end local config = { lottery_hour = "1 Hour", -- Time to next lottery (only for broadcast message, real...
  7. zi00mek5

    TFS Crying Damson 0.3.5 problem with lottery.lua

    Hello all! I have one little problem in console on my ots: [25/11/2009 00:11:53] data/globalevents/scripts/lottery.lua:onThink [25/11/2009 00:11:53] data/globalevents/scripts/lottery.lua:13: bad argument #2 to 'random' (interval is empty) [25/11/2009 00:11:53] stack traceback...
  8. Boomer

    Lottery System configuration ;)

    local config = { lottery_hour = "24 Hours", -- Time to next lottery (real time you set on globalevents.xml, its only for broadcast message.) points = 15, -- how many points winner get? website = "yes" -- Do you have `lottery` table in your database? } function onTimer(interval...
  9. D

    global event store does not deliver the item q the player buys through the site

    <?xml version="1.0" encoding="UTF-8"?> <globalevents> <globalevent name="save" interval="600000" event="script" value="save.lua"/> <globalevent name="clean" interval="1800000" event="script" value="clean.lua"/> <globalevent name="magic-effect" interval="1000" event="script"...
  10. Boomer

    Lottery System configuration ;)

    No dobra zmieniłem na to co powiedziałeś, lecz teraz to będzie na zasadzie że co 3h. A nie o danej godzienie. Próbowałem zrobić tak jak jest w example: I zmieniłem na: I nie działa, bo wyskakuje ten błąd. Więc jak mogę teraz ustawić żeby było o danej godzinie?
  11. X

    Lua Text on tp.

    which line is setup with the above script? Basically do this. <globalevent name="script_name" interval="3000" script="script_name.lua"/> local config = { [1] = {{x = 1000, y = 1000, z = 7}, "text 1"}, [2] = {{x = 1000, y = 1000, z = 7}, "text 2"}, [3] = {{x = 1000, y = 1000, z = 7}...
  12. T

    [TFS 1.3] [Revscriptsys] Free Lua scripting service - Post your requests! Let's learn it together!

    Hello, could someone convert this script to Revscriptsys? Thanks The event comes down to each x configurable time, is chosen from the online player, 1 person and she receives a surprise bag (with random items to win also configurable)
  13. P

    Lua fix

    Hello, I have small problemt withs lua scripts some one can look?: ) lottery script lottery error: and this: [Warning - Items::loadFromXml] Unknown key value fieldAbsorbPercentFire ?
  14. Extrodus

    Lua Do not give certain access lottery reward error [0.4]

    @Roddet - Thanks for the response! I tested the script and the results are mixed. When 1 player is online and it is the GOD/GM, the lottery does not give a reward and no error is shown in console. (works perfectly) However, when there is more than 1 player online; for some reason it will...
  15. MaR0

    TFS 1.X+ Missing name for a globalevent

    [Warning - Event::checkScript] Can not load script: scripts/lottery.lua data/globalevents/scripts/lottery.lua:9: 'do' expected near 'if'
  16. rogersenchou

    [TFS 1.2/1.3] Free scripting service

    xeraphus i have this error in system lottery: my console is tfs 1.2 otxserver [Warning - Event::checkScript] Can not load script: scripts/lottery.lua data/globalevents/scripts/lottery.lua:20: 'end' expected (to close 'function' at line 6) near '<eof>' local rewards = { {itemid = 2160, count...
  17. imback1

    GlobalEvent NEW LOTTERY SYSTEM, TFS 0.4

    isnt it for version 0.3.6? cuz i made it and doesn't work till now
  18. Cykotitan

    Lua Error in my script... TFS 0.4

    ffs. 45 * 60 * 1000 I have to quote myself <_<:
  19. yolfran

    GlobalEvent Lottery System!

    error ,i use crying damson 0.3.6 ,im using the mod one. [23/05/2010 15:16:42] [Error - GlobalEvent Interface] [23/05/2010 15:16:42] buffer:onThink [23/05/2010 15:16:42] Description: [23/05/2010 15:16:42] [string "loadBuffer"]:12: attempt to get length of field 'rewards_id' (a nil value)...
  20. lopez65

    TFS 1.3 Lottery System

    local lottery = GlobalEvent("lottery") local config = { interval = "1 minute", rewards = {[3043] = 5, [22118] = 2, [10218] = 1}, -- Rewards aleatorio, separados por coma, 2160 es crystal coin = cuantos, 2152, platinium coins, cuantos, 24774 son tibia coins, cuantos etc website =...
Back
Top