Jump to content

eboni001

Members
  • Posts

    327
  • Joined

  • Last visited

Everything posted by eboni001

  1. As title say, i tried many times to add a patch to my attcommand.c but i cant, and the guide in rathena wiki was not helpful at all please somebody make an easy to understand guide.
  2. please somebody help me with this pleaseeee.
  3. Thank you, this was very helpful.
  4. Hello guys how i can make this 2 quest only 1 time per character? Weapons: aldebaran,209,196,4 script Kyojin Whitesmith 600,{ mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Hello ^FF0000 "+strcharinfo(0)+" ^000000"; mes "Are you an owner of a pair of Kyojin Wings?"; next; if (isequipped(8025)) goto L_CONTINUE; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "You dont have a pair of icarus wings equipped."; close; L_CONTINUE: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Which weapon would you like to make?"; mes "Each of them has the potential to give you powers that you can only dream of."; next; switch(select("Kyojin Bow:Kyojin Sword:Kyojin Staff:Kyojin Spear:Kyojin Fist")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Here is what you need, take note of it."; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "1 Pair of Angel Wings"; mes "1 Pair of Devil Wings"; mes "1 Crossbow[3]"; mes "20,000,000 zeny"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Make it now?"; next; switch(select("Yeah !:No Thanks.")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Let me check if you bring all the items."; next; if(countitem(8017) < 1) goto L_notall; if(countitem(8016) < 1) goto L_notall; if(countitem(1711) < 1) goto L_notall; if(Zeny<20000000) goto L_notall; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, let me craft this weapon for you."; delitem 8017,1; delitem 8016,1; delitem 1711,1; set Zeny,zeny - 20000000; next; mes "[^ff0000Some Time After wait for your Kyojin Weapon^000000]"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Here is your Weapon, Enjoy it, Remember you can only make 1 weapon per account!!"; getitem 1745,1; // item reward close; case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Come back when you get ready for it."; close; } case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Here is what you need, take note of it."; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "1 Pair of Angel Wings"; mes "1 Pair of Devil Wings"; mes "1 Ring Pommel Saber[3]"; mes "20,000,000 zeny"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Make it now?"; next; switch(select("Yeah !:No Thanks.")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Let me check if you bring all the items."; next; if(countitem(8017) < 1) goto L_notall; if(countitem(8016) < 1) goto L_notall; if(countitem(1125) < 1) goto L_notall; if(Zeny<20000000) goto L_notall; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, let me craft this weapon for you."; delitem 8017,1; delitem 8016,1; delitem 1125,1; set Zeny,zeny - 20000000; next; mes "[^ff0000Some Time After wait for your Kyojin Weapon^000000]"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Here is your Weapon, Enjoy it, Remember you can only make 1 weapon per account!!"; getitem 1148,1; // item reward close; case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Come back when you get ready for it."; close; } case 3: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Here is what you need, take note of it."; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "1 Pair of Angel Wings"; mes "1 Pair of Devil Wings"; mes "1 Staff[3]"; mes "20,000,000 zeny"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Make it now?"; next; switch(select("Yeah !:No Thanks.")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Let me check if you bring all the items."; next; if(countitem(8017) < 1) goto L_notall; if(countitem(8016) < 1) goto L_notall; if(countitem(1608) < 1) goto L_notall; if(Zeny<20000000) goto L_notall; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, let me craft this weapon for you."; delitem 8017,1; delitem 8016,1; delitem 1608,1; set Zeny,zeny - 20000000; next; mes "[^ff0000Some Time After wait for your Kyojin Weapon^000000]"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Here is your Weapon, Enjoy it, Remember you can only make 1 weapon per account!!"; getitem 1648,1; // item reward close; case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Come back when you get ready for it."; close; } case 4: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Here is what you need, take note of it."; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "1 Pair of Angel Wings"; mes "1 Pair of Devil Wings"; mes "1 Spear[3]"; mes "20,000,000 zeny"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Make it now?"; next; switch(select("Yeah !:No Thanks.")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Let me check if you bring all the items."; next; if(countitem(8017) < 1) goto L_notall; if(countitem(8016) < 1) goto L_notall; if(countitem(1404) < 1) goto L_notall; if(Zeny<20000000) goto L_notall; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, let me craft this weapon for you."; delitem 8017,1; delitem 8016,1; delitem 1404,1; set Zeny,zeny - 20000000; next; mes "[^ff0000Some Time After wait for your Kyojin Weapon^000000]"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Here is your Weapon, Enjoy it, Remember you can only make 1 weapon per account!!"; getitem 1470,1; // item reward close; case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Come back when you get ready for it."; close; } case 5: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Here is what you need, take note of it."; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "1 Pair of Angel Wings"; mes "1 Pair of Devil Wings"; mes "1 Studded Knuckles[3]"; mes "20,000,000 zeny"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Make it now?"; next; switch(select("Yeah !:No Thanks.")) { case 1: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Let me check if you bring all the items."; next; if(countitem(8017) < 1) goto L_notall; if(countitem(8016) < 1) goto L_notall; if(countitem(1806) < 1) goto L_notall; if(Zeny<20000000) goto L_notall; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, let me craft this weapon for you."; delitem 8017,1; delitem 8016,1; delitem 1806,1; set Zeny,zeny - 20000000; next; mes "[^ff0000Some Time After wait for your Kyojin Weapon^000000]"; next; mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Here is your Weapon, Enjoy it, Remember you can only make 1 weapon per account!!"; getitem 1830,1; // item reward close; case 2: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Ok, Come back when you get ready for it."; close; } L_notall: mes "[^0000ff Kyojin Whitesmith ^000000]"; mes "Oops, it seems like you forgot any of the requirements."; } end; } Headgears: Note: with this npc i have a problem when somebody talk him and press cancel the cuttin remains there, can somebody fix that please? thank you. louyang,276,113,1 script Kakashi#1::KKS 658,{ cutin "kakashi_01",2; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Hello Young!"; mes "I was too busy reading my books when Tsunade Sama sent Iruka to a Class A Mission."; mes "Now I have to make his job helping childs like you to become a genin."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Hhmm, what should I do now?"; mes "Aah, I can help you to get your Headprotector as soon as possible, so I can keep reading."; mes "You can choose 1 of 6 Headprotectors to become a genin."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Can you tell me of which headprotector would you like to get??"; switch(select(" Fire: Water: Earth: Wind: Lightning: Sound: Hhmm, I'm udecided yet, I'll come back later.")) { case 1: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Wise Desition, you want to be from our country, OK, to become a genin from konoha you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make A Fire Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Live Coal"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(7098) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 7098,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8049,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 2: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Hmm, so you want to be from Water country, OK, to become a genin from there you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make A Water Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Aquamarine"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(720) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 720,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8052,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 3: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Wise Desition, you want to be from Earth country, OK, to become a genin from konoha you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make An Earth Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Stone Fragment"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(7067) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 7067,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8048,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 4: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Wise Desition, you want to be from Wind country, OK, to become a genin from konoha you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make A Wind Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Fine Sand"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(7043) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 7043,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8053,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 5: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Wise Desition, you want to be from Lightning country, OK, to become a genin from konoha you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make A Lightning Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Rough Wind"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(996) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 996,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8050,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 6: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Wise Desition, you want to be from Sound Clan, OK, to become a genin from konoha you will need to bring some materials to prove you deserve to be accepted."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "This Are The Materials You Will Need To Make A Sound Headprotector:"; mes "5x Majestic Goat[0]"; mes "50x Research Chart"; mes "50x Fabric"; mes "50x Steel"; mes "10,000,000 zeny for the crafting fees."; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Are you ready to make your headprotector??"; next; switch(select("Sure, I got all the items!:no I don't have all the items yet...")) { case 1: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me check if you are ready to this"; next; if(countitem(2256) < 5) goto L_manque; if(countitem(7347) < 50) goto L_manque; if(countitem(1059) < 50) goto L_manque; if(countitem(999) < 50) goto L_manque; if(Zeny<10000000) goto L_manque; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, let me craft this wings for you."; delitem 2256,5; delitem 7347,50; delitem 1059,50; delitem 999,50; set Zeny,zeny - 10000000; next; mes "[^ff0000Some Time After Wait For Your Headprotector^000000]"; next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, Here is your Headprotector, Now you are an authorized genin!!"; getitem 8051,1; // item reward close; case 2: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Ok, come to see me when you feel prepared to become a ninja"; close; } case 7: next; mes "[^0000ff Kakashi Sensei ^000000]"; mes "OK, thank you, now i can keep reading my novels."; mes "Aah, Remember, Im here because Tsunade Sama sent me to do Iruka's job, Here on ^009900KyojinRO^000000."; close; L_manque: mes "[^0000ff Kakashi Sensei ^000000]"; mes "Hey! I'm a Jounin, you can't fool me so easily. Did you think I wouldn't notice an item missing?"; mes "Get out of here, you are not ready to become a genin."; } cutin "",255; end; } bump
  5. Hello guys i setted a new schedule for my woe but it only work the first time i setted and it wont work anymore can somebody please tell me what happen here? this is my configurations: Note: this only work at excat time the first time i setted but after that the next time never worked again. agit_controller.txt //===== rAthena Script ======================================= //= War of Emperium - Auto-Start //===== By: ================================================== //= kalen (1.0) //= 1.1 by Akaru and ho|yAnge| //===== Current Version: ===================================== //= 2.0 //===== Compatible With: ===================================== //= rAthena SVN; RO Episode 4+ //===== Description: ========================================= //= Auto-start for War of Emperium FE. //= For instructions, see doc/woe_time_explanation.txt. //===== Additional Comments: ================================= //= 1.1a changed OnInit to OnAgitInit.[kobra_k88] //= 1.2 added gettime checks. removed $AgitStarted var.[kobra_k88] //= 1.3 Moved treasure spawn time here.[kobra_k88] //= 1.3a Implemented Shadowlady's idea to allow for different //= start/stop times on different days.[kobra_k88] //= 1.4 Fixed treasure chests spawn! We had to unroll some loops //= Now they appear in castles from 00:01 to 00:24. [Lupus] //= 1.5 Fixed WOE end messages on non-WOE days, by Avaj //= 1.5a missing tabs [KarLaeda] //= 1.6 Corrected multiple "WoE has begun" announces [ultramage] //= 1.7 Commented out the WoE start and end announces. [L0ne_W0lf] //= 1.8 Castle owners displayed when WoE starts and finished. [L0ne_W0lf] //= 1.8a Will now report unoccupied castles at start/end. [L0ne_W0lf] //= 1.8b Whoops. Fixed a mistake [L0ne_W0lf] //= 1.9 Rearranged the time-checks so they no longer use goto. [L0ne_W0lf] //= Removed treasure spawning function calls. (No longer needed) //= 2.0 Added WoE Battle Log support for broadcasts. [L0ne_W0lf] //============================================================ - script Agit_Event -1,{ end; OnClock1800: //start time for Wed(3) OnClock2000: //end time for Wed(3) OnClock2000: //start time for Sat(6) OnClock2200: //end time for Sat(6) OnAgitInit: // starting time checks if((gettime(4)==3) && (gettime(3)>=18 && gettime(3)<20) || (gettime(4)==6) && (gettime(3)>=20 && gettime(3)<22)) { if (!agitcheck()) { AgitStart; callsub S_DisplayOwners; } end; } // end time checks if ((gettime(4)==3) && (gettime(3)==20) || (gettime(4)==6) && (gettime(3)==22)) { if (agitcheck()) { AgitEnd; callsub S_DisplayOwners; } end; } end; S_DisplayOwners: setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { if (GetCastleData(.@maps$[.@i],1)) { Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle has been conquered by the [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe; } else { Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe; } } end; } agit_start_SE //===== rAthena Script ======================================= //= War of Emperium SE - Auto-Start //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN; RO Episode 11.3 //===== Description: ========================================= //= Auto-start for War of Emperium SE. //= For instructions, see doc/woe_time_explanation.txt. //===== Additional Comments: ================================= //= 1.0 Copy/Paste of the original setter. //============================================================ - script Agit2_Event -1,{ end; OnClock1400: //start time for Sun(0) OnClock1600: //end time for Sun(0) OnClock1900: //start time for Thurs(4) OnClock2100: //end time for Thus(4) OnAgitInit2: // starting time checks if((gettime(4)==0) && (gettime(3)>=14 && gettime(3)<16) || (gettime(4)==4) && (gettime(3)>=19 && gettime(3)<21)) { if (!agitcheck2()) { AgitStart2; } end; } // end time checks if ((gettime(4)==0) && (gettime(3)==16) || (gettime(4)==4) && (gettime(3)==21)) { if (agitcheck2()) { AgitEnd2; } end; } end; }
  6. Aaw after i made a new patch to add some custom items and updated the problem appear again, this time im sure i did not overwrite nothing, please somebody help me fix this.
  7. Can you post your help.conf here please? fixed my problem. my mistake not to remove \n" thank you for replying sir you welcome sir
  8. Hello guys how i can set my long range damage? i tried to set it in misc.conf but it remain the same damage, i tried different amounts like 60,80,100,180 and all of them keep my long range damage the same,please somebody help me with this, my damage is that low my damage to others players does not reach even 2k and my stats are in dex 255, thank you. Edit: Same problem with skills like Double straffing my damage is really low, tried the same changing the pk misc damage but the damage keep the same. Please somebody help me with this issue.
  9. I already did something better, i customized some mvp's drop and set the drops.conf to announce only those mvp's thank you for the reply guys, somebody can close this topic please.
  10. I think on balance, yes, you're right, it was my first for thor patcher, the next one will be better, thank you for be the first on rate it
  11. Thank you for reply, but this is different on what im looking for, this will announce when a gm kill an mvp and the map where the gm killed that mvp, what i want is a script that announce when somebody drop a mvp or mini boss card only, i know in drops.conf i can do this but it will announce items below that rate too, i want only the mvp/mini-boss cards get announced.
  12. can you tell me how to add patches please?
  13. Hello guys can somebody please make an npc that announces everytime a player drop a mvp card? i mean something like what can be do on drops.conf but the mvp card drops in mi server is a 3% but theres more items below that drop rate, so, i dont want those items get announced i only want the mvp and mini-boss card get announced. thank you in advace guys
  14. how can i do it get the reduction from 197 to 195 if they use edp lvl 4 or lvl 5, and if they use it lvl 1,2 or 3 dont get aspd reduction? Note:Sory for respawn this topic xD i really need this.
  15. i dont have any file called Quest_Izl xD i was looking for it but i dont have it.
  16. I already searched in my files for any script with this (Quest_Izl) but i cant find nothing there.
  17. Please somebody help me to reduce aspd from 197 to 195 if somebody use edp lvl (4 or 5) and if they use it lvl 3 or below don't reduce aspd.
  18. Still the same sir emistry Edit: i re-patch and is working good now, thx sir emistry.
  19. hello guys please somebody help me with this:
  20. Just set the time to 1 week, when the wearer unequip and equip again it will have 1 more week to the effect finish, im sure it will unequip the item atleast 1 time before 1 week past xD try it: ITEM{ },{ sc_start4 SC_BLESSING,604800000,10,0,0,1; sc_start4 SC_INCREASEAGI,604800000,10,0,0,1; },{ sc_end SC_BLESSING; sc_end SC_INCREASEAGI; }
  21. Why you dont use the version 1.4? is easier to modify and is working very good for me. Just modify the shops. //===== eAthena Script ======================================= //= Euphy's Quest Shop //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.4a - eAthena //===== Description: ========================================= //= A dynamic quest shop based on Lunar's, with easier config. //= Includes support for multiple shops & cashpoints. //= Item Preview script by ToastOfDoom. //============================================================ mall,130,77,8 script Quest Shop 998,{ function Add; function Chk; function Slot; function A_An; if(.Shops$ != "") set .@i,1; else { set .@menu$,""; for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) set .@menu$, .@menu$+.Shops$[.@i]+":"; set .@i, select(.@menu$); } dispbottom "Select one item at a time."; callshop "qshop"+.@i,1; npcshopattach "qshop"+.@i; end; function Add { if (getitemname(getarg(1))=="null") { debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; } for(set .@n,5; .@n<127; set .@n,.@n+2) { if (!getarg(.@n,0)) break; if (getitemname(getarg(.@n))=="null") { debugmes "Quest requirement #"+getarg(.@n)+" invalid (skipped)."; return; } } for(set .@i,2; .@i<.@n; set .@i,.@i+1) set getd(".q_"+getarg(1)+"["+(.@i-2)+"]"), getarg(.@i); npcshopadditem "qshop"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0); sleep 1; return; } function Chk { if (getarg(0)<getarg(1)) { set @qe0,1; return "^FF0000"; } else return "^00FF00"; } function Slot { set .@s$,getitemname(getarg(0)); switch(.ShowSlot){ case 1: if (!getitemslots(getarg(0))) return .@s$; case 2: if (getiteminfo(getarg(0),11)>0) return .@s$+" ["+getitemslots(getarg(0))+"]"; default: return .@s$; } } function A_An { setarray .@A$[0],"a","e","i","o","u"; set .@B$, "_"+getarg(0); for(set .@i,0; .@i<5; set .@i,.@i+1) if (compare(.@B$,"_"+.@A$[.@i])) return "an "+getarg(0); return "a "+getarg(0); } OnBuyItem: set .@q[0],@bought_nameid; copyarray .@q[1],getd(".q_"+@bought_nameid+"[0]"),getarraysize(getd(".q_"+@bought_nameid+"[0]")); if (!.@q[1]) { message strcharinfo(0),"An error has occurred."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+((.@q[1]>1)?.@q[1]+"x ":"")+Slot(.@q[0])+"^000000"; mes "Requirements:"; if (.@q[2]) mes " > "+Chk(Zeny,.@q[2])+.@q[2]+" Zeny^000000"; if (.@q[3]) mes " > "+Chk(getd(.Points$[0]),.@q[3])+.@q[3]+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"+.@q[3]+")^000000"; if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2) mes " > "+Chk(countitem(.@q[.@i]),.@q[.@i+1])+((.DisplayID)?"{"+.@q[.@i]+"} ":"")+Slot(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+.@q[.@i+1]+")^000000"; next; set @qe1, getiteminfo(.@q[0],5); set @qe2, getiteminfo(.@q[0],11); addtimer 1000, strnpcinfo(1)+"::OnEnd"; while(1){ switch(select(" ~ Purchase ^0055FF"+getitemname(.@q[0])+"^000000:"+((((@qe1&1) || (@qe1&256) || (@qe1&512)) && @qe2>0 && !@qe6)?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe0) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight(.@q[0],.@q[1])) { mes "[Quest Shop]"; mes "^FF0000You need "+(((.@q[1]*getiteminfo(.@q[0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if (.@q[2]) set Zeny, Zeny-.@q[2]; if (.@q[3]) setd .Points$[0], getd(.Points$[0])-.@q[3]; if (.@q[4]) for(set .@i,4; .@i<getarraysize(.@q); set .@i,.@i+2) delitem .@q[.@i],.@q[.@i+1]; getitem .@q[0],.@q[1]; if (.Announce) announce strcharinfo(0)+" has created "+A_An(getitemname(.@q[0]))+"!",0; specialeffect2 699; close; case 2: set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5); if (@qe1&1) atcommand "@changelook 3 "+@qe2; if (@qe1&256) atcommand "@changelook 1 "+@qe2; if (@qe1&512) atcommand "@changelook 2 "+@qe2; set @qe6,1; break; case 3: close; } } OnEnd: if (@qe6) { atcommand "@changelook 3 "+@qe3; atcommand "@changelook 1 "+@qe4; atcommand "@changelook 2 "+@qe5; } for(set .@i,0; .@i<7; set .@i,.@i+1) setd "@qe"+.@i,0; end; OnInit: // --------------------- Config --------------------- // Custom points, if needed: "<variable>","<name to display>" setarray .Points$[0],"#CASHPOINTS","Cash Points"; set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .DisplayID,0; // Show item IDs? (1: yes / 0: no) set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no) // Shop categories, if needed: "<Shop 1>","<Shop 2>"{,...}; // Duplicate dummy data for any additional shops (bottom of script). // If no categories, use the second line instead (remove //). setarray .Shops$[1],"Headgears","Weapons","Other"; // set .Shops$,"n/a"; // Add(<shop number>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // Shop number corresponds with order above (default is 1). // Note: Do NOT use a reward item more than once! Add(1,8055,1,0,0,994,10000,975,200,1059,100,738,1,2280,1,969,500); Add(1,8058,1,0,0,7043,10000,979,200,1059,100,738,1,2280,1,969,500); Add(1,8060,1,0,0,720,10000,978,200,1059,100,738,1,2280,1,969,500); Add(1,8062,1,0,0,996,10000,976,200,1059,100,738,1,2280,1,969,500); Add(1,8064,1,0,0,7067,10000,983,200,1059,100,738,1,2280,1,969,500); Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10); Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10); Add(3,531,1,3,0,512,1,713,1); Add(3,532,1,3,0,513,1,713,1); Add(3,533,1,3,0,514,1,713,1); Add(3,534,1,3,0,515,1,713,1); // -------------------------------------------------- for(set .@i,1; .@i<=getarraysize(.Shops$); set .@i,.@i+1) npcshopdelitem "qshop"+.@i,909; end; } // -------- Dummy data (duplicate as needed) -------- - shop qshop1 -1,909:-1 - shop qshop2 -1,909:-1 - shop qshop3 -1,909:-1
  22. Yes Olrox sure, the problem was i did not add my custom cards to this files: - (num2itemdesctable) >>>>>>>>>>>>>>> The Same as - idnum2itemdesctable - (num2itemdisplaynametable) >>>>>>>>>>>>>>> The Same as - idnum2itemdisplaynametable - (num2itemresnametable) >>>>>>>>>>>>>>> The Same as - idnum2itemresnametable
×
×
  • Create New...