Jump to content

Shogun

Members
  • Posts

    99
  • Joined

  • Last visited

Everything posted by Shogun

  1. Tested. I think i found a bug. I get a mission with 10pt reward. When the mission done and i check my point at View Top Hunter it wrote 1pt only.
  2. I suggest this kind of script is better to make use of 2-dimension array and I provide an example prontera,156,179,5 script Dolly 100,{ mes "Which item do you want?"; next; .@s = select( .menu$ ) -1; if ( .@s == .total_quest ) { mes "So you don't want anything? Come back when you do!"; close; } mes "I require the following:^FF0000"; .@size = getarraysize( getd(".quest"+ .@s ) ); for ( .@i = 1; .@i < .@size; .@i += 2 ) mes getd( ".quest"+ .@s +"["+( .@i +1 )+"]" ) +" "+ getitemname( getd( ".quest"+ .@s +"["+ .@i +"]" ) ); mes "^000000In exchange, I will give you:^00FF00"; mes getitemname( getd( ".quest"+ .@s +"[0]") ); next; if ( select("Exchange:No thanks") ==2 ) close; for ( .@i = 1; .@i < .@size; .@i += 2 ) { if ( countitem( getd( ".quest"+ .@s +"["+ .@i +"]" ) ) < getd( ".quest"+ .@s +"["+( .@i +1 )+"]" ) ) { mes "You do not have enough of "+ getitemname( getd( ".quest"+ .@s +"["+ .@i +"]" ) ); mes "Required: "+ getd( ".quest"+ .@s +"["+( .@i +1 )+"]" ); mes "Current: "+ countitem( getd( ".quest"+ .@s +"["+ .@i +"]" ) ); mes "Needed: ^FF0000 "+( getd( ".quest"+ .@s +"["+( .@i +1 )+"]" ) - countitem( getd( ".quest"+ .@s +"["+ .@i +"]" ) ) ); close; } } for ( .@i = 1; .@i < .@size; .@i += 2 ) delitem getd( ".quest"+ .@s +"["+ .@i +"]" ), getd( ".quest"+ .@s +"["+( .@i +1 )+"]" ); getitem getd( ".quest"+ .@s +"[0]" ), 1; announce strcharinfo(0) +" has gotten a "+ getitemname( getd( ".quest"+ .@s +"[0]" ) ), 0; close; OnInit: setarray .quest0, 5137, 2210,1,5141,1,7047,500; setarray .quest1, 5344, 2210,1,5141,1,1060,500; setarray .quest2, 5137, 2210,1,5141,1,1034,500; setarray .quest3, 5341, 2210,1,5141,1,7122,150,1034,200; setarray .quest4, 5253, 2210,1,5141,1,7142,1,1060,150; setarray .quest5, 5344, 2254,1,5141,1,7104,350; setarray .quest6, 5342, 2210,1,5141,1,7152,300; setarray .quest7, 5526, 2210,1,5141,1,1048,400; setarray .quest8, 5343, 2210,1,5141,1,1020,200,1034,200; setarray .quest9, 5345, 2210,1,5141,1,1060,500; setarray .quest10, 5464, 2210,1,5141,1,1020,400,7166,400; for ( .@i = 0; getd( ".quest"+ .@i ); .@i++ ) { .menu$ = .menu$ + getitemname( getd( ".quest"+ .@i ) ) +":"; .total_quest++; } .menu$ = .menu$ +"Cancel"; end; } the 1st index of every setarray is the reward item, since your script only has 1 kind of reward item anyways actually after 0, is reward id array. example: case 3: callsub Quest,2210,1,5141,1,1034,500,0,5137,1,5344,2,5137,3,0; i kinda like your script but it cant set for multi reward id rite?
  3. aww i just noticed that your hunting mission is a great system to apply in my server. but can you explain to me about the mission point. the range point for each mission if i set min and max mob 50~100, then i will know what price to set for a item.
  4. if you want a crazy level script( sry this kind of script is a bad example for the community ... its only meant for certain individuals who wants to challenge this level of script ) http://www.eathena.w...howtopic=242306 or tron's quest board might be a better solution https://rathena.svn..../questboard.txt but AnnieRuru... tron's questboard only support for 1 reward id rite?
  5. How can i make this script announce when someone complete the quest? job_sage.gat,107,172,5, script Dolly 114,{ mes "Which item do you want?"; switch(select("Alice Doll:Bennit Doll:Defolty Doll:Glaris Doll:Lif Doll:Little Angel Doll:Sorin Doll:Tanigumi Doll:Telling Doll:W Doll:Zaha Doll:Cancel")) { case 1: callsub Quest,2210,1,5141,1,7047,500,0,5137,1,0; case 2: callsub Quest,2210,1,5141,1,1060,500,0,5344,1,0; case 3: callsub Quest,2210,1,5141,1,1034,500,0,5137,1,0; case 4: callsub Quest,2210,1,5141,1,7122,150,1034,200,0,5341,1,0; case 5: callsub Quest,2210,1,5141,1,7142,1,1060,150,0,5253,1,0; case 6: callsub Quest,2254,1,5141,1,7104,350,0,5344,1,0; case 7: callsub Quest,2210,1,5141,1,7152,300,0,5342,1,0; case 8: callsub Quest,2210,1,5141,1,1048,400,0,5526,1,0; case 9: callsub Quest,2210,1,5141,1,1020,200,1034,200,0,5343,1,0; case 10: callsub Quest,2210,1,5141,1,1060,500,0,5345,1,0; case 11: callsub Quest,2210,1,5141,1,1020,400,7166,400,0,5464,1,0; default: mes "So you don't want anything? Come back when you do!"; close; } Quest: next; mes "I require the following:^FF0000"; for(set @i,0; getarg(@i)!=0; set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i)); mes "^000000In exchange, I will give you:^00FF00"; set @i,@i+1; for(set @i,@i; getarg(@i) != 0; set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i)); if(select("Exchange:No thanks")==2) close; for(set @i,0; getarg(@i) != 0; set @i,@i+2) { if(countitem(getarg(@i))<getarg(@i+1)) { next; mes "You do not have enough of " + getitemname(getarg(@i)); mes "Required: " + getarg(@i+1); mes "Current: " + countitem(getarg(@i)); mes "Needed: ^FF0000 " + (getarg(@i+1)-countitem(getarg(@i))); close; } } for(set @i,0; getarg(@i) != 0; set @i,@i+2) delitem getarg(@i),getarg(@i+1); set @i,@i+1; for(set @i,@i; getarg(@i) != 0; set @i,@i+2) getitem getarg(@i),getarg(@i+1); close; } }
  6. i found this http://www.eathena.w...PC-t206509.html Solved.
  7. Im looking a script like Euphy Quest but it support for multi reward id. Example like when i choose "Headgear 1" in Euphy Quest then the npc will show the item requirement list and item reward list.
  8. Hai, as topic above may i request for the script. Or guide me which script i can refer. "Multi quest in a npc with multi reward id"
  9. Wow, thank you alot Euphy. That is amazing additional script for your woe controller. Maybe you could update your woe controller version for reward menu option To be honest i like your script style and i always refer to your script. The best woe script for now
  10. Euphy, about the woe controller, if I would like to change the prize every woe without reloadscript or restart server is there any way to refresh the script? For example like @refreshwoe @loadwoe or anything like the function load season.
  11. A great Prontera you got there. May I request for the bgm only?
  12. Hai everybody. Anyone have recolor lupus headgears? Mind to share?
  13. Ahhh my bad.. //Completely disable skill delay of the following types (Note 3) //NOTE: By default mobs don't have the skill delay as specified in the skill // database, but follow their own 'reuse' skill delay which is specified on // the mob skill db. When set, the delay for all skills become // min_skill_delay_limit. no_skill_delay: 2 I was trying change the no_skill_delay to 1. Problem solved. Request for close this topic.
  14. Check out the picture below. The skill cooldown suddenly become longer but i've no problem to cast skill again and again while it cooldown'ing. Whats wrong with the cooldown?
  15. After I encrypted my main grf then I want to update new grf using neoncube patcher it doesn't work. Please guide me.
  16. Thank you! A great release. Theres no log stored. Already change the theme name. Hmm
  17. How can I make the violet box open like old blue box without confirmation (doesn't have to click 'ok'). It's kinda annoying if the player want to open alot of food stat boxes.
  18. as title about. whats that mean?
  19. You could try peopleperson49's king of emperium script. I used his script and change the map name to custom map name. http://rathena.org/board/topic/70567-peopleperson49s-scripts/
  20. Because I learning to script Thanks Euphy.
  21. The delay not working, please guide me what did i miss. prontera,156,183,4 script Buffer 750,{ if ( Delay_Heal > gettimetick(2) ) goto delay; percentheal 100,100; skilleffect 74,0; sc_start SC_MAGNIFICAT,900000,5; skilleffect 75,0; sc_start SC_GLORIA,900000,5; skilleffect 67,0; sc_start SC_SUFFRAGIUM,900000,3; skilleffect 34,0; sc_start SC_BLESSING,900000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,900000,10; sc_start SC_ASPDPOTION2,900000,0; skilleffect 361,0; sc_start SC_ASSUMPTIO,900000,5; while (getbrokenid(1)) { repair(1); set .@i, .@i +1; } if (.@i) dispbottom .@i + " Items Repaired."; end; set Delay_Heal,gettimetick(2)+3; end; delay: dispbottom "Wait 3 seconds"; end; }
  22. sorry for removing the script that i posted, its too poor im shame. Thanks alot @GmOcean have a good day. the delay not really working actually. i will try it myself. sorry bothering
  23. Thanks @GmOcean. Actually I want the "@guildrecall" can be use in npc so it wont have skill cooldown but just delay few seconds or minutes to use it again.. I guess for that doesnt need bindatcmd? Solved. Thanks alot
  24. how can i turn it as npc for some guild event for leader to call his/her member?
  25. aw im so sorry i didnt notice that. i was reply via ipad. but now i tried and its working perfect. thnk you so much.
×
×
  • Create New...