• 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. Jack Parsons

    [TFS 1.0] !openhole command (Open a hole for a price)

    I've developed a talkaction that allows a player to open a shovel hole for a price (I've decided that 1k is a fair price, considering the player's stupidity of not having a shovel). The script detects whether there's a hole in front of the player or not, and then checks whether the player has...
  2. Jack Parsons

    [TFS 1.0] "/closeserver shutdown" not working.

    My "accounts" table has no group_id column, only page_access (And changing it to 5 makes no difference). Nevertheless, the "players" table has a group_id column, but changing it to 6 renders the player useless (Since the terminal states that such group_id does not exist). I've tried 3 and this...
  3. Jack Parsons

    [TFS 1.0] - The server does not save house changes.

    I've downloaded the 1.0 version of the Forgotten Server, and for some reason it does not save any house changes. I'm creating a new map from scratch, and I've created some houses already (It's perfectly possible to buy them with !buyhouse). Nevertheless, when I close the server and open it...
  4. Jack Parsons

    TalkAction [TFS 1.0] - If you say "Bloody Mary" to a mirror, you die.

    I've created a script that kills the player if he stands in front of a wall mirror and speaks "Bloody Mary" (Without quotes). It works with any wall mirror, no matter if it's on the ground or not (Some wall mirrors can be pushed to the ground). The script: function onSay(cid, words, param)...
  5. Jack Parsons

    [Reflection] A function to print all the functions of a given table.

    I grew somewhat tired of reading compat.lua to learn the available functions (Since they're mostly "shortcuts"), so I came up with this solution. Just introduce this function to your global.lua: function listFunctions(t) for i, v in pairs(t) do if type(v) == "function" then...
  6. Jack Parsons

    NPC [TFS 1.0] Summon any creature in the game for a bloody price.

    I've just created a "Summoner" NPC. I've never seen anything like it in any OT that I've played, so I thought it would be interesting to implement one. Instructions: Say 'hi'. Say 'Summon Creature' (Where "Creature" is Demon or any other creature, no quotes) Say 'yes' The price depends on...
  7. Jack Parsons

    How do I make an item "countable"?

    I'm trying to make the "Magic Crystal" item countable (100 of them in the same slot). <item id="12508" article="a" name="magic crystal"> <attribute key="description" value="It is able to store memories and thoughts." /> <attribute key="weight" value="10" /> </item> The problem is...
  8. Jack Parsons

    [Lua] How do I get the answer that I gave to the NPC?

    I'm having difficulties finding how to access the answer that I gave to the NPC. Let us use this script as an example: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid)...
  9. Jack Parsons

    Action [TFS 1.0] Simple quest template with money and xp as reward.

    I've developed a simple quest, and I'd like to share it as a template for you (Perhaps it'll be useful to someone). NOT_CLEARED = -1 CLEARED = 1 function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey) local chest = 2500 -- The chest UID / Unique ID. local moneyReward =...
  10. Jack Parsons

    NPC Paladin NPC (Bows, crossbows and ammunition)

    I've managed to find enough data in the forum for a knight npc, but I was unable to find for a pali one, so I've created a simple one. Since it's incredibly boring to collect all the ids and prices, I'm sharing it with you. <?xml version="1.0" encoding="UTF-8"?> <npc name="Rodrigo"...
  11. Jack Parsons

    My "live in town" script is not working

    I've seen many scripts using "onUse", and that doesn't make sense to me (Since I'm not going to actually use the portal). The "onUse" scripts don't work for me as well. I'm using The Forgotten Server 1.0 (1041 client). Here's my script: local portalPos = {x = 1023, y = 1020, z = 6} function...
  12. Jack Parsons

    Windows Can't rotate objects properly and can't remove pz/pvp/etc

    According to General Usage in the Remere's Map Editor's FAQ, I can rotate any object using the 'z' and 'x' keys. Nevertheless, as you can see, that's not exactly the case, since I can't "mirror" the object. Also, it states that I can hold the ctr key to remove pz/pvp/non-pvp tiles, and when...
  13. Jack Parsons

    Solved Bug on the Remere's Map Editor's GUI

    Greetings! I'm having this annoying bug when I open the map editor, and I'm wondering if anyone suffers with it as well (The left panels are completely void).
  14. Jack Parsons

    OpenTibia PyACC, an open-source account creator for servers that use MySQL

    So, I've just spent the night developing an account creator for my server. I'm not much of a "website guy", so I wrote it in Python (And probably my next tools will be written in Python as well (Although I'm going to develop a website anyway when I release it)). Github...
  15. Jack Parsons

    Which Tibia client version corresponds to the latest Forgotten Server?

    Greetings! I'm new to this forum and I've downloaded and properly configured the latest version of Forgotten Server, but I'm a bit lost concerning the client versions. When I tried 8.6, I got a message stating that the client must be 10.77, so I've downloaded it. Problem is that when I...
Back
Top