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

    Adding City to boat

    Show me the code after your edit
  2. Thanatos_

    [HELP] How to change nickname color in OTClient

    You misunderstood me, its void ProtocolGame::AddCreature from protocolgame.cpp (Server)
  3. Thanatos_

    [HELP] How to change nickname color in OTClient

    Ok i'll help you, post your CreaturePtr ProtocolGame::getCreature from protocolgameparse.cpp (OTC) and void ProtocolGame::AddCreature from protocolgame.cpp (Server)
  4. Thanatos_

    [HELP] How to change nickname color in OTClient

    The OTClient doesnt know the group of the player on the screen, protocol changes on server-side too is needed.
  5. Thanatos_

    [HELP] How to change nickname color in OTClient

    Its only the nickname or health color too? And who will have a different color, all players?
  6. Thanatos_

    Adding City to boat

    You can just copy like local travelNode = keywordHandler:addKeyword({'ankrahmun'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you seek a passage to Ankrahmun free?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true...
  7. Thanatos_

    Adding City to boat

    Find your npc related .xml file and post here. If it contains a script .lua attached to it, post it here too.
  8. Thanatos_

    [HELP] How to change nickname color in OTClient

    Nickname and health bar uses the same color from m_informationColor, wich is updated from creature.cpp : void Creature::setHealthPercent(uint8 healthPercent). If you want to change ONLY the name color, you need to make some changes in void Creature::drawInformation to make the name to get a...
  9. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    Ok try this uint8_t hitEffect; if (message.primary.value) { combatGetTypeInfo(damage.primary.type, target, message.primary.color, hitEffect); if (attacker && attacker->getPlayer() && target->getPlayer() && damage.primary.type == COMBAT_PHYSICALDAMAGE)...
  10. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    But you're saying that if you delete the content from if (attacker && attacker->getPlayer() && target->getPlayer() && damage.primary.type == COMBAT_PHYSICALDAMAGE) it fixs the text? If yes, can you give me the whole function to take a look?
  11. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    Well, you can try it. uint8_t hitEffect; if (message.primary.value) { if (attacker && attacker->getPlayer() && target->getPlayer() && damage.primary.type == COMBAT_PHYSICALDAMAGE) { Position effectPos = targetPos; effectPos.x++...
  12. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    If you remove my code, it shows the text? If so, its really weird because we just changed hitEffect. Did you change anything about the texts in another code?
  13. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    64x64 effects fits better giving it x+1 and y+1, like: uint8_t hitEffect; if (message.primary.value) { combatGetTypeInfo(damage.primary.type, target, message.primary.color, hitEffect); if (attacker && attacker->getPlayer() && target->getPlayer() &&...
  14. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    Try my code. If you didnt see it: uint8_t hitEffect; if (message.primary.value) { combatGetTypeInfo(damage.primary.type, target, message.primary.color, hitEffect); if (attacker && attacker->getPlayer() && target->getPlayer() && damage.primary.type ==...
  15. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    Even when the player is hitting the other its not showing the new effect? Its showing the blood effect or block effect? Also you tried my code?
  16. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    So, for what you're trying to do i would recommend this: uint8_t hitEffect; if (message.primary.value) { combatGetTypeInfo(damage.primary.type, target, message.primary.color, hitEffect); if (attacker && attacker->getPlayer() && target->getPlayer() &&...
  17. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    CONST_ME_STEPSHORIZONTA should be registered in const.h
  18. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    Go to game.cpp, find bool Game::combatChangeHealth(Creature* attacker, Creature* target, CombatDamage& damage) And you can do something here: uint8_t hitEffect; if (message.primary.value) { combatGetTypeInfo(damage.primary.type, target, message.primary.color...
  19. Thanatos_

    TFS 1.X+ [Problem,question] 0 dmg in pvp. About different hit effect when you are in pvp

    The different hit effect for PvP is from melee? Like instead of blood, show fire effect or something like that?
Back
Top