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

    Parcel trap 8.6 - 0.4

    lol i did tile.cpp http://pastebin.com/0LJa2wZp tile.h http://pastebin.com/HnqBgjP8
  2. D

    Parcel trap 8.6 - 0.4

    Ty... You mean this? ReturnValue Game::internalMoveCreature(Creature* creature, Direction direction, uint32_t flags/* = 0*/) { const Position& currentPos = creature->getPosition(); Cylinder* fromTile = creature->getTile(); Cylinder* toTile = NULL; Position destPos =...
  3. D

    Parcel trap 8.6 - 0.4

    There is 2: ReturnValue Game::internalMoveCreature What is it? What i edit? 1199: ReturnValue Game::internalMoveCreature(Creature* creature, Direction direction, uint32_t flags/* = 0*/) { const Position& currentPos = creature->getPosition(); Cylinder* fromTile = creature->getTile()...
  4. D

    Parcel trap 8.6 - 0.4

    My mistake? game.cpp:1247:13: error: prototype for ‘ReturnValue Game::internalMoveCreature(Creature*, Creature*, Cylinder*, Cylinder*, uint32_t)’ does not match any in class ‘Game’ ReturnValue Game::internalMoveCreature(Creature* actor, Creature* creature, Cylinder* fromCylinder, Cylinder*...
  5. D

    Parcel trap 8.6 - 0.4

    So is best put in? canWalkthrough How could i get player.height and ground.height to make the if?
  6. D

    Parcel trap 8.6 - 0.4

    Oh ty. i ask for myself, i will use it too :D Is like @zabuzo show? void Player::onCreatureMove(const Creature* creature, const Tile* newTile, const Position& newPos, const Tile* oldTile, const Position& oldPos, bool teleport) { Creature::onCreatureMove(creature, newTile, newPos...
  7. D

    Parcel trap 8.6 - 0.4

    Why shouldn't work in canWalkthrough?
  8. D

    Lua Problem new damage system (distance - bows/crossbows)

    ty so much!!!!!!! you all guys <3
  9. D

    Lua Lua Check if is offencive/balanced/defensive fight

    No offense man, but next time, say only if you really know Ty, its the way :)
  10. D

    Lua Lua Check if is offencive/balanced/defensive fight

    I made... If other want to use: protocolgame.cpp void ProtocolGame::parseFightModes(NetworkMessage& msg) { uint8_t rawFightMode = msg.get<char>(); //1 - offensive, 2 - balanced, 3 - defensive uint8_t rawChaseMode = msg.get<char>(); //0 - stand while fightning, 1 - chase opponent...
  11. D

    Lua Lua Check if is offencive/balanced/defensive fight

    I wanna control damages in LUA scripts like How to check if player attack mode is offencive,balanced and defensive like this script? local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function...
  12. D

    Lua Problem new damage system (distance - bows/crossbows)

    I'm so sorry, i didnt saw your coment! Your script was to use in bow item or arrow? I tried use your base to create a arrow script like this But show this error on console: [3:47:19.258] [Error - Weapon Interface] [3:47:19.258] In a callback...
  13. D

    Lua Problem new damage system (distance - bows/crossbows)

    Ty you so much... Do u know how to finish? -- effects and atributes AMMO (SLOT ARROW) if(slotarrow_itemid == 2545) local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)...
  14. D

    Lua Problem new damage system (distance - bows/crossbows)

    I tried... Error: [18:51:47.835] Test Bow has logged in. 30 [18:52:17.236] [Error - Weapon Interface] [18:52:17.236] In a callback: data/weapons/scripts/distance_damage.lua:onGetFormulaValues [18:52:17.236] (Unknown script file) [18:52:17.236] Description: [18:52:17.236]...
  15. D

    guild members online in look.

    here: https://otland.net/threads/guild-online-onlook.243623/#post-2364853
  16. D

    Lua Problem new damage system (distance - bows/crossbows)

    I've tried getItemAttack local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function onGetFormulaValues(cid, level, skill, attack, factor) --min = ((0.08) * (attack) * (skill)) * -1...
  17. D

    Lua Problem new damage system (distance - bows/crossbows)

    I'm sorry, I don't understand
  18. D

    Lua Problem new damage system (distance - bows/crossbows)

    I tried... But so much errors I tried: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function onGetFormulaValues(cid, level, skill, attack, factor) --min = ((0.08) * (attack) * (skill))...
  19. D

    Guild online OnLook

    That wasnt mine... I just comment there Ty you so much ;)
  20. D

    Lua Problem new damage system (distance - bows/crossbows)

    I made this script with help to you from forum to new damage system weapons/scripts/distance_damage.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function onGetFormulaValues(cid...
Back
Top