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

    Quest time on quest log

    I found here on forum this amazing quest system, where players can do a quest more then one time. It just need to wait a time to do again, but this time only shows when player try to open the chest. I have i idea, but no idea how to make it possible How to add this quests on questlog and on...
  2. zexus

    Player Loot Rate

    I was setting on luascript.h in protected, changed for public and back to save... What do u recommend? Come back with changes to _8 or still using _16 and int instead of tinyint ???
  3. zexus

    Player Loot Rate

    I did changed the players.h // change loot rates per player 1 uint16_t specialLootRate; // change loot rates per player 2 uint16_t getSpecialLootRate() const { return specialLootRate; } void setSpecialLootRate(uint16_t newRate) {...
  4. zexus

    Player Loot Rate

    The system looks working, thats amazing, now we can create a lot scripts with this functions Many people said that was impossible and now u made it work But now i got a problem to save players, console: [18:28:55.228] Zexus has logged out. [18:28:55.229] mysql_real_query(): UPDATE `players`...
  5. zexus

    Player Loot Rate

    Opps, sorry... Thank you again... To return the special loot rates, to make scripts more complexes How to make the function get? int32_t LuaInterface::luaDoPlayerGetSpecialRateLoot(lua_State* L) { //doPlayerGetSpecialRateLoot(cid, newRate) return 1; }
  6. zexus

    Player Loot Rate

    luascript.cpp hastebin luascript.h hastebin
  7. zexus

    Player Loot Rate

    Thank you for all your help to us.. Did a made something wrong? In file included from luascript.h:33:0, from luascript.cpp:18: luascript.cpp: In member function ‘virtual void LuaInterface::registerFunctions()’: luascript.cpp:2247:60: error: ‘luaDoPlayerSetSpecialRateLoot’ is...
  8. zexus

    Player Loot Rate

    Did i done something wrong? monsters.cpp: In static member function ‘static uint16_t Monsters::getLootRandom(Player*)’: monsters.cpp:93:98: error: ‘SPECIAL_RATE_LOOT’ is not a member of ‘ConfigManager’ return (uint16_t)std::ceil((double)random_range(0, MAX_LOOTCHANCE) /...
  9. zexus

    Player Loot Rate

    I do using 0.4, but idk how to edit source code, if it's not a lot work and hard, pls show to us This function isn't only to: doPlayerSetRate(cid, SKILL__LEVEL, rates) ??? I don't found nothing about using it to loot --- That's sad to is not simple to implement, searching i found a lot...
  10. zexus

    Player Loot Rate

    bump
  11. zexus

    Player Loot Rate

    The only way i know and found about change loot rates is to change global loot rate On config.lua (rateLoot = 1.0) Is this possible to edit in a OT to change player loot rate for just one player? There is a lot system a want to do with this... Is anybody know how to do it? --- obs1: I'm...
  12. zexus

    Lua Check fields ladders to up

    Thank you again... --- One last problem, i think so :D In my server there is a lot caves where you use rope and go up to a teleport to set you to another position... And with this rope script when i try to get up there it lag a lot, player get freezed Images to example: edit: I...
  13. zexus

    Lua Check fields ladders to up

    I think checkForFieldItems is left... [12:36:33.158] [Error - Action Interface] [12:36:33.158] data/actions/scripts/tools/rope.lua:onUse [12:36:33.158] Description: [12:36:33.158] data/actions/scripts/tools/rope.lua:43: attempt to call global 'checkForFieldItems' (a nil value) [12:36:33.158]...
  14. zexus

    Lua Check fields ladders to up

    Srry again I just want to send a message To the player who block the rope hole and to the player who is trying to get up in the rope hole, but was blocked, because there is another one blocking.
  15. zexus

    Lua Check fields ladders to up

    If i remove it's stop to show the error (script is working) But how to add messages like this, that i added on ladder script? doPlayerSendCancel(cid, "You have blocked to get up") doPlayerSendCancel(pid, "You have blocked a player to get up")
  16. zexus

    Lua Check fields ladders to up

    It's working on fire field and mws, but not with players on hole... If there is a player on hole dont sendplayermsg and print this error [8:59:45.961] [Error - Action Interface] [8:59:45.961] data/actions/scripts/tools/rope.lua:onUse [8:59:45.962] Description: [8:59:45.962]...
  17. zexus

    Lua Check fields ladders to up

    Perfect!!!! Again, thank you so much, i hate stairs pvp, u solved that problem! Could you help me with a last thing? Do the same thing to rope holes? Idk why, but in this try on rope holes, sometimes it's working and sometimes not actions/scripts/tools/rope.lua function onUse(cid, item...
  18. zexus

    Lua Check fields ladders to up

    Solved! Thank you!
  19. zexus

    Lua Check fields ladders to up

    I'm sorry if i cant let myself to be understood, English is not my moon language What i want to prevent that stairs pvp, where player being get up and get down to cant be target is: If the stair where have the stair has a fire/energy/poison field or magic/wild grow wall the players can not get...
  20. zexus

    Lua Check fields ladders to up

    bump
Back
Top