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

    Hosting services

    Hello Otlanders! The idea of this topic is to find the best server host and share your experiences about quality of provided services. What are we looking for is stability, solid DDoS protection, decent support and of course good prices. Feel free to share your opinion :)
  2. OperatorMopa

    C++ storages [tfs 1.2]

    int32_t value; Player* player = const_cast<Player*>(this); std::clog<<player->getStorageValue(9000, value)<<std::endl; It returns 1, but when i check it ingame it's 3000 (which should be)
  3. OperatorMopa

    Movements.xml include function and script

    <movevent event="Equip" itemid="2475" slot="head" function="onEquipItem" script="test.lua"> <vocation name="Knight" /> <vocation name="Elite Knight" showInDescription="0"/> </movevent> <movevent event="DeEquip" itemid="2475" slot="head" function="onDeEquipItem"/> When i...
  4. OperatorMopa

    Remove item attribute declared in items.xml

    Do you know why i can't removeAttribute declared in items.xml ? When i setAttribute in lua, i can easly remove it with item:removeAttribute, but when it's set in items.xml item:removeAttribute doesn't work. Any quickfix for that ? EDIT. For now i've checked that i can also remove attribute...
  5. OperatorMopa

    Lua Question to lua people

    Can you explain to me what is happening here ? What i wanna do is to make a table with all the players who dealt more then 10% dmg on player who died. TFS 1.2 I made this creatureevent local killConfig = { considerAttackers ={} } function onDeath(creature, corpse, lasthitkiller...
  6. OperatorMopa

    Frag counter

    TFS 1.2 Guys, what is the fastest/easiest way to check every kill how many times did i kill a specific player ? I need something like "You've killed name x times". Lua or cpp, doesn't metter. I don't wanna check it in DB every kill.
  7. OperatorMopa

    Item's slot type

    How can i get item slot type ? i've tried with getSlotPosition but it returns same value (48) for weapons and shields. What i need is to check what slot the item can be equiped (CONST_SLOT_HEAD, CONST_SLOT_RIGHT etc.)
  8. OperatorMopa

    AddEvent to send spectator msg

    I have this code local pos = Position(354, 123, 7) local function showMsg(playerId, position) local player = Player(playerId) if player == nil then print("player logged out") return true end player:say('hello', TALKTYPE_MONSTER_SAY) -- it works local...
  9. OperatorMopa

    Change items in stack value

    Is there any easy way to change stack value of items? for example health potions max 30 in one stack, mana potions max 50 (not 100)
  10. OperatorMopa

    Multiple shopModules

    Hello guys :) Is there any way to make few shopModules for one npc? Instead of making 2 npc i wonder if its possible to make a shop which shows different items for knights and different for sorcerers.
  11. OperatorMopa

    TFS 1.2 Multiworld server

    Is it possible to run few servers at the same login port ? What i mean is the same thing like on rl tibia. After login you have characters to choose on different servers. Everything connected to the same DB. For example: Tester (First World) Test (Second World)
  12. OperatorMopa

    Check target in spell

    Do you know how to check if target it player or monster in spells ? For example i wanna sudden death rune print what creature does it shot (player/monster)
  13. OperatorMopa

    TFS 1.2 return tile id

    Hello, i need a function telling me ground ID, that craeture is on. I've tried creature:getTile(), but it returns empty string. Any ideas?
  14. OperatorMopa

    onMoveCreature event [TFS 1.2]

    Hello guys, i need to track tile id every step i make, so onstepin/onstepout is useless, becouse i would have to add every tile to the script. I've found onMoveCreature event, but it seems like it doesn't work, or i don't know how it works. I've enabled it in events.xml and added a simple...
  15. OperatorMopa

    Lua TFS 1.2 onAttack() or onEquip() - help

    Hello, I have a problem with my script. I need to execute one lua function when character attacks creature OR character equips item with specified ID. I've tried with onEquip function and it works ( lua function executes ) but there is a bug - getWeapon() in c++ returns 0 (as if there were NO...
  16. OperatorMopa

    New items.otb

    Hello, do u know how to get items.otb from newest client version ?
  17. OperatorMopa

    House Casino Script

    Hello, what's the price for house casino script ? :)
  18. OperatorMopa

    Xenobot vs Windobot

    Which of them is better ? ( CPU ussage, more scripts, easier, less detectible)
  19. OperatorMopa

    TFS 1.0 crash log

    How to generate server logs into .txt located in data? When i turn off putty i cant see why the server crashed ;/
  20. OperatorMopa

    [GESIOR2012] Real layout

    Hey, have you got newest tibia layout for tfs 1.0 ? This at forum isn't compatibile
Back
Top