Jump to content

Eross

Members
  • Posts

    340
  • Joined

  • Last visited

Everything posted by Eross

  1. Hi sir .. I thought 2012 is not reading items from iteminfo,lua ?
  2. Hi, I'm using @Rytech's 2012 client. when I tested the item 20316 which is Seraph's Costume. I checked my accname and idres and I found Seraph Wing Helm which is weird because the client is having error yet I have the required sprite codes. The error of missing file also different on the sprite's name, it should be looking for "_Áöõ»ç³¯°³Åõ±¸" not on the image below. Please help thankyou accname.lubaccessoryid.lubidnum2itemresnametable.txt EDIT: I SOLVED THIS PROBLEM BY ADDING HEADGEAR VIEW ID ON NEMO
  3. Is there any way to delete it, ive already tried editing the ExternalSettings_kr.lub and externalsettings_kr.lub but nothing happend ..Im using ragexe 20151104
  4. sir here's the accname of that item [ACCESSORY_IDs.ACCESSORY_Seraph_Wing_Helm] = "_Áöõ»ç³¯°³Åõ±¸",
  5. Hi, Im not sure if this is the right section but i need help guys. Im using client 2012 version, and i tested item 20316 which is Seraph wing helm ..then ive got an error message looking for .act and .spr file, ive already added seraph's sprite on my grf "Áöõ»ç³¯°³Åõ±¸" ..I dont understand why its looking for sigh.spr and act.spr ..Please helo
  6. Hi guys, can you help me on Hunting Mission script by @Euphy? This npc originally give you 1 quest and then starts the countdown timer before you get another. What I need is to make it : able to give you 3 quest in a row and then after finishing 3 quest then the timer will start ticking instead of ticking every after finishing 1 quest . Thankyou //===== rAthena Script ======================================= //= Hunting Missions //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Random hunting missions. //= Rewards are based on quest difficulty. //= //= NOTE: Requires SQL mob database. //===== 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.3b Function updates. //= 1.4 Check for deleted characters, thanks to AnnieRuru. //= Syntax updates and style cleaning. //============================================================ prontera,152,187,6 script Hunting Missions 4_F_EDEN_MASTER,{ function Chk; 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 ET_HUK; next; callsub Mission_Info; emotion ET_GO; #Mission_Delay = 1; close; } mes F_Rand("Working hard, as always...", "Not slacking, I hope..."); mes "Is there anything I can help"; mes "you with?"; mes " "; mes "^777777~ You've completed " + F_InsertPlural(Mission_Total,"mission",0,"^0055FF%d^777777 %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 (#Mission_Count) { mes "You've started a mission"; mes "on another character."; if ([email protected]_char_del_check) { // check for deleted character query_sql("SELECT 1 FROM `char_reg_num` WHERE `key` = 'Mission0' AND `char_id` IN(SELECT `char_id` FROM `char` WHERE `account_id` = " + getcharid(3) + ")", [email protected]); if ([email protected]) { next; mes "[Hunting Missions]"; mes "I can't seem to find any records"; mes "for that character, though..."; mes "One moment, please."; emotion ET_SCRATCH; #Mission_Count = 0; } @hm_char_del_check = true; } close; } if (#Mission_Delay > gettimetick(2) && .Delay) { mes "I'm afraid you'll have to wait " + Time2Str(#Mission_Delay) + " 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, [email protected]); for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { setd "Mission" + [email protected], [email protected][[email protected]]; setd "Mission" + [email protected] +"_", 0; } #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 " + F_InsertComma(.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 ET_SORRY; close; } Zeny -= .Reset; emotion ET_MONEY; } mes "[Hunting Missions]"; mes "Alright, I've dropped"; mes "your current mission."; specialeffect2 EF_STORMKICK4; for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { setd "Mission"[email protected], 0; setd "Mission"[email protected]+"_", 0; } #Mission_Count = 0; if (.Reset < 0 && .Delay) #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 ET_SMILE; 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` WHERE `key` = 'Mission_Total' ORDER BY CAST(`value` AS SIGNED) DESC LIMIT 5", [email protected], [email protected]$, [email protected]); for ([email protected] = 0; [email protected] < 5; [email protected]++) mes " [Rank " + ([email protected]+1) + "] " + (([email protected]$[[email protected]] == "") ? "^777777none" : "^0055FF" + [email protected]$[[email protected]]+"^000000 : ^FF0000" + [email protected][[email protected]] + " pt.") + "^000000"; close; case 7: mes "[Hunting Missions]"; mes "Nothing? Okay..."; emotion ET_SCRATCH; close; } end; Mission_Status: @f = false; deletearray [email protected][0], getarraysize([email protected]); for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { [email protected][[email protected]] = getd("Mission" + [email protected]); [email protected][.Quests] = [email protected][.Quests] + strmobinfo(3,[email protected][[email protected]]); [email protected][.Quests+1] = [email protected][.Quests+1] + (strmobinfo(6,[email protected][[email protected]]) / (getbattleflag("base_exp_rate") / 100) * .Modifier[0]); [email protected][.Quests+2] = [email protected][.Quests+2] + (strmobinfo(7,[email protected][[email protected]]) / (getbattleflag("job_exp_rate") / 100) * .Modifier[1]); mes " > "+Chk(getd("Mission"[email protected]+"_"),#Mission_Count) + strmobinfo(1,[email protected][[email protected]]) + " (" + getd("Mission"[email protected]+"_") + "/" + #Mission_Count + ")^000000"; } // Reward formulas: [email protected]_Points = 3 + ([email protected][.Quests] / .Quests / 6); [email protected]_Exp = #Mission_Count * [email protected][.Quests+1] / 5; [email protected]_Exp = #Mission_Count * [email protected][.Quests+2] / 5; [email protected] = #Mission_Count * .Quests * [email protected][[email protected]] * .Modifier[2]; next; mes "[Hunting Missions]"; mes "Mission rewards:"; mes " > Mission Points: ^0055FF" + [email protected]_Points + "^000000"; mes " > Base Experience: ^0055FF" + F_InsertComma([email protected]_Exp) + "^000000"; mes " > Job Experience: ^0055FF" + F_InsertComma([email protected]_Exp) + "^000000"; mes " > Zeny: ^0055FF" + F_InsertComma([email protected]) + "^000000"; if (@f) { @f = false; return; } next; mes "[Hunting Missions]"; mes "Oh, you're done!"; mes "Good work."; mes "Here's your reward."; emotion ET_BEST; specialeffect2 EF_ANGEL; specialeffect2 EF_TRUESIGHT; #Mission_Points += [email protected]_Points; BaseExp += [email protected]_Exp; JobExp += [email protected]_Exp; Zeny += [email protected]; for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { setd "Mission" + [email protected], 0; setd "Mission" + [email protected]+"_", 0; } #Mission_Count = 0; if (.Delay) #Mission_Delay = gettimetick(2) + (.Delay * 3600); Mission_Total++; if (Mission_Total == 1) query_sql("INSERT INTO `char_reg_num` (`char_id`,`key`,`index`,`value`) VALUES (" + getcharid(0) + ",'Mission_Total','0',1)"); else query_sql("UPDATE `char_reg_num` 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"; mes (.Delay ? "every " + ((.Delay == 1) ? "hour." : .Delay + " hours.") : "whenever you want."); mes "That's everything~"; return; function Chk { if (getarg(0) < getarg(1)) { @f = true; return "^FF0000"; } else return "^00FF00"; } OnBuyItem: [email protected] = getarraysize(@bought_nameid); for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { [email protected] = inarray(.Shop, @bought_nameid[[email protected]]); [email protected] += (.Shop[[email protected]+1] * @bought_quantity[[email protected]]); } mes "[Hunting Missions]"; if ([email protected] > #Mission_Points) mes "You don't have enough Mission Points."; else { for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { getitem @bought_nameid[[email protected]], @bought_quantity[[email protected]]; dispbottom "Purchased " + @bought_quantity[[email protected]] + "x " + getitemname(@bought_nameid[[email protected]]) + "."; } #Mission_Points -= [email protected]; mes "Deal completed."; emotion ET_MONEY; } deletearray @bought_nameid[0], [email protected]; deletearray @bought_quantity[0], [email protected]; close; OnNPCKillEvent: if (!getcharid(1) || !.Party) { if (!#Mission_Count || !Mission0) end; for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { if (strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission" + [email protected]))) { if (getd("Mission" + [email protected] + "_") < #Mission_Count) { dispbottom "[Hunting Mission] Killed " + (set(getd("Mission" + [email protected] + "_"),getd("Mission" + [email protected] + "_") + 1)) + " of " + #Mission_Count + " " + strmobinfo(1,killedrid) + "."; end; } } } } else if (.Party) { [email protected] = killedrid; getmapxy([email protected]$,[email protected],[email protected]); getpartymember getcharid(1),1; getpartymember getcharid(1),2; for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { if (isloggedin([email protected][[email protected]], [email protected][[email protected]])) { set [email protected]_Count, getvar(#Mission_Count, [email protected][[email protected]]); set [email protected], getvar(Mission0, [email protected][[email protected]]); set [email protected], readparam(HP, [email protected][[email protected]]); if ([email protected]_Count && [email protected] && [email protected] > 0) { getmapxy([email protected]$,[email protected],[email protected],BL_PC,rid2name([email protected][[email protected]])); if (([email protected]$ == [email protected]$ || .Party == 1) && (distance([email protected],[email protected],[email protected],[email protected]) <= 30 || .Party < 3)) { for ([email protected] = 0; [email protected] < .Quests; [email protected]++) { [email protected]_mob_id = getvar( getd("Mission"[email protected]),[email protected][[email protected]] ); [email protected]_count = getvar( getd("Mission"[email protected]+"_"), [email protected][[email protected]] ); if (strmobinfo(1,[email protected]) == strmobinfo(1,[email protected]_mob_id)) { if ([email protected]_count < [email protected]_Count) { setd "Mission"[email protected]+"_", ([email protected]_count+1), [email protected]artymembercid[[email protected]]; dispbottom "[Hunting Mission] Killed " + ([email protected]_count+1) + " of " + [email protected]_Count + " " + strmobinfo(1,[email protected]) + ".", 0x777777, [email protected][[email protected]]; break; } } } } } } } } end; OnInit: .Delay = 12; // Quest delay, in hours (0 to disable). .Quests = 4; // Number of subquests per mission (increases rewards). .Party = 3; // Party options: 0 (exclude party kills), 1 (include party kills), 2 (same map only), 3 (screen area only) .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; .mob_db$ = // Table name of SQL mob database (checkre(0))?"mob_db_re":"mob_db"; 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; .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 ([email protected] = 0; [email protected] < getarraysize(.Shop); [email protected] += 2) npcshopadditem "mission_shop", .Shop[[email protected]], .Shop[[email protected]+1]; end; } - shop mission_shop -1,512:-1
  7. thankyou so much guys lastly where can i find client files like lua fitted for those ragexe ? like system folders etc?
  8. Hi! Where can I download ragexe 2007 and or older thankyou
  9. How'r ya guys , I would like to request for an NPC that will ask for 3 normal cards (any cards spare you have on your inventory) ..you will put it on npc and the npc will randomly give you 1 new card. For example I have Hydra, Skel Worker and Drops card ... I'll put it on NPC and it will draw a new card as an exchange .thankyou
  10. Hi, is it possible to show how many hours,minutes and seconds left before you can take the quest again ? I set it on 24hours and I want to see how many minutes are left with countdown ...heres my npc script credits to @Emistry and added some lines from hunting mission thanks prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (#Crafting_Delay > gettimetick(2) && .Delay) { set [email protected], #Crafting_Delay-gettimetick(2); if ([email protected] > 3600) set [email protected]$, ([email protected]/3600)+" hour"+((([email protected]/3600) == 1)?"":"s"); else if ([email protected] > 60) set [email protected]$, ([email protected]/60)+" minute"+((([email protected]/60) == 1)?"":"s"); else set [email protected]$, ([email protected])+" second"+(([email protected] == 1)?"":"s"); mes .name$; mes "I'm afraid you'll have to wait ^0055FF"+getd(".Delay")+"^000000 hours before taking another mission."; close; } if (!quest_random) { quest_random = rand(1,3); mes .name$; mes "You have been assigned with a new quest."; next; } switch(quest_random) { case 1: setarray [email protected], 4001, 1; setarray [email protected], 512; setarray [email protected], 100; if (.Delay) set #Crafting_Delay, gettimetick(2)+(.Delay*3600); break; case 2: setarray [email protected], 4002, 1; setarray [email protected], 501, 502, 503; setarray [email protected], 3, 1, 2; if (.Delay) set #Crafting_Delay, gettimetick(2)+(.Delay*3600); break; case 3: setarray [email protected], 4003, 1; setarray [email protected], 512, 503; setarray [email protected], 300, 100; //set #crafting_quest,0; if (.Delay) set #Crafting_Delay, gettimetick(2)+(.Delay*3600); break; default: mes "invalid quest."; close; } mes "Quest Requirement(s):"; [email protected] = getarraysize([email protected]); for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { mes " > "[email protected][[email protected]]+"x "+getitemname([email protected][[email protected]]); if (countitem([email protected][[email protected]]) < [email protected][[email protected]]) [email protected]++; } if ([email protected]) { next; if (select("Submit Quest", "Cancel") == 1) { for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) delitem [email protected][[email protected]], [email protected][[email protected]]; getitem [email protected][0], [email protected][1]; quest_random = 0; } } close; OnInit: set .Delay,24; // Quest delay, in hours (0 to disable). .name$ = "[ ^FF0000Craft Collector^000000 ]"; }
  11. Hi I know this thread is old ..I just sent you a message regarding this @Emistry thankyou
  12. Hi, can I request for a script that ask player to craft items like dyestuff, poison bottle, and other like food and reward him with exp and zeny ? ..GM can add all crating items thru script and it will randomly ask player just 1 item and ads countdown timer for 3 hours to finish the said quest or it will expire and the quest cooldown will be after 24hours... Thankyou
  13. Thankyou for your quick and honest response sir .I will use 2012 then keepsafe
  14. Good day ! I just want to ask and im curious if 2007 is compatible with rathena ?and where can i get complete client side like exe datafiles setup etc ..thankyou
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.