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

    How to make items spawn inside a corpse on the map?

    https://i.imgur.com/2aDJztD.jpg You can see what I'm looking at here.
  2. X

    How to make items spawn inside a corpse on the map?

    The particular one I want to use is 3134. But I tried an assortment and it's all the same.
  3. X

    How to make items spawn inside a corpse on the map?

    Yeah I'm wanting to place a corpse in the map editor and add an item inside of it. Not a quest with an actionID ot UID, just a corpse with an item in it. So if a player takes it, it won't respawn again until map reset. In my editor it will allow to me place items in certain things like...
  4. X

    How to make items spawn inside a corpse on the map?

    Basically my intention is, is to create "daily" items. Sure, I can place items drawers and things but what about corpses? It's Tibia 7.72 and Remere's 2.2
  5. X

    OTHire 7.72 -- Spell scripting

    Anyone ever heard of a spell script that could drain the casters mana or hp while active? The spell I'm thinking of making will buff their attack, magic attack , speed, and armor. But it will cost them the initial mana amount and then take away mana every tick for the duration of the spell.
  6. X

    Solved [TFS 1.2], [TFS 0.4], [OTHire] Monster cast beam and wave through wall (Critical bug)

    I tested my stock OTHire 0.0.2 and it doesn't have this bug.. weird! I complied a new version anyways just in case I notice it later though.
  7. X

    Anyone familiar with a source of information for real tibia signs?

    I don't really play real tibia anymore so going there myself is out of the question, and besides I'm working on a 7.6 server and lots has changed.. Do any of you know a source for information on real tibia sign text? I can only remember a few from memory. :/
  8. X

    This spits out "cannot find container" [OTHire] 7.72

    Thanks! I've been asking a ton of questions lately and I'm really trying to learn to script better. Thank you so much!!
  9. X

    This spits out "cannot find container" [OTHire] 7.72

    Very clean, thank you so much. Would that line also work for my weight calculation?
  10. X

    This spits out "cannot find container" [OTHire] 7.72

    Ohh does this line for i=1,#rewards,1 do doAddContainerItem(item, rewards.reward, rewards.rewardAmount) cause it to keep adding until finished???
  11. X

    This spits out "cannot find container" [OTHire] 7.72

    -- Code structured by ***MatheusMkalo***, Emky, and Unlimited function onUse(cid, item, fromPosition, itemEx, toPosition) local unique = 9500 --Unique ID local quest = 9500 --Usually same as unique or action.. but I added space for univerial creation local action = 0 --Action ID local bp =...
  12. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    So prompt! Would you care to walk me through this code?
  13. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    Ahh okay I like your array idea. But I'm not sure what's going on here logically. Okay, here is my new little template and you guys can look at it again. -- Code structured by MatheusMkalo function onUse(cid, item, fromPosition, itemEx, toPosition) local itemRewardArray = { 2170, 1...
  14. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    We could add a kind of... array to the reward variable I suppose. Then add a function on the doPlayerAddItem to add the items within the array, but would it cause issues trying to add items that aren't there?
  15. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    Oh wow this is also something I didn't think about.. I have changed this code around a bit to make it more universal, if you guys wanna give me your input that'd be great. I'd hope to make it fully universal and be able to do containers of items too just like Emky asked. -- Code structured by...
  16. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    Ahhh okay I think I get it now. Thank you so much for your help!!
  17. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    Just tried it. It works perfectly. You have single handedly fixed my entire quest system at its core. I'm going to add your name to all my scripts just in case I plan to release my files on day. Thanks you so much, wow. Can I ask what ret does exactly? I'm guessing its short for return.
  18. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    Oh you are awesome. Okay, one more question them, since this script is super simple.. is there a way to make it display the separate messages just like in rl tibia 7.6. "This item weighs so and so oz, it is too heavy" and "you do not have enough space". At least, I'm pretty sure 7.6/7.72 tibia...
  19. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    I didn't realize there was a canDropOnMap argument! So do I just add it in the line like elseif queststatus == -1 and getPlayerFreeCap(cid) < getItemWeightById(2170, 1) then doPlayerAddItem(cid, canDropOnMap == false, 2170, 1) or something? xD
  20. X

    Lua Loot message script with a separate error for cap or container space [OTHire 0.0.2 Tibia 7.72]

    I do like the addition of an >= . Thanks, I totally overlooked that. function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 10007 then queststatus = getPlayerStorageValue(cid,10007) if queststatus == -1 and getPlayerFreeCap(cid) >= getItemWeightById(2170, 1) then...
Back
Top