Jump to content

Meister

Members
  • Posts

    841
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Meister

  1. I've tried everything. I've edited some at Old Man to somehow let it work. But the Weaponry Test. It doesn't work After everything I have the items for example. And choosing melting iron. Nothing happens.
  2. //===== rAthena Script ====================================== //= Kagerou/Oboro Job Change Quest //===== By: ================================================== //= M45T3R, Dastgir Pojee //===== Current Version: ===================================== //= 1.1 //===== Description: ========================================= //= Test of Weaponary KO //===== Additional Comments: ================================= //= 1.0 Extracted from iRO(Official?) [M45T3R]/[Dastgir Pojee] //= 1.1 Fixed Many Errors. [Dastgir Pojee] //============================================================ job_ko,117,128,0 script Drawer#ko 999,{ //Sprite ID Needed. mes "There is some kind of device on the drawer."; switch(select("Stop.:Try to operate it.")){ case 1: close; case 2: mes "Clank clunk clink"; next; warp "amatsu",147,136; end; } OnEffect: misceffect 191; end; } job_ko,127,125,1 script Red Leopard Joe#ko 999,{ //Sprite ID Needed if (checkquest(5145)==1){ mes "[Red Leopard Joe]"; mes "Did you get a successful result?"; switch(select("Not yet.:Here it is.:Actually")){ case 1: next; mes "[Red Leopard Joe]"; mes "It isn't easy to get a satisfactory result at first."; close; case 2: next; mes "[Red Leopard Joe]"; mes "You've lost the weapon even with my warning."; mes "Nothing else we can do. Wait!"; next; mes "[Red Leopard Joe]"; mes "Red Leopard Joe mumbles something and suddenly all weapons are unequipped."; if(countitem(13074))mes "What is this? You still have the prototype. Stop playing around."; else{erasequest 5143; erasequest 5145; close;} //Needs Dialog close; case 3: mes "[Red Leopard Joe]"; mes "Looks like you've got some results."; next; if (!isequipped(13074)){mes "[Red Leopard Joe]"; mes "Hmm? But you didn't equip the weapon you were going to show me."; close;} mes "[Red Leopard Joe]"; mes "Looks like you've got some results."; next; mes "[Red Leopard Joe]"; mes "Is that weapon yours? Let me have a look."; next; mes "[Red Leopard Joe]"; mes "Joe took a thorough look at the seal."; next; if(getrefine()<7){ mes "[Red Leopard Joe]"; mes "Are you that low?"; mes "I've must have misjudged you. You might have been satisfied yourself but I'm not. Do it again!!"; close; } else if(getrefine()>=7){ set @refine,getrefine(); mes "[Red Leopard Joe]"; mes "Hmm... Is this your limit?"; mes "You've just made it that close to passing. I will ask one more time, are you satisfied?"; switch(select("Yes:No")){ case 2: next; mes "You're still here. Why?"; close; case 1: next; mes "[Red Leopard Joe]"; mes "Your competence is enough."; next; mes "[Red Leopard Joe]"; mes "I can feel it."; next; mes "[Red Leopard Joe]"; mes "I will take this weapon to give it some finishing touches"; next; unequip 3; if(!countitem2(13074,1,0,@refine,0,0,0,0)){mes "Remove any extra cards inserted on it"; close;} delitem2 13074,1,0,@refine,0,0,0,0,0; erasequest 5145; erasequest 5138; erasequest 5143; set KO_QWC,1; set KO_QWCC,1; if (KO_QKCC == 1 && KO_QSCC == 1 || KO_QKCC == 1 && KO_QWCC == 1 || KO_QSCC == 1 && KO_QKCC == 1 || KO_QSCC == 1 && KO_QWCC == 1 || KO_QWCC == 1 && KO_QSCC == 1 || KO_QWCC == 1 && KO_QKCC == 1) set KOLQ,"Weaponary"; set KOHS,KOHS+1; mes "[Red Leopard Joe]"; mes "'"+strcharinfo(0)+"'"; mes "Passed the weapon test!!"; close; } } } } else if (checkquest(5143)==1){ mes "[Red Leopard Joe]"; mes "Are you done making the prototype of the new weapons?"; switch(select("Crafting Tools?:I don't have enough materials:How do you expect me to make a weapon?:Yes, I'm done.")){ case 1: next; misceffect 191; mes "[Red Leopard Joe]"; mes "Feel free to use tools from there and"; next; misceffect 191; mes "[Red Leopard Joe]"; mes "there"; next; mes "[Red Leopard Joe]"; mes "and anything else you can use"; close; case 2: next; mes "[Red Leopard Joe]"; mes "Are you done making the prototype of the new weapons?"; next; mes "[Red Leopard Joe]"; mes "You haven't brought enough materials?"; next; mes "[Red Leopard Joe]"; //donpcevent "Drawer#ko::OnEffect"; //Should be here. mes "Then we'll have to pay a visit to the village. Try the drawer over there. It'll take you to the village."; donpcevent "Drawer#ko::OnEffect"; close; case 3: next; mes "[Red Leopard Joe]"; mes "Hmm... Guess I expected too much? Let me explain."; next; mes "[Red Leopard Joe]"; mes "You first have to melt the ore to use for the weapon. And the best way to get high purity metal is to melt materials that are of the same kind."; mes "For example, Iron Ore, Iron, and Steel are of similar property so you can get a high purity metal out of them."; next; mes "[Red Leopard Joe]"; mes "Once you've melted a high purity metal, pour it in a mold to get the shape of the weapon and then make it firm through grinding and tempering."; next; mes "[Red Leopard Joe]"; mes "By the way, you will get the best results by thoroughly rotating, grinding and tempering."; next; mes "[Red Leopard Joe]"; mes "I think this is enough to get you started, don't you think? Now go and work on that prototype!!"; close; case 4: mes "[Red Leopard Joe]"; mes "Hmm... Interesting... Is it a dagger in a shape of a Kunai?"; next; mes "[Red Leopard Joe]"; mes "Very creative. I do see room for improvement but the weapon itself may come out useful after smoothing it out a bit."; next; mes "[Red Leopard Joe]"; mes "Good. I think you are ready."; mes "Now it's time to upgrade?"; next; mes "[Red Leopard Joe]"; mes "There are refinement tools on both sides of me. Use those to refine a weapon and come back."; next; mes "[Red Leopard Joe]"; mes "I created the refinement tools myself with great effort so you won't have any trouble using them."; setquest 5145; //Prototype-(3) mes "Ah... But just in case,"; mes "^ee1313be careful not to cause trouble by showing these to blacksmiths outside of here.^ee1313"; close; } }else if (checkquest(5142)==1){ mes "Are you done making the prototype of the new weapons?"; switch(select("Crafting tools?:I don't have enough meterials.:How do you expect me to make a weapon?")){ case 1: next; misceffect 191; mes "[Red Leopard Joe]"; mes "Feel free to use tools from there and"; next; misceffect 191; mes "[Red Leopard Joe]"; mes "there"; next; mes "[Red Leopard Joe]"; mes "and anything else you can use"; close; case 2: next; mes "[Red Leopard Joe]"; mes "Are you done making the prototype of the new weapons?"; next; mes "[Red Leopard Joe]"; mes "You haven't brought enough materials?"; next; mes "[Red Leopard Joe]"; //donpcevent "Drawer#ko::OnEffect"; //Should be here. mes "Then we'll have to pay a visit to the village. Try the drawer over there. It'll take you to the village."; donpcevent "Drawer#ko::OnEffect"; close; case 3: next; mes "[Red Leopard Joe]"; mes "Hmm... Guess I expected too much? Let me explain."; next; mes "[Red Leopard Joe]"; mes "You first have to melt the ore to use for the weapon. And the best way to get high purity metal is to melt materials that are of the same kind."; mes "For example, Iron Ore, Iron, and Steel are of similar property so you can get a high purity metal out of them."; next; mes "[Red Leopard Joe]"; mes "Once you've melted a high purity metal, pour it in a mold to get the shape of the weapon and then make it firm through grinding and tempering."; next; mes "[Red Leopard Joe]"; mes "By the way, you will get the best results by thoroughly rotating, grinding and tempering."; next; mes "[Red Leopard Joe]"; mes "I think this is enough to get you started, don't you think? Now go and work on that prototype!!"; close; } } else if (checkquest(5138)==1){ mes "[Red Leopard Joe]"; mes "Been a While"; next; if (select("Long time indeed,Joe.")==1){ mes "[Red Leopard Joe]"; mes "You aren't surprised I'm here. Did you meet ^0237FDCougar^0237FD before coming here?"; next; mes "[Red Leopard Joe]"; mes "Don't like it that I'm not the first one you visited but that is not important."; next; mes "[Red Leopard Joe]"; mes "Alright! "+strcharinfo(0); mes "Welcome to the workshop where weapons are created for the family."; next; mes "[Red Leopard Joe]"; mes "Our family has been creating and using unique weapons to serve our secret missions since ancient times."; next; if (select("Really? At Einbroch?")==1){ mes "[Red Leopard Joe]"; mes "Hmm? You are not as slow as I thought you were!"; next; mes "[Red Leopard Joe]"; mes "Yes. Einbroch is known as an industrial city, the city of great blacksmiths create new technology."; next; mes "[Red Leopard Joe]"; mes "My mission is to analyze their technology and report back to the family."; next; mes "[Red Leopard Joe]"; mes "I spoke more than I intended to."; next; mes "[Red Leopard Joe]"; mes "Did you bring enough ^6848B7Iron Ore^6848B7, ^6848B7Iron^6848B7, ^6848B7Steel^6848B7, ^6848B7Phracon^6848B7, ^6848B7Emveretaron^6848B7, ^6848B7Rough Oridecon^6848B7, and ^6848B7Rough Elunium^6848B7?"; next; mes "Let's now create a new prototype weapon."; next; misceffect 191; mes "[Red Leopard Joe]"; mes "Feel free to use tools from here,"; next; misceffect 191; mes "[Red Leopard Joe]"; mes "there"; next; misceffect 191; setquest 5142; //Prototype-(1) mes "[Red Leopard Joe]"; mes "and everywhere else. Now let's begin!!"; close; } } } else{ mes "[Red Leopard Joe]"; mes "Oh, I almost forgot"; mes "Go report the test results to Gion"; next; warp "job_ko",26,104; end; } } job_ko,131,124,1 script Crafting Tools#ko_01 999,{ //Needs Sprite ID if (checkquest(5142)==1){ function KO_WR; function KO_WC; set @percent,0; set @opt,0; set @wtype,0; set @temp,0; set @grind,0; mes "Tool to create weapons."; mes "First need to melt metals like iron and iron ore to use to create a weapon."; next; if (countitem(998) < 10 || countitem(999) < 7 || countitem(1002) < 7 || countitem(1010) < 7 || countitem(1011) < 10 || countitem(756) <10 || countitem(757) < 10){ mes "But you do not have any more metal to melt. Let's try again after getting more metal."; close;} while(1){ set @opt,select("Melt iron ore.:Melt iron.:Melt steel.:Melt phracon.:Melt emveretarcon.:Melt rough oriecon.:Melt rough elunium.:Stop."); KO_WC(@opt); if (@percent>=100) break; } next; mes "Now the metal is melted to use for creating weapons."; next; mes "Next is to make the melted metal firm by pouring it into a mold. Which mold shape will you use?"; set @opt,select("Dagger Mold:Shuriken Mold"); mes "Poured the melted metal into the "+((@opt==1)?"dagger":"shuriken")+" mold."; next; progressbar "0x0449f0",3; //Needs Color Info next; mes "Looks like the metal is taking shape. Now what next?"; set @wtype,select("Grind the Weapon:Temper the weapon"); while(1){ KO_WR(@wtype-1); set @wtype,select("Grind the Weapon:Temper the weapon:Final Touches"); } close; }else{ mes "A crafting tool."; mes "Don't really need it now."; close; } function KO_WC { //Kagerou/Oboro Weapon-Crafting switch(@opt){ case 1: set .@item,1002; case 2: set .@item,998; case 3: set .@item,999; case 4: set .@item,1010; case 5: set .@item,1011; case 6: set .@item,756; case 7: set .@item,757; case 8: close; } if (!countitem(.@item)) {mes "Don't have "+getitemname(.@item); return;} delitem .@item,1; misceffect 302; //NPC Uses Effect 302 mes "Melted "+getitemname(.@item)+" in high temperature."; if (.@item == 1002 || .@item == 1010 || .@item == 999 || .@item == 756){ set @percent,@percent+5; } if (.@item == 998 || .@item == 1011 || .@item == 999 || .@item == 756){ set @percent,@percent+10; } if (.@item == 757){ set @percent,@percent+0;} //Used 100+ And no Result. next; mes "Which metal will be melted next?"; next; return; } function KO_WR { //Kagerou/Oboro Weapon-Refining if (getarg(0)<=1){ if (getarg(0)) set @grind,@grind+1; atcommand "@effect 21"; if (!getarg(0)) set @temp,@temp+1; atcommand "@effect 101"; mes ((getarg(0)==0)?"Ground":"Tempered")+" the weapon"; next; mes "Now what next?"; return; } else if (getarg(0)==2){ set @percent,100-(rand((@grind+1)*10,(@temp+1)*10)); } mes "Start to sharpen the tool using a whetstone for finishing touches."; next; progressbar "0x0449f0",3; //Needs Color Info atcommand "@effect 183"; if (rand(0,100) > @percent){ changequest 5142,5143; //Prototype-(2) if(@opt==2){getitem 13074,1;} //Ninja Cutter else if (@opt==1){getitem 13074,1;} //Needs Info mes "The weapon was created successfully."; mes "Let's take it to Red Leopard Joe."; close; } else{ mes "The weapon was destroyed while doing the finishing touches to it."; next; mes "There must have been something missed while creating the weapon. Very sad this happened but you'll have to start all over again."; close; } return; } } job_ko,121,121,1 script Refinement Tools#ko_01 999,{ if (checkquest(5145)==1){ mes "The equipment starts up with a pleasant vibration."; next; mes "Looks like you can use the tool right away for refinement because it holds a good deal of Elunium and Oridecon within it."; switch(select("Start refining.:Do not start refining.")){ case 2: next; mes "You turned off the tool."; close; case 1: if (!getequipid(3)){ next; mes "Bzzzt"; next; mes "A warning beep comes from the tool."; next; mes "This equipment does not work without an equipped item to refine."; close; } else if (!isequipped(13074)){ next; mes "Wait... this weapon is not a customized one."; next; mes "Why don't you refine this with those hot-headed blacksmiths out there?"; close; } else if (getrefine()<4){ next; mes "Analyzing the weapon."; next; mes "Start refining."; next; progressbar "0x0449f0",1; //Needs Color Info mes "Succeeded in refining."; successrefitem 3; next; mes "You turn off the refinement tool."; close; } else if (getrefine()>10){ //Needs Info Here mes "Cannot Refine More"; close; } else if (getrefine()>3){ next; mes "This is very well refined equipment. Do you want to continue? Refine skill decreases by 1 if refinement fails."; switch(select("Continue.:Stop.")){ case 2: next; mes "You turned off the tool."; close; case 1: next; set @percent,40; if (@percent > rand(1,100)){ mes "Succeeded in refining."; successrefitem 3; break; } else { mes "Failed in refining."; downrefitem 3; mes "Your weapon refinement skill dropped by 1."; } } next; mes "You turn off the refinement tool."; close; } } } else{ mes "This tool helps you refine your weapons automatically. However you won't need this just now."; close; } } //Duplicates. job_ko,129,129,1 duplicate(Crafting Tools#ko_01) Crafting Tools#ko_02 999 job_ko,116,122,1 duplicate(Crafting Tools#ko_01) Crafting Tools#ko_03 999 job_ko,127,121,1 duplicate(Refinement Tools#ko_01) Refinement Tools#ko_02 999 Alright, it's almost done thank you to Emistry. The only problem now is the refine function or the part wherein the item needs to be refined. If anyone can help please do help me thank you.!
  3. I don't see nothing wrong. With a little bump and grind.
  4. Learning how to code skills at the moment and needs tutorial or guide .. For example like this.. -How to add this in battle.c? or rather this.. Ranged physical damage +50% 100% Damage / Melee damage received +30% Is this correct for ranged physical damage? skillratio += 50; or no? Lastly, example if the skill is set to be for 1 minute only. How to time it? do I need to use tick for it?
  5. Alright, I released this to ask a favor to anyone if he/she could try this.. check whether if all skills of the classes can be placed with skill points or just simply using @skillall command. Why? I've tried this client and some of the 3rd class/job skills can't be used. E.G. Rune Knight-Ranger-Guillotine Cross-Genetic (Regular) while Ranger-Guillotine Cross-Genetic (Trans) If you're not having any errors using some skills. If there is. Kindly copy the packets that you're having error with. (You can see it in the console like clif_parse disconnecting blah blah, 3 lengths received) So how to use this? You need to add clientinfo.xml / sci.xml in your data folder with this following details.. Source: http://rathena.org/board/topic/80412-ragexe-support-area/ The diffs applied are: @-Bug Fix 4 Limit Ragexe Filename Check Removing Gravity Ads as well as Serial Translate Client I-IV Ragnarok Icon Disabled rag1 Plain Description Normal Guild Bracket Removed Playtime and Gamegrade Read QuestID2Display Read Msgstringtable Extended PM Box Skip Packet Restore Login Windows Read Data Folder First So yeah. The file is attached. So I'm requesting if anyone can confirm if 3rd job skills can't be placed with skill points. I'm using a fresh SVN directly downloaded from Tortoise. Also attached is a patch for RK-DB-Water together with the packets needed. You just need to edit mmo.h Also you can't see the new Skill if you don't use the new CLIENT. Please give me confirmation or any screenshot will do with regards to the allocation of skills via skill points or @skillall. Kindly test RANGER, GUILLOTINE CROSS, GENETIC. Thank you. Ragexe.rar
  6. Anyone encountered the problem wherein if you use 2013 ragexe. You cannot put any skills in 3rd job regular. But if it is 3rd job trans, there's no problem. - This applies only to 2013 Ragexe but for 2012. everything is nice.. anyone?
  7. kiyaa Worked for me and can use it through hotkeys.
  8. Thou this is solved. I just have questions. Isn't it it set .@setquantity is uselesS? because at getitem you have set it to 1? also. How to add percentage for each?
  9. Link: https://github.com/M45T3Ryu/KO-Proyect KO-Project ========== Add the contents of quest_db.txt to your db/quest_db.txt And load the scripts normally. == Todo Fixing of Old Man NPC Battle Test Block 38(Test of Survival) Check official behavior of Blessed Blocks (You can cancel the dialog.. but idk when the points are added..) Check what happens when LP == 0 || -0 is reached Thanks! so that It can be used
  10. All of the == Todo must be done right? before it can be usable?
  11. Can this be released to public as a quest now?
  12. Requesting a script that would allow player to change their name as long as they have the item 7623 (Coupon) Thanks!
  13. No the default p9. Its the default item that will be given. I want it to be like dynamically changing from.. yggberry, convex mirror with the same percentage.
  14. prontera,155,181,5 script Lotti Girl 100,{ mes "[Lotti Girl]"; mes "It costs "+ .cost[1] +"x "+ getitemname( .cost[0] ) +" to play."; mes " "; for ( .@i = 0; .@i < 20; .@i++ ) mes $lotti_girl_ladder$[.@i]; if ( countitem( .cost[0] ) < .cost[1] ) close; next; if ( select( "Deal me in!", "No way..." ) == 2 ) close; mes "[Lotti Girl]"; while (1) { mes "Here we go..."; delitem .cost[0], .cost[1]; .@rand = rand(.totalchance); .@r = 0; // <-- think you forgot to put this while ( ( .@rand = .@rand - getd( ".p"+ .@r +"[0]" ) ) >= 0 ) .@r++; .@size = getarraysize( getd(".p"+ .@r ) ); for ( .@i = 1; .@i < .@size; .@i += 2 ) getitem getd( ".p"+ .@r +"["+ .@i +"]" ), getd( ".p"+ .@r +"["+( .@i +1 )+"]" ); if ( getd( ".p"+ .@r +"[0]" ) < 50 ) // announce if below 50% chance announce "Congratulations to "+strcharinfo(0)+" for getting "+ .ann$[.@r] +"!", 0; if ( getd( ".p"+ .@r +"[0]" ) < 10 ) { // score the ladder if below 10% chance copyarray $lotti_girl_ladder$[1], $lotti_girl_ladder$[0], 19; $lotti_girl_ladder$ = strcharinfo(0) +" gains "+ .ann$[.@r] +" at "+ gettimestr( "%d/%m/%Y %H:%M %p", 21 ); } mes " "; mes "wanna try again ?"; next; if ( select( "Yes", "No" ) == 2 ) close; mes "[Lotti Girl]"; if ( countitem( .cost[0] ) < .cost[1] ) { mes "it seems you have ran out of "+ getitemname( .cost[0] ); close; } } close; OnInit: // setarray .p1, 70, 501,25; // debugging ... // setarray .p2, 70, 502,1; // setarray .p3, 40, 503,1; // setarray .p4, 40, 504,1; // setarray .p5, 40, 505,1; // setarray .p6, 50, 506,1, 507,1, 508,1, 509,1; // setarray .p7, 25, 512,1; // setarray .p8, 5, 513,1; setarray .p1, 70, 607,25; setarray .p2, 70, 13710,1; setarray .p3, 40, 5471,1; setarray .p4, 40, 5210,1; setarray .p5, 40, 5224,1; setarray .p6, 50, 2357,1, 2524,1, 2421,1, 2115,1; setarray .p7, 25, 2701,1; setarray .p8, 5, 2394,1; setarray .p9, 30+30+60+60+60+50+75+95, 12214,1; // default ... the chance are added up by 100-n% setarray .cost, 7227,300; .total = 9; freeloop 1; .@i = 1; while ( .@i <= .total ) { .totalchance = .totalchance + getd(".p"+ .@i ); .@j = 1; .@size = getarraysize( getd(".p"+ .@i ) ); while ( .@j < .@size ) { .ann$[.@i] = .ann$[.@i] + getd( ".p"+ .@i +"["+( .@j +1 )+"]" ) +"x "+ getitemname( getd( ".p"+ .@i +"["+ .@j +"]" ) ) +( ( .@j == .@size -2 )? "":"," ); // I think Euphy forgotten to make announcement when configuration has set more than 1 items .@j += 2; } .@i++; } freeloop 0; } yeah. The default item is convex mirror box. How to make it a random one. for example the default items are. YGG Box, Convex Mirror Box, ESB and other.. how to set it?
  15. http://richkidherbert.blogspot.com/2011/04/lucky-scrolls-with-boss-cards.html See link. It's all about scrolls giving different items with chance Thank you!
  16. Oh nose. I don't know how to edit IPB things. By chance can you do it for me?
  17. As you can see there's that Recent Bug Hook at the right side of this community boards. Where can I find it? Isn't it used for IP tracker? Can't seem to find the hook for it? Thank you if someone can show me the way! Lol.
  18. applied the diffed and its working great. But can't connect to my test server. No message in console. I used both sci.xml and clientinfo.xml from the format which judas gave.. How to connect?
  19. I only have this quest.. why is that 71,3,3?
  20. Example. If player approaches a NPC and has this particular item. He/she will have a special effect. Visible by the character only.. How to do it? Thank you.
  21. I'll try this thank you. Error: [Error]: Loading NPC file: npc/custom/gamestat.txt script error on npc/custom/gamestat.txt line 24 parse_callfunc: not enough arguments, expected ',' 19 : set .@m,.@time / 60 % 60; 20 : set .@s,.@time % 60; 21 : dispbottom "You have played "+.@d+"d "+.@h+"h "+.@m+"m and "+.@s +"s total."; 22 : end; 23 : OnDaily: * 24 : .@day = atoi( gettimestr("%Y%m%d"')' ); 25 : if( #dailyreward <= .@day ){ 26 : message strcharinfo(0),"You have take the item for today ."; 27 : }else if( @online > gettimetick(2) ){ 28 : message strcharinfo(0),"You must wait 24 hours before re ceiving more items."; 29 : }else{
  22. Hi i'm certain that there was a requested topic that deletes one particular item in the server. example I want to delete 16774 to every player including on their storage.. how will I do it on my sql? or any script? Thank you!
×
×
  • Create New...