• 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 Limit 3 IPs for this script

    local xml = io.open(getDataDir().."monster/monsters.xml", "r") local monsters = false if xml then local text = xml:read("*all") xml:close() monsters = {} for monstername in text:gmatch('name="(.-)"') do table.insert(monsters, monstername) end end function onLogin(cid)...
  2. dawnking

    Lua Limit 3 IPs for this script

    No errors, but no login: [18:0:35.138] Druid has logged in. [18:0:35.250] Druid has logged out. [18:0:46.508] Druid has logged in. [18:0:46.563] Druid has logged out. [18:0:50.887] Paladin has logged in. [18:0:50.965] Paladin has logged out.
  3. dawnking

    Lua Limit 3 IPs for this script

    Still not logging: [8:36:56.704] Noguild has logged in. [8:36:56.826] Noguild has logged out. [8:37:03.574] Noguild has logged in. [8:37:03.697] Noguild has logged out. [8:37:11.861] Inaguild has logged in. [8:37:11.863] [Error - CreatureScript Interface] [8:37:11.863]...
  4. dawnking

    Lua Limit 3 IPs for this script

    Now i cant even login 1 character... When i try print this: [14:9:52.602] Druid has logged in. [14:9:52.678] [Error - CreatureScript Interface] [14:9:52.678] data/creaturescripts/scripts/exp_guild_login.lua:onLogin [14:9:52.679] Description: [14:9:52.679]...
  5. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    Sorry to don't express myself right: I'm not in my computer right now, but i remember: 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)
  6. dawnking

    Lua Quest time online to do again

    I mean.. there is a way to set days or minutes? Some quests should be good in 3 days, 30 days, another ones 30 minutes, 1 minute, 120 minutes... I tried to: But return me [10:52:41.573] [Error - LuaInterface::loadFile] data/actions/scripts/quests.lua:1: unexpected symbol near '0.04'...
  7. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    The script is not working, but if your question was about if i had more then 1 arrows like 2,3,100, yes, it's was removing that amount, only last do not remove (i didnt had arrows in my bp on that test)
  8. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    When i shot 3 times with 2 arrows (yes the last one arrow is not removing) Its printing: AMMOACTION_REMOVECOUNT 1AMMOACTION_REMOVECOUNT 2COUNT > 1AMMOACTION_REMOVECOUNT 1AMMOACTION_REMOVECOUNT 2COUNT < 0AMMOACTION_REMOVECOUNT 1AMMOACTION_REMOVECOUNT 2COUNT < 0[0:9:20.350] Paladin has logged...
  9. dawnking

    Lua Limit 3 IPs for this script

    I'm sorry Here is the error when i use your script: [0:3:34.493] [Error - CreatureScript Interface] [0:3:34.493] data/creaturescripts/scripts/exp_guild_login.lua:onLogin [0:3:34.493] Description: [0:3:34.493] (internalGetPlayerInfo) Player not found when requesting player info #28 [0:3:45.446]...
  10. dawnking

    Lua Limit 3 IPs for this script

    When i use this script and try to login 2 character at the same guild, the second one get kicked on the second he login!
  11. dawnking

    Lua Quest time online to do again

    If i want some in hours and some in days i should set: [8000] = { item = 2385, lvl = 1, days = 0.04}, -- sabre ???
  12. dawnking

    Lua Limit 3 IPs for this script

    I found a topic with this script here with this same problem, but abandoned This script to encourage players to make guilds, invite their friends, makers and get a bonus But what is happen: Some players create their own guild invite 10 mc's and let this 10 mc's open to get bonus alone...
  13. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    Now it's compiling, but when i tried to test in game (with a bow+arrow) i used 2 arrows, when arrows going to 0 the auto recharge dont happen, not work :( weapons.cpp (L 440~460) hastebin weapons.h (L 84) hastebin player.h (L 1249) hastebin
  14. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    In file included from weapons.h:28:0, from weapons.cpp:18: player.h: In member function ‘virtual void Weapon::onUsedAmmo(Player*, Item*, Tile*) const’: player.h:1100:20: error: ‘virtual uint32_t Player::__getItemTypeCount(uint16_t, int32_t) const’ is protected virtual...
  15. dawnking

    Lua Limit 3 IPs bonus

    bump
  16. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    Thank you @WibbenZ , but it's not working: weapons.cpp:433:43: error: no ‘void Weapon::decrementItemCount(Item*)’ member function declared in class ‘Weapon’ void Weapon::decrementItemCount(Item* item) ^ In file included from weapons.h:28:0...
  17. dawnking

    Compiling Help to add Auto Recharge Ammo in 0.4

    You guys found a way? Anybody know this?
  18. dawnking

    Lua Limit 3 IPs bonus

    bump
  19. dawnking

    Lua Limit 3 IPs bonus

    bump
Back
Top