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

    C++ Storage c++

    i don't know how its going but maybe this will help you uint32_t Player::getReborn() const { uint32_t ret = 0; std::string value; getStorage(16075, value); int32_t intValue = atoi(value.c_str()); if(!intValue || value == "0" || intValue <= 0 || value == "-1") return...
  2. Elgenady

    C++ Storage c++

    what source u use?
  3. Elgenady

    website layout

    ?
  4. Elgenady

    Paid programming job

    tfs?
  5. Elgenady

    TFS 0.X Decrease the dmg players vs players

    u add it :D under int32_t damage = -healthChange;
  6. Elgenady

    TFS 0.X Decrease the dmg players vs players

    in game.cpp that will decrease all coming damage to target player if (target && target->getPlayer()) { damage = static_cast<int32_t>(damage /2); // you can use /2 or *0.50 } if you want it work if target player have x storage if(target && target->getPlayer())...
  7. Elgenady

    TFS 0.X Decrease the dmg players vs players

    tell me how u want it work?
  8. Elgenady

    host server

    4 gb for real map and work fine ?
  9. Elgenady

    website layout

    anyone more
  10. Elgenady

    No exp from same IP when killing another player

    remove old compile and start new compile
  11. Elgenady

    No exp from same IP when killing another player

    recompile again
  12. Elgenady

    No exp from same IP when killing another player

    that in my edit ??
  13. Elgenady

    No exp from same IP when killing another player

    change bool Player::gainExperience(double& gainExp, bool fromMonster) for bool Player::gainExperience(double& gainExp, Creature* target) if(!rateExperience(gainExp, fromMonster)) for if(!rateExperience(gainExp, target)) bool Player::rateExperience(double& gainExp, bool fromMonster)...
  14. Elgenady

    No exp from same IP when killing another player

    give me ur player and creature and party .cpp and h
  15. Elgenady

    No exp from same IP when killing another player

    change all bool fromMonster for Creature* target and fromMonster for target in player.cpp and h creature.cpp and h party.cpp and h
  16. Elgenady

    No exp from same IP when killing another player

    show me this in player.cpp bool Player::gainExperience
  17. Elgenady

    No exp from same IP when killing another player

    your bool Player::gainExperience frommonster or creature target?
  18. Elgenady

    No exp from same IP when killing another player

    show me ur getGainedExperience
  19. Elgenady

    No exp from same IP when killing another player

    remove ) if(attackerPlayer->getIP() == getIP() && !g_config.getBool(ConfigManager::GAIN_EXP_FROM_SAME_IP))
  20. Elgenady

    No exp from same IP when killing another player

    its look work but we can make small edit to close function after Player* attackerPlayer = attacker->getPlayer(); if(!attackerPlayer || attackerPlayer == this){ return 0; } add if(attackerPlayer->getIP() == getIP() && !g_config.getBool(ConfigManager::GAIN_EXP_FROM_SAME_IP))) {...
Back
Top