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

    [OT Hire] How to make NPC's shop module reflect players quest status.

    Like, if I finished quest x I will get a discount on something. Or, if I finish quest y, this NPC will allow me to buy from him. I've tried this so many different ways and can't figure it out. It's one of the last pieces to my OT that I need. If you use a shop module, the NPC loads it when...
  2. X

    How to make tibia website?

    Look at something like Znote. What server you have and all that plays a role. Each server does things differently. Like TFS 0.3 or 1.0 or OTHire or Avesta, etc etc etc
  3. X

    Real exhaust formulas from 7.4-7.6

    I know attack runes and spells are 2 second delays, no additional delay added for trying to use a spell before a cooldown either. I THINK all spells are 2 second delays in 7.6 actually.. That's how I have my server setup.
  4. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    If you updated that greetwords then it would greet all NPCs with that new word, right?
  5. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    Solved it. http://pastebin.com/NKzfBrEf NpcHandler:changeFocus(cid) worked like a charm Thanks for trying man, I really mean it!!! JamesIsAwkward, this should just copy right over. If you need help just message me!
  6. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    npcHandler:addModule(FocusModule:new()) If you use this in the script it will default to "hi" or "hello" as the only 2 words that will take this focus. The idea here is to use another word to get his focus. I've had this issue for a while, there's a handful of NPCs that use this style of script.
  7. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    http://pastebin.com/SrZ1YKTv This is my npchandler too
  8. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    I was building the djinn from scratch so I don't have any base code, so here is a base code from another NPC that should give you what you need. http://pastebin.com/jtTy4yCa
  9. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    http://pastebin.com/mXSbetwT I get the error "attempt to call method 'addFocus' (a nil value).
  10. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    I don't think its that easy at least not what I took from his/her question, you have to get rid of this npcHandler:addModule(FocusModule:new()) at the bottom of the NPC, which causes them not to focus when you say hi, so you can insert "if msgcontains "whatever" instead of hi. the problem I'm...
  11. X

    Lua Djinn quest greeting... how? I'm using OTHire.

    This thread will get you headed in the right direction.. I also use OTHire and I'm going to actually adapt this myself. I'm trying to find the OTHire equivalent of npcHandler:addFocus(cid) because OTHire doesn't use it I guess. If anyone else knows how to adapt this to OTHire you'd be helping...
  12. X

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

    OH I see why.. the NPC system didn't like the new module file lol Apparently all of my NPC script files that have this cause an error. NpcSystem.parseParameters(npcHandler)
  13. X

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

    Okay so when I approach a post office NPC and say "letter" they should check my storage value, and if I have said storage it will tell me the normal price - discount. So in this case, a letter will show as 5? Because I'm still getting the normal sale price. :S
  14. X

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

    I think this is the function you are looking for. -- Adds a new buyable item. -- names = A table containing one or more strings of alternative names to this item. -- itemid = the itemid of the buyable item -- cost = the price of one single item with item id itemid ^^...
  15. X

    Lua On Step, copy players look and name onto monster? [OTHire]

    Ha! Man I have -SOME- experience. Let me ask you this. I have taken a blank 7.6 map that only have creature spawns and I'm in the process of totally scripting it from the ground up. I've redone all of the tool scripts, I've written almost all of the quests including postman and paradox and...
  16. X

    Lua On Step, copy players look and name onto monster? [OTHire]

    Holy shit, thank you so much for this. Which area of the source does this need to go into? monster.cpp?
  17. X

    Lua On Step, copy players look and name onto monster? [OTHire]

    Anyone ever heard of anything like this? Player steps into a room and fights himself? Doppelganger style stuff! Another idea I have for my server, but as usual I'm unsure where to start. I'm pretty good at overcoming obstacles but I'm really sure this probably isn't possible with OTHire.
Back
Top