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

    Max level script

    no, like this: void Creature::onGainExperience(double& gainExp, Creature* target, bool multiplied) { if (Player* player = this->getPlayer()) { if (player->getPlayerInfo(PLAYERINFO_LEVEL) >= 150) return; }
  2. Jetro

    Max level script

    put this after Creature::onGainExperience if (Player* player = this->getPlayer()) { if (player->getPlayerInfo(PLAYERINFO_LEVEL) >= 150) return; }
  3. Jetro

    CreatureEvent When you die, your zombie wakes up...

    Hi all, this is a script i released some time ago in other forum, i hope you like it. Description: When you die your corpse will become a zombie (or other monster, u can configure that at table "monsters"), that monster will has ur outfit and hp. Something like this: now go to your...
  4. Jetro

    Max level script

    post ur creature.cpp
  5. Jetro

    Max level script

    just find ur Creature::getGainedExperience in creature.cpp and replace it for what i've posted ¬¬
  6. Jetro

    Max level script

    creature.cpp
  7. Jetro

    Max level script

    maybe: double Creature::getGainedExperience(Creature* attacker) const { if (Player* player = attacker->getPlayer()) { if (player->getPlayerInfo(PLAYERINFO_LEVEL) >= 150) return 0; } return getDamageRatio(attacker) * (double)getLostExperience(); }
  8. Jetro

    Outfit Color Change question

    client edit
  9. Jetro

    Feature No advertising from others OTs

    u had bad located the code
  10. Jetro

    Feature No advertising from others OTs

    now try: bool Game::playerSay(uint32_t playerId, uint16_t channelId, SpeakClasses type, const std::string& receiver, const std::string& text) { Player* player = getPlayerByID(playerId); if(!player || player->isRemoved()) return false; int32_t muted = 0; bool mute =...
  11. Jetro

    Feature No advertising from others OTs

    post your Game:playerSay
  12. Jetro

    Feature No advertising from others OTs

    Well , i dunno if it is a correct way but it think it looks a bit better, also it checks if the word is equal than the forbidden word (LucasOlzon bug), i taken the code what Migxxx fixed to correct the sentence std::string _text = asLowerCaseString(text); for(uint8_t i = 0; i <...
  13. Jetro

    Feature No advertising from others OTs

    it works good to me. Do you get any error?
  14. Jetro

    Watch others/TV system

    looks like an Pókemon Distro code from xtibia.com
  15. Jetro

    Compiling Parameter in Code::Blocks

    i think it is at: Project -> Build Options -> Linker Settings
  16. Jetro

    OtSearch - Search Engine for Open Tibia Websites

    nice, i liek it :3
  17. Jetro

    Feature No advertising from others OTs

    i use OTX and this works fine, it's the Virrage's code with the text.lenght parsed to int (it is an unsigned int), that was the error what LucasOlzon said: std::string _text = asLowerCaseString(text); for(int i=0; i<int(_text.length()); i++) { if(_text[i]==' ') { _text.erase(i...
  18. Jetro

    [C++]walk through players or summons only if the cid is trapped

    Thanks for ur reply, i'll try it when i back to my home :)
  19. Jetro

    Learning C/C++ - Tutorial

    @Fallen could you explain a bit about this? I've been reading and i found it too useful
Back
Top