Thread: Buggy Rockcrabs

Results 1 to 7 of 7
  1. #1 Buggy Rockcrabs 
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    Hi, at moment im editing my spawn.cfg and i saw that rock crabs are buggy :/
    Code:
    // npc     spawnX    spawnY   height      walk      maxhit      attack     defence      description
    spawn = 1267	2663	3716	0	5	4	50	10	Rellekka Rock Crab
    after i kill him, he spawns as object rock crabs with other NPC ID like.
    He is good before respawning.

    And after killing him, when he respawns again.


    Whats the problem? im useing Emulous Source!!! Help me please.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    Bump!!
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    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 /* */
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    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);
    						}
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    But when i removed it, they dont even respawn again ;/
    Reply With Quote  
     

  6. #6  
    Registered Member
    Alec_'s Avatar
    Join Date
    Aug 2009
    Posts
    274
    Thanks given
    3
    Thanks received
    9
    Rep Power
    111
    if (old1 == 1267 ||old1 == 1265) {
    old1 += 1;
    }

    What's the NPCID for rock crabs?


    Quote Originally Posted by i say smd k View Post
    How about you stop flaming and understand the concept, my isp stops rsbot from working over here, when i go to my dad's house i bring my computer, and it works fine there, so..., if you have no fucking idea whats going on, and still talk shit, gtfo.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2009
    Posts
    253
    Thanks given
    5
    Thanks received
    0
    Rep Power
    3
    Changed the:

    old1 += 1;

    to:

    old1 += 0;

    and everything works fine
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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