Jump to content

Dinze

Members
  • Content Count

    42
  • Joined

  • Last visited

Posts posted by Dinze


  1.  

    your code is not enough to make pet muted.

    so i think you don't have full code. so simple it will not work.

     

    Do you mind if you help me to complete it? please? thanks

    try this one.

     

    atcommand.c

    ACMD(dpt){	struct pet_data *pd;	if(!sd->status.pet_id || !(pd=sd->pd))	{		clif->message(fd, msg_txt(184));		return false;	}	if (!pd->pet_no_talk) {		pd->pet_no_talk = 1;	} else {		pd->pet_no_talk = 0;	}	sprintf(atcmd_output, "%s pet talk.", (pd->pet_no_talk? "Disabled" : "Enabled"));	clif->message(fd, atcmd_output);	return 1;}

    pet.h pet_data

    int pet_no_talk : 1;

    pet.c clif_pet_emotion after nullpo_retv(pd);

    	if(pd->pet_no_talk)	{		return;	}

    If you want to mute pet when their master use @pettalk just add this code at ACMD(pettalk)

    	if(pd->pet_no_talk)	{		return false;	}

  2. But in-game the command gives error ("@dpt failed") and the pet keeps talking, so it doesn't work. Any idea what is going on and how to ffix it ? Thanks.

    change return 0 to return 1


  3.  

    I think you are trying to use a packed client from kRO which can't be used for extracting packet keys.

     

     

     

    I tried it like a week ago when I saw your repo and it didn't work.  :)

    Edit: I am getting a "No match found in Length Table for Packet 0x7f57". 

    which client date did u use?

    2013-08-07a

    thats odd I have run this on 2013-08-07a mostly. That packet id itself seems wrong which means there is something wrong with the encryption.

    Is it always showing error for same packet?

    Yeah its the same error everytime. 


  4.  

     

    yeah that's it almost like that,

     

     

    just add it after the quest completion part.. so it will give that points..

     

    something almost like this

     

     

     

        mes "Well done you have started the quest of got me 5 apples";    mes "Thank you";set queststarted,0;    delitem 512,5;set #OWNPOINTS, #OWNPOINTS + 5;    dispbottom "You now have " +#OWNPOINTS+ " own points. by completing the collect 5 apples quest.";close; 

    if i add #OWNPOINTS what is the name of the Points? Own Points? how about i want to make it YourRO Points

    #YOURROPOINTS

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.