Jump to content

Napster

Members
  • Posts

    196
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Napster

  1. Name: Napster Badge: Bug Tracker Lv 1 Reason: bugreport: 7710 ,bugreport: 7706 ,bugreport: 7580 ,bugreport: 7731 Status: Rejected (you're getting there; keep it up!). [Euphy]
  2. for backward compatible cashshop npc & new cahshop copy this replace in folder db Click
  3. @itembound <item name/ID> <amount> <bound type> @itembound2 <item name/ID> <quantity> <identify_flag> <refine> <attribute> <card1> <card2> <card3> <card4> <bound type> Creates an item bounded to the character. The items cannot be dropped, sold, vended, auctioned, or mailed, and in some cases cannot be traded or stored. Available types: -- 1: Account -- 2: Guild -- 3: Party -- 4: Character
  4. why you can used @itembound (itemid) (account id)
  5. read this report http://rathena.org/board/tracker/issue-7706-issue-unit-walktoxy-timer-unit-teleport-timer-again/
  6. ask some question since ra support npc id 10001-100049 who can use npc upto 10000 i have test but client crashing PS. update last lua data 2013 support npc id upto 10000 id and when used skill Lord of Vermilion & Meteor Storm client crashing
  7. this a bug http://rathena.org/board/tracker/issue-7667-issue-clif-status-change-again/
  8. read this http://rathena.org/board/topic/81902-cashshop-problem/#entry195706
  9. @Brynner I used offcial palette by kro
  10. there is no problem regarding on 64k hairstyle on mine.check if you increase the max_hair_style in conf\battle\client.conf yes hair style no problem and i check my config ok but problem hair color 28-29 can't change (color offcial)
  11. @Ai4rei Please update Plugin 64k hairstyle 28-29 offcial hairstyle rank now can't change hair color thankyou kro patch
  12. quick fix for 2012-2013 // TODO: find a more accurate date for this - #if PACKETVER < 20130320 /// Request to buy item(s) from cash shop (CZ_PC_BUY_CASH_POINT_ITEM). /// 0288 <name id>.W <amount>.W /// 0288 <name id>.W <amount>.W <kafra points>.L (PACKETVER >= 20070711) /// 0288 <packet len>.W <kafra points>.L <count>.W { <amount>.W <name id>.W }.4B*count (PACKETVER >= 20100803) void clif_parse_cashshop_buy(int fd, struct map_session_data *sd){ int fail = 0; nullpo_retv(sd); if( sd->state.trading || !sd->npc_shopid ) fail = 1; else { #if PACKETVER < 20101116 short nameid = RFIFOW(fd,2); short amount = RFIFOW(fd,4); int points = RFIFOL(fd,6); fail = npc_cashshop_buy(sd, nameid, amount, points); #else int len = RFIFOW(fd,2); int points = RFIFOL(fd,4); int count = RFIFOW(fd,8); unsigned short* item_list = (unsigned short*)RFIFOP(fd,10); if( len < 10 || len != 10 + count * 4) { ShowWarning("Player %u sent incorrect cash shop buy packet (len %u:%u)!\n", sd->status.char_id, len, 10 + count * 4); return; } fail = npc_cashshop_buylist(sd,points,count,item_list); #endif } clif_cashshop_ack(sd,fail); } - #endif and // TODO: find a more accurate date for this - #if PACKETVER >= 20130320 - void clif_parse_cashshop_buy( int fd, struct map_session_data *sd ){ + void clif_parse_cashshop_buy2( int fd, struct map_session_data *sd ){ uint16 length = RFIFOW( fd, 2 ); uint16 count = RFIFOL( fd, 4 ); if( length < 10 || length < ( 10 + count * 6 ) ){ return; } cashshop_buylist( sd, RFIFOL( fd, 6 ), count, (uint16 *)RFIFOP( fd, 10 ) ); } - #endif and { clif_parse_cashshop_open_request, "cashshopopen" }, { clif_parse_cashshop_close, "cashshopclose" }, { clif_parse_cashshop_list_request, "cashshopitemlist" }, { clif_parse_cashshop_buy, "cashshopbuy" }, + { clif_parse_cashshop_buy2, "cashshopbuy2" }, and packet_db.txt // New cashshop + 0x0844,2,cashshopopen,0 + 0x084a,2,cashshopclose,0 + 0x08c9,4,cashshopitemlist,0 + 0x0848,-1,cashshopbuy2,0 //2010-08-03aRagexeRE 0x0839,66 0x0842,6,recall2,2 0x0843,6,remove2,2
  13. In char.conf edit to -1 // Maximum users able to connect to the server. Set to 0 for unlimited. max_connect_user: -1
  14. Napster

    setoption

    setcart(cart id); use this
  15. Kro Update Shadow System (Full Costume) http://ro.game.gnjoy...eqNo=497&pnum=1
  16. some status found problem with SC_ALL ex. SC_LEADERSHIP SC_GLORYWOUNDS SC_SOULCOLD SC_HAWKEYES i thank this status can't remove and i want fix in mysrc
  17. ok! thank you sir this it working
  18. @malufett I have test but... cart status has been remove away ex. npc [/color] morocc,158,92,5 script test 69,{ sc_end SC_ALL; end; } src BUILDIN_FUNC(sc_end) { struct block_list* bl; int type; type = script_getnum(st,2); if( script_hasdata(st,3) ) bl = map_id2bl(script_getnum(st,3)); else bl = map_id2bl(st->rid); if( potion_flag==1 && potion_target ) {//##TODO how does this work [FlavioJS] bl = map_id2bl(potion_target); } if( !bl ) return 0; if( type == SC_PUSH_CART ) return 0; if( type >= 0 && type < SC_MAX ) { struct status_change *sc = status_get_sc(bl); struct status_change_entry *sce = sc?sc->data[type]:NULL; if (!sce) return 0; //This should help status_change_end force disabling the SC in case it has no limit. sce->val1 = sce->val2 = sce->val3 = sce->val4 = 0; status_change_end(bl, (sc_type)type, INVALID_TIMER); } else status_change_clear(bl, 2);// remove all effects return 0; }
  19. @malufett if sc_end SC_ALL; how to fix src exclude cart remove type = SC_ALL switch(type) { case SC_PUSH_CART: return 0; } thankyou
  20. 1. edit your packet_db.txt find 0x0155,-1,guildchangememberposition,2 replace to 0x0155,-1,guildchangememberposition,2:4 and find 0x0161,-1,guildchangepositioninfo,2 replace to 0x0161,-1,guildchangepositioninfo,2:4 2. edit src server side open clif.c find clif_parse_GuildChangePositionInfo replace all /// Request to update guild positions (CZ_REG_CHANGE_GUILD_POSITIONINFO). /// 0161 <packet len>.W { <position id>.L <mode>.L <ranking>.L <pay rate>.L <name>.24B }* void clif_parse_GuildChangePositionInfo(int fd, struct map_session_data *sd) { const unsigned int blocksize = 40; unsigned int packet_len, count, i; char name[NAME_LENGTH]; struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)]; if( !sd->state.gmaster_flag ) return; packet_len = RFIFOW(fd,info->pos[0]); packet_len-= info->pos[1]; if( packet_len%blocksize ) { ShowError("clif_parse_GuildChangePositionInfo: Unexpected position list size %u (account_id=%d, block size=%u)\n", packet_len, sd->bl.id, blocksize); return; } count = packet_len/blocksize; for( i = 0; i < count; i++ ) {// FIXME: The list should be sent as a whole (see clif_guild_positionchanged) safestrncpy(name, (const char*)RFIFOP(fd,info->pos[1]+i*blocksize+16), sizeof(name)); guild_change_position(sd->status.guild_id, RFIFOL(fd,info->pos[1]+i*blocksize), RFIFOL(fd,info->pos[1]+i*blocksize+4), RFIFOL(fd,info->pos[1]+i*blocksize+12), name); } } And Find clif_parse_GuildChangeMemberPosition replace all /// Request to update the position of guild members (CZ_REQ_CHANGE_MEMBERPOS). /// 0155 <packet len>.W { <account id>.L <char id>.L <position id>.L }* void clif_parse_GuildChangeMemberPosition(int fd, struct map_session_data *sd) { const unsigned int blocksize = 12; unsigned int packet_len, count, i; struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)]; if( !sd->state.gmaster_flag ) return; packet_len = RFIFOW(fd,info->pos[0]); packet_len-= info->pos[1]; if( packet_len%blocksize ) { ShowError("clif_parse_GuildChangeMemberPosition: Unexpected position list size %u (account_id=%d, block size=%u)\n", packet_len, sd->bl.id, blocksize); return; } count = packet_len/blocksize; for( i = 0; i < count; i++ ) {// FIXME: The list should be sent as a whole (see clif_guild_memberpositionchanged) guild_change_memberposition(sd->status.guild_id, RFIFOL(fd,info->pos[1]+i*blocksize), RFIFOL(fd,info->pos[1]+i*blocksize+4), RFIFOL(fd,info->pos[1]+i*blocksize+8)); } } recompile your server again
  21. @QQfoolsorellina Do you know how to Dispell check target cast skill
  22. @Ai4rei parameter up to 8192 or high
  23. @Ai4rei It has become possible to unlock icon status limit and read file statusxxx.tga in effect folder Bugreport WDGExtendedNPCDialog Not applicable. I have test on RE 2012-04-10a found the client crash If it exceeds 2047 characters. please check again
  24. types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) client_limit_unit_lv: 1
×
×
  • Create New...