Jump to content

astralprojection

Members
  • Content Count

    257
  • Joined

  • Last visited

  • Days Won

    2

astralprojection last won the day on January 3 2018

astralprojection had the most liked content!

5 Followers

About astralprojection

  • Rank
    Advanced Member

Recent Profile Visitors

3868 profile views
  1. i dont know :D, maybe just BAN player manipulating client data
  2. you need to add that pvp_y_1-5.gnd#morocc.gnd# pvp_y_1-5.rsw#morocc.rsw# pvp_y_1-5.gat#morocc.gat# À¯ÀúÀÎÅÍÆäÀ̽º\map\pvp_y_1-5.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\morocc.bmp#
  3. Check in your maprestable.txt if that is included Rsw gat and gnd
  4. // exp share and added zeny share [Valaris] static int party_exp_share(struct party_data *p, struct block_list *src, unsigned int base_exp, unsigned int job_exp, int zeny) { struct map_session_data* sd[MAX_PARTY]; unsigned int i, c; nullpo_ret(p); nullpo_ret(src); // count the number of players eligible for exp sharing for (i = c = 0; i < MAX_PARTY; i++) { if( (sd[c] = p->data[i].sd) == NULL || sd[c]->bl.m != src->m || pc_isdead(sd[c]) || (battle_config.idle_no_share && pc_isidle(sd[c])) ) continue; c++; } if (c < 1) return 0; base_exp/=c; job_exp/=c; zeny/=c; if (battle_config.party_even_share_bonus_36 && c > 35) { double bonus = 100 + battle_config.party_even_share_bonus_36*(c-1); if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); } else if (battle_config.party_even_share_bonus_30 && c > 29) { double bonus = 100 + battle_config.party_even_share_bonus_30*(c-1); if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); } else if (battle_config.party_even_share_bonus_20 && c > 19) { double bonus = 100 + battle_config.party_even_share_bonus_20*(c-1); if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); } else if (battle_config.party_even_share_bonus_10 && c > 9) { double bonus = 100 + battle_config.party_even_share_bonus_10*(c-1); if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); } else if (battle_config.party_even_share_bonus && c < 6) { double bonus = 100 + battle_config.party_even_share_bonus*(c-1); if (base_exp) base_exp = (unsigned int) cap_value(base_exp * bonus/100, 0, UINT_MAX); if (job_exp) job_exp = (unsigned int) cap_value(job_exp * bonus/100, 0, UINT_MAX); if (zeny) zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX); } for (i = 0; i < c; i++) { pc->gainexp(sd[i], src, base_exp, job_exp, false); if (zeny) // zeny from mobs [Valaris] pc->getzeny(sd[i],zeny,LOG_TYPE_PICKDROP_MONSTER,NULL); } return 0; } Hi guys i want to mod party.c (Party Share Bonus) Is this the correct way to do it? party_even_share_bonus: 30 party_even_share_bonus_10: 40 party_even_share_bonus_20: 50 party_even_share_bonus_30: 60 party_even_share_bonus_36: 70 1 ~ 5 member = 30% 6 ~ 10 member = 40% 11 ~ 20 member = 50% 21 ~ 35 member = 60% 36 member = 70%
  5. Is there way to prevent @refresh to clear status ailment? for instance, SC_BLIND, It become useless to be blinded because it can be remove by @fresh.
  6. Will this prevent player using modified sprite to cast faster?
  7. Recent recent release was buggy including usables like fly wing that has itemskill on it. Sometimes is did not function as intended. I recommend use the prior release version. I dont know why Herc did not release like Release v2020.02.09+1 as they did it before to address critical issue.
  8. @Dastgir there are instance where server can place trader merchant where no merchant discount is allowed. It will be helpful if you can have time to look into it as plugin like sellitem Apple,100,bolean; Thanks sir
  9. When Critical Explosion, the Abrasive STATUS is activated. Then not able to assura. This skill is broken
  10. can you check if you have item like Poring_Egg in your database.
  11. // Deleting #VARIABLE using query is NOT enough, you need to reset ONLINE players too. OnClock0000: query_sql( "SELECT COUNT(`char_id`) FROM `char` WHERE `online` = 1 ", [email protected] ); freeloop(true); while( [email protected] < [email protected] ){ // Reset variable to ONLINE players query_sql( "SELECT `account_id`,`char_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY `char_id` LIMIT 128 OFFSET "[email protected], [email protected],[email protected],[email protected]$ ); set [email protected],0; set [email protected],getarraysize( [email protected] ); while( [email protected] < [email protected] ){ if (isloggedin([email protected][[email protected]], [email protected][[email protected]])) { attachrid([email protected][[email protected]]); #VARIABLE = 0; } set [email protected],[email protected] + 1; set [email protected],[email protected] + 1; } set [email protected],[email protected] + [email protected]; deletearray [email protected],[email protected]; deletearray [email protected]$,[email protected]; } // Reset variable to OFFLINE players query_sql("DELETE FROM `char_reg_num_db` WHERE `key` = '#VARIABLE'"); freeloop(false); announce "[ System ] All variable has been reset. Enjoy the game!", bc_all, C_AQUA, FW_BOLD, 16; end;
  12. Anyone? how is this possible? 2M asura on VR.
  13. @Dastgir is it also possible that when player join, it will automatically join a party also? So, team1 is RedParty and team2 is BlueParty. It would be nice if can, so that party buffs can be useful like adrenaline rush ... etc...
  14. hi @Dastgir is there a way to prevent selling to NPC WOE and BG items generated from BG Shops? I was thinking it can be abuse if player sell it to NPC like food stuffs @ 10k z each. I think its much safer to make it non sellable to npc.
  15. after 6 years haha. why using @autollot 100 sometime dont work - make wiizard go to mag_dun01. Use skill SG - kill 1 mob then it will loot all drop (good) - lure many mob and SG (there... some loots in the ground).
×
×
  • Create New...

Important Information

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