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

    Windows 2 otserver without change port

    It may work for you alone, but that won't work when you host it online. Just make the second server 7273 or something, no biggie.
  2. X

    Help to create spells.php in znote aac

    Is there some kind of "default" error page that it redirects to for some reason? Like an actual page file? I'm trying to reproduce your problem but I don't have that issue. I even set up a whole new forum page and all. Make sure your links are valid in your headers/footer/side bar documents...
  3. X

    Searching for 7.6-7.72 npc files

    Sounds like your old files are using different lua functions than the new system. You might can replace these files (npc/lib) with a file expressing these functions. Honestly, I'm building a 7.72 real server now and I just couldn't find any reliable NPC packs. The only thing I was able to find...
  4. X

    How to make NPC do something BEFORE greeting the player?

    Opps I forgot to mention this is OTHire.. if that matters. The greetings are handled in the NPC xml files <parameter key="message_greet" value="Hello."/> Silly me thought I could just delete that and force it through the lua file, but nope. It has a default greet if the parameter is missing.
  5. X

    How to make NPC do something BEFORE greeting the player?

    Let's say if my player storage value is 999, how can I make an NPC check for this and do the reaction before saying hello? For example, if you go upstairs in the monastery on the isle of the kings then Costello will immediately yell at you when you say hi. But the way I have it setup now is...
  6. X

    Lua I'm asking the wrong question regarding modifying the shop modules [OTHire]

    I tried to use that code before, but the issue here is the travel module are different than shop modules, where would I even work in the variable to this line? shopModule:addBuyableItem({'light wand', 'lightwand'}, 2163, 500, 'magic light wand')
  7. X

    Lua I'm asking the wrong question regarding modifying the shop modules [OTHire]

    I have identifed the solution, I just need a bit of help now. In regards to StreamSlide's post, I've used this code to change around my modules.lua. -- Discount function for postman style quests local travelDiscounts = { ['letter'] = {price = 3, storage = 60200, value = 1}, }...
  8. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    Bump. Disregard my last posts, I'm wrong. The code I was using relied on a "trade" command to open, while OTHire doesn't use it. It's 7.6.
  9. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    And the end and the } were both needed. :D
  10. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    Thank you! The code isn't functional though. I'm bout to take another go at it in a minute.
  11. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  12. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    if player:getStorageValue(Storage.thievesGuild.Quest) >= 9 then so I could just put if player:getStorageValue(10000) = 1 then ?
  13. X

    Solved Any way to modify shop modules to reference quest status? [OTHire]

    Okay okay! I see the light here! I have added a slightly modified version of that function to my npcsystem, but how do I incorporate the postman quest variable into this? I feel like his sotrage.postman.rank is a custom variable.
  14. X

    Lua [solved] NPC buying problem

    No problem!
  15. X

    Stop RME from auto-assigning house ID and ruining my -house.xml?

    I came across a -house.xml and I would like to keep the IDs the same, since they match up to this point. For some reason RME auto-assigns house IDs AND if I delete said house, it won't allow the ID to be reused. Really annoying. Anyone have any clue as to stop this?
  16. X

    Lua [solved] NPC buying problem

    I have a question that may answer your question.. If you arranged it to where crossbow was first.. would it work?
  17. X

    Solved Doubt about Znote ACC

    I think you need to find the files and change the file path names. Maybe you should try to find the offending file, delete it, and replace your own file with the old file's name. This may work but it may be off a bit with size. The best way would be to dig and find the header files, or the...
Back
Top