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

    Solved SetstorageValue with addEvent

    It worked. Thank you! But I don't know what "recreate player userdata" means. Can you please clarify me this?
  2. lucastiond

    Solved SetstorageValue with addEvent

    Anyone knows how to help me?
  3. lucastiond

    Solved SetstorageValue with addEvent

    Hello guys. I really want to know how can I set a storageValue with addEvent after x time. Thank you very much!
  4. lucastiond

    How to check Storage in movevent event="AddItem"

    I want to check the player storage value. I thought that if i used the "game." function it would work, but I was wrong. I tried to do that @Beto06 but i get this error: attempt to index global 'self' (a nil value). I am trying to do this at movements scripts, so i am using function...
  5. lucastiond

    How to check Storage in movevent event="AddItem"

    I did what you are suggesting Xeraphus, but it doesn't work. I checked if Game.getStorageValue(46140) == 1 , but nothing happens. When I test it in the game, i am able to do the script without the storage. What I am trying to do, as the script suggests, is to create the item with id 5858 on...
  6. lucastiond

    How to check Storage in movevent event="AddItem"

    Hello guys. I would like to know how can I check if a player have one storage value in an onAddItem function. I'm using tfs 1.2 My script is like this: local trees = {Position(33205, 32537, 6)} function onAddItem(moveitem, tileitem, position) if moveitem.itemid ~= 2419 then...
  7. lucastiond

    Solved Npc remove bucket of milk

    It Worked!!! I didn't know about this third parameter. Thank you so much Znote.
  8. lucastiond

    Solved Npc remove bucket of milk

    Sorry, but how am i supposed to use this? My script it's like this: if player:removeItem(2005, 1) then npcHandler:say("Hmm, milk. The source of all life! Here is your reward.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(46125, 2)
  9. lucastiond

    Solved Npc remove bucket of milk

    Hello guys. My problem is actually (i think) pretty fast to solve. I need the npc make the function: if player:removeItem(x, 1) then but with a bucket of milk. The problem is that the id of a bucket of milk it's 2005,6 and the id of a bucket it's 2005. So how am i going to make the npc ask...
  10. lucastiond

    Solved Function OnKill PROBLEM TFS 1.2

    SOLVED. I did a remake of all scripts from zero, and now it's working. For some reason the creature Renegade Orc wasn't responding because i didn't write his first letters name with Caps On Thanks for everyone who tried to help.
  11. lucastiond

    Solved Function OnKill PROBLEM TFS 1.2

    @silveralol Could you tell me which changes in the script I would have to do? @president vankk I already tried to debug the script. I took out the "getStorageValue" and left only the "setStorageValue" but still get no error and no response. It seems the creature is not responding to the...
  12. lucastiond

    Solved Function OnKill PROBLEM TFS 1.2

    I'm trying to make the creature Renegade Orc give me a StorageValue when I kill him, but to do that, i need to have a StorageValue. But when i kill it, nothing happens. Not even an error on console. This is the script in creaturescripts function onKill(creature, target) local targetMonster...
  13. lucastiond

    Bug reports

    What happened to the fury gates??? I looked in all the cities which they appear, and they are not in any of them.
  14. lucastiond

    Selling Sell Character in Fidera

    Oh, sorry then. Moderator can delet this post
  15. lucastiond

    Selling Sell Character in Fidera

    Bump
Back
Top