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

Recent content by speery

  1. speery

    Lua Quest time online to do again

    Thank you!
  2. speery

    Lua Help random items stats

    bump
  3. speery

    Lua Quest time online to do again

    No bro, i was talking about the creaturescript: local quests = {} for i = 8000,i < 8300, i++ do add.quests i end function onLogin(cid) registerCreatureEvent(cid, "questslogout") return true end function onLogout(cid) local lastLogin = getPlayerLastLoginSaved(cid) local...
  4. speery

    Lua Quest time online to do again

    @Aled and if i had quests from 8000 to 8300, i mean 300 quests. There is a way to put local quests = {8000 to 8300} Or do i need to write number by number?
  5. speery

    Lua Help random items stats

    bump
  6. speery

    Lua Help random items stats

    bump
  7. speery

    Lua Help random items stats

    bump
  8. speery

    Lua Help random items stats

    I had tried something like that before, but now, i've tested again with your instructions: hastebin Look whats happen when i drop a rare: You see a rare hand axe (Atk:10 +30, Def:4 +8). It weighs 10.00 oz. [Defense: +200] [Attack: +300]
  9. speery

    Send item back to owner Auction System

    Do i doing something dumb? function onStartup() local result = db.getResult("SELECT `id`, `date`, `player`, `itemid`, `count` FROM `auction_system` ORDER by `date` ASC;") local days = 30*3600*24 local nowtime = os.date('*t') if(result:getID() ~= -1) then while(true)...
  10. speery

    Send item back to owner Auction System

    It dont need that limit 1 and how to get the last one? And how to use the result in the next query (the insert) db.executeQuery("INSERT INTO `player_depotitems` (`player_id`, `depot_id`, `sid`, `pid`, `itemtype`, `count`, `attributes`) VALUES ('".. player .."', '".. depotid .."', '".. sid .."'...
  11. speery

    Send item back to owner Auction System

    And need to be the next item of that player id, because i created a new character and enter on DP to test and create this new tables: player_id | sid | pid | itemtype | count | attributes 5 | 101 | 1 | 2589 | 1 | 5 | 102 | 101 | 2594 | 1 | Could you give me the line? Idk how to do...
  12. speery

    Send item back to owner Auction System

    I've create a character enter put a plate armor (2463) inside the depot and create this columns: player_id | sid | pid | itemtype | count | attributes 2 | 101 | 1 | 2589 | 1 | 2 | 102 | 101 | 2463 | 1 | 2 | 103 | 101 | 2594 | 1 | Sid looks be the last item... Sid i think need to be 101...
  13. speery

    Send item back to owner Auction System

    I want this too... But i need some help... Do i doing right? function onStartup() local result = db.getResult("SELECT `id`, `date`, `player`, `itemid`, `count` FROM `auction_system` ORDER by `date` ASC;") local days = 30*3600*24 local nowtime = os.date('*t') if(result:getID() ~=...
  14. speery

    Lua Help random items stats

    bump
  15. speery

    OTclient FPS get/set

    It's to bad computers, thank you! It was it, solved!
Back
Top