PoP races still not showing up, could this be why?
I noticed that race was changed to int16 in the database recently, so attempted to spawn some mobs with higher race numbers in their respective zones.
I tried spawning Rallos Zek(new model, number 288) in both Plane of War and Plane of Tactics - as well as Fennin Ro in the Plane of Fire. Neither of them worked when entered into npc_types manually, Rallos showed as race/base race 32, and Fennin as race/base race 28...both were also naked male humans in-game. So I decided to look into the source, and found this in mob.h: Quote:
|
as far as i know C++, int8 means integer coded on 8 bits ... that means -127 -> 128 if signed and 0 -> 255 if unsigned. So that maye be the problem.
288 > 128 then the computer do 288 - 128 = 160 . This is still > 128 so ... 160 - 128 = 32 ... you got your model 32. That means that you just need to change the type Just my 2 copper |
All times are GMT -4. The time now is 12:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.