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

    Feature [TFS 1.X] (C++/Lua/XML) Token Currency + Shop Module

    I was able to make a lending/borrowing platform that includes gaining/losing principal due to interest. It's very very rough. I'm not sure if this is all of the code, I kind of got lost. Luckily, I think I was able to write most of it in Lua. Again, this is very rough and likely won't work...
  2. Aeluu

    Feature [TFS 1.X] (C++/Lua/XML) Token Currency + Shop Module

    Currently playing around with the exchange currency and an in game economy that tracks exchanges between one token to another. In theory it will work similarly to Forex. Will probably include a way to exchange via the website as well.. since it would be difficult to display exchange rates in...
  3. Aeluu

    Advanced Task NPC

    I stumbled upon an answer for this. I've been looking for a long time now and finally got it to work. Replace this function in npchandler.lua: function NpcHandler:isInRange(cid) local distance = getDistanceBetween(getCreaturePosition(getNpcCid()), getCreaturePosition(cid))...
  4. Aeluu

    Feature [TFS 1.X] (C++/Lua/XML) Token Currency + Shop Module

    I might also play around with something to use as a medium of exchange. Like this: You kill a troll around Town A that gives you 10 aTokens. You travel to Town B and want to buy some meat but they use bTokens. You can then trade your aTokens for a "exchangeToken" that you can then use to...
  5. Aeluu

    Feature [TFS 1.X] (C++/Lua/XML) Token Currency + Shop Module

    It can theoretically support more than 1 token, but it would require a system like the current gold system has. Like this: aToken = 100 bToken = 1000 cToken = 10000 and so forth. That way it'll be able to have a "value" compared to the other tokens you'd be adding. Look at how the switch case...
  6. Aeluu

    Feature [TFS 1.X] (C++/Lua/XML) Token Currency + Shop Module

    Let's say you wanted to add a new in-game token as a separate economy from gold/platinum/crystal. First, pick a stackable item that you want to use as the token. Changes to TFS Source: items.xml: <item id="6527" article="a" name="Tharian token"> <attribute key="weight" value="5"...
  7. Aeluu

    Php href link question

    I just think you need to stop being so ignorant and read this for like 30 minutes. It'll solve your problem, the solution is on that page.
  8. Aeluu

    Php href link question

  9. Aeluu

    MyACC increase reload time and more

    You can always add in those functions yourself if you're so inclined to do so. It wouldn't take much time other than searching through the files to find references of them.
  10. Aeluu

    MyACC increase reload time and more

    Well thankfully it'd be easy to transfer over. You can likely keep your current layout as well!
  11. Aeluu

    Php href link question

    I'm not talking about the root directory. I'm talking about the directory given in the script. I know that sometimes it won't load correctly without a full path to the file. Instead of linking it like "../path/to/script.php" try something like "/var/www/myacc/path/to/script.php" instead. That...
  12. Aeluu

    SPELL THAT CHANGES TARGET OUTFIT

    Take a look here: [Error] Mutation/Polymorph spell
  13. Aeluu

    Php href link question

    That's not true. It's telling you there in the logs that it cannot find the file. It is not set correctly.
  14. Aeluu

    MyACC increase reload time and more

    In the main myacc folder, config.php, edit this line: 'database_persistent' => false, // use database permanent connection (like server), may speed up your site to say this: 'database_persistent' => true, // use database permanent connection (like server), may speed up your site
  15. Aeluu

    Automatic equipment

    Source: [Mod & Lua] Advanced First Items (useRunes, useSlot, slotType, useMessage, inContainer) local commonItems = { {itemid=8707, count=1, useMessage=true}, -- a book (or whatever) with a message {itemid=2789, count=10, inContainer = true}, -- 10 brown mushrooms...
  16. Aeluu

    MyACC increase reload time and more

    Also, this is starting to seem more of a cache problem than anything too harsh. What are the intervals you set in your config to clear your cache? You should lower that, and that way the database can refresh its info each time it caches the files.
  17. Aeluu

    MyACC increase reload time and more

    Are there any refresh intervals set in the main config file (if provided)?
  18. Aeluu

    Php href link question

    questone.php:4 GET http://localhost/monsters/sorttable.js 404 (Not Found) It can't find the script itself, so there's no way to load it, which is causing the error. It's due to the link's path or your root dir path. Do you have the root dir set correctly in config.php, and are sure that the...
  19. Aeluu

    Php href link question

    What are the outputs of your log files? Or any actions occurring when you press the button.
  20. Aeluu

    MyACC increase reload time and more

    How often do you do a server save on your OT? Maybe try increasing the intervals of that and seeing if it affects the relay time back to the website.
Back
Top