Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 85

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 85

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 85

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
Monsters or Npc
Results 1 to 9 of 9

Thread: Monsters or Npc

  1. #1

    Monsters or Npc

    Hello

    How i can know if the creature is a Monsters or a Npc?
    It in Tibia 9.2

    Thx

  2. #2

    RE: Monsters or Npc

    Speed.

  3. #3
    Super Moderator
    Join Date
    May 2007
    Posts
    1,191

    RE: Monsters or Npc

    Study the ID ranges, pretty sure Jo3 posted something about it a while back.

  4. #4

    RE: Monsters or Npc

    Well the NPC's will generally have lower ID's because they are the first creatures spawned on the map. This is, however, not fully reliable. You will have a large number of monsters around the same ID range as the NPC's at times like server save. Especially in older areas like Thais.

    The server now sends a byte in the tileAddThing packet defining the creature type, but it is not stored by the client. Only the flash client uses the ifnormation.

    As previously stated, speed is your best bet. As far as I know there are few to no monsters that walk as slow as NPC's, and vice versa.

  5. #5
    Administrator
    Join Date
    Mar 2007
    Posts
    1,723

    RE: Monsters or Npc

    Also (if you really want to waste your time ), NPCs have the same ID across every server, and they stay the same even after server save. The only thing that would change their ID would be if Cip changed their spawn sequence. So, in theory, you could collect a database of every NPCs ID and use that. You could also check the creature's name in the battle list.

  6. #6
    Senior Member
    Join Date
    Nov 2010
    Posts
    397

    RE: Monsters or Npc

    Quote Originally Posted by Jo3Bingham
    Also (if you really want to waste your time ), NPCs have the same ID across every server, and they stay the same even after server save. The only thing that would change their ID would be if Cip changed their spawn sequence. So, in theory, you could collect a database of every NPCs ID and use that. You could also check the creature's name in the battle list.
    im guessing its basicly the same idea, but its just easier if you find the string of the name of the creature, and include a list such as "npcs" to chekc if it is an npc or not (it can be doen with the ids also)
    and you could also set up an npc area, from x position to y in z the npc exist, works for almost every npc exept from that newbie npc that walks all over ankrahmun.. the djinn npc quest <,< god i hate that npc
    you cna also find them on battle list, i saw a tutorial here i dont remember who post it.....

  7. #7

    RE: Monsters or Npc

    Quote Originally Posted by Jo3Bingham
    Also (if you really want to waste your time ), NPCs have the same ID across every server, and they stay the same even after server save. The only thing that would change their ID would be if Cip changed their spawn sequence. So, in theory, you could collect a database of every NPCs ID and use that. You could also check the creature's name in the battle list.
    Make a program which will watch incoming tileAdd packets for all creatures added with type of NPC and log the id's/names. Loggon in an area with no npc's. Travel to every single town and visit every shop. Visit all other special npc's. Easier than postman quest.

  8. #8
    Administrator
    Join Date
    Mar 2007
    Posts
    1,723

    RE: Monsters or Npc

    Quote Originally Posted by DarkstaR
    Quote Originally Posted by Jo3Bingham
    Also (if you really want to waste your time ), NPCs have the same ID across every server, and they stay the same even after server save. The only thing that would change their ID would be if Cip changed their spawn sequence. So, in theory, you could collect a database of every NPCs ID and use that. You could also check the creature's name in the battle list.
    Make a program which will watch incoming tileAdd packets for all creatures added with type of NPC and log the id's/names. Loggon in an area with no npc's. Travel to every single town and visit every shop. Visit all other special npc's. Easier than postman quest.
    I'd rather shoot myself..

  9. #9

    RE: Monsters or Npc

    Quote Originally Posted by DarkstaR
    Easier than postman quest.
    Haha, very funny!

    Well, the Speed is a good trick, but I prefer to simply don't guess what is a creature and what is a npc.

    On the case of my Attacker, it attacks by a list or if something attack you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •