Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
-
Necrosaro420
- Posts: 0
- Joined: Mon Jan 22, 2001 6:00 am
Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
I have 6 NPC's I setup for quests. Each one lives for about 1 minute then they commit suicide. I do a sys stat, and it says the monster was last killed on blahblahblah. Heres 2 pics of how they are setup. I used other npc's in game to copy how they are setup. I also tryed them with index 0
-
Reckless
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
too many hp's? try setting them at 9999 hp's w/ the 9999 hp regen.
-
Necrosaro420
- Posts: 0
- Joined: Mon Jan 22, 2001 6:00 am
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
heres next. Its also setup in the place npc/monster room too.
-
Necrosaro420
- Posts: 0
- Joined: Mon Jan 22, 2001 6:00 am
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
That helped reckless, thanks!
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
nice whiteout job :rolleyes:
-
Necrosaro420
- Posts: 0
- Joined: Mon Jan 22, 2001 6:00 am
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
I did it just for you!
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
Also..if it's an NPC..who cares about HPs? Give em 1 hp and give him HitMagic 999.. ;)
-
Reckless
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
hp's over 10k get really screwy after a while, but if you want them to not die, plat has the right idea.
-
Locke Cole
- Posts: 0
- Joined: Fri Jun 21, 2002 5:00 am
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
Originally posted by Reckless
hp's over 10k get really screwy after a while, but if you want them to not die, plat has the right idea.
Well, he set them to 65535. HP are stored in the database as a 16-bit integer-- now I think everyone has always assumed that the HP were treated as an unsigned integer, meaning the valid range is 0 to 65535. But if the game internally treats them as signed 16-bit integers, then the real range is -32768 to 32767. A value of 65535 maps to -1 if it's treated as signed. That might explain the problem. So the moral would be, if I'm correct, not to set a monsters HP's beyond 32767. =)
hp's over 10k get really screwy after a while, but if you want them to not die, plat has the right idea.
Well, he set them to 65535. HP are stored in the database as a 16-bit integer-- now I think everyone has always assumed that the HP were treated as an unsigned integer, meaning the valid range is 0 to 65535. But if the game internally treats them as signed 16-bit integers, then the real range is -32768 to 32767. A value of 65535 maps to -1 if it's treated as signed. That might explain the problem. So the moral would be, if I'm correct, not to set a monsters HP's beyond 32767. =)
Re: Suiciding Monsters, HELP!!! [Archive] - ForumsHQ
Originally posted by Locke Cole
Well, he set them to 65535. HP are stored in the database as a 16-bit integer-- now I think everyone has always assumed that the HP were treated as an unsigned integer, meaning the valid range is 0 to 65535. But if the game internally treats them as signed 16-bit integers, then the real range is -32768 to 32767. A value of 65535 maps to -1 if it's treated as signed. That might explain the problem. So the moral would be, if I'm correct, not to set a monsters HP's beyond 32767. =)
That's good to know ;)
Well, he set them to 65535. HP are stored in the database as a 16-bit integer-- now I think everyone has always assumed that the HP were treated as an unsigned integer, meaning the valid range is 0 to 65535. But if the game internally treats them as signed 16-bit integers, then the real range is -32768 to 32767. A value of 65535 maps to -1 if it's treated as signed. That might explain the problem. So the moral would be, if I'm correct, not to set a monsters HP's beyond 32767. =)
That's good to know ;)