Jump to content


  • Posts

  • Joined

  • Last visited

About LewL

  • Birthday April 11

Profile Information

  • Gender
  • Server
    Ragnarok Online Destiny
  • Interests
    Ragnarok Online

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LewL's Achievements

  1. this isn't what im looking for, what im looking for is npc that only put slot not enchant effects.
  2. Hello everyone, I would like to request for Custom Socket Enchanter NPC (Add slot to armor/weapon npc) Same as rathena/npc/merchants/socket_enchant2.txt But the modification i want is instead of zeny and other requirements i want a custom item as payment example itemid 32000 as item requirement to put slot on armor/weapon and 50% success 40% fail(nothing happens) 10% item destroy. hope someone could help. Thanks in advance.
  3. Hi everyone, i got the script of @Haruka Mayumi Lotti npc it works fine just getting stuck on this part when you have enough zeny to play the lotti, i wish it would just tell the player that he/she doesn't have enough zeny or enough item to play the lotti game. prontera,170,181,3 script Lotti Girl 714,{ mes "[Lotti Girl]"; mes "Hello Sir! Are you out"; mes "shopping in the city?!"; next; mes "[Lotti Girl]"; mes "I'm Lotti! I'll exchange cool"; mes "random prizes for every"; if(.LottoID && .LottoAmt) mes "^ff0000"+.LottoAmt+" "+getitemname(.LottoID)+"^000000."; if(.ZenyPay) mes "^ff0000"+callfunc("F_InsertComma",.ZenyPay)+"z"; next; mes "[Lotti Girl]"; if(getarraysize(.P1)<4){ mes "Our Grand prize is:"; mes "^ff0000"+.P1[2]+" "+getitemname(.P1[1])+"^000000"; } else { mes "Random Grand prize:"; for([email protected]=1;[email protected]<getarraysize(.P1);[email protected]+=2) mes "^ff0000"+.P1[[email protected]+1]+" "+getitemname(.P1[[email protected]])+"^000000"; } if(getarraysize(.P2)<4){ mes "Special prize is:"; mes "^ff0000"+.P2[2]+" "+getitemname(.P2[1])+"^000000"; } else { mes "Random Special prize:"; for([email protected]=1;[email protected]<getarraysize(.P2);[email protected]+=2) mes "^ff0000"+.P2[[email protected]+1]+" "+getitemname(.P2[[email protected]])+"^000000"; } next; mes "[Lotti Girl]"; mes "You can still get random item"; mes "if you failed to get the grand"; mes "prize and special prizes."; if(.LottoID && .LottoAmt && (countitem(.LottoID) < .LottoAmt)) close; if(.Zeny && Zeny < .Zeny) close; next; if(select("Deal me in!:No way...")==2) close; L_Roll: mes "[Lotti Girl]"; mes "Here we go..."; if(.LottoID && .LottoAmt) delitem .LottoID,.LottoAmt; if(.ZenyPay) Zeny -= .ZenyPay; set [email protected], rand(1,.Total); set [email protected],rand(10000); for([email protected]=.Total;[email protected]>=1;[email protected]) if( getd(".P"[email protected]+"[0]") >= [email protected]) [email protected] = [email protected]; next; if ( [email protected] > getd(".P"[email protected]+"[0]")){ [email protected] = rand(getarraysize(.Default)/2); setarray [email protected],.Default[([email protected]*2)],.Default[(([email protected]*2)+1)]; } else { [email protected] = rand(getarraysize(getd(".P"[email protected]))/2); setarray [email protected],getd(".P"[email protected]+"["+(([email protected]*2)+1)+"]"),getd(".P"[email protected]+"["+(([email protected]*2)+2)+"]"); } getitem [email protected][0],[email protected][1]; if(inarray(.AnnouncedID,[email protected]) >=0 ) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname([email protected][0])+" x "[email protected][1]+" from Lotti Girl ("+.map$+" "+.x+" "+.y+")!",0; specialeffect2 248; if(.LottoID && .LottoAmt && (countitem(.LottoID) < .LottoAmt)) close; if(.Zeny && Zeny < .Zeny) close; next; mes "[Lotti Girl]"; mes "Want to roll again?"; if(select("Roll again:Nope, No luck!")==1){ clear(); goto L_Roll; } close; OnInit: //No need to edit the main script. all editable are here. .ZenyPay = 100000; //Zeny to Pay [0 = Disable] .LottoID = 0; //ItemID to Roll [0 = Disable] .LottoAmt = 0; //Amount of LottoID Per Roll[0 = Disable] set .Total,4; setarray .AnnouncedID,501,502,512,513; //To reduce announcement. let's not announce common items. //setarray .P#[0],<% chance(1-10000)>,<ItemID>,<Amount> setarray .P1[0],100,501,1; //Grand Prize setarray .P2[0],1000,502,1,512,2,513,3; //Special Prizes setarray .P3[0],5000,503,1; setarray .P4[0],7500,504,1,514,4; setarray .Default[0],505,5,506,1; getmapxy(.map$,.x,.y,BL_NPC); end; }
  4. i made a custom halter lead by copying it's item script The Original - Id: 12622 AegisName: Boarding_Halter Name: Reins Of Mount Type: Usable Flags: NoConsume: true Jobs: All: true Gunslinger: false Delay: Duration: 3000 Status: All_Riding_Reuse_Limit Trade: Override: 100 NoDrop: true NoTrade: true NoSell: true NoCart: true NoGuildStorage: true NoMail: true NoAuction: true Script: | setmounting(); UnEquipScript: | if (ismounting()) setmounting(); i made 1 for Gunslinger - Id: 33014 AegisName: Motorcycle_Key Name: Motorcycle Key Type: Usable Flags: NoConsume: true Jobs: Gunslinger: true Trade: Override: 100 NoDrop: true NoTrade: true NoSell: true NoCart: true NoGuildStorage: true NoMail: true NoAuction: true Script: | setmounting(); UnEquipScript: | if (ismounting()) setmounting(); the one i made for Gunslinger is working fine when i use it but when im on the mount and tried to use it again the mount wouldn't be release/remove how do i fix it?
  5. Hello everyone, i have this working gacha script of @Capuche I want a little modification on it, npc will announce when a player got the rare item from 1% to 3% chance. i hope this is the right place to post this and hope you guys could help me. Thanks in advance Gatcha.txt tavern,66,37,3 script Gacha 562,{ mes .npc_name$; mes "Hello, do you want to play the Gatcha??"; next; switch( select( "Play !", "More Informations", "Leave" ) ) { case 1: break; case 2: while( getd(".p"+ [email protected] ) ) { mes .npc_name$; mes "Item required: ^FFCC00"+ getitemname( getd(".p"+ [email protected] ) ) +"^000000"; mes "Chance to gain something: ^CC0000"+ getd(".p"+ [email protected] +"[1]" ) +"%^000000"; mes "Possible gains:"; for( [email protected] = 3; [email protected] < getarraysize( getd(".p"+ [email protected] ) ); [email protected] += 3 ) mes "^0000FFx"+ getd(".p"+ [email protected] +"["+ [email protected] +"]" ) +"^000000 "+ getitemname( getd(".p"+ [email protected] +"["+ ([email protected] -1) +"]" ) ) +" (^CC0000"+ getd(".p"+ [email protected] +"["+ ([email protected] +1) +"]" ) +"%^000000)"; [email protected]++; next; } break; case 3: mes .npc_name$; mes "Bye!~"; close; } mes .npc_name$; mes "Which item do you want to use ?"; next; for( [email protected] = 0; getd(".p"+ [email protected] ); [email protected]++ ) { [email protected] = getarraysize( [email protected]$ ); [email protected]$[ [email protected] ] = getitemname( getd(".p"+ [email protected] ) ); [email protected][ [email protected] ] = [email protected]; } [email protected] = [email protected][ select( implode( [email protected]$, ":" ) ) -1 ]; while (1) { if ( countitem( getd(".p"+ [email protected] ) ) < 1 ) { mes .npc_name$; mes "it seems you have ran out of "+ getitemname( getd(".p"+ [email protected] ) ); close; } mes .npc_name$; mes "Here we go..."; delitem getd(".p"+ [email protected] ), 1; if( rand(100) > getd(".p"+ [email protected] +"[1]" ) )// lose mes "You got nothing"; else { [email protected] = rand( getd(".totalchance"+ [email protected] ) ); [email protected] = 1; while ( ( [email protected] = [email protected] - getd( ".p"+ [email protected] +"["+ (1+ 3 * [email protected]) +"]" ) ) >= 0 ) [email protected]++; getitem getd( ".p"+ [email protected] +"["+ (1+ 3*[email protected] -2) +"]" ), getd( ".p"+ [email protected] +"["+( 1+3*[email protected] -1 )+"]" ); mes "You got ^FF00CC"+ getd( ".p"+ [email protected] +"["+( 1+3*[email protected] -1 )+"]" ) +" "+ getitemname( getd( ".p"+ [email protected] +"["+ (1+ 3*[email protected] -2) +"]" ) ) +"^000000"; } mes " "; mes "wanna try again ?"; next; if ( select( "Yes", "No" ) == 2 ) close; } close; OnInit: // (item ID need) (chance), (reward 1) (number of reward 1) (chance to gain), (reward 2) (number of reward 2) (chance to gain)... setarray .p0, 32130,100, 31731,1,1, 20255,1,2, 31320,1,3, 6320,1,14, 32044,1,14, 7776,1,14, 32041,1,80, 32091,1,80, 32092,1,80, 32093,1,80, 32040,10,80; // Mithril Coin setarray .p1, 32131,100, 19827,1,1, 5335,1,1, 32041,1,28, 32091,1,28, 32092,1,28, 32093,1,28, 32040,1,28, 7517,1,70; // Gold Coin while ( getd(".p"+ [email protected] ) ) { for( [email protected] = 4; [email protected] < getarraysize( getd(".p"+ [email protected] ) ); [email protected] += 3 ) setd ".totalchance"+ [email protected], getd(".totalchance"+ [email protected] ) + getd(".p"+ [email protected] +"["+ [email protected] +"]" ); [email protected]++; } .npc_name$ = "[ "+ strnpcinfo(1) +"]"; end; }
  6. @Capuche got error with this script hope you can help
  7. i have to try to on my server maintenance by monday. hope things will be fixed. i'll keep you update guys. thanks for the support
  8. no i haven't done anything..
  9. what should i do with the code? sorry newbie here
  10. Hello everyone, i'm not sure if this is the right place to post this but please let me know if i have to move this post to other section. I'm having problem with my phpmyadmin i couldn't access it on the browser as it says "Site can't be reached". I can access the phpmyadmin before and just suddenly turned like this. I've tried to ask OVH's technical support and they couldn't help me with my problem. Hope you can help me with my problem. Thanks in advance and god bless.
  11. ohh sorry for that @Akkarin maybe you can help me with the IP bound or Mac/uniqid bound quest npc? it doesn't have to be gepard function all i want is the player could only make the quest once with his/her IP or per computer (pc).
  12. Hello everyone, Can i request for a simple Quest NPC with Gepard function. Example Quest npc will ask for x10 apple, x10 banana and 1m zeny in exchange of 1 headgear. Then the quest is ip based or mac based like gepard function. once the player finished the quest he/she wouldn't be able to quest it again. In short IP/Mac bound quest. Thanks if advance. Godbless
  • Create New...

Important Information

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