Ink
Members-
Content Count
42 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Ink
-
A huge thank you for working on this. Do you have an idea to fix this issue at its root? Like.. If this is caused by a missing skill requirement, wouldt a simple setting for this prevent it?
-
http://herc.ws/board/tracker/issue-8297-runeknight-loosing-a-skill-point/ Can anyone share a script which reads the "true" skill points, the "actual" skill points, and then add the difference (missing ones) to the player? I think it would be usefull since there seem some more issues with missing skill points in hercules?
-
Bump, Hercules coders, please? (
-
I want to use Euphy's Questshop for my Vote4Point items. I convert the points with a sql query to a variable. here is the modified script //===== rAthena Script =======================================//= Euphy's Quest Shop//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.6c//===== Compatible With: =====================================//= rAthena Project//===== Description: =========================================//= A dynamic quest shop based on Lunar's, with easier config.//= Includes support for multiple shops & cashpoints.//= Item Preview script by ToastOfDoom.//===== Additional Comments: =================================//= 1.0 Initial script.//= 1.2 Added category support.//= 1.3 More options and fixes.//= 1.4 Added debug settings.//= 1.5 Replaced categories with shop IDs.//= 1.6 Added support for purchasing stackables.//= 1.6a Added support for previewing costumes and robes.//= 1.6b Added 'disable_items' command.//= 1.6c Replaced function 'A_An' with "F_InsertArticle".//============================================================ // Shop NPCs -- supplying no argument displays entire menu.// callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}};//============================================================prontera,157,60,6 script Vote Shop#1 91,{ callfunc "qshop"; } // Script Core//============================================================- script quest_shop -1,{ function Add; function Chk; function Slot;OnInit:freeloop(1); // -----------------------------------------------------------// Basic shop settings.// ----------------------------------------------------------- set .Announce,0; // Announce quest completion? (1: yes / 0: no)set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never)set .ShowID,0; // Show item IDs? (1: yes / 0: no)set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no)set .MaxStack,100; // Max number of quest items purchased at one time. // -----------------------------------------------------------// Points variable -- optional quest requirement.// setarray .Points$[0],"<variable name>","<display name>";// ----------------------------------------------------------- setarray .Points$[0],"#VOTEPOINTS","Vote Points"; // -----------------------------------------------------------// Shop IDs -- to add shops, copy dummy data at bottom of file.// setarray .Shops$[1],"<Shop 1>","<Shop 2>"{,...};// ----------------------------------------------------------- setarray .Shops$[1],"Headgears"; // -----------------------------------------------------------// Quest items -- do NOT use a reward item more than once!// Add(<shop ID>,<reward ID>,<reward amount>,// <Zeny cost>,<point cost>,// <required item ID>,<required item amount>{,...});// -----------------------------------------------------------Add(1,29104,1,0,250,512,1);Add(1,29105,1,0,250,512,1);Add(1,29106,1,0,250,512,1);Add(1,29107,1,0,250,512,1);Add(1,29108,1,0,250,512,1);Add(1,29109,1,0,250,512,1);Add(1,29110,1,0,250,512,1);Add(1,29111,1,0,250,512,1);Add(1,29112,1,0,250,512,1);Add(1,29113,1,0,300,512,1);Add(1,29114,1,0,300,512,1);Add(1,29115,1,0,300,512,1);Add(1,29116,1,0,300,512,1);Add(1,29117,1,0,300,512,1);Add(1,29118,1,0,300,512,1);Add(1,29119,1,0,300,512,1);Add(1,29120,1,0,300,512,1); // ----------------------------------------------------------- freeloop(0);set .menu$,"";for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) {set .menu$, .menu$+.Shops$[.@i]+":";npcshopdelitem "qshop"+.@i,909;}end; OnMenu:set .@size, getarraysize(@i);if (!.@size) set .@i, select(.menu$);else if (.@size == 1) set .@i, @i[0];else {for(set .@j,0; .@j<.@size; set .@j,.@j+1)set .@menu$, .@menu$+.Shops$[@i[.@j]]+":";set .@i, @i[select(.@menu$)-1];}deletearray @i[0],getarraysize(@i);if (.Shops$[.@i] == "") {message strcharinfo(0),"An error has occurred.";end;}dispbottom "Select one item at a time.";callshop "qshop"+.@i,1;npcshopattach "qshop"+.@i;end; OnBuyItem:// .@q[] : RewardID, BoughtAmt, RewardAmt, BaseAmt, ReqZeny, ReqPts, { ReqItem, ReqAmt, ... }setarray .@q[0],@bought_nameid[0],((@bought_quantity[0] > .MaxStack)?.MaxStack:@bought_quantity[0]);copyarray .@q[3],getd(".q_"+.@q[0]+"[0]"),getarraysize(getd(".q_"+.@q[0]));set .@q[2],.@q[1]*.@q[3];if (!.@q[2] || .@q[2] > 30000) {message strcharinfo(0),"You can't purchase that many "+getitemname(.@q[0])+".";end;}mes "[Quest Shop]";mes "Reward: ^0055FF"+((.@q[2] > 1)?.@q[2]+"x ":"")+Slot(.@q[0])+"^000000";mes "Requirements:";disable_items;if (.@q[4]) mes " > "+Chk(Zeny,.@q[4]*.@q[1])+(.@q[4]*.@q[1])+" Zeny^000000";if (.@q[5]) mes " > "+Chk(getd(.Points$[0]),.@q[5]*.@q[1])+(.@q[5]*.@q[1])+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+(.@q[5]*.@q[1])+")^000000";if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2)mes " > "+Chk(countitem(.@q[.@i]),.@q[.@i+1]*.@q[1])+((.ShowID)?"{"+.@q[.@i]+"} ":"")+Slot(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+(.@q[.@i+1]*.@q[1])+")^000000";next;setarray @qe[1], getiteminfo(.@q[0],5), getiteminfo(.@q[0],11);if (@qe[2] > 0 && ((@qe[1] & 1) || (@qe[1] & 256) || (@qe[1] & 512) || (@qe[1] & 1024) || (@qe[1] & 2048) || (@qe[1] & 4096) || (@qe[1] & 4) || (@qe[1] & 8192)))set .@preview,1;addtimer 1000, strnpcinfo(0)+"::OnEnd";while(1) {switch(select(" ~ Purchase ^0055FF"+getitemname(.@q[0])+"^000000:"+((.@preview && !@qe[7])?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) {case 1:if (@qe[0]) { mes "[Quest Shop]";mes "You're missing one or more quest requirements.";close;}if (!checkweight(.@q[0],.@q[2])) {mes "[Quest Shop]";mes "^FF0000You need "+(((.@q[2]*getiteminfo(.@q[0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000";close;}if (.@q[4]) set Zeny, Zeny-(.@q[4]*.@q[1]);if (.@q[5]) setd .Points$[0], getd(.Points$[0])-(.@q[5]*.@q[1]);if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2)delitem .@q[.@i],.@q[.@i+1]*.@q[1];getitem .@q[0],.@q[2];if (.Announce) announce strcharinfo(0)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):callfunc("F_InsertArticle",getitemname(.@q[0])))+"!",0;specialeffect2 EF_FLOWERLEAF;close;case 2:setarray @qe[3], getlook(LOOK_HEAD_BOTTOM), getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), getlook(LOOK_ROBE), 1;if ((@qe[1] & 1) || (@qe[1] & 4096)) changelook LOOK_HEAD_BOTTOM, @qe[2];else if ((@qe[1] & 256) || (@qe[1] & 1024)) changelook LOOK_HEAD_TOP, @qe[2];else if ((@qe[1] & 512) || (@qe[1] & 2048)) changelook LOOK_HEAD_MID, @qe[2];else if ((@qe[1] & 4) || (@qe[1] & 8192)) changelook LOOK_ROBE, @qe[2];break;case 3:close;}} OnEnd:if (@qe[7]) {changelook LOOK_HEAD_BOTTOM, @qe[3];changelook LOOK_HEAD_TOP, @qe[4];changelook LOOK_HEAD_MID, @qe[5];changelook LOOK_ROBE, @qe[6];}deletearray @qe[0],8;end; function Add {if (getitemname(getarg(1)) == "null") {debugmes "Quest reward #"+getarg(1)+" invalid (skipped).";return;}setarray .@j[0],getarg(2),getarg(3),getarg(4);for(set .@i,5; .@i<getargcount(); set .@i,.@i+2) {if (getitemname(getarg(.@i)) == "null") {debugmes "Quest requirement #"+getarg(.@i)+" invalid (skipped).";return;} elsesetarray .@j[.@i-2],getarg(.@i),getarg(.@i+1);}copyarray getd(".q_"+getarg(1)+"[0]"),.@j[0],getarraysize(.@j);npcshopadditem "qshop"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0);return;} function Chk {if (getarg(0) < getarg(1)) {set @qe[0],1;return "^FF0000";} elsereturn "^00FF00";} function Slot {set .@s$,getitemname(getarg(0));switch(.ShowSlot) {case 1: if (!getitemslots(getarg(0))) return .@s$;case 2: if (getiteminfo(getarg(0),2) == 4 || getiteminfo(getarg(0),2) == 5) return .@s$+" ["+getitemslots(getarg(0))+"]";default: return .@s$;}}} function script qshop {deletearray @i[0],getarraysize(@i);for(set .@i,0; .@i<getargcount(); set .@i,.@i+1)set @i[.@i],getarg(.@i);doevent "quest_shop::OnMenu";end;} // Dummy shop data -- copy as needed.//============================================================- shop qshop1 -1,909:-1- shop qshop2 -1,909:-1- shop qshop3 -1,909:-1- shop qshop4 -1,909:-1 But the npc offers jellopy only... also i want the Add(<shop ID>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>, modified. right now i need to make it Add(1,29104,1,0,250,512,1); because it gives a debug message and doesnt load if i do it like (without item requirements) Add(1,29104,1,0,250); orAdd(1,29104,1,0,250,0,0);
-
Thank you. Yes it was the novending flag
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
1. i added afk.c to src/plugins/afk.c and changed int afk_timeout = 720; 2. i added it to makefile.in MYPLUGINS = sendmail afk 3. i added it to conf/plugins.conf //====================================================//= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ '__/ __| | | | |/ _ / __|//= | | | | __/ | | (__| |_| | | __/__ //= _| |_/___|_| ___|__,_|_|___||___///= //= http://herc.ws/board/ //====================================================//== Topic Discussion ================================//== http://herc.ws/board/topic/549-introducing-hercules-plugin-manager///====================================================//== Description =====================================//The plugin system allows you to create customized scripts //outside of the source. These scripts won't conflict with any //future source updates - think of it as a /conf/import/ for the source. //==================================================== /* --------------- Format ---------------After you have listed your plugin(s) in "quotations", you need to put in a comma, to separate the plugins.-----------------------------------------plugins_list: [ "example", "other", "sendmail", "afk",]-----------------------------------------Please note that your scripts need to be savedin the .c (source code) extension and placed in the /src/plugin/ folder.-----------------------------------------*/plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ //"HPMHooking", //"db2sql", //"sample", //"other", "sendmail", "afk",] Afterwards i recompiled, and started the server. (The sendmail plugin works fine btw). It's saying @afk is not allowed on this map on all maps (
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
With checkquest it just gives you rough crystals over and over (i added the items already). I skipped the source part yet
-
Can someone convert this? https://github.com/rathena/rathena/blob/master/npc/re/quests/newgears/2012_headgears.txt http://irowiki.org/wiki/Eden_Group_Crystal_Synthesis
-
it's saying @afk is not allowed in this map no matter where i try q,q
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
//===== Hercules Script ======================================//= Hunting Missions//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.4a//===== Description: =========================================//= Random hunting missions.//= Rewards are based on quest difficulty.//===== Additional Comments: =================================//= 1.0 Initial script.//= 1.1 Small improvements and fixes.//= 1.2 Added party support and replaced blacklists with an//= SQL query, both thanks to AnnieRuru.//= 1.3 Re-added a blacklist adapted for the SQL query.//= 1.3a Added mission reset options.//= 1.4 Fix ranking table using new SQL database [ossi0110]//= 1.4a Fix a bug when a character has deleted, that account//= can't do mission. [AnnieRuru]//============================================================ prontera,152,187,6 script Hunting Missions 4_F_EDEN_MASTER,{function Chk; function Cm;mes "[Hunting Missions]";mes "Hello, "+strcharinfo(0)+"!";if (!#Mission_Delay) {next;mes "[Hunting Missions]";mes "I can't find any records...";mes "You must be new here!";emotion e_omg;next;callsub Mission_Info;emotion e_go;set #Mission_Delay,1;close;}mes rand(2)?"Working hard, as always...":"Not slacking, I hope...";mes "Is there anything I can help";mes "you with?";mes " ";mes "^777777~ You've completed ^0055FF"+Mission_Total+"^777777 mission"+((Mission_Total == 1)?"":"s")+". ~^000000";next;switch(select(((!Mission0)?" ~ New Mission::":": ~ Mission Status: ~ Abandon Mission")+": ~ Information: ~ Mission Shop: ~ View Top Hunters: ~ ^777777Cancel^000000")) {case 1:mes "[Hunting Missions]";if ( query_sql( "SELECT 1 FROM `char_reg_num_db` WHERE `key` = 'Mission0' AND `char_id` IN ( SELECT `char_id` FROM `char` WHERE `account_id` = "+ getcharid(3) +" )", .@dummy ) && #Mission_Count ) {mes "You've started a mission";mes "on another character.";close;}if (#Mission_Delay > gettimetick(2) && .Delay) {set .@i, #Mission_Delay-gettimetick(2);if (.@i > 3600) set .@j$, (.@i/3600)+" hour"+(((.@i/3600) == 1)?"":"s");else if (.@i > 60) set .@j$, (.@i/60)+" minute"+(((.@i/60) == 1)?"":"s");else set .@j$, (.@i)+" second"+((.@i == 1)?"":"s");mes "I'm afraid you'll have to wait "+.@j$+" before taking another mission.";close;}mes "You must hunt:";query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND ~Mode & 32 AND EXP > 0 AND MVP1id = 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 AND instr('"+.Blacklist$+"',ID) = 0 ORDER BY rand() LIMIT "+.Quests, .@mob);for (set .@i,0; .@i<.Quests; set .@i,.@i+1) {setd "Mission"+.@i, .@mob[.@i];setd "Mission"+.@i +"_",0;}set #Mission_Count, rand(.Count[0],.Count[1]);callsub Mission_Status;next;mes "[Hunting Missions]";mes "Report back when";mes "you've finished.";mes "Good luck!";close;case 2:mes "[Hunting Missions]";mes "Mission status:";callsub Mission_Status;close;case 3:mes "[Hunting Missions]";mes "Do you really want to";mes "abandon your mission?";if (.Reset < 0 && .Delay)mes "Your delay time will not be reset.";else if (.Reset > 0)mes "It will cost "+Cm(.Reset)+" Zeny.";next;switch(select(" ~ Abandon...: ~ ^777777Cancel^000000")) {case 1:if (.Reset > 0) {if (Zeny < .Reset) {mes "[Hunting Missions]";mes "You don't have enough";mes "Zeny to drop this mission.";emotion e_sry;close;}Zeny -= .Reset;emotion e_cash;}mes "[Hunting Missions]";mes "Alright, I've dropped";mes "your current mission.";specialeffect2 EF_STORMKICK4;for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {setd "Mission"+.@i,0;setd "Mission"+.@i+"_",0;}set #Mission_Count,0;if (.Reset < 0 && .Delay) set #Mission_Delay, gettimetick(2)+(.Delay*3600);close;case 2:mes "[Hunting Missions]";mes "I knew you were kidding!";mes "Keep up the good work.";emotion e_heh;close;}case 4:callsub Mission_Info;close;case 5:mes "[Hunting Missions]";mes "You have ^0055FF"+#Mission_Points+"^000000 Mission Points.";mes "Use them well!";callshop "mission_shop",1;npcshopattach "mission_shop";end;case 6:mes "[Hunting Missions]";mes "The top hunters are:";query_sql("SELECT char_id AS id, (SELECT `name` FROM `char` WHERE char_id = id),`value` FROM `char_reg_num_db` WHERE `key` = 'Mission_Total' ORDER BY `value` DESC LIMIT 5",.@id,.@name$,.@val);for(set .@i,0; .@i<5; set .@i,.@i+1)mes " [Rank "+(.@i+1)+"] "+((.@name$[.@i] == "")?"^777777none":"^0055FF"+.@name$[.@i]+"^000000 : ^FF0000"+.@val[.@i]+" pt.")+"^000000";close;case 7:mes "[Hunting Missions]";mes "Nothing? Okay...";emotion e_hmm;close;} Mission_Status:set @f,0;deletearray .@j[0], getarraysize(.@j);for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {set .@j[.@i], getd("Mission"+.@i);set .@j[.Quests], .@j[.Quests]+strmobinfo(3,.@j[.@i]);set .@j[.Quests+1], .@j[.Quests+1]+(strmobinfo(6,.@j[.@i])/(getbattleflag("base_exp_rate")/100)*.Modifier[0]);set .@j[.Quests+2], .@j[.Quests+2]+(strmobinfo(7,.@j[.@i])/(getbattleflag("job_exp_rate")/100)*.Modifier[1]);mes " > "+Chk(getd("Mission"+.@i+"_"),#Mission_Count)+strmobinfo(1,.@j[.@i])+" ("+getd("Mission"+.@i+"_")+"/"+#Mission_Count+")^000000";} // Reward formulas:set .@Mission_Points, 3+(.@j[.Quests]/.Quests/6);set .@Base_Exp, #Mission_Count*.@j[.Quests+1]/5;set .@Job_Exp, #Mission_Count*.@j[.Quests+2]/5;set .@zeny, #Mission_Count*.Quests*.@j[.@i]*.Modifier[2]; next;mes "[Hunting Missions]";mes "Mission rewards:";mes " > Mission Points: ^0055FF"+.@Mission_Points+"^000000";mes " > Base Experience: ^0055FF"+Cm(.@Base_Exp)+"^000000";mes " > Job Experience: ^0055FF"+Cm(.@Job_Exp)+"^000000";mes " > Zeny: ^0055FF"+Cm(.@zeny)+"^000000";if (@f) { set @f,0; return; }next;mes "[Hunting Missions]";mes "Oh, you're done!";mes "Good work.";mes "Here's your reward.";emotion e_no1;specialeffect2 EF_ANGEL;specialeffect2 EF_TRUESIGHT;set #Mission_Points, #Mission_Points+.@Mission_Points;set BaseExp, BaseExp+.@Base_Exp;set JobExp, JobExp+.@Job_Exp;Zeny += .@zeny;for(set .@i,0; .@i<.Quests; set .@i,.@i+1) {setd "Mission"+.@i,0;setd "Mission"+.@i+"_",0;}set #Mission_Count,0;if (.Delay) set #Mission_Delay, gettimetick(2)+(.Delay*3600);set Mission_Total, Mission_Total+1;if (Mission_Total == 1) query_sql("INSERT INTO `char_reg_num_db` (`char_id`,`key`,`index`,`value`) VALUES ("+getcharid(0)+",'Mission_Total','0',1)");else query_sql("UPDATE `char_reg_num_db` SET `value` = "+Mission_Total+" WHERE `char_id` = "+getcharid(0)+" AND `key` = 'Mission_Total'");close; Mission_Info:mes "[Hunting Missions]";mes "If you so choose, I can assign";mes "you a random hunting quest.";mes "Some are easier than others, but";mes "the rewards increase with difficulty.";next;mes "[Hunting Missions]";mes "Missions points are shared";mes "amongst all your characters.";if (.Delay) mes "Delay time is, too.";mes "You can't take missions on";mes "multiple characters at once.";next;mes "[Hunting Missions]";mes "You can start a quest";if (.Delay) mes "every "+((.Delay == 1)?"hour.":.Delay+" hours.");else mes "whenever you want.";mes "That's everything~";return; function Chk {if (getarg(0) < getarg(1)) { set @f,1; return "^FF0000"; }else return "^00FF00"; } function Cm {set .@str$, getarg(0);for(set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)set .@str$, insertchar(.@str$,",",.@i);return .@str$; } OnBuyItem:set @cost,0;for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1)for(set .@j,0; .@j<getarraysize(.Shop); set .@j,.@j+2)if (@bought_nameid[.@i] == .Shop[.@j]) {set @cost, @cost+(.Shop[.@j+1]*@bought_quantity[.@i]);break;}mes "[Hunting Missions]";if (@cost > #Mission_Points) mes "You don't have enough Mission Points.";else {for(set .@i,0; .@i<getarraysize(@bought_nameid); set .@i,.@i+1) {getitem @bought_nameid[.@i], @bought_quantity[.@i];dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+".";}set #Mission_Points, #Mission_Points-@cost;mes "Deal completed.";emotion e_cash;}set @cost,0;deletearray @bought_nameid[0], getarraysize(@bought_nameid);deletearray @bought_quantity[0], getarraysize(@bought_quantity);close; OnNPCKillEvent:if (!getcharid(1) || !.Party) {if (!#Mission_Count || !Mission0) end;for (set .@i, 0; .@i<.Quests; set .@i,.@i+1) {if (strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission"+.@i))) {if (getd("Mission"+.@i+"_") < #Mission_Count) {dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@i+"_"),getd("Mission"+.@i+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,killedrid)+".";end;}}}} else if (.Party) {set .@mob, killedrid;getmapxy(.@map1$,.@x1,.@y1,0);getpartymember getcharid(1),1;getpartymember getcharid(1),2;for(set .@i,0; .@i<$@partymembercount; set .@i,.@i+1) {if (isloggedin($@partymemberaid[.@i], $@partymembercid[.@i])) {attachrid $@partymemberaid[.@i];if (#Mission_Count && Mission0 && Hp > 0) {getmapxy(.@map2$,.@x2,.@y2,0);if ((.@map1$ == .@map2$ || .Party == 1) && (distance(.@x1,.@y1,.@x2,.@y2) <= 30 || .Party < 3)) {for(set .@j,0; .@j<.Quests; set .@j,.@j+1) {if (strmobinfo(1,.@mob) == strmobinfo(1,getd("Mission"+.@j))) {if (getd("Mission"+.@j+"_") < #Mission_Count) {dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@j+"_"),getd("Mission"+.@j+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,.@mob)+".";break;}}}}}}}}end; OnInit:set .Delay,12; // Quest delay, in hours (0 to disable).set .Quests,4; // Number of subquests per mission (increases rewards).set .Party,3; // Party options: 0 (exclude party kills), 1 (include party kills), 2 (same map only), 3 (screen area only)set .Reset,-1; // Reset options: -1 (abandoning mission sets delay time), 0 (no delay time), [Zeny] (cost to abandon mission, no delay time)setarray .Count[0], // Min and max monsters per subquest (increases rewards).40,70;setarray .Modifier[0], // Multipliers for Base Exp, Job Exp, and Zeny rewards.getbattleflag("base_exp_rate")/100,getbattleflag("job_exp_rate")/100,60;setarray .Shop[0], // Reward items: <ID>,<point cost> (about 10~20 points per hunt).512,1,513,1,514,1,538,5,539,5,558,10,561,10;set .Blacklist$, // Blacklisted mob IDs."1062,1088,1183,1186,1200,1212,1220,1221,1234,1235,"+"1244,1245,1250,1268,1290,1293,1294,1296,1298,1299,"+"1300,1301,1303,1304,1305,1306,1308,1309,1311,1313,"+"1515,1588,1618,1676,1677,1678,1679,1796,1797,1974,"+"1975,1976,1977,1978,1979"; npcshopdelitem "mission_shop",512;for(set .@i,0; .@i<getarraysize(.Shop); set .@i,.@i+2)npcshopadditem "mission_shop", .Shop[.@i], .Shop[.@i+1];end;}- shop mission_shop -1,512:-1 I use latest herc version and made no changes to the script yet. Problem is, in the mission shop it only charges you 1 mission point (even Apple should cost more). I coudn't check yet if "discount" skill is ignored since it only charges one point. I hope you can fix this :>
-
map works but after replacing the the default 3rd job aura the waterfall in the centre was bugged
-
gvg King of Emperium Hill
Ink replied to AnnieRuru's topic in PvP, WoE, GvG, & Battleground Releases
with git or svn right click apply patch but: diff patch for battle.h could not be applied? also i couldnt find the lines where it is supposed to be added in battle.h it says 1 failed hunk -
I tried to install it, but when i share my stats, the link on facebook contains nothing but the image (logo.png) npc: config.php the $port was // disabeld, i tried it with and without port, with " and without. I can't figure whats wrong q.q (root is generic username,) (ip of the server, password and database are correct and tripple checked) the website can access the db for the server online/offline check, so this should work as well?
-
Hello, i wanna use http://rathena.org/board/files/file/2962-refine-function/ emistry's refiner. I get a bit confused about the setting 1. is it test if this refiner works on hercules latest rev? 2. can anybody make it for me so it is like the official refiner (chances and stuff) like an all in 1 refiner 3. I wanna add a "refine to save" option 4. I wanna add a "refine all items to save" 5. I wanna add a refine all same items to X Thank you
-
hello, I'm using 2013-08-07 Client. In the party booking tab, the search is restricted to max lvl 150. But on my server max level is 175. I couldn't find anything about this. Is this hard coded in the client or something in the source? Fast help is really appreciated!