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

  1. R

    Solved How can I set new corpse for specific vocation?

    Ok, I finally did it. Thanks for help :)
  2. R

    Solved How can I set new corpse for specific vocation?

    Yeah it's pretty major part but if I change it in the source as above it doesn't work. There is no corpse after player's death. I suppose that I should return items's id instead of image's id. Am I right?
  3. R

    Solved How can I set new corpse for specific vocation?

    But where should I use it? I don't understand :P
  4. R

    Solved How can I set new corpse for specific vocation?

    I changed it to: uint16_t Player::getLookCorpse() const { uint16_t saiyans, def; saiyans = 328; // corpse for saiyans def = 1547; // corpse for non-vocation if (getVocationId() == 1) return saiyans; return def; }but there is no corpse...
  5. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    I have no idea. It was just strange. Even if I relog it'd not make a difference. It would be still 1000/1000 instead of 1000/1200. Anyway, thanks for help guys :)
  6. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    The message doesn't show after doPlayerSendCancel(cid, "") but it's still in Server Log. I tried doCreatureAddHealth(cid, -1, false) but it didn't work.
  7. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    I think you have misunderstood what I meant or maybe I asked a wrong question. Before transform it should be like this: 1000/1000 hp 1000/1000 mana After transform it should be like this: 1000/1200 hp 1000/1100 mana After transform now: 1000/1000 hp 1000/1000 mana while in database: 1000/1200...
  8. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    What if player is already in battle? I don't want to remove it in this case. I just do it for fun while trying to learn how to create spells etc :) It's for my personal use.
  9. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    Ok I will try to explain it more. I'm using spell "transform". This spell is suppose to change player's vocation, outfit and add bonus hp and mana. part of this spell is: if (getPlayerVocation(cid) == 1) and (getPlayerLevel(cid) >= 50) then doPlayerSetVocation(cid,2) doSetCreatureOutfit(cid...
  10. R

    Solved How can I set new corpse for specific vocation?

    Hey I'd like to set different corpses on my vocations and change its description. For example how can I change the corpse for vocation 2 to image id 328 and make it decay to image 329 with a description "You see a dead saiyan."?
  11. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    Yeah but it also adds the bonus hp. It's not what I meant. I don't want to heal the player after changing his hp.
  12. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    I thought the same way but it doesn't work.
  13. R

    Solved How can I update player's hp after using setCreatureMaxHealth?

    Hey setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+100) Is there a way to update player's health at the same time? I can't see any change before using some spell for example exura.
  14. R

    Solved How can I remove battle condition after using doCreatureAddMana with negative number?

    Oh :( Is there a way to change it in the engine? - - - Updated - - - Thanks anyway :)
Back
Top