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

    AAC Znote: dynamic boosted creature, read raceid from DB

    Hello, I tried to get this working on my own, but failed. How can I get the raceid from the db and enter is as the current raceid, so the monster shows right on the client? I changed this in login.php 'raceid' => 219 to this 'raceid' => mysql_select_single("SELECT `raceid` FROM...
  2. F

    RevScripts change script grand master oberon TFS 1.3

    Please formate your code better next time... change this: setPlayerStorageValue(player,setting.storage, os.time() + 20 * 60 * 60) to this setPlayerStorageValue(player,setting.storage, os.time() + 2 * 60 * 60) and this end, 20 * 60 * 1000) to this end, 60 * 60 * 1000)
  3. F

    Adding OnEquip/DeEquip flag removes Vocation flag

    Usually you write the vocation restrictions inside the movements.xml something like this: <movevent event="Equip" itemid="26182" slot="necklace" level="150" function="onEquipItem" > <!-- Collar of Blue Plasma ON --> <vocation name="Paladin" /> <vocation name="Royal Paladin"...
  4. F

    TFS 1.X+ Read looted items - trigger, when item x is looted

    Thanks, I got it to work.
  5. F

    TFS 1.X+ Read looted items - trigger, when item x is looted

    Hey guys I wanna make a script, if a player loots a rare item (moon backpack for example), he get's an achievement/storagevalue/something. The problem is, I don't really know how to read the loot from a dead monster. I tried it with function onDeath(player, corpse, killer, mostDamage...
  6. F

    Compiling Having trouble compiling latest TF 1.2 source - missing headers

    Oh, yeah than I'm actually talking about 1.3. I thought the github sources where 1.2 as well. But that is actually 1.3. What does that master branch mean? Thanks anyway, I'm gonna try my luck again then.
  7. F

    Compiling Having trouble compiling latest TF 1.2 source - missing headers

    I was trying to compile the latest source, since some nice features where added since 2016 (last official release). I included: boost_1_66_0-msvc-14.1-64.exe tfs-sdk-3.2 But it seems to be missing some headers (mysql/mysql.h, cryptopp/rsa.h, and maybe more) Since mysql.h is in the tfs-sdk I...
  8. F

    OpenTibia Remere's Map Editor 3.5

    Is it normal, that when I wanna add an item to a container all the options are dissabled and I can only select the item from a long list sorted by ID?
  9. F

    Lua Blueberry bush system remake problem

    The itemid a item decays back to is set in the items.xml If your item don't have the attribute there, it won't decay to the unharvested form ever It looks something like this <item id="xxxx" name="blabla bush"> <attribute decayTo="xxxx"/> <attribute duration="60"/> <!-- 1 Minute Delay...
  10. F

    Error on warzone1 script final part

    In this line (54) change "player.uid" to "player" addEvent(chargingText, (i - 1) * 20000, player.uid, 'The crystals are charging.', toPosition)
  11. F

    Lua Question on NPC System: Buying things

    Hello everyone. I have a few questions about the npc question for the trade function. Things I know how to do, but wanna do "better" are: -Send trade window only if specific storage is on X -Trade more items, the more storageValue you got -Trade only on special word (not trade) -Buy with...
  12. F

    Lua Creature script: Monster only lives 20 seconds

    Currently I'm using TFS 0.2.15, but I'm slowly upgrading everything to 1.2
  13. F

    Lua Creature script: Monster only lives 20 seconds

    <?xml version="1.0" encoding="UTF-8"?> <monster name="Minion of Vesperoth" nameDescription="minion of vesperoth" race="blood" experience="2900" speed="670" manacost="0"> <health now="3800" max="3800"/> <look type="491" corpse="0"/> <targetchange interval="5000" chance="8"/> <strategy...
  14. F

    Lua Creature script: Monster only lives 20 seconds

    20 seconds regardless if there are any players around. So you get sure, monster will dissapear if players die or leave the area
  15. F

    Lua Creature script: Monster only lives 20 seconds

    Can you explain this a little more in detail? :)
  16. F

    Quest don't work with wooden Floor

    Just post your doublet_quest.lua script in here
  17. F

    Lua Creature script: Monster only lives 20 seconds

    So in warzone 3 at vesperoth there are spawning lava golems (Minion of Vesperoth) that live for about 20 seconds. I guess you can add a script in the monster xml and make an onThink function, that counts to 20 and the removes the creature. But I am not really sure how this type of script works...
  18. F

    Script to enter in Dl poi (avesta)

    Distribution?
  19. F

    C++ HELP Script Verifying Storage

    In this line, either write it like this if getPlayerStorageValue(player, 15002) <= 0 and getplayerStorageValue(player, 15003) >= 1 then Or like this if player:getStorageValue(15002) <= 0 and player:getStorageValue(15003) >= 1 then
  20. F

    Lua Npc system problem

    I usually use the "normal" npc system, with if msgcontains() etc. But I wanted to get used to the other one, as it seems easier sometimes. And here is the problem. I don't know, if I'm using it right but what I think it should do is: - respond on the word "rekruten" at any time. - only respond...
Back
Top