Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. ohh T_T.. too bad is the Mac Address of Harmony is just a source or need client support ??
  2. Enjoy. THANKS FOR THIS I WILL TRY THIS CLYDELION
  3. i will try this emistry thanks for your help edit: not working after i recompile no error then i edit my item_db2 i add pet <pet_id>,rate; parseline error pet <petid>','10; bump please help i think it's not there.. i don't know if i will add pet_catch_rate2 for other.. but i don't know what will go on.. int pet_catch_process1(struct map_session_data *sd,int target_class) { nullpo_ret(sd); sd->catch_target_class = target_class; clif_catch_process(sd); return 0; } int pet_catch_process2(struct map_session_data* sd, int target_id) { struct mob_data* md; int i = 0, pet_catch_rate = 0; nullpo_retr(1, sd); md = (struct mob_data*)map_id2bl(target_id); if(!md || md->bl.type != BL_MOB || md->bl.prev == NULL) { // Invalid inputs/state, abort capture. clif_pet_roulette(sd,0); sd->catch_target_class = -1; sd->itemid = sd->itemindex = -1; return 1; } //FIXME: delete taming item here, if this was an item-invoked capture and the item was flagged as delay-consume [ultramage] i = search_petDB_index(md->class_,PET_CLASS); //catch_target_class == 0 is used for universal lures (except bosses for now). [Skotlex] if (sd->catch_target_class == 0 && !(md->status.mode&MD_BOSS)) sd->catch_target_class = md->class_; if(i < 0 || sd->catch_target_class != md->class_) { clif_emotion(&md->bl, E_AG); //mob will do if wrong lure is used on them. clif_pet_roulette(sd,0); sd->catch_target_class = -1; return 1; } pet_catch_rate = (pet_db[i].capture + (sd->status.base_level - md->level)*30 + sd->battle_status.luk*20)*(200 - get_percentage(md->status.hp, md->status.max_hp))/100; if(pet_catch_rate < 1) pet_catch_rate = 1; if(battle_config.pet_catch_rate != 100) pet_catch_rate = (pet_catch_rate*battle_config.pet_catch_rate)/100; if(rnd()%10000 < pet_catch_rate) { unit_remove_map(&md->bl,CLR_OUTSIGHT); status_kill(&md->bl); clif_pet_roulette(sd,1); intif_create_pet(sd->status.account_id,sd->status.char_id,pet_db[i].class_,mob_db(pet_db[i].class_)->lv, pet_db[i].EggID,0,pet_db[i].intimate,100,0,1,pet_db[i].jname); } else { clif_pet_roulette(sd,0); sd->catch_target_class = -1; } return 0; }
  4. no.. i want a source that look like this pet <pet_id>,catchrate; bump refer to this topic http://www.eathena.ws/board/index.php?showtopic=255045 bump
  5. thank's for this bryan how can i use the mac address on Loginlog or adding it on Last_mac on account_id so i can trace something
  6. here's the source of catchpet how can i make it pet <pet_id>,<catch_rate>; please BUILDIN_FUNC(catchpet) { int pet_id; TBL_PC *sd; pet_id= script_getnum(st,2); sd=script_rid2sd(st); if( sd == NULL ) return 0; pet_catch_process1(sd,pet_id); return 0; }
  7. trunk/db/pre-re/skill_tree.txt 4012,2240,1,0,0,0,0,0,0,0,0,0,0 //RA_WUGMASTERY#Warg Mastery# put this on your skill_tree.txt ctrl+f find //Sniper then add it on the last 4012,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill# 4012,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid# 4012,43,10,0,0,0,0,0,0,0,0,0,0 //AC_OWL#Owl's Eye# 4012,44,10,43,3,0,0,0,0,0,0,0,0 //AC_VULTURE#Vulture's Eye# 4012,45,10,44,1,0,0,0,0,0,0,0,0 //AC_CONCENTRATION#Improve Concentration# 4012,46,10,0,0,0,0,0,0,0,0,0,0 //AC_DOUBLE#Double Strafe# 4012,47,10,46,5,0,0,0,0,0,0,0,0 //AC_SHOWER#Arrow Shower# 4012,147,1,0,0,0,0,0,0,0,0,0,0 //AC_MAKINGARROW#Arrow Crafting# 4012,148,1,0,0,0,0,0,0,0,0,0,0 //AC_CHARGEARROW#Arrow Repel# 4012,115,5,0,0,0,0,0,0,0,0,0,0 //HT_SKIDTRAP#Skid Trap# 4012,116,5,0,0,0,0,0,0,0,0,0,0 //HT_LANDMINE#Land Mine# 4012,117,5,115,1,0,0,0,0,0,0,0,0 //HT_ANKLESNARE#Ankle Snare# 4012,118,5,117,1,0,0,0,0,0,0,0,0 //HT_SHOCKWAVE#Shockwave Trap# 4012,119,5,120,1,0,0,0,0,0,0,0,0 //HT_SANDMAN#Sandman# 4012,120,5,115,1,0,0,0,0,0,0,0,0 //HT_FLASHER#Flasher# 4012,121,5,120,1,0,0,0,0,0,0,0,0 //HT_FREEZINGTRAP#Freezing Trap# 4012,122,5,116,1,119,1,121,1,0,0,0,0 //HT_BLASTMINE#Blast Mine# 4012,123,5,118,1,122,1,0,0,0,0,0,0 //HT_CLAYMORETRAP#Claymore Trap# 4012,124,1,116,1,0,0,0,0,0,0,0,0 //HT_REMOVETRAP#Remove Trap# 4012,125,1,118,1,124,1,0,0,0,0,0,0 //HT_TALKIEBOX#Talkie Box# 4012,126,10,0,0,0,0,0,0,0,0,0,0 //HT_BEASTBANE#Beast Bane# 4012,127,1,126,1,0,0,0,0,0,0,0,0 //HT_FALCON#Falconry Mastery# 4012,128,10,129,5,0,0,0,0,0,0,0,0 //HT_STEELCROW#Steel Crow# 4012,129,5,127,1,0,0,0,0,0,0,0,0 //HT_BLITZBEAT#Blitz Beat# 4012,130,4,45,1,127,1,0,0,0,0,0,0 //HT_DETECTING#Detect# 4012,131,5,124,1,127,1,0,0,0,0,0,0 //HT_SPRINGTRAP#Spring Trap# 4012,1009,1,0,0,0,0,0,0,0,0,0,0 //HT_PHANTASMIC#Phantasmic Arrow# 4012,380,10,43,10,44,10,45,10,127,1,0,0 //SN_SIGHT#Falcon Eyes# 4012,381,5,128,3,44,5,129,5,127,1,0,0 //SN_FALCONASSAULT#Falcon Assault# 4012,382,5,45,10,46,5,0,0,0,0,0,0 //SN_SHARPSHOOTING#Focused Arrow Strike# 4012,383,10,45,9,0,0,0,0,0,0,0,0 //SN_WINDWALK#Wind Walker# 4012,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby# 4012,499,1,46,10,0,0,0,0,0,0,0,0 //HT_POWER#Beast Strafing# 4012,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R# 4012,2240,1,0,0,0,0,0,0,0,0,0,0 //RA_WUGMASTERY#Warg Mastery# // Warg Mastery
  8. ooohh T_T... please release it
  9. can i request a multiple lure id on pet's example. Poke ball 10% chance when taming monster Great Ball 30% chance when taming monster MasterBall 100% chance when taming monster
  10. brian can i ask question? if the player have already a guild pack then he register new account using and hotspotshield . does the new account can get guildpack?
  11. everytime the mob walk im getting don't send
  12. so if it's 4000 i will increase it to 5000 im right?
  13. PewN

    # atcommands

    no fakename: [true, true]
  14. client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5 client_hash: 1, c6e72968ae73fdf879fa23c6dbabf8f3 <------- this is the ro.exe. client_hash: 2, f692be4256b91281ab1e27799cef62f<----- this is the patcher.exe got both from the md5 calculator, and it still doesnt work. not sure if i input it wrong client_hash: 99, cb1ea78023d337c38e8ba5124e2338ae client_hash: 0, c6e72968ae73fdf879fa23c6dbabf8f3
  15. copy the md5 on the md5calculator then paste it on your login_athena.conf http://rathena.org/board/topic/70841-r16771-client-md5-hash-check/
  16. just set the hash then restart the server.
  17. download this http://www.bullzip.com/products/md5/info.php then right click your ro.exe then copy the md5 then find your login_athena.conf search for md5 then paste the md5 you got in the md5 calculator
  18. yup your harmony change the md5hash on your setting's
  19. turn off your md5 hash on login_athena.conf.
  20. hmm im getting error on the factionmonster source the pvpteam how can i do like this? o set your script set pvpteam, 1; // they assign to team no.1 set pvpteam, 2; // they assign to team no.2 here's the modified source of your faction monster how can i set the faction_id as pvpteam(globalreg) if the monster[pvpteam,1] will attack the other monster[pvpteam,2 ...] and the monster[pvpteam,1] will not attack the same variable.. please help BUILDIN_FUNC(factionmonster) { const char* mapn = script_getstr(st,2); int x = script_getnum(st,3); int y = script_getnum(st,4); const char* str = script_getstr(st,5); int class_ = script_getnum(st,6); int amount = script_getnum(st,7); int faction = script_getnum(st,8); const char* event = ""; unsigned int size = SZ_SMALL; unsigned int ai = AI_NONE; struct map_session_data* sd; struct mob_data *md; int m; if( script_hasdata(st,9) ) { event = script_getstr(st,9); check_event(st, event); } if (class_ >= 0 && !mobdb_checkid(class_)) { ShowWarning("buildin_factionmonster: Attempted to spawn non-existing monster class %d\n", class_); return 1; } sd = map_id2sd(st->rid); if( sd && strcmp(mapn,"this") == 0 ) m = sd->bl.m; else { m = map_mapname2mapid(mapn); if( map[m].flag.src4instance && st->instance_id ) { if( (m = instance_mapid2imapid(m, st->instance_id)) < 0 ) { ShowError("buildin_factionmonster: Trying to spawn monster (%d) on instance map (%s) without instance attached.\n", class_, mapn); return 1; } } } md = mob_once_spawn_sub(&sd->bl, m, x, y, str, class_, event, size, ai); if (md) { md->faction_id = faction; md->special_state.ai=1; mob_spawn (md); clif_specialeffect(&md->bl,344,AREA); sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000); } script_pushint(st,md->bl.id); return 0; } is this correct?
×
×
  • Create New...