• 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!

Recent content by nanhuto

  1. N

    Read server data

    How can i read raw server data? Like, when a player say, there should be some server function that lua uses to read its content, how can i know what function is that one?
  2. N

    Lua Npcs like real tibia

    BUMP!
  3. N

    npc problem dont open npc window

    Have you tried using creatureSayCallback()?
  4. N

    Lua Npcs like real tibia

    So, basically, i found another error! Well, its not another error haha, actually is something i would want to work. How do i check storage before creatureSayCallback() is called? I mean, i want the npc to talk with the player only if he has x storage, if he doesn't them he won't say nothing. I...
  5. N

    Lua Npcs like real tibia

    They there, buddy! :) If i use just FOCUS_GREETSWORDS before the creatureSayCallback it works only for the npc?
  6. N

    Lua Npcs like real tibia

    Hey there, friend. When i do that, it changes the default greeting for all npcs. Is there a workarround that?
  7. N

    Lua Npcs like real tibia

    Hi, guys. I've been working on a 7.6 global server and i've found myself with one problem only. Let's get NPC rata'mari, for example. He must say things only if the player say PIEDPIPER. But if the player say hi, he would say the normal greetings of npcHandler(). Is there any way of modifying...
  8. N

    NPCs like real tibia

    So, i'm working on a 7.6 otserver version and i'm currently using avesta. I've decided i'd take this seriously and make it looks like global, until now i was fine, i mean, i just got one problem. For example, NPC Rata'mari has to say something ONLY if PIEDPIER is said, but my guess is that the...
  9. N

    Lua Print killers

    Oh, thanks. Lets say i wanna make (when the monster days) that it print out something (like the list of the killers), how could i do it? Is onDeath the correct function for it?
  10. N

    Lua Print killers

    Cool, what is CID then? And player? (player = cid?)
  11. N

    Lua Print killers

    That sounds good, could i really ask something dumb? I know for is a loop, but whas is PID?
  12. N

    Lua Print killers

    Thanks for the explanation, its already something. I wanna know if that part of the code is correct: function onDeath(cid, target, deathList) local targetMonster = target:getMonster() if not targetMonster then return true end if targetMonster:getName():lower() == 'mutated zalamon' then...
  13. N

    Lua Print killers

    Hi guys, i'm trying to do script of a monster, and then i was wondering if it would be able to do a script who would print the names (like in deathList). Thing is, i probabily didn't wrote the code correctly (im newb in lua). Basically, what i wanted to do is to give storage for all players who...
Back
Top Bottom