-
Posts
2997 -
Joined
-
Last visited
-
Days Won
72
Community Answers
-
Euphy's post in eAthena to rAthena was marked as the answer
Run all the scripts in the trunk/sql-files/upgrades/ directory, in ascending order.
-
Euphy's post in Downgrade refine NPC was marked as the answer
Replace 'successrefitem' with 'downrefitem' in any refiner script to turn it into a de-refiner. (Or try this.)
-
Euphy's post in Warp NPC to the map for 10+ Guildmates was marked as the answer
// If guild members must be online, uncomment this line. //set .@str$," AND `online` = 1";
set .@gid, getcharid(2);
if (.@gid) {
set .@count, query_sql("SELECT `char_id` FROM `char` WHERE `guild_id` = "+.@gid+.@str$,.@temp);
if (.@count >= 10) {
warp "map",x,y;
end;
}
}
mes "You need at least 10 guild members.";
close;
-
Euphy's post in Another way to duplicate NPC. was marked as the answer
Kenpachi released a source modification for this on eAthena; I'm not certain that it will still work. http://www.eathena.ws/board/index.php?showtopic=270648
-
Euphy's post in Battleground Medals for Cash ( Request Script ) was marked as the answer
setarray .@Badges[0],7773,7829,7828; setarray .@Points[0], 15, 10, 10;
mes "[Badge Trader]";
for(set .@i,0; .@i<getarraysize(.@Badges); set .@i,.@i+1) {
set .@count[.@i],countitem(.@Badges[.@i]);
if (.@count[.@i]) {
delitem .@Badges[.@i],.@count[.@i];
set #CASHPOINTS,#CASHPOINTS+(.@count[.@i]*.@Points[.@i]);
mes "Traded "+.@count[.@i]+" "+getitemname(.@Badges[.@i])+" for "+(.@count[.@i]*.@Points[.@i])+" Cash Points.";
}
}
if (!getarraysize(.@count))
mes "You have no badges.";
close;
-
Euphy's post in How to Enable 3rdJob Class(*Included Oboro job)* On rAthena Version SVN r17185 was marked as the answer
Renewal and all its features, including third jobs, are enabled by default.
trunk/src/config/renewal.h
/// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas #define RENEWALThis file reads all Renewal scripts: trunk/npc/re/scripts_main.confWe don't have the official Oboro quest implemented yet, but it's in the custom job changer along with all other third jobs: trunk/npc/custom/jobmaster.txt
-
Euphy's post in Disable Discount Skill on Multi Currency Shop was marked as the answer
The shops only show a discount, but the prices aren't actually reduced. It's the default behavior of the shop window.
-
Euphy's post in Adding some MOD to Euphy Item Reward Script was marked as the answer
if (getarraysize($itemlog1$) > 127) { deletearray $itemlog1$[0],1;
- deletearray $itemlog2$[0],1; }
+ deletearray $itemlog2$[0],1;
+ deletearray $itemlog3$[0],1; }
setarray $itemlog1$[getarraysize($itemlog1$)],strcharinfo(0);
- setarray $itemlog2$[getarraysize($itemlog2$)],.@name$; }
+ setarray $itemlog2$[getarraysize($itemlog2$)],.@name$;
+ setarray $itemlog3$[getarraysize($itemlog3$)],.@package; }
mes "Reward added.";
next;
...
mes "--------------------------------";
set .@i,0;
while (.@i < getarraysize($itemlog1$)) {
- mes "^B041FF" + $itemlog1$[.@i] + "^000000: sent to ^55AAFF" + $itemlog2$[.@i] + "^000000";
+ mes "^B041FF" + $itemlog1$[.@i] + "^000000: sent Package " + $itemlog3$[.@i] + "to ^55AAFF" + $itemlog2$[.@i] + "^000000";
set .@i, .@i+1; }
next;
goto Log_Menu;
...
deletearray $itemlog1$[0],getarraysize($itemlog1$);
deletearray $itemlog2$[0],getarraysize($itemlog2$);
+ deletearray $itemlog3$[0],getarraysize($itemlog3$);
mes "Logs cleared.";
-
Euphy's post in request teleport skill was marked as the answer
trunk/conf/battle/skill.conf
// Allows players to skip menu when casting Teleport level 1 // Menu contains two options. "Random" and "Cancel"
skip_teleport_lv1_menu: yes
-
Euphy's post in Euphy Woe Controller help was marked as the answer
They're given directly by default. Don't enable bit 2 (mail) in .Options.
setarray .Reward[0],itemID1,amount1,itemID2,amount2,...; -
Euphy's post in Euphy's Script All In One was marked as the answer
This was reported in bugreport:7307, waiting for a core developer to get to it.
-
Euphy's post in Help Script Guild was marked as the answer
if (getcharid(2))
mes "You are already in a guild.";
else {
mes "Input a guild name.";
input .@name$;
atcommand "@guild "+.@name$;
mes "Guild ^FF0000"+.@name$+"^000000 created.";
}
close;
-
Euphy's post in Gender-specific custom item not working.. was marked as the answer
trunk/conf/battle/items.conf
// Can any player equip any item regardless of the gender restrictions // NOTE: Wedding Rings and Whips/Musical Instruments will check gender regardless of setting.
ignore_items_gender: yes
Why this is defaulted to "yes", I have no idea... -
Euphy's post in NPC that gives item to all the online players was marked as the answer
mes "Input item ID:"; input .@item;
if (getitemname(.@item) == "null") {
mes "Invalid ID "+.@item+".";
close;
}
mes "Input quantity:";
input .@count,0,30000;
if (.@count == 0) {
mes "Invalid quantity 0.";
close;
}
set .@j, query_sql("SELECT `account_id` FROM `char` WHERE `online` = 1",.@aid);
for(set .@i,0; .@i<.@j; set .@i,.@i+1)
getitem .@item,.@count,.@aid[.@i];
mes "Gave item "+getitemname(.@item)+" x"+.@count+" to "+.@j+" players.";
close;
-
Euphy's post in How to reset to B/Jlvl all payers? was marked as the answer
You should probably reset some other things, too...
UPDATE `char` SET `base_level` = 1, `job_level` = 1, `base_exp` = 0, `job_exp` = 0, `str` = 5, `agi` = 5, `vit` = 5, `int` = 5, `dex` = 5, `luk` = 5, `status_point` = 0; -
Euphy's post in Euphy's dynamic shop was marked as the answer
...but you didn't add more shop data.- shop qshop6 -1,909:-1 - shop qshop7 -1,909:-1 - shop qshop8 -1,909:-1 - shop qshop9 -1,909:-1 - shop qshop10 -1,909:-1And you'll need to add shop names to the .Shops$ array. -
Euphy's post in Eden Headquarters Catalog Magician was marked as the answer
I moved the NPC to trunk/npc/re/merchants/catalog.txt in r17138.
It was previously located in trunk/npc/merchants/buying_shops.txt.
-
Euphy's post in simple hunting quest error? was marked as the answer
Unexpected end of string.
--> You've ended a string without closing it with quotes.
// Missing quotes. mes "can you do it for me?
-
Euphy's post in Help Job Master was marked as the answer
- if ((.@eac&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE) setarray .@exp[0],roclass(.@eac|EAJL_THIRD),99; - if (Class == Job_Ninja) setarray .@exp[0],.@j1,70; - if (.@exp[0] && .ThirdClass) { + if (Class == Job_Ninja) { + setarray .@exp[0],.@j1,70;
-
Euphy's post in Kill All MVPs was marked as the answer
You basically add a 'killmonster' command to each individual map with an MVP on it. Brian made a script a long time ago, you can find it here: http://subversion.assembla.com/svn/raijero/trunk/npc/custom/unloadnpc.txt