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

    Monsters Doenst Pass on field?

    You can make some function that will check how much health monsters will lose after stepping on field. Then compare it with currenthealth, and make it "decide" if it's worth to walk on it to get faster to target. Also maybe some parameter inside monster files to decide how much % of hp they are...
  2. margoh

    Monsters Doenst Pass on field?

    If you want to ignore it completly, then give him immunity. But it will give him immunity to all spells using that dmg type.
  3. margoh

    Monsters Doenst Pass on field?

    Ok, I have tested one thing. If monster is trapped or in some kind of building and there is a field on the doors spot, monster will walk on it. Otherwise it will try to find other way around. The safest one.
  4. margoh

    C++ [TFS Master] The stacking of parcels & return of the pot

    https://github.com/opentibiabr/tools Don't know if it will work for 10.98, but you can give it a try. I'm using it for 10.76 editing.
  5. margoh

    C++ [TFS Master] The stacking of parcels & return of the pot

    1. Then what do you want to achieve? You don't have to change it for every monster (8lvl will surely die trying to trap Demon). If it is only for training purposes then set that flag just for few mobs. 2. Look 1st. 3. It is solution for that. If monster cannot push item, he will be stuck there...
  6. margoh

    C++ [TFS Master] The stacking of parcels & return of the pot

    How disabling canpushitems flag in MONSTER file, can affect players? Players still will be able to push that item. +If you edit flags for items, you need to change it first in dat file and then in items.otb.
  7. margoh

    C++ [TFS Master] The stacking of parcels & return of the pot

    Just edit dat/items.otb - select there block path finding. Also, monsters have flag canpushitems, try to disable that flag. @Edit: tested, just edit: <flag canpushitems="1" /> to <flag canpushitems="0" />.
  8. margoh

    Object Builder: Importing outfit sprites

    Instead of moving on X and Y, just use Columns and Rows. It will skip empty sprites.
  9. margoh

    items.otb mismatch spr and dat

    Because Server ID =/= Client ID, in most cases.
  10. margoh

    releasing full map of my otserver

    You need to locate folder where it is saving data. There you have file minimap.otmm.
  11. margoh

    Script to set player stats like the sample used to create new characters - WAR server 12.0

    You need to change in database, in players table, save default value from 1 to 0.
  12. margoh

    OTClient Callout does not center

    Simple, as I can see, you have changed font. To make it work, you need to set width for every character, search for this: local letterWidth = { -- New line (10) and Space (32) have width 1 because they are printed and not replaced with spacer There you can see the table, for every character you...
  13. margoh

    OTClient Parsing opcodes

    Fixed: TFS: networkmessage.cpp, commented out inside NetworkMessage::addItem(uint16_t id, uint8_t count) and NetworkMessage::addItem(const Item* item): //if (it.isAnimation) { //addByte(0xFE); // random phase (0xFF for async) //} OTC: protocolgameparse.cpp, commented out inside...
  14. margoh

    Monsters Doenst Pass on field?

    Probably because fire fields, etc. has flag: block path finding set in dat file.
  15. margoh

    Mana rune tfs 1.x+

    local runes = { [2298] = { voc = {1, 2, 3, 4, 5, 6, 7, 8}, min = level * 1 + maglv * 6, max = level * 1 + maglv * 8 } } function onUse(player, item, fromPosition, itemEx, toPosition) local i = runes[item.itemid] if isInArray(i.voc...
  16. margoh

    OTClient Parsing opcodes

    Hello, Straight to the point. I have made empty items otb/xml, spr/dat, added few items and everything works fine, but when I have created item that has animation, it prints error. When it's in any inventory slot: ERROR: ProtocolGame parse message exception (66 bytes unread, last opcode is 4...
  17. margoh

    sprite premium

    Just cut it and add it to your spr file and then to items.otb
  18. margoh

    [OTClient][10.98] TFS 1.3 and OTC Latest Compiling l OTC with more titles and transparent panels.

    Have you compiled it (TFS) with more tiles edits?
  19. margoh

    Using Elfbot in OTClient

    Nope. If you want to bot, do it on your own or ask on elfbot's forum.
  20. margoh

    2 doubts with Object Builder [1- make a gif?]...

    No and no. You have to do both yourself.
Back
Top