• 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. Evil Hero

    The Forgotten Server 1.6

    For those who want to have a better overview of the 1.7 - 1.8 Development cycle you can from now one see our Github Project which gives a better overview Github Project 1.7 - 1.8 Roadmap
  2. Evil Hero

    The Forgotten Server 1.6

    Post was hidden until everything was prepared :p
  3. Evil Hero

    Solved Door access when items are turned in issue

    I'm absolutely stunned you should get an award for this! In all my years this is the most creative and at the same time the worst way of registering a revscript 😂 I just edited the version which @abdala ragab provided (not tested) -- Configuration local doorsConfig = { [9000] = {doorID =...
  4. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    I've added something similar to your suggestion now local weaponShop = { [2400] = {buy = 2000, sell = 1000}, [2402] = {buy = 50, sell = 25} } local shop1 = NpcShop(npc, 1) shop1:addItems(weaponShop) -- adds discount before calling callback, discount if set is always applied before...
  5. Evil Hero

    [TFS 1.5] Raw Functions and Variables dump 1.0

    This file includes a complete raw data dump of all the current functions and variables from TFS 1.5 The file is just for linters or to search something specific PLEASE DO NOT LET YOUR SERVER LOAD THIS FILE
  6. Evil Hero

    [TFS 1.5] Raw Functions and Variables dump

    Evil Hero submitted a new resource: [TFS 1.5] Raw Functions and Variables dump - It includes all source code lua functions/variables + all in the datapack Read more about this resource...
  7. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    I can understand that the need for better AI is absolutely mandatory and I'll surely try to get more and more covered over the time. Feel free to open up an Issue at Issues · otland/forgottenserver (https://github.com/otland/forgottenserver/issues) proposing your changes, that way I wont forget...
  8. Evil Hero

    The Forgotten Server 1.6

    Hello Folks~ It's been almost 3 long years since the release of 1.4.x We are here to happily announce the release of 1.6! From now on we are planning to have steadier (stable) releases. The development cycle will always be the odd number (ex: 1.7) while the (stable) release will be even (ex...
  9. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    Well you could achieve most of that by using callbacks local npcType = Game.createNpcType("example") npcType:defaultBehavior() function npcType:onThinkCallback() -- your custom thinking code which does not override the default behavior of the npc end function npcType:onSayCallback(npc...
  10. Evil Hero

    [TFS 1.4.2] Item Rental System!

    You're correct that's a problem, but in this case I'd rather let them suffer for their connection loss, if we take this by percentage the abusers will outweight connection loss by far atleast in my opinion. You could probably consider removing it at logout and having it in a "pending state"...
  11. Evil Hero

    [TFS 1.4.2] Item Rental System!

    That probably wont work, imagine if the player just goes and dies 😅 I suggest using an onLogout script and just move the item back to the owner if the player tries to logout (includes death aswell) You clearly have no good intentions logging out while having a rented item, so it's a little...
  12. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    You can run both at the same time, there is no plan on deprecating xml npcs before 1.8 release, that way people have enough time to adapt and re write their npcs into the new system before we remove the old one.
  13. Evil Hero

    [TFS 1.4.2] Item Rental System!

    What happens if the person who rented the item just logs out and never back in?
  14. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    I just quickly wrote that entire thing just for a showcase, you can always improve something here and there :D A lot of stuff you are talking about is already created, the examples I provided so far where all very custom, that's why most of the generic helpers wont work for them What you basicly...
  15. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    Oracle: This is a flexible script which only requires the table setups to be changed (towns, vocations) in order for everything to work, nothing more. local towns = { ["town1"] = Position(98, 106, 6), ["town2"] = Position(79, 99, 6), ["town3"] = Position(94, 129, 7) } local...
  16. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    1) I'll make an oracle npc soon good one actually :D 3) I have not added a module for that one but I'll write it down, it could be achieved with callbacks tho (will include an example later on how to do that) 2) Banker NPC local npc = Game.createNpcType("Banker")...
  17. Evil Hero

    otland be like...

    7 years are a long time my friend... 👀
  18. Evil Hero

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    For anyone who wants to use the new NPC system (lua based NPC's) proposed as a pr at current master branch (included in the upcoming 1.6 release) I'll help you re write NPC's or create from scratch based on a detailed outline into the new NPC system. There is 2 ways on how to request: 1) You...
  19. Evil Hero

    Canary Help with monster new attribute

    You could either set it by just calling the function mType:setWarFaction(x) (or whatever you named the function) or you go to data/scripts/lib/register_monster_type.lua (assuming canary didn't change the directory) and add your functions in there to have it working like you want to do in your...
  20. Evil Hero

    Why

    Resources is so much better to handle this stuff, you can find things a lot more easier and for the people publishing things it's a lot better to maintain their stuff. You can do versioning which is quite good if you want to submit something for several different distros or keeping it up to date...
Back
Top