• 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. dawnking

    Lua Guild cleaner

    i would like to have this script too, i know what need to do, but idk how, i need some help the way should be: after check table `guilds` in column `creationdata` check if guild as more then 30 days so check amount of players in the guild SELECT COUNT(guild_id) FROM `players` WHERE...
  2. dawnking

    Lua Limit 3 IPs for this script

    bump
  3. dawnking

    Lua Limit 3 IPs for this script

    bump
  4. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    bump bump bump is anybody found or know how to fix this to work?
  5. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    Still not compiling... Ty to still trying help us. weapons.cpp: In member function ‘virtual void Weapon::onUsedAmmo(Player*, Item*, Tile*) const’: weapons.cpp:444:37: error: ‘class Item’ has no member named ‘getId’ uint16_t itemid = item->getId()...
  6. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    luascript.cpp hastebin luascript.h hastebin
  7. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    weapons.cpp: In member function ‘virtual void Weapon::onUsedAmmo(Player*, Item*, Tile*) const’: weapons.cpp:446:25: error: ‘class Player’ has no member named ‘removeSlotItem’ player->removeSlotItem(CONST_SLOT_AMMO, 1) ^ weapons.cpp:446:40: error...
  8. dawnking

    Lua Limit 3 IPs for this script

    Hey man thank you so much to trying to help me... Srry to this too late, i trough u was not here anymore... So i used your script as a base... Made some changes: function onLogin(cid) local guild_id = getPlayerGuildId(cid) local minimo = 1 local max = 10 local porcentagem = 1...
  9. dawnking

    Lua Quest time online to do again

    I making one by one...
  10. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    I got 2 bugs when i shot the last arrow: 1) if i had 0 arrows in my backpack it won't remove the last one 2) if i had in my backpack some it remove but wont recharge (not sure this second one) weapons.cpp: hastebin Anybody know how to fix this? It's too important to me :( And so useful a lot...
  11. dawnking

    Lua Quest time online to do again

    Why it's always show chest empty? Even after beeing online the time required and re-logged... @Ziker @Aled Did u know? local mins = 60 * 1000 local hours = 60 * 60 * 1000 local days = 24 * 60 * 60 * 1000 local quests = { [8000] = { item = 2385, lvl = 1, time = 1 * mins}, -- sabre...
  12. dawnking

    Lua Limit 3 IPs for this script

    No :( bump
  13. dawnking

    Lua Quest time online to do again

    Thank you to be helping me... But not working: local mins = 60 * 1000 local hours = 60 * 60 * 1000 local days = 24 * 60 * 60 * 1000 local quests = { [8000] = { item = 2385, lvl = 1, time = 1 * mins }, -- sabre [8001] = { item = 2485, lvl = 2, time = 5 * mins}, -- doublet [8002] = {...
  14. dawnking

    Lua Quest time online to do again

    I've tried this: local mins = 60 * 1000 local hours = 60 * 60 * 1000 local days = 24 * 60 * 60 * 1000 local quests = { [8000] = { item = 2385, lvl = 1, time = 1 * mins }, -- sabre [8001] = { item = 2485, lvl = 2, time = 5 * mins}, -- doublet [8002] = { item = 2526, lvl = 3, time = 1...
  15. dawnking

    Lua Quest time online to do again

    This script is not working here bro, did u know how to fix? [11:20:30.316] [Error - Action Interface] [11:20:30.316] data/actions/scripts/quests.lua:onUse [11:20:30.316] Description: [11:20:30.317] data/actions/scripts/quests.lua:28: attempt to compare boolean with number [11:20:30.317] stack...
  16. dawnking

    Lua Limit 3 IPs for this script

    Now is logging script is almost working, just this problems: When 4 player login on the same IP for him show: [GUILD] To get bonus experience must be over 1 players online guild. Guild of Players Online [1] And do not show nothing to the others members... Could you help to give a warning, exp...
  17. dawnking

    Lua Limit 3 IPs for this script

    Yes, if i remove it's work, back to login
Back
Top