Jump to content

Mabuhay

Members
  • Posts

    446
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by Mabuhay

  1. The two is not related. Edit GRF Files using GRF Editor
  2. View File Emperium Breaker Ladder + Points + Shop The title says it all.. This would record a player's emp break count GM can easily reset the table This method is more optimized because the data is properly indexed on a table. Added emp breaker point shop - Account bounded.. Enjoy! Installation instructions : Submitter Mabuhay Submitted 01/18/2020 Category Utilities Video Content Author Mabuhay
  3. https://rathena.org/board/topic/121407-utility-giveitem-command/
  4. I dont think so. Its only gonna clone your character like a mob.
  5. Added as of 18-01-2020: Euphy Woe Controller Emperium Breaker Ladder + Points + Shop @market clone update
  6. View File @market clone update patch This is my updated @market clone as per this topic: Im currently using a sever file from December 2019. But I dont think it would not work on latest server files. Enjoy Submitter Mabuhay Submitted 01/18/2020 Category Source Modifications Video Content Author AnnieRuru, Dastgir, Napster, Mabuhay  
  7. Version 1.0.0

    458 downloads

    This is my updated @market clone as per this topic: Im currently using a sever file from December 2019. But I dont think it would not work on latest server files. Enjoy
    Free
  8. Version 1.0.1

    578 downloads

    The title says it all.. This would record a player's emp break count GM can easily reset the table This method is more optimized because the data is properly indexed on a table. Added emp breaker point shop - Account bounded.. Enjoy! Installation instructions :
    Free
  9. View File Euphy's WoE Controller + Gepard Check + Minor fix As the title says. I added some fix on checkweight part where it will throw some error when item mailing is disabled. ( I literally have uploaded the wrong file for months and only been known recently) Added gepard id check support. Submitter Mabuhay Submitted 01/15/2020 Category Utilities Video Content Author Euphy, Mabuhay  
  10. Version 1.0.1

    435 downloads

    As the title says. I added some fix on checkweight part where it will throw some error when item mailing is disabled. ( I literally have uploaded the wrong file for months and only been known recently) Added gepard id check support.
    Free
  11. --------------------------------------- *disablenpc "<NPC object name>"; *enablenpc "<NPC object name>"; These two commands will disable and enable, respectively, an NPC object specified by name. The disabled NPC will disappear from sight and will no longer be triggerable in the normal way. It is not clear whether it will still be accessible through 'donpcevent' and other triggering commands, but it probably will be. You can disable even warp NPCs if you know their object names, which is an easy way to make a map only accessible through walking half the time. Then you 'enablenpc' them back. You can also use these commands to create the illusion of an NPC switching between several locations, which is often better than actually moving the NPC - create one NPC object with a visible and a hidden part to their name, make a few copies, and then disable all except one. --------------------------------------- doc/script_commands.txt
  12. Untested but should work.. // How to use F_Warp? // F_Warp(<item_id>,<item_amount>,"<mapname>"{,<x>{,<y>}}); prontera,150,180,0 script Toll Warp 123,{ function F_Warp; mes "Where would you like to warp?"; next; switch(select( "Prontera", // Case 1 "Geffen", // Case 2 "Payon" // Case 3 -- no "," since this is the last in the lst.. )) { case 1: // Prontera F_Warp(501,5,"prontera",150,160); break; case 2: // Geffen F_Warp(502,3,"geffen",50,100); break; case 3: // Payon F_Warp(503,1,"payon",145,170); break; } end; function F_Warp { .@item = getarg(0); .@amount = getarg(1); .@map$ = getarg(2,""); .@x = getarg(3,0); .@y = getarg(4,0); if ( countitem(.@item) < .@amount ) { mes "You dont have enough "+getitemname(.@item)+" to warp in this map."; close; } delitem .@item, .@amount; warp .@map$, .@x, .@y; return; } } Read how F_Warp works.. You should know the basic on how to add menu.. If you are still confused, refer to script_commands.txt
  13. Here is my solution. All thanks to @Litro Endemic for the idea.. goto pc.cpp look for /*========================================== * Invoked once after the char/account/account2 registry variables are received. [Skotlex] * We didn't receive item information at this point so DO NOT attempt to do item operations here. * See intif_parse_StorageReceived() for item operations [lighta] *------------------------------------------*/ void pc_reg_received(struct map_session_data *sd) Add this : // Cash shop sd->cashPoints = pc_readaccountreg(sd, add_str(CASHPOINT_VAR)); sd->kafraPoints = pc_readaccountreg(sd, add_str(KAFRAPOINT_VAR)); + if ( pc_readaccountreg(sd, add_str("#BLOCKPASS")) ) + sd->state.protection_acc = 1; + else + sd->state.protection_acc = 0; Dont include + compile and done.
  14. Pwede mo ata igoogle ung error code. Parang makikita mo lang yan. May kulang ata sa registry key mo.
  15. Check mo sa Hercules na post about offline server ni Anaconda.. Baka andun ung solution jan.
  16. You can just tag me once. No need to tag me everytime. I also have something called "personal life" so I couldn't attend to every queries in a flash. Anyhow... This part of the script already tells you how it calculates stuff.. //ATK [{(Target HP / 100) x Skill Level} x Caster Base Level / 125] % + [Received damage x {1 + (Skill Level x 0.2)}] int64 rdamage = 0; int ratio = (int64)(status_get_hp(src) / 100) * tsc->data[SC_CRESCENTELBOW]->val1 * status_get_lv(target) / 125; if (ratio > 5000) ratio = 5000; // Maximum of 5000% ATK rdamage = battle_calc_base_damage(target,tstatus,&tstatus->rhw,tsc,sstatus->size,0); rdamage = (int64)rdamage * ratio / 100 + wd->damage * (10 + tsc->data[SC_CRESCENTELBOW]->val1 * 20 / 10) / 10; to break it down for you.. //ATK [{(Target HP / 100) x Skill Level} x Caster Base Level / 125] % + [Received damage x {1 + (Skill Level x 0.2)}] int64 rdamage = 0; // [{(Target HP / 100) x Skill Level} x Caster Base Level / 125] int ratio = (int64)(status_get_hp(src) / 100) * tsc->data[SC_CRESCENTELBOW]->val1 * status_get_lv(target) / 125; if (ratio > 5000) ratio = 5000; // Maximum of 5000% ATK -- this is just a damage limit cap.. // [Received damage x {1 + (Skill Level x 0.2)}] -- the rest of the calculation rdamage = battle_calc_base_damage(target,tstatus,&tstatus->rhw,tsc,sstatus->size,0); rdamage = (int64)rdamage * ratio / 100 + wd->damage * (10 + tsc->data[SC_CRESCENTELBOW]->val1 * 20 / 10) / 10; You will only need basic arithmetic to adjust the damage carefully.. try to adjust one part at a time to avoid confusion.. Goodluck!
  17. Hsve you tried editing db/skill_damage.txt yet?
  18. Change 0 to BL_PC then change 1 to BL_NPC from getmapxy codes
  19. I already have fixed this on latest version of event manager. To fix, find for.. .start = false; Then replace to .start = .round = false;
  20. Check your sql queries. It seems like you have 4 sql tables. pvp and pvp1 then gvg and gvg1.
  21. You can use my Reward Function for each Events and try to be creative. All my Free release are intended for you guys to modify and get creative. You may freely modify this in any way you see fit. I am not interested in upgrading/changing its mechanics. But if you have some old or cool events, I will check and see if I want to add it here.
  22. *getcastledata("<map name>",<type of data>) you have a third arguement.
×
×
  • Create New...