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

    Chest with skill...

    Hello i wrote code, it work but when we use chest that give % skills, i dont know why, i need to get from chest always +1 skill, can you help me? @edit ok i fix it xd function onUse(cid, item, frompos, item2, topos) if item.itemid == 1740 then queststatus =...
  2. A

    Arrow has 50% to break when used with "bow"

    Hello, can you add in this code break chance 50% for item: 2544? because i try but only errors xd local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE...
  3. A

    Change min_speed C++ player.h

    I didn't think it would be so easy XDD thanks :D
  4. A

    Change min_speed C++ player.h

    Hello, i need help with player.h, when i change #define SPEED_MIN 10 for #define SPEED_MIN 150 and compile, this dont work, can you help me? i need set max speed 1500 and min = 150, code is here, because cant with [/code] add here...
  5. A

    One question about items skill name change with c++

    Thanks. ok i find this, is here: if(it.abilities.stats[STAT_MAGICLEVEL]) { if(begin) { begin = false; s << " ("; } else s << ", "; s << "magic level " << std::showpos <<...
  6. A

    One question about items skill name change with c++

    Items.cpp? I dont find anything, i need change this in source, because i need to see "Dark Level" not Magic Level
  7. A

    One question about items skill name change with c++

    I have one question, where i can change name of skill item: 18:16 You see a Dark Armor (Arm:85, Magic Level +10, speed +100). It can only be wielded properly by players of level 500 or higher. i need change - Magic Level to - Dark Level, can you say me name of file for fix this?
  8. A

    Npc give one of four storage (random)

    And you can take this only once.
  9. A

    Npc give one of four storage (random)

    Hello, i need one script, maybe you have? When we have storage 9999, 10, and When we talk with npc, and say: offer, then he give one of four random storage ex: If give storage 9998, 1 - He say to me: Now you are King When give 9997, 1 - He say to me: Now you are Prince etc, please help me :)
  10. A

    Help with working script

    i try with and here is errors
  11. A

    Help with working script

    Tfs 0.3.6, here is the errors :/
  12. A

    Summoning monster on level

    @Xikini when i add 2nd same script, because its two different spells and i have this error but 1 spell is work, second copied dont work :/ idk why.. local clones = { [{1, 29}] = "Monster", [{30, 69}] = "Monster [I]", [{70, 149}] = "Monster [II]", [{150, 219}] = "Monster [III]"...
  13. A

    Help with working script

    Hello i need help with this script, because I can not add this... When we logout or die, regeneration is active, can you add this? i tried with login.lua but i am newbie and this have no results.. local config = { amount = 50, -- HPs by second time = 3600, -- seconds exhaust = {...
  14. A

    Summoning monster on level

    Thanks for help!:)
  15. A

    Summoning monster on level

    Hi, i need help, can you fix it, because i have no idea how do this? please! :) If we have level 1 we can summon Monster I, when we up 30 then we can summon monster II, here is code and errors: local clones = { [{1, 29}] = "Monster I", [{30, 70}] = "Monster II" } local cloneName...
  16. A

    iGlobal - Sprites Gallery

    Nice sprites, more, more more!!
  17. A

    [OTCLIENT] Function change vocations

    Work but i must reload mods, then image changed, relog to another voc dont change image when dont reload this ;/ And this work only for first vocation :/
  18. A

    [OTCLIENT] Function change vocations

    @River KA i do it and this dont work,. Icons = {} Icons[PlayerStates.Poison] = { tooltip = tr('You are poisoned'), path = '/images/game/states/poisoned', id = 'condition_poisoned' } Icons[PlayerStates.Burn] = { tooltip = tr('You are burning'), path = '/images/game/states/burning', id =...
  19. A

    [OTCLIENT] Function change vocations

    dont work :/ image dont change when i change vocation :/
  20. A

    [OTCLIENT] Function change vocations

    i dont understand... healthinfowindow instead of? where is it?
Back
Top