Jump to content

sumano

Members
  • Posts

    54
  • Joined

Everything posted by sumano

  1. How to make endure in seconds
  2. Let's know the version of rathena that fits the exe version 2015-09-16aRagexe Please help me
  3. how to add 1player 1pc - script OnlineEvent -1,{ OnPCLoginEvent: while (1) { sleep2 60000; // if( CheckVending() ){ dispbottom "You can't use in vending. Please Relogin"; end; } if(#freereal== 60) { set #Cashpoints,#Cashpoints+1; set #freereal, 0; dispbottom "Wow You get 1 Cash.";} set #freereal, #freereal+ 1; } end; // shouldn't reach }
  4. i make it work show hp sp and party status but i change it to #rank_level why it show Lv.0 but i level 2 and teleport name party remove void clif_charnameupdate (struct map_session_data *ssd) { unsigned char buf[103]; char tmp[30]; // Mod: HP/SP int cmd = 0x195, ps = -1; struct party_data *p = NULL; struct guild *g = NULL; nullpo_retv(ssd); if( ssd->fakename[0] ) return; //No need to update as the party/guild was not displayed anyway. WBUFW(buf,0) = cmd; WBUFL(buf,2) = ssd->bl.id; memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH); if (!battle_config.display_party_name) { if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = ssd->guild) != NULL) p = party_search(ssd->status.party_id); }else{ if (ssd->status.party_id > 0) p = party_search(ssd->status.party_id); } if( ssd->status.guild_id > 0 && (g = ssd->guild) != NULL ) { int i; ARR_FIND(0, g->max_member, i, g->member[i].account_id == ssd->status.account_id && g->member[i].char_id == ssd->status.char_id); if( i < g->max_member ) ps = g->member[i].position; } //sprintf(tmp, "HP:%d%%,SP:%d%%,Party:", ssd->battle_status.hp*100/ssd->battle_status.max_hp, ssd->battle_status.sp*100/ssd->battle_status.max_sp); sprintf(tmp, "Synergy Lv. :%d%%,SP:%d%%,Party:", pc_readglobalreg_str(ssd,"#rank_level"), ssd->battle_status.sp*100/ssd->battle_status.max_sp); if( p ) //memcpy(WBUFP(buf,30), p->party.name, NAME_LENGTH); strcat(tmp,"Yes"); else //WBUFB(buf,30) = 0; strcat(tmp,"No"); memcpy(WBUFP(buf,30), tmp, NAME_LENGTH); if( g && ps >= 0 && ps < MAX_GUILDPOSITION ) { memcpy(WBUFP(buf,54), g->name,NAME_LENGTH); memcpy(WBUFP(buf,78), g->position[ps].name, NAME_LENGTH); } else { WBUFB(buf,54) = 0; WBUFB(buf,78) = 0; } // Update nearby clients clif_send(buf, packet_len(cmd), &ssd->bl, AREA); }
  5. hi rathena how to remove party and add baselevel and #rank_level show in party i have script ranking like level system ex. GM (Level : 99/70|Rank : 3) thanks
  6. hi this can't use in normal account help me please or who have script like this http://pastebin.com/GCd2Li6t
  7. hi rathena if people use @autotrade (vending and buying system) someone use crusader relfect shield in dungeon like a bot and use @autotrade possible to stop get exp and drop anymore ?
  8. it not work http://pastebin.com/raw.php?i=0EM68xMZ my full script
  9. hi how to easy way blacklist all card i use for enchant system block if have card can't use [ but if have option can use anymore ]
  10. hi everyone i have script from scripter in rathena ( sorry i forget name ) http://upaste.me/r/9e44127238eca0f52 can anyone help me make new script like that or make guild master can set tax in game ( guild shop ) or you have new way for make new script like this prontera own castle : have shop xxx item and can set tax % payon own castle : have shop xxx item and can set tax % aldebaran own castle : have shop xxx item and can set tax % geffen own castle : have shop xxx item and can set tax % who sale low priece people buy item in xxx shop
  11. - script copyitem -1,{ OnInit: bindatcmd "copyitem",strnpcinfo(3)+"::OnAtcommand",1,1; end; OnAtcommand: .@aid = getcharid( 3,.@atcmd_parameters$[0] ); if( .@aid ){ .@origin = getcharid(3); .@i = select( "Head Top","Armor","Hand L","Hand R","Garment","Shoe","Acc L","Acc R","Head Mid","Low" ); attachrid( .@aid ); .@equip = getequipid( .@i ); if( .@equip != -1 ){ .@refine = getequiprefinerycnt( .@i ); .@slot = getequipcardcnt( .@i ); for( .@x = 0; .@x < .@slot; .@x++ ) .@card[.@x] = getequipcardid( .@i,.@x ); } attachrid( .@origin ); if( .@equip != -1 ){ getitem2 .@equip,1,1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3]; equip .@equip[.@i]; dispbottom "Cloned "+.@atcmd_parameters$[0]+" equipments."; } else{ dispbottom "Nothing to clone on that equipment slot"; } } close; } freeze again sir
  12. it freeze again sir. i don't know why no message anymore in console no error too
  13. hi how to check who @mount2 in script thanks
  14. hi again. possible to make like that by @command like here http://rathena.org/board/topic/95438-rduplicate-all-equip-item-1-click/ but i need copy 1 item in my select thanks
  15. i no got massage anymore zzz in console no report
×
×
  • Create New...