Jump to content

Napster

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Napster


  1.  

    Angelmelody, on 05 Jul 2013 - 01:04, said:

     

    mkbu95, on 04 Jul 2013 - 19:37, said:

    Implemented at da064c030d22c0920f74b345ca3118c9204dae2b.

    Do you forgot this line?

    value = battle_config.client_accept_chatdori; ?
    Fixed, thanks :D

     

    and this  1 -> INT_MAX

     

    { "client_accept_chatdori",             &battle_config.client_accept_chatdori,          0,      0,      INT_MAX         },


  2. The Decorate Cart i think use the new packet for new select cart windows (max lv 1 for 3 cart type)

     

    skill db

     

    2544,0,6,4,0,0x1,0,1,1,no,0,0x1,0,none,0,    MC_CARTDECORATE,Decorate Cart

     

    skillid

     

    MC_CARTDECORATE = 2544,

     

     

    skilldescript

     

    	[SKID.MC_CARTDECORATE] = {		"Decorate Cart",		"Max Level:^777777 1 ^000000",		"Effect : ^777777 Learning Decorate Cart",	},

     

    skillinfolist

     

    	[SKID.MC_CARTDECORATE] = {		SkillName = "Decorate Cart",		MaxLv = 1,		SpAmount = { 40 },		bSeperateLv = false,		AttackRange = { 1 },		"MC_CARTDECORATE"	},

  3. New Equipment costume

     

    https://www.dropbox.com/s/4i3y8tgkw90q6qj/Shadows.jpg

    enum equip_index {	EQI_ACC_L = 0,	EQI_ACC_R,	EQI_SHOES,	EQI_GARMENT,	EQI_HEAD_LOW,	EQI_HEAD_MID,	EQI_HEAD_TOP,	EQI_ARMOR,	EQI_HAND_L,	EQI_HAND_R,	EQI_COSTUME_TOP,						EQI_COSTUME_MID,						EQI_COSTUME_LOW,	    EQI_COSTUME_GARMENT,	#if PACKETVER >= 20111122 && PACKETVER < 20121205									EQI_COSTUME_FLOOR,#endif					EQI_AMMO,#if PACKETVER >= 20121205	EQI_SHADOW_ARMOR,			EQI_SHADOW_WEAPON,	EQI_SHADOW_SHIELD,	EQI_SHADOW_SHOES,	EQI_SHADOW_ACC_R,	EQI_SHADOW_ACC_L,#endif	EQI_MAX};

  4. Ok Sir Ind I understand.

    I'm clone 2 storage in sizeof(struct mmo_charstatus) but higher buffer size
    i don't know split in multiple parts 65kb to a single packet

    #define MAX_RENT1_STORAGE 900#define MAX_RENT2_STORAGE 900struct rentstorage1_data {	int storage_amount;	struct item items[MAX_RENT1_STORAGE];};struct rentstorage2_data {	int storage_amount;	struct item items[MAX_RENT2_STORAGE];};

    Thank you for your answer  :)


  5. this code in chrif.c

    void chrif_authok(int fd)

     

    in
     

    	//Check if both servers agree on the struct's size	if( RFIFOW(fd,2) - 29 != sizeof(struct mmo_charstatus) )	{		ShowError("chrif_authok: Data size mismatch! %d != %dn", RFIFOW(fd,2) - 29, sizeof(struct mmo_charstatus));		return;	}

     

    thank you :)


  6. this code

     

    void party_reply_invite(struct map_session_data *sd,int party_id,int flag){	struct map_session_data* tsd;	struct party_member member;	if( sd->party_invite != party_id )	{// forged		sd->party_invite = 0;		sd->party_invite_account = 0;		return;	}	tsd = map_id2sd(sd->party_invite_account);	if( flag == 1 && !sd->party_creating && !sd->party_joining )	{// accepted and allowed		sd->party_joining = true;		party_fill_member(&member, sd, 0);		intif_party_addmember(sd->party_invite, &member);	}	else	{// rejected or failure		sd->party_invite = 0;		sd->party_invite_account = 0;		if( tsd != NULL )			clif_party_inviteack(tsd,sd->status.name,1);	}}

     

    I want check count member of party when player click reply ok

     

    ex. variable set partylimit count = 3 users

     

    player A -> send party request to player B (now player A party member = 3 online/offline)

    player B --> click reply party request player A (source code check party limit )

     

    if true < 3 user (accepted and allowed)

    else false > 3 user (rejected or failure)

     

    thank you

×
×
  • Create New...

Important Information

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