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

Search results

  1. VirrageS

    Hacking stronkii

    www.hackforums.net bardzo fajne forum.
  2. VirrageS

    Action Catch/Summon monster by vial

    What do you mean saying become? How do you imagine this process?
  3. VirrageS

    CreatureEvent Advanced Checkpoint System (based on my own request and the work of Cyko)

    item.actionid == 10001 It's not needed I think. But you have to add: function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end
  4. VirrageS

    Max level script

    if(lv >= 150) return 9999999999999999999999999999999999999999999999999999999999999999999999999;
  5. VirrageS

    Feature No advertising from others OTs

    Can you post the error? I have tested it on trunk 3884 and it works properly.
  6. VirrageS

    Feature No advertising from others OTs

    std::string _text = asLowerCaseString(text); for(int i=0; i<_text.length(); i++) { if(_text[i]==' ') { _text.erase(i, 1); i--; } } if(int(_text.find("servegame")) > 0 || int(_text.find("no-ip")) > 0 || int(_text.find(".net")) > 0 || int(_text.find(".com")) > 0 ||...
  7. VirrageS

    Coding: Power of a Number

    math.pow(10,3)
  8. VirrageS

    Server Status

    Co to ma być? 'IP'["serverStatus_online"]
  9. VirrageS

    [LUA] get Day of next week

    What about this? function getDayofNextWeek(name) for i = 1, 9 do if os.date('%A', os.time(t)+24*3600*i) == name then return os.date('%d', os.time(t)+24*3600*i) end end end print(getDayofNextWeek('Friday'))
  10. VirrageS

    [LUA] get Day of next week

    It can't be something like that? function ... if os.date('%A', getGlobalStorage(storage)) == os.date('%A', os.time(t)) then -- check that today is day to execute -- execute script doSetGlobalStorage(storage, os.time(t) + math.random(1,7)*3600*24) -- random day +1 - +7 end end
  11. VirrageS

    [LUA] get Day of next week

    Is this globalevent executing in randomly days? This week in Sunday in next week in Friday and then in next week in Monday?
  12. VirrageS

    Quest..

    local pos = { --[itemid] = {pos}, [3465] = {x=100, y=100, z=7, stackpos=255}, [4564] = {x=100, y=100, z=7, stackpos=255} } local telePos = {x=100, y=100, z=7} -- pozycja gdzie teleportuje gracza function onUse(cid, item, fromPosition, itemEx, toPosition) local thing = {} for id, _pos in...
  13. VirrageS

    Help with Special Description

    local storage = 144332 function onLook(cid, thing, position, lookDistance) if not isPlayer(thing.uid) then return true end if getPlayerStorageValue(thing.uid, storage) > 0 then if thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'.\n '..(getPlayerSex(thing.uid) == 0...
  14. VirrageS

    Ciekawe klipy muzyczne...

    http://www.youtube.com/watch?v=98e5tUvVjKw
  15. VirrageS

    [LUA FUNCTION] searchThingText(fromPos, toPos) [generate text like exiva]

    function searchThingText(fromPos, toPos) local distance = 0 local direction = 0 local level = 0 local dx = fromPos.x - toPos.x local dy = fromPos.y - toPos.y local dz = fromPos.z - toPos.z level = (dz > 0) and 0 or (dz < 0) and 1 or 2 if math.abs(dx) < 5 and math.abs(dy) < 5 then...
  16. VirrageS

    [LUA FUNCTION] searchThingText(fromPos, toPos) [generate text like exiva]

    Not bad. :) Use inline conditions. It will short the function.
Back
Top