Jump to content

jamesandrew

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by jamesandrew

  1. How do you make card combo script for this? Poring Card [+Mastering Card] Critical Rate +3 [Refine Rate +8 or higher] Addtional LUK +2 Addtional Critical Rate +3 item_combos.yml - Combos: - Combo: - Mastering_Card - Poring_Card Script: | bonus bCritical,3; if (getrefine()>7) { bonus bLuk,2; bonus bCritical,3; } I'm getting this error
  2. Comodo Party V.0.1 2023-09-21 11-34-18.mp4 All skills in Etc are not automatically updated from skill tree and hotkey. @refresh and @warp didn't remove the skills either. I had to relog back to character selection to completely removed them. It's way more annoying when I get attacked by a lot of different skills as a rogue. Is there a way to fix this? Thanks
  3. bump ! bump !! Fix pre-re Mercenary skills by aleos89 · Pull Request #7981 · rathena/rathena (github.com)
  4. I got this error while using these Mercenary Skills -Item: Spearman Scroll 4 (12176) Skill: Defender -Item: Spearman Scroll 5 (12177) Skill: Guard -Item: Spearman Scroll 9 (12181) Skill: Auto Guard & Defender -Item: Spearman Scroll 10 (12182) Skill: Auto Guard, Defender & Devotion -Item: Fencer Scroll 8 (12170) Skill: Parry -Item: Fencer Scroll 9 (12171) Skill: Reflect Shield -Item: Fencer Scroll 10 (12172) Skill: Berserk This is my db/pre-re/skill.db.yml Any idea how to fix this?
  5. Thanks for the explanation. Very helpful! So... If I want to use unlimited quantity for 1010 and 1011 can I use marketshop and change the quantity to -1 ? //=Ore Exchanger //============================================================ - marketshop market_refine_prt_in -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_payon -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_morocc_in -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_alberta_in -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_yuno_in01 -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_ein_in01 -1,1010:-1:-1,1011:-1:-1 - marketshop market_refine_lhz_in02 -1,1010:-1:-1,1011:-1:-1 prt_in,63,69,3 script Dietrich#ns_prt 4_M_02,{ mes "[" + strnpcinfo(1) + "]"; mes "We sell and exchange various ores used in smelting."; next; switch( select( "View basic smelting ores", "View advanced smelting ores", "Cancel" ) ) { case 1: mes "[" + strnpcinfo(1) + "]"; mes "Phracon and Emveretarcon are available for use in smelting low-level weapons."; close2; callshop "market_refine_" + strnpcinfo(4); end; case 2: mes "[" + strnpcinfo(1) + "]"; mes "We are purifying Elunium Stone and Oridecon Stone, or exchanging Coins."; close2; callshop "barter_refine_1"; end; case 3: mes "[" + strnpcinfo(1) + "]"; mes "If you lack the materials used for smelting, come anytime."; close; } end; OnInit: setunittitle getnpcid(0), "<Ore Refiner>"; end; }
  6. How to refresh the quantity of an item in stock? (market_refine_) I tried @reloadscript @reloadbarterdb and even restarted the server, it didn't work. The stock stays the same like the last time I purchased the item //=Ore Exchanger //============================================================ - marketshop market_refine_prt_in -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_payon -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_morocc_in -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_alberta_in -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_yuno_in01 -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_ein_in01 -1,1010:-1:999999,1011:-1:999999 - marketshop market_refine_lhz_in02 -1,1010:-1:999999,1011:-1:999999 prt_in,63,69,3 script Dietrich#ns_prt 4_M_02,{ mes "[" + strnpcinfo(1) + "]"; mes "We sell and exchange various ores used in smelting."; next; switch( select( "View basic smelting ores", "View advanced smelting ores", "Cancel" ) ) { case 1: mes "[" + strnpcinfo(1) + "]"; mes "Phracon and Emveretarcon are available for use in smelting low-level weapons."; close2; callshop "market_refine_" + strnpcinfo(4); end; case 2: mes "[" + strnpcinfo(1) + "]"; mes "We are purifying Elunium Stone and Oridecon Stone, or exchanging Coins."; close2; callshop "barter_refine_1"; end; case 3: mes "[" + strnpcinfo(1) + "]"; mes "If you lack the materials used for smelting, come anytime."; close; } end; OnInit: setunittitle getnpcid(0), "<Ore Refiner>"; end; } I'm using the latest git and pre renewal.
  7. //===== rAthena Script ============================================= //= Punching Bag NPC //===== By: ======================================================== //= Secretdataz //===== Current Version: =========================================== //= 0.2 //===== Changelog: ================================================= //= 0.1 Initial commit //= 0.2 Add MD_KNOCKBACK_IMMUNE //===== Compatible With: =========================================== //= rAthena Project //===== Additional Comments: ======================================= //= When duplicating this NPC. Only use NUMBER after the # [secret] //================================================================== prontera,160,184,0 script PunchingBag#0 844,{ end; OnMyMobDead: OnInit: getunitdata(getnpcid(0), .@d); monster strnpcinfo(4),.@d[UNPC_X],.@d[UNPC_Y],"Punching Bag",1313,1,strnpcinfo(0)+"::OnMyMobDead"; .@dupid = atoi(strnpcinfo(2)); .gid[.@dupid] = $@mobid[0]; .mhp[.@dupid] = strmobinfo(4,2411); setunitdata .gid[.@dupid],UMOB_MODE,.@d[UMOB_MODE]|0x4000000|0x0200000; // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much. initnpctimer; end; OnTimer5000: .@dupid = atoi(strnpcinfo(2)); if(unitexists(.gid[.@dupid])){ getunitdata(.gid[.@dupid],.@d); .@diff = (.mhp[.@dupid] - .@d[UMOB_HP]); if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; setmapflag( "prontera",mf_monster_noteleport ); } } initnpctimer; } //prontera,224,78,0 duplicate(PunchingBag#0) PunchingBag#1 844 //prontera,224,66,0 duplicate(PunchingBag#0) PunchingBag#2 844 //prontera,215,66,0 duplicate(PunchingBag#0) PunchingBag#3 844 //Welgaia,182,143,0 duplicate(PunchingBag#0) PunchingBag#4 844 //Welgaia,157,143,0 duplicate(PunchingBag#0) PunchingBag#5 844 //Welgaia,132,143,0 duplicate(PunchingBag#0) PunchingBag#6 844 // Mapflag prontera mapflag monster_noteleport I use edited Mobster (changed max HP) as dummy npctalk is not working
  8. I haven't figured out.. But I found a gameplay video what I exactly wanted. You can attack the ore mob but it doesn't take any damage unless you equipped with a pickaxe. Also a fixed aspd would be great, just like in this video
  9. "Cannot find File : sprite\¸ó½ºÅÍ\.act" Client 2022 04 06, (read data folder first) tutorial-rathena-renewal-single-player-installation-guide-2023 I'm using these data and system folder ROenglishRE/Renewal at master · llchrisll/ROenglishRE (github.com) Custom mob guide Microsoft Word - AIO RAGNAROK ONLINE (supportmii.com) Custom mob sprite data\sprite\¸ó½ºÅÍ\ black-catt db\import\mob_db.yml Header: Type: MOB_DB Version: 3 Body: - Id: 30000 AegisName: BLACK_CATT Name: Black Catt Level: 1 Hp: 10 Attack: 1 Attack2: 2 Defense: 100 MagicDefense: 99 AttackRange: 1 SkillRange: 7 ChaseRange: 12 Size: Small Race: Plant Element: Earth ElementLevel: 1 WalkSpeed: 1000 AttackDelay: 1 AttackMotion: 1 DamageMotion: 1 Modes: IgnoreMagic: true IgnoreMelee: true IgnoreMisc: true IgnoreRanged: true Drops: - Item: Red_Herb Rate: 5500 - Item: Flower Rate: 1000 - Item: Shoot Rate: 1000 - Item: Stem Rate: 500 - Item: Pointed_Scale Rate: 300 - Item: Fluff Rate: 500 - Item: Ment Rate: 50 - Item: Centimental_Flower Rate: 2 StealProtected: true data\lua files\datainfo\jobname.lub [jobtbl.JT_ZOMBIE_MASTER] = "ZOMBIE_MASTER", [jobtbl.JT_ZOMBIE_PRISONER] = "ZOMBIE_PRISONER", [jobtbl.JT_ZOMBIE_SLAUGHTER] = "ZOMBIE_SLAUGHTER", [jobtbl.JT_BLACK_CATT] = "BLACK_CATT", } data\lua files\datainfo\npcidentity.lub JT_MD_ED_LGTGUARD = 20542, JT_MD_ED_M_SCIENCE = 20543, JT_HIDDEN_MOB8 = 20562, JT_MISSING_OCTOPIG = 20569, JT_BLACK_CATT = 30000, } src\map\mob.cpp // Limits for the monster database #define MIN_MOB_DB 1000 #define MAX_MOB_DB 7000 #define MIN_MOB_DB2 20020 #define MAX_MOB_DB2 40000 // These define the range of available IDs for clones. [Valaris] #define MOB_CLONE_START MAX_MOB_DB #define MOB_CLONE_END MIN_MOB_DB2 @mi > @spawn 30000 > error > GE crash Any idea which part is wrong?
  10. kRO DX9 1440p Walking around prontera iRO DX7 vs kRO DX9 performance source
  11. Awesome, thanks for the explanation and the script as well.
  12. I'm making a simple fishing script. The rules are: - Must equip a fishing rod (2764) - 5 seconds cast time - Get one reward per cast - Rewards rate are: Red Herb 40%; Yellow Herb 30%; White Herb 20%, Blue Herb 10%, Yggdrasil Berry 0.01% prt_fild00,278,237,0 script Fishing School 10065,{ set .@Rod,2764; //Fishing rod if (isequipped(.@Rod)){ specialeffect EF_BUBBLE,"Fishing School"; soundeffect "_attack_axe.wav",0; dispbottom "[Fishing] Casting..."; set .@fcast,5; progressbar "ffffff",.@fcast; if (rand(1,10) <= 4) ||(rand(1,10) <= 3) || (rand(1,10) <= 2) || (rand(1,10) <= 1){ setarray .@Catch[0],507,508,509,510;// Red 40%, Yellow 30%, White 20%, Blue Herb 10% set .@CatchRand,.@Catch[rand(getarraysize(.@Catch))]; getitem .@CatchRand,1; specialeffect2 610; soundeffectall "see_otter_damage.wav",0,strcharinfo(3); dispbottom("[Fishing] You got "+ getitemname(.@CatchRand) +"."); } else { dispbottom "[Fishing] Nothing was caught..."; specialeffect2 611; end;} if (rand(1,100) == 1){ setarray .@Rare[0],607; //Yggdrasil Berry 0.01% set .@RareCatch, .@Rare[rand(getarraysize(.@Rare))]; getitem .@RareCatch,1; dispbottom("[Fishing] Congratulations you got "+ getitemname(.@RareCatch) +"."); specialeffect2 68; end;} else { end;} } else { dispbottom "[Fishing] You need a Fishing Rod."; end; } } are these rands correct?
  13. I've just tested it. It does work but it's very easy to abuse by swapping weapons Thanks though HackGU 2023-09-05 17-49-37.mp4 ----edit Is it possible to use specialeffect2 from this list rathena/doc/effect_list.txt at master · rathena/rathena (github.com) to make your character act like auto attacking mobs?
  14. I did and I'm getting a lot of errors Here is what I've changed in clif.cpp /// Validates and processes global messages /// 008c <packet len>.W <text>.?B (<name> : <message>) 00 (CZ_REQUEST_CHAT) /// There are various variants of this packet. void clif_parse_GlobalMessage(int fd, map_session_data* sd) { char name[NAME_LENGTH], message[CHAT_SIZE_MAX], output[CHAT_SIZE_MAX+NAME_LENGTH*2]; size_t length; // validate packet and retrieve name and message if( !clif_process_message(sd, false, name, message, output ) ) return; if( sd->gcbind && ((sd->gcbind->opt&CHAN_OPT_CAN_CHAT) || pc_has_permission(sd, PC_PERM_CHANNEL_ADMIN)) ) { channel_send(sd->gcbind,sd,message); return; } if (stristr(output, " : ") || stristr(output, " ; ") || stristr(output, " ") || stristr(output, "Tokei") || stristr(output, "Saga") || stristr(output, "Pegasus") || stristr(output, "GM ") || stristr(output, "[G M]") || stristr(output, " GM") || strstr(output, "GM") || stristr(output, "[GM]") || stristr(output, "(GM)") || stristr(output, "{GM}") || stristr(output, "skype") || stristr(output, "discord") || stristr(output, "facebook")) { clif_colormes(sd->fd, color_table[COLOR_RED], "You are only allowed to type a maximum of 3 spaces in a row."); return; // send message to others (using the send buffer for temp. storage) clif_GlobalMessage(&sd->bl,output,sd->chatID ? CHAT_WOS : AREA_CHAT_WOC);
  15. HackGU 2023-09-05 13-24-05.mp4 Hi thanks for the idea. It does work like what you said. But the problem is there's no gear check, no class check and aspd check. Since it's work like a normal mob. Now how about this, is there a way to prevent characters attacking a specific mob if they don't pass the requirements? Like... They must be level 30 minimum and equip a knife. Thanks
  16. Hey thanks for the reply. I tried to adjust the value to 40 but you can still do the trick as long as multiple spaces are allowed. Someone actually posted this code on RMS forum. I have no idea where to start. Do you think it could work? length = strlen(output) + 1; if (sd->chatID && pc_get_group_level(sd) < 20) { int i; for (i = 0; i < length; i++) { switch(output[i]) { case '\x09': case '\xA0': case '\x0A': case '\x0B': case '\x0C': case '\x0D': output[i] = '\x20'; break; } } if (stristr(output, " : ") || stristr(output, " ; ") || stristr(output, " ") || stristr(output, "Tokei") || stristr(output, "Saga") || stristr(output, "Pegasus") || stristr(output, "GM ") || stristr(output, "[G M]") || stristr(output, " GM") || strstr(output, "GM") || stristr(output, "[GM]") || stristr(output, "(GM)") || stristr(output, "{GM}") || stristr(output, "Skype") || stristr(output, "discord") || stristr(output, "facebook")) { clif_colormes(sd->fd, color_table[COLOR_RED], "You are only allowed to type a maximum of 3 spaces in a row."); return; } } // send message to others (using the send buffer for temp. storage) clif_GlobalMessage(&sd->bl,output,sd->chatID ? CHAT_WOS : AREA_CHAT_WOC);
  17. My mining gameplay. Character is just standing there waiting on progress bar until finish. HackGU 2023-09-05 00-18-45.mp4 I want my character to move/doing basic attacks to the nodes like this one in the video, without a fancy progress bar ofc.
  18. Yes, this could work. Any idea how? I increased all value to max but it didn't work. It doesn't remove multiple spaces.
  19. Is there a script or src mod to prevent this scam happening? I know it's an old trick but people still falling for it... Thanks
  20. Yes I did. The buffs transferred to devo target. All shared effects are working except Reflect Shield. conf/battle/skill.conf I changed this in skill.conf but no luck devotion_rdamage: 100 ==fixed by changing 'devotion_rdamage_skill_only: no'
  21. Hey thanks for the input guys. I appreciate it. @Winterfox awesome, your script is working. I've just tested it.
  22. Sorry for bumping an old thread. I'm using the latest rathena. It does work to show the icon buffs only but the effects (auto guard, endure, reflect shield) are not actually transferred to devotion target. Any idea to fix this?
×
×
  • Create New...