Jump to content

Mabuhay

Members
  • Posts

    446
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by Mabuhay

  1. Read and learn from scripting bible doc/script_commands.txt Learn basic Variable. it is straightforward and no need big brain to understand. PS: it should have been : @set $illusion_mvp 0 to set its value to 0, just a bit of typo on my side.
  2. apparently, it is using a permanent global variable. Try set it to zero first. @set $illusion_mvp 1 or change all : `$illusion_mvp` to `$@illusion_mvp` << this method is uncertain because I dunno how the whole script works. or simply change if($illusion_mvp == 2){ //= jRO Summons the MVP after 800 kills or so to if($illusion_mvp >= 2){ //= jRO Summons the MVP after 800 kills or so Any of these methods should work.
  3. same guide lang sa rathena wiki. Walang nag bago https://github.com/rathena/rathena/wiki/Install-on-Centos
  4. X=number. Im on mobile so i cannot copy and paste the exact parts to be changed
  5. Try changing all rand(0.x) to coma rand(0,x)
  6. Look for this on battle.cpp : static void battle_calc_weapon_final_atk_modifiers(struct Damage* wd, struct block_list *src,struct block_list *target,uint16 skill_id,uint16 skill_lv) Add this.. ( remove + ) : // Skill damage adjustment if ((skill_damage = battle_skill_damage(src, target, skill_id)) != 0) ATK_ADDRATE(wd->damage, wd->damage2, skill_damage); + if (skill_id == MO_EXTREMITYFIST) + wd->damage = cap_value(wd->damage, INT_MIN, 999999 ); // capped to 999,999 Do the same to other skills on your list.
  7. That's another issue. But you need the sound files first. Everything should be explanatory after that. Since the script is made to make the sound appear in the first place.
  8. Look for all lines with getmapxy. Replace 0 to BL_PC
  9. Hi, so, I decided to compile all my releases here for easier view to those who wants to see my works. Just click on the link to see its description. Enjoy and hope these would help! ================================================================================================================================================ Free Releases : Event Manager Reward Function ( Item or Variable ) Event Consumable @go/@warp delay when hit Automated GvG [Updated] +7 and above refined item wont drop Euphy's Quest Shop with Success Rates Item Trader with Success Rates @itemrain command @giveitem command Euphy WoE controller + gepard check + minor fix @market clone patch update [December-2019] Emperium Breaker + Points + Shop I am constantly checking both script request and script support. Whichever takes my interest, I will post and release here. If you have cool Event Ideas ( at least cool for me ), don't hesitate to drop me a DM. Or if you have an old event lying around needing some updates, I'd gladly take a look at it. ================================================================================================================================================ Showcase : [Video] War Arena + Spectator mode [Video] Punching Bag with Param Setter [Video] WoE : Longest Def Ranking + Reward [Video] WoE : Time-based Participation Reward All of these showcased scripts are found here : https://mabuhay-solution.com/product-category/npc-scripts/ There are also script videos found in my YouTube channel : https://www.youtube.com/channel/UCfGxj9_ifGQoL_Ug0dtHYDg
  10. https://github.com/rathena/rathena/wiki/Install-on-Windows
  11. No you did not. After changing values in map.h Open your complier and build your source files once again
  12. Probably typo? 215,1,6,1,0,0x1,0,5,1,no,0,0,0,weapon,0,0x0, RG_STRIPWEAPON,Divest Weapon 217,1,6,1,0,0x1,0,5,1,no,0,0,0,weapon,0,0x0, RG_STRIPARMOR,Divest Armor
  13. prontera,150,180,0 script Welcome Pack NPC 123,{ .@ip$ = replacestr(getcharip(),".","s"); if (getd("$ip_"+.@ip$)) { // edit message here. mes "You have claimed your reward."; close; } mes "Here you go."; close2; setd "$ip_"+.@ip$, 1; // add items here.. getitembound 1202, 1, Bound_Account; end; }
  14. Here. I did follow most of it except for reward. I automatically sent the reward to player. There are instructions in the script if you wish to change some stuff. Tested and should work on latest client rathena. I will only support bug fixes, modifications wont be entertained. This will be added on my Event Manager soon. poring_hunter.txt
  15. add this : OnStart: if ( .start ) end; .round = 0; // add this on bombring.txt
  16. Oh i see, well, doesnt matter, its not like it adds +100 damage when your character face south upon login.
  17. @Mael's thing is correct. No need for src mod and stuff because it is already implemented in rAthena since 2014. // When a player teleports, changes maps, or logs in, will they face the direction they were facing before warped? // Official: Disabled, players always face North. spawn_direction: 0 just set spawn_direction to 1.
  18. To get rid of the warning, just comment the header in db/soul_link.yml #Header: # Metadata for future use # Type: MOD_SECRET_SOUL_LINK # Version: 1
  19. If you are using linux, you can use this : https://www.devroom.io/2009/10/26/how-to-create-and-apply-a-patch-with-git/ If you've done a lot of changes, just do manual instruction instead of creating a patch. This method is very confusing to do if its your first time.
  20. // Shop NPCs -- supplying no argument displays entire menu. // callfunc "pshop"{,<shop ID>{,<shop ID>{,...}}}; //============================================================ prontera,143,125,6 script Donation Shop#1 564,{ callfunc "pshop"; OnInit: waitingroom "Donate Shop",0; } I think @reloadnpc is buggy when used to refresh an npc with waiting rooms. Better use @reloadscript.
  21. yup, and the fact that it is not broken or anything doesn't really motivate me
  22. Alternatively, you may check the players current weight.. like maybe players must have less than 75% of max weight, so add something like : if ( Weight >= MaxWeight - (MaxWeight / 4) ) { mes "You must at least 25% of your current weight available."; close; } Edit: Ehh, I'm not sure if the mes implies the correct meaning on what I wanted to say xD
  23. Maybe some other time in the future. Those events are not broken. So, I don't have any intentions to add them for now.
  24. Something like this: prontera,154,184,0 script Test CountDown 123,{ end; OnInit: // when npc is initiated.. OnHour00: // resets every 00:00 delwaitingroom; .@end_day = 20; // 20th day of the month is the end time. .@time = gettime(DT_DAYOFMONTH); if ( .@end_day > .@time ) { waitingroom "Next offer appears in "+(.@end_day-.@time)+"D at 21:00",0; // Before offer day } else if ( .@end_day == .@time ) { waitingroom "OFFER DAY!",0; // During offer day } else { waitingroom "OFFER EXPIRED!",0; // After offer day } end; }
×
×
  • Create New...