Bump!!
|
Hi, at moment im editing my spawn.cfg and i saw that rock crabs are buggy :/
after i kill him, he spawns as object rock crabs with other NPC ID like.Code:// npc spawnX spawnY height walk maxhit attack defence description spawn = 1267 2663 3716 0 5 4 50 10 Rellekka Rock Crab
He is good before respawning.
And after killing him, when he respawns again.
Whats the problem? im useing Emulous Source!!! Help me please.
Bump!!
I've got no idea how emoulus works never used it but I'd imagine thre's a method in npchanlder or whatever the files called in emolus search the npc id of the object id it'd probally be in the death method like if(npcid = rockcrab?) { just remove / comment it out /* */
Found nothing useful
EDIT: Found it! i think its it -Code:{ int old1 = npcs[i].npcType; if (old1 == 1267 ||old1 == 1265) { old1 += 1; } int old2 = npcs[i].makeX; int old3 = npcs[i].makeY; int old4 = npcs[i].heightLevel; int old5 = npcs[i].walkingType; int old6 = npcs[i].MaxHP; int old7 = npcs[i].maxHit; int old8 = npcs[i].attack; int old9 = npcs[i].defence; npcs[i] = null; newNPC(old1, old2, old3, old4, old5, old6, old7, old8, old9); }
But when i removed it, they dont even respawn again ;/
Changed the:
old1 += 1;
to:
old1 += 0;
and everything works fine
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |