Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Share Posted June 2, 2013 Lotti Girl & Refine Master pRO Lotti Girl This script is pretty much the same pRO's Lotti Girl NPC. You must have a Premium Ticket to be able to get the jackpot prize. Script is very easy to config. Adjustable chance. A semi user friendly script. Credits to Euphy //<Chance><ItemID><Item Amount> setarray .@P1[0],0,8012,1; setarray .@P2[0],1,8011,1; setarray .@P3[0],5,8006,1; setarray .@P4[0],20,8010,1; setarray .@P5[0],90,13517,5; setarray .@P6[0],80,12080,10; setarray .@P7[0],90,30110,5; setarray .@P8[0],80,12075,10; setarray .@Default[0],30095,5; pRO Refine Master This script is pretty much the same pRO's Refine Master NPC. Player should have Refine Deed Ticket as a requirement for the upgrade. set @c,select("+5 Weapon Deed", "+6 Weapon Deed", "+7 Weapon Deed", "+8 Weapon Deed", "+9 Weapon Deed", "+10 Weapon Deed", "+11 Weapon Deed", "+12 Weapon Deed", "+5 Armor Deed", "+6 Armor Deed", "+7 Armor Deed", "+8 Armor Deed", "+9 Armor Deed", "+10 Armor Deed", "+11 Armor Deed", "+12 Armor Deed"); set @deed_item_id,8000+@c; item_db2.txt: 8001,+5_Weapon_Refine_Deed,+5 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} idnum2itemdisplaynametable.txt: 8001#+5_Weapon_Refine_Deed# idnum2itemresnametable.txt: 8001#ÄíÆù# idnum2itemdesctable.txt: 8001# A ticket that upgrade to +5 your weapon safely. ^ffffff_^000000 Weight :^777777 0^000000 # Lotti Girl.txt Refine Master.txt Data Refine Deed.rar 5 Quote Link to comment Share on other sites More sharing options...
williamII Posted June 2, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 343 Reputation: 15 Joined: 11/21/11 Last Seen: 5 hours ago Share Posted June 2, 2013 Oh great!!thx Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 2, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 2, 2013 I already added the official script and database entries for the Refine Ticket NPC in r17338. You don't really need the custom items, at least. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 2, 2013 Oh great!! thx Welcome I already added the official script and database entries for the Refine Ticket NPC in r17338. You don't really need the custom items, at least. Yea I just noticed that after reading your script. xD Quote Link to comment Share on other sites More sharing options...
Spectator Posted June 4, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted June 4, 2013 nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 4, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 4, 2013 nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Add: if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; Quote Link to comment Share on other sites More sharing options...
pr3p Posted June 5, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 197 Reputation: 13 Joined: 05/14/12 Last Seen: October 29, 2024 Share Posted June 5, 2013 It is better to update also the script sir ahihihi for changes Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 5, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 5, 2013 It is better to update also the script sir ahihihi for changes Update what? Quote Link to comment Share on other sites More sharing options...
Spectator Posted June 7, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted June 7, 2013 (edited) nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Add: if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; why when i put this script it will keep telling You are Overweight! if(Weight >= MaxWeight/2) goto Low; and Low: mes "You are Overweight!"; close; but when this script only everything works fine the npc will closed automatic but i want to add message when the player is overweight the npc will tell. if(Weight >= MaxWeight/2) Edited June 7, 2013 by Spectator Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 10, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 10, 2013 nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Add: if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; why when i put this script it will keep telling You are Overweight! if(Weight >= MaxWeight/2) goto Low; and Low: mes "You are Overweight!"; close; but when this script only everything works fine the npc will closed automatic but i want to add message when the player is overweight the npc will tell. if(Weight >= MaxWeight/2) Where did you put it? Can you post your script? Quote Link to comment Share on other sites More sharing options...
Spectator Posted June 11, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted June 11, 2013 nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Add: if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; why when i put this script it will keep telling You are Overweight! if(Weight >= MaxWeight/2) goto Low; and Low: mes "You are Overweight!"; close; but when this script only everything works fine the npc will closed automatic but i want to add message when the player is overweight the npc will tell. if(Weight >= MaxWeight/2) Where did you put it? Can you post your script? prontera,141,226,6 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"; mes "^ff00001 Premium Ticket^000000."; next; mes "[Lotti Girl]"; mes "Our Grand prize is:"; mes "^ff0000Combat Knife^000000"; mes "Special prizes are:"; mes "^ff0000+7 Armor Refine Deed^000000"; mes "^ff0000+10 Weapon Refine Deed^000000"; mes "and ^ff0000+6 Armor Refine Deed^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 (countitem(7608) < 1) close; next; if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; next; if(select("Deal me in!:No way...")==2) close; mes "[Lotti Girl]"; mes "Here we go..."; delitem 7608,1; set .@Total,2;//<%>,<ItemID>,<Amount> setarray .@P1[0],10,6233,1; setarray .@P2[0],20,1228,1; setarray .@P3[0],90,2423,1; setarray .@Default[0], 14232,5; set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; }} else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=4) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0; specialeffect2 248; close;} Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 11, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 11, 2013 nice! suggest: I think it's better to add checking of weight because if the player is overweight the item will drop. Add: if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; why when i put this script it will keep telling You are Overweight! if(Weight >= MaxWeight/2) goto Low; and Low: mes "You are Overweight!"; close; but when this script only everything works fine the npc will closed automatic but i want to add message when the player is overweight the npc will tell. if(Weight >= MaxWeight/2) Where did you put it? Can you post your script? prontera,141,226,6 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"; mes "^ff00001 Premium Ticket^000000."; next; mes "[Lotti Girl]"; mes "Our Grand prize is:"; mes "^ff0000Combat Knife^000000"; mes "Special prizes are:"; mes "^ff0000+7 Armor Refine Deed^000000"; mes "^ff0000+10 Weapon Refine Deed^000000"; mes "and ^ff0000+6 Armor Refine Deed^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 (countitem(7608) < 1) close; next; if(Weight >= MaxWeight/2) goto Low; Low: mes "You are Overweight!"; close; next; if(select("Deal me in!:No way...")==2) close; mes "[Lotti Girl]"; mes "Here we go..."; delitem 7608,1; set .@Total,2;//<%>,<ItemID>,<Amount> setarray .@P1[0],10,6233,1; setarray .@P2[0],20,1228,1; setarray .@P3[0],90,2423,1; setarray .@Default[0], 14232,5; set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; }} else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=4) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0; specialeffect2 248; close;} // http://rathena.org/board/topic/83017-pro-lotti-girl-refine-master/ prontera,141,226,6 script Lotti Girl 714,{ if(Weight >= MaxWeight/2) goto Low; 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"; mes "^ff00001 Premium Ticket^000000."; next; mes "[Lotti Girl]"; mes "Our Grand prize is:"; mes "^ff0000+8 Armor Refine Deed^000000"; mes "Special prizes are:"; mes "^ff0000+7 Armor Refine Deed^000000"; mes "^ff0000+10 Weapon Refine Deed^000000"; mes "and ^ff0000+6 Armor Refine Deed^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 (countitem(7608) < 1) close; next; if(select("Deal me in!:No way...")==2) close; mes "[Lotti Girl]"; mes "Here we go..."; delitem 7608,1; set .@Total,8; //<%>,<ItemID>,<Amount> setarray .@P1[0],0,8012,1; setarray .@P2[0],1,8011,1; setarray .@P3[0],5,8006,1; setarray .@P4[0],20,8010,1; setarray .@P5[0],90,13517,5; setarray .@P6[0],80,12080,10; setarray .@P7[0],90,30110,5; setarray .@P8[0],80,12075,10; setarray .@Default[0],30095,5; set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; } } else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=4) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0; specialeffect2 248; close; Low: mes "You are Overweight!"; close; } Quote Link to comment Share on other sites More sharing options...
Spectator Posted June 15, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted June 15, 2013 thanks it works Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 15, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 15, 2013 thanks it works You're welcome! 1 Quote Link to comment Share on other sites More sharing options...
panducakep Posted June 16, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 77 Reputation: 3 Joined: 06/06/13 Last Seen: December 29, 2017 Share Posted June 16, 2013 Thanks I'll use it on my server Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 17, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 17, 2013 Thanks I'll use it on my server You're welcome! Quote Link to comment Share on other sites More sharing options...
kingdomro Posted June 22, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 11 Reputation: 0 Joined: 07/07/12 Last Seen: January 10, 2015 Share Posted June 22, 2013 (edited) Lotti Girl & Refine Master pRO Lotti Girl This script is pretty much the same pRO's Lotti Girl NPC. You must have a Premium Ticket to be able to get the jackpot prize. Script is very easy to config. Adjustable chance. A semi user friendly script. Credits to Euphy //<Chance><ItemID><Item Amount> setarray .@P1[0],0,8012,1; setarray .@P2[0],1,8011,1; setarray .@P3[0],5,8006,1; setarray .@P4[0],20,8010,1; setarray .@P5[0],90,13517,5; setarray .@P6[0],80,12080,10; setarray .@P7[0],90,30110,5; setarray .@P8[0],80,12075,10; setarray .@Default[0],30095,5; pRO Refine Master This script is pretty much the same pRO's Refine Master NPC. Player should have Refine Deed Ticket as a requirement for the upgrade. set @c,select("+5 Weapon Deed", "+6 Weapon Deed", "+7 Weapon Deed", "+8 Weapon Deed", "+9 Weapon Deed", "+10 Weapon Deed", "+11 Weapon Deed", "+12 Weapon Deed", "+5 Armor Deed", "+6 Armor Deed", "+7 Armor Deed", "+8 Armor Deed", "+9 Armor Deed", "+10 Armor Deed", "+11 Armor Deed", "+12 Armor Deed"); set @deed_item_id,8000+@c; item_db2.txt: 8001,+5_Weapon_Refine_Deed,+5 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} idnum2itemdisplaynametable.txt: 8001#+5_Weapon_Refine_Deed# idnum2itemresnametable.txt: 8001#ÄíÆù# idnum2itemdesctable.txt: 8001# A ticket that upgrade to +5 your weapon safely. ^ffffff_^000000 Weight :^777777 0^000000 # I've been following the ways above and downloading data "Data Refine Deed rar." But why all the items I turn out to be like this. and if at click error this program please help me this code for item_db2.txt 8001,+5_Weapon_Refine_Deed,+5 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8002,+6_Weapon_Refine_Deed,+6 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8003,+7_Weapon_Refine_Deed,+7 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8004,+8_Weapon_Refine_Deed,+8 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8005,+9_Weapon_Refine_Deed,+9 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8006,+10_Weapon_Refine_Deed,+10 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8007,+11_Weapon_Refine_Deed,+11 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8008,+12_Weapon_Refine_Deed,+12 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8009,+5_Weapon_Refine_Deed,+5 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8010,+6_Weapon_Refine_Deed,+6 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8011,+7_Weapon_Refine_Deed,+7 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8012,+8_Weapon_Refine_Deed,+8 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8013,+9_Weapon_Refine_Deed,+9 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8014,+10_Weapon_Refine_Deed,+10 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8015,+11_Weapon_Refine_Deed,+11 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} 8016,+12_Weapon_Refine_Deed,+12 Weapon Refine Deed,3,,10,10,,,,,,,,,,,,,{},{},{} data in grf idnum2itemdesctable.txt 8001#ÄíÆù# 8002#ÄíÆù#8003#ÄíÆù# 8004#ÄíÆù# 8005#ÄíÆù# 8006#ÄíÆù# 8007#ÄíÆù# 8008#ÄíÆù# 8009#ÄíÆù# 8010#ÄíÆù# 8011#ÄíÆù# 8012#ÄíÆù# 8013#ÄíÆù# 8014#ÄíÆù# 8015#ÄíÆù# 8016#ÄíÆù# idnum2itemdisplaynametable.txt 8001#+5_Weapon_Refine_Deed# 8002#+6_Weapon_Refine_Deed# 8003#+7_Weapon_Refine_Deed# 8004#+8_Weapon_Refine_Deed# 8005#+9_Weapon_Refine_Deed# 8006#+10_Weapon_Refine_Deed# 8007#+11_Weapon_Refine_Deed# 8008#+12_Weapon_Refine_Deed# 8009#+5_Armor_Refine_Deed# 8010#+6_Armor_Refine_Deed# 8011#+7_Armor_Refine_Deed# 8012#+8_Armor_Refine_Deed# 8013#+9_Armor_Refine_Deed# 8014#+10_Armor_Refine_Deed# 8015#+11_Armor_Refine_Deed# 8016#+12_Armor_Refine_Deed# idnum2itemresnametable.txt 8001#ÄíÆù# 8002#ÄíÆù# 8003#ÄíÆù# 8004#ÄíÆù# 8005#ÄíÆù# 8006#ÄíÆù# 8007#ÄíÆù# 8008#ÄíÆù# 8009#ÄíÆù# 8010#ÄíÆù# 8011#ÄíÆù# 8012#ÄíÆù# 8013#ÄíÆù# 8014#ÄíÆù# 8015#ÄíÆù# 8016#ÄíÆù# any wrong?? Edited June 22, 2013 by kingdomro Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 22, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted June 22, 2013 Are you using latest version of kRO? Also what's your SVN version? Quote Link to comment Share on other sites More sharing options...
kingdomro Posted June 23, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 11 Reputation: 0 Joined: 07/07/12 Last Seen: January 10, 2015 Share Posted June 23, 2013 (edited) Are you using latest version of kRO? Also what's your SVN version? i use kro version "Full_kRO_Renewal_20130301" why sir?? Svn Version r17324 Edited June 23, 2013 by kingdomro Quote Link to comment Share on other sites More sharing options...
Jaburak Posted July 3, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: Sunday at 01:45 AM Author Share Posted July 3, 2013 Are you using latest version of kRO? Also what's your SVN version? i use kro version "Full_kRO_Renewal_20130301" why sir?? Svn Version r17324 Euphy already release the refine master, so you should ignore my refine master script. Also we already have refine deed ticket in our DB. Quote Link to comment Share on other sites More sharing options...
nexus1528 Posted July 15, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 07/15/13 Last Seen: November 25, 2014 Share Posted July 15, 2013 (edited) sir for your lotti girl .. how can i make it one click ? EDIT: sir I have made modifications on your lotti girl script to make it just one click but when only 1 ticket is in my inventory it doesnt delete the item and keeps on giving item. what should I do ? here's the script.. turbo_room,72,98,6 script Lotti Girl 714,{ if (countitem(30177) < 1) { mes "You need at least 1 Lotti Ticket!"; close; next; } if (countitem(30177) > 1) { delitem 30177,1; set .@Total,8; } //<%>,<ItemID>,<Amount> setarray .@P1[0],0,30327,1; setarray .@P2[0],1,30352,1; setarray .@P3[0],5,30188,1; setarray .@P4[0],20,30161,1; setarray .@P5[0],90,30176,5; setarray .@P6[0],80,30173,10; setarray .@P7[0],90,30159,5; setarray .@P8[0],80,674,10; setarray .@Default[0],673,5; set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; } } else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=4) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl!",0; specialeffect2 248; close; } Edited July 15, 2013 by nexus1528 Quote Link to comment Share on other sites More sharing options...
xilence01 Posted December 18, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Share Posted December 18, 2013 (edited) How to make this upto +10 armor/weapon only. no +11/+12 Edited December 18, 2013 by xilence01 Quote Link to comment Share on other sites More sharing options...
CursorX Posted December 19, 2013 Group: Members Topic Count: 66 Topics Per Day: 0.02 Content Count: 168 Reputation: 0 Joined: 11/20/13 Last Seen: November 23, 2021 Share Posted December 19, 2013 how to put a clock on it.. so it will automatic hide and unhide npc and it will broadcast if the npc will be hide or finish and broadcast if the npc will be unhide or ready Quote Link to comment Share on other sites More sharing options...
NANORAY Posted April 13, 2014 Group: Members Topic Count: 95 Topics Per Day: 0.02 Content Count: 210 Reputation: 3 Joined: 12/20/11 Last Seen: March 1, 2019 Share Posted April 13, 2014 how to announce 1 or more grand prize? Quote Link to comment Share on other sites More sharing options...
daShiru Posted August 27, 2017 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 52 Reputation: 2 Joined: 07/26/17 Last Seen: October 1, 2020 Share Posted August 27, 2017 (edited) On 6/2/2013 at 10:22 AM, Anakid said: Lotti Girl & Refine Master pRO Lotti Girl This script is pretty much the same pRO's Lotti Girl NPC. You must have a Premium Ticket to be able to get the jackpot prize. Script is very easy to config. Adjustable chance. A semi user friendly script. Credits to Euphy //<Chance><ItemID><Item Amount> setarray .@P1[0],0,8012,1; setarray .@P2[0],1,8011,1; setarray .@P3[0],5,8006,1; setarray .@P4[0],20,8010,1; setarray .@P5[0],90,13517,5; setarray .@P6[0],80,12080,10; setarray .@P7[0],90,30110,5; setarray .@P8[0],80,12075,10; setarray .@Default[0],30095,5; Hi how to add 2 choicess example: 100k zenny per game and 3 TCG <- higher chance to win if they use TCG Edited August 27, 2017 by daShiru Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.