Jump to content

Hayato

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by Hayato

  1. Hi. Im looking for a NPC with only 1 option which is "Change to Alternative Outfit?/Change back to normal outfit?". or could somebody add it to this stylist please? // credits to Annieruru function script ValueConvert { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$; } - script Stylist -1,{ OnTalk: mes "[^0055FF ::: Stylist ::: ^000000]"; mes "I can change your appearance."; if( .cost_size ){ mes " "; mes "^777777[ SERVICES PAYMENT ]^000000"; for( .@i = 0; .@i < .menu_size; .@i++ ) if( .npc_mode & ( 1 << .@i ) ) if( .cost[.@i] ) mes "^0055FF"+.menu_name$[.@i]+" : ^777777"+ValueConvert( .cost[.@i] )+" "+.currency_name$[.@i]+"^000000"; else mes "^0055FF"+.menu_name$[.@i]+" : ^777777Free of Charge^000000"; } next; @style = ( select( .npc_menu$ ) - 1 ); @style_value = getlook( .look_type[@style] ); deletearray .@blacklist; switch( @style ){ Case 0: .@blacklist$ = ","+getd( ".blacklist_hairstyle_"+Sex+"$" )+","; break; Case 1: .@blacklist$ = ","+getd( ".blacklist_haircolor_"+Sex+"$" )+","; break; Case 2: .@blacklist$ = ","+getd( ".blacklist_cloth_"+Sex+"$" )+","; break; default: break; } .@style_number = .min_style[@style]; addtimer 1000,strnpcinfo(0)+"::OnPCLogoutEvent"; do{ message strcharinfo(0),.menu_name$[@style]+" : "+.@style_number+"th"; .@removed = 0; if( compare( .@blacklist$,","+.@style_number+"," ) ){ message strcharinfo(0),"[ REMOVED ] "+.menu_name$[@style]+" : "+.@style_number+"th"; .@removed = 1; // setlook .look_type[@style],.min_style[@style]; }else{ setlook .look_type[@style],.@style_number; } .@next = .@style_number + 1; .@prev = .@style_number - 1; if( .@next > .max_style[@style] ) .@next = .min_style[@style]; if( .@prev < .min_style[@style] ) .@prev = .max_style[@style]; @select = prompt( (( .@backward )?"Backward":"Forward" )+" - [ ^777777"+(( .@backward )? .@prev:.@next )+"th Style^000000 ]", (( !.@backward )?"Backward":"Forward" )+" - [ ^777777"+(( !.@backward )? .@prev:.@next )+"th Style^000000 ]", "Jump to a Style", ( .@removed )?"":"^0055FFOkay, I want this "+.menu_name$[@style]+"^000000" ); if( @select == 2 ) .@backward = !.@backward; switch( @select ){ Case 1: Case 2: .@style_number = (( .@backward )? .@prev:.@next ); break; Case 3: message strcharinfo(0),"Available Style : "+.min_style[@style]+" ~ "+.max_style[@style]+"."; input .@style_number,.min_style[@style],.max_style[@style]; break; Case 4: .@atoi_currency = atoi( .currency$[@style] ); if( @style_value == .@style_number ){ message strcharinfo(0),"Swt..that is your original hairstyles."; break; } else if( .@atoi_currency ){ if( countitem( .@atoi_currency ) >= .cost[@style] ){ .@success = 1; delitem .@atoi_currency,.cost[@style]; } }else{ if( getd( ""+.currency$[@style] ) >= .cost[@style] ){ .@success = 1; setd( ""+.currency$[@style] ),( getd( ""+.currency$[@style] ) - .cost[@style] ); } } if( .@success ){ message strcharinfo(0),"Enjoy your NEW "+.menu_name$[@style]+" !!"; @style_value = .@style_number; }else{ mes "You dont have enough "+.currency_name$[@style]+" to change this "+.menu_name$[@style]+"."; mes "Cost : ^777777"+ValueConvert( .cost[@style] )+" "+.currency_name$[@style]+"^000000"; close2; } default: setlook .look_type[@style],@style_value; break; } }while( @select != 4 && @select != 255 ); mes "Come back again next time. ^^"; @select = 0; close2; deltimer strnpcinfo(0)+"::OnPCLogoutEvent"; OnPCLogoutEvent: if( @select ) setlook .look_type[@style],@style_value; end; OnInit: // NPC Mode ( Bitmask ) // 1 - Enable Hairstyle // 2 - Enable Hair Color // 4 - Enable Cloth Color .npc_mode = 7; // Menu Name setarray .menu_name$, "Hair Style", "Hair Color", "Cloth Color"; // Payment Currency + Cost // Can be ITEM ID or Any Variable. setarray .currency$, "Zeny", // Hairstyle - Ex. need Zeny "Zeny", // Hair Color - Ex. need Zeny "Zeny"; // Cloth Color - Ex. need Zeny setarray .cost, 50000, // Hairstyle ( 10,000 Zeny ) 50000, // Hair Color ( 10,000 Zeny ) 50000; // Cloth Color ( 10,000 Zeny ) // Blacklisted Style for each style and each gender. // --- Female --- .blacklist_hairstyle_0$ = "0"; .blacklist_haircolor_0$ = "99"; .blacklist_cloth_0$ = "99"; // --- Male --- .blacklist_hairstyle_1$ = "0"; .blacklist_haircolor_1$ = "99"; .blacklist_cloth_1$ = "99"; // Dont edit setarray .min_style,getbattleflag( "min_hair_style" ),getbattleflag( "min_hair_color" ),getbattleflag( "min_cloth_color" ); setarray .max_style,getbattleflag( "max_hair_style" ),getbattleflag( "max_hair_color" ),getbattleflag( "max_cloth_color" ); .menu_size = getarraysize( .menu_name$ ); .cost_size = getarraysize( .cost ); setarray .look_type,LOOK_HAIR,LOOK_HAIR_COLOR,LOOK_CLOTHES_COLOR; for( .npc_menu$ = ""; .@i < .menu_size; .@i++ ) .npc_menu$ = .npc_menu$ + ( ( .npc_mode & ( 1 << .@i ) )? .menu_name$[.@i]:"" ) +":"; for( .@i = 0; .@i < .cost_size; .@i++ ){ .@atoi = atoi( .currency$[.@i] ); .currency_name$[.@i] = ( ( !.@atoi || getitemname( .@atoi ) == "null" )? .currency$[.@i]:getitemname( .@atoi ) ); } end; } // NPC Lists prontera,184,216,4 script Stylist#main 878,{ doevent "Stylist::OnTalk"; } //prontera,149,184,5 duplicate(Adv. Stylist#main) Adv. Stylist#1 878
  2. tyvm ! @Alayne any chance you could post your questdbtxt please? i cant seem to get it working T_T
  3. in the instance devils tower when u @go 0 after taking loki he follows u everywhere and kills everything XD or dragon from temple of demon god ------------------------------------------------------------------- when u click npc more than 1 time he talks so much ---------------------------------------------------------- dialogue and broadcast in all instances appear at the same time
  4. alayne do you think you can get your hands on this http://irowiki.org/wiki/The_Royal_Banquet ?
  5. LOL.im using 2015-11-04aRagexe. and quests are all fucked up for me. gonna test it later again. going out now. peace!
  6. yeah everything is working flawlessly now. love it. just one more question. if you accept instance quests from the ones you released. they show normally in your questlog? like in chareslton crisis when i accept quests i dont see them in my log. when i kill monsters it dont show [1/50 robot killed]
  7. yes all monsters drop except stefan #2 (last boss of the instance) did not drop. in room of conciousness amdareis + bijou no drop wind ghost comes out. bloody knight not (bloody knight drops julliet de rachel / sunflower boy) etc
  8. last Stefan (Boss) in sky fortress do not drop items (only in the instance) Room of conciousnes too. Bijou no drop and amdareis no drop @monster + kill = drops edit: bloody murderer does not spawn after talking to the "strange device" in the room that u have to open with the key (tried 5 times) it keeps saying "nothing happened" (sky fortress)
  9. rofl.. apology accepted. anyway - heres a fully working Temple of the demon god. i changed a few things in your release. 1. Removed the Commander Hiva & Abidal (which give you Expedition Box for essences of evil) They did not work at all. Instead you will get 1 Reward box at every end of each stage at the npc -> Brinaranea = 1 / Muspelskoll = 1 / Despair God Morroc = 1 = 3 random Essences of evil (goes for all party members) 2. HP / Dmg / Movement speed of monsters is working 3. Instead of destructing the instance the last npc will give you your last reward and teleport you to prontera (so all party members can get the reward). you cant enter the instance after completion. 4. fixed drops. the box now gives essences ( all of them) at an even chance ExpeditionAward.txt Settings.txt Templeofdemongod.txt edit: alright im gonna test everything again. i was very tired so i probably did some mistakes. gonna post it here EDIT: sky fortress is working !!! i forgot to edit instancedb
  10. WTF LOL.. 1. im more than happy about this pack. 2. since no one else was saying anything, i thought i would so you can see what issues others including me are dealing with. 3. anyway thanks for this release and please dont involve me in your depressions like .. what kind of answer is this? edit: btw the mobs/bosses are not just teleporting on 1 single map of the instance they TP to all maps within the instance. why wouldn't they? good question
  11. Alright alright alright.. im using 2015-11-04aRagexe + latest kRO_FullClient_2017-10-09 let me break this instance pack down: 1. Sky fortress: 2.AirshipAssault: cant attack monsters / talk to npcs after talking to the deer 3. Infinite Space: works almost perfectly but i got this 4. Morse Cave: you can teleport on the map and so can the monsters/bosses inside. they tp from map to map and u have to chase them.. other than that -> 5. Temple of Demon God: expedition prize doesnt exist / npcs dont give it / monsters dont give it + with @item and you open the box = nothing inside. bosses and mini bosses have VERY low movement speed and -> 6. Devils Tower: Boss teleports all over the map 7. Last Room: You see all texts in this instance twice. monsters have very low movement speed. " Rewards are available at Fruit verus01 151/173 in exchange for 10 Weird Parts , which drops from T_W_O inside the instance." -> fruit doesnt exist = no rewards + no weird parts + TWO has very low movement speed. 8.charleston crisis cant continue quest charleston keeps saying "thank you for your efforts to discover the laboratory problem." after killing all 4 viruses (in the beginning of the instance) 9.overlook water dungeon maps missing 10. Endless Cellar maps missing EDIT: NO INSTANCE QUESTS WORK
  12. thank you fixed! hi again. sky fortress doesnt work without having banquet of heroes. any chance u can add it?
  13. @Alayne almost all client side files are corrupted for charleston crysis. checking the rest of the instances now
  14. @Alayne illegal file format.. know how to fix?
  15. Sick and tired of the people hoarding instances and selling them for 25€-50€ ea? Here he is.. Alayne our Lord and Savior. Thank you so much!
  16. 2 people saying fix your SQL .. like.. god damn.. how are complete noobs like me or others who are going to see this gonna be able to "fix our SQL" ???? if you know how to fix this this why dont you type it out?... theres like a billion folders and shit in my SQL and i dont know for shit how to fix the issue. damn.
  17. ummmm.. sry but how do i apply this file? do i create a new .txt -> copy paste this code -> save-> rename to .diff. and then patch with tortoise? Edit: well yep.. i cant get it working. can you do a step by step guide how to patch diff files please?
  18. Hi guys.. i cant explain this at all. im using 2015-11-04aRagexe / kRO_FullClient_2017-10-09 everytime i "try to" kill a MVP my map server crashes, always right before they die (probably the killing blow) map server also crashes when i talk to the deer guy in the new beginners map. when i create a char the first map inside the ship theres just water nothing else and i cant move because some textures are missing. could somebody help me fix this please? PS: no error message.. just "Map-server #0 has disconnected."
  19. Hi is it in any way possible to disable loot when a homunculus kills something? Im running this script on my server: - script Poring_Coin -1,{ OnNPCKillEvent: if ( rand( 100 ) <= 10 ) { .@item_id = F_Rand( 7539 ); getitem .@item_id,1; } end; } which makes every monster drop Poring Coins at 10% sadly it drops for my afk homunculus too and lands directly in my inventory. is there a way to prevent this? edit: or a way to set this item on @alootid? alootid doesnt work with homunculus. i mean this script makes you loot the coin even without autoloot on...
  20. Hi guys.. Im pretty new to rAthena and could need a little help here. Im usingRagnarok Online complete offline pack 2017 | Make your RO server in less then 5 minutes In my Server i want ALL monsters to drop a poring coin (@item 7539) with a 90% chance. what i tried so far: 1. Create a txt in npc/custom called allmonstersdrop 2. edited the txt with OnNPCKillEvent: if( rand(100) < 10 ) // <---- tried 90 here instead of 10 aswell.. still no drops getitem 671,1; end; 3. saved 4. opened \rathena\npc\scripts_custom.conf and added the line npc: npc/custom/allmonstersdrop.txt 5. went ingame and typed @loadnpc npc/custom/allmonstersdrop.txt 6. typed @reload script ingame 7. killed monsters but no poring coin drops 8. restarted server 9. killed monsters again and again no drop... please help me out im kinda desperate thanks a lot for your time!
×
×
  • Create New...