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

    Lua Rope trashable exceptions

    I think this already contains some type of list to ignore some special items. atleast whats based on this line "elseif(isInArray(ROPABLE, itemEx.itemid)) then" can you post your data\lib\000-constant.lua Edit: I might been stupid that is when you rope from above the hole
  2. Mummrik

    TFS 0.X Change item name

    it's the "a" in the text when you look at an item 11:32 You see a club (Atk:9, Def:5). so if you change the article to "a godlike" you would get 11:32 You see a godlike club (Atk:9, Def:5). edit: can you test if this work? --PERFECT UPGRADE SYSTEM UpgradeHandler = { nameLv = { [1]...
  3. Mummrik

    TFS 0.X NPC sell someitens for gold some items for another coin

    here is some example code if(msgcontains(msg, 'vipper star')) then selfSay('Do you want to buy a vipper star for 30 donate points?', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1 and getPlayerItemCount(cid, 6527) < 30 ) then...
  4. Mummrik

    TFS 0.X NPC sell someitens for gold some items for another coin

    Yes, that is a good start.
  5. Mummrik

    TFS 0.X Change item name

    What if you use setItemArticle() instead of setItemName()? and change the quality string to something like this? [1] = "a starter", [2] = "a fighter", [3] = "a godlike"
  6. Mummrik

    TFS 0.X NPC sell someitens for gold some items for another coin

    If you want it to use the trade window you have to rewrite the npc system im affraid. But it is however possible to make the npc trade the items if you say the item name, whitout to much work. Kinda like when you trade a mystic turban for a blue piece of cloth.
  7. Mummrik

    TFS 0.X Detect a item on another to make a if

    You're right, im testing it at the moment. I'll report back when i found out why, im not sure if it has to do whit it using itemid instead of action/unique id. But that would be very strange if that was the case. Ye thats true, but it still wont print anything anyways so there is something...
  8. Mummrik

    TFS 0.X Detect a item on another to make a if

    change doRemoveItem(item.uid, 1) to doRemoveItem(moveitem.uid, 1) since "item.uid" is not assigned anywhere, the script dont know what to remove. But if you change it to "moveitem.uid" the script know what item you are pointing towards and should be able to remove the item. I hope that explains...
  9. Mummrik

    TFS 0.X Transform item on use with

    Is this what you are looking for? local fireShrine = {7504, 7505, 7506, 7507} function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 7402 and isInArray(fireShrine, itemEx.itemid)) then doTransformItem(item.uid, 7748, 1000) -- 1000 = amount of charges...
  10. Mummrik

    TFS 0.X Detect a item on another to make a if

    It depends on what type of script it is. (action, movement, talkaction, globalevent etc...) here is a simple example local itemPos = getTileItemById({x=1000, y=1000, z=7}, 1740) if itemPos.itemid == 1740 then print("itemid = 1740, found at position") end it check if itemid...
  11. Mummrik

    Lua Checking if target <= 3 range from me?

    What if you add this, before the code that contains the check for the targetID local target = var.number That is atleast how i did find the target in some of my spells edit: Else you can add this to see what is contained inside cid, target or var for key,value in pairs(var) do print(key,value) end
  12. Mummrik

    Auto Gold/Loot - 0 Errors

    If you made changes to the source code you have to compile it to make it work, since that code is contained inside the exe file (if compiled on windows) It does make sense to compile for one edit in the source code if you want the code to start work right away :D Im sure it's possible to make a...
  13. Mummrik

    Auto Gold/Loot - 0 Errors

    Do you register the onKill event when the player login to the game? Edit: Do you really need to use onThink for this system? since it should only be executed once you kill a monster anyway Inside login.lua you have to add something like this registerCreatureEvent(cid, "nameOfTheEventToLoad")
  14. Mummrik

    OTMapEditor for 8.0

    OTMapEditor-0.455.zip It seems like that one work in the link you provided, not sure what version its for though.
  15. Mummrik

    TFS 1.X+ Problems with invisibility spell

    setGhostMode(true) is mainly used by gamemaster, community managers and god characters just to be hidden. Im sure thay added that you are immune to attacks just to make sure the server wont send animations if a player UE or GFB etc... But if you make a new function e.g. setPlayerGhostMode(true)...
  16. Mummrik

    Rune fusion for old 7.6 tibia

    Well i got it to work but it did break the runes, im sure its possible to solve it but im to lazy :P It might be different on an other server engine than mine aswell, so it might just be on my server distribution it break the runes due to how action scripts are executed. I had to stay 1 sqm from...
  17. Mummrik

    Rune fusion for old 7.6 tibia

    Well i just made a simple script, we can always change it to an action script instead. Edit: I did make an action script but that did break the runes, it would not be possible to shot the runes from a distance. So you would have to use it as an talkaction, or make it like it used to be as i...
  18. Mummrik

    Rune fusion for old 7.6 tibia

    I remember this feature wayback, but then you did put the runes on 2 counters and pulled a lever. So its possible, what server are you using? I did actually think about this feature recently aswell :) Here is a basic talkaction script i made for TFS 0.3.6 not sure if your server can handle it...
  19. Mummrik

    AAC Gesior whoisonline limits.

    can you post your load.compat.php located in your system folder aswell Might be better to just calculate the online count there instead Edit: Replace this <?PHP if($config['status']['serverStatus_online'] == 1) echo $config['status']['serverStatus_players'].'<br />Players Online'...
  20. Mummrik

    AAC Gesior whoisonline limits.

    That is calculated in an other php file, I'll take a look at it. Edit: inside your layouts folder find layout.php and post it here
Back
Top