-
Posts
8 -
Joined
-
Last visited
About newchaos
- Birthday 01/11/1991
Profile Information
-
Gender
Male
-
Location
philippine
-
Server
New Chaos RO
Contact Methods
- Website URL
- Yahoo
newchaos's Achievements
Poring (1/15)
0
Reputation
-
-
Not working for me help me thnx
-
can you help me how to solve this problem please. i am a eathena user.
-
so i cannot run it on eathena server?
-
prontera,139,229,5 script Lotti Girl 864,{ mes "[Lotti Girl]"; mes "It costs "+ .cost[1] +"x "+ getitemname( .cost[0] ) +" to play."; mes " "; for ( [email protected] = 0; [email protected] < 20; [email protected]++ ) mes $lotti_girl_ladder$[[email protected]]; if ( countitem( .cost[0] ) < .cost[1] ) close; next; if ( select( "Deal me in!", "No way..." ) == 2 ) close; mes "[Lotti Girl]"; while (1) { mes "Here we go..."; delitem .cost[0], .cost[1]; [email protected] = rand(.totalchance); [email protected] = 0; // <-- think you forgot to put this while ( ( [email protected] = [email protected] - getd( ".p"+ [email protected] +"[0]" ) ) >= 0 ) [email protected]++; [email protected] = getarraysize( getd(".p"+ [email protected] ) ); for ( [email protected] = 1; [email protected] < [email protected]; [email protected] += 2 ) getitem getd( ".p"+ [email protected] +"["+ [email protected] +"]" ), getd( ".p"+ [email protected] +"["+( [email protected] +1 )+"]" ); if ( getd( ".p"+ [email protected] +"[0]" ) < 50 ) // announce if below 50% chance announce "Congratulations to "+strcharinfo(0)+" for getting "+ .ann$[[email protected]] +"!", 0; if ( getd( ".p"+ [email protected] +"[0]" ) < 10 ) { // score the ladder if below 10% chance copyarray $lotti_girl_ladder$[1], $lotti_girl_ladder$[0], 19; $lotti_girl_ladder$ = strcharinfo(0) +" gains "+ .ann$[[email protected]] +" at "+ gettimestr( "%d/%m/%Y %H:%M %p", 21 ); } mes " "; mes "wanna try again ?"; next; if ( select( "Yes", "No" ) == 2 ) close; mes "[Lotti Girl]"; if ( countitem( .cost[0] ) < .cost[1] ) { mes "it seems you have ran out of "+ getitemname( .cost[0] ); close; } } close; OnInit: // setarray .p1, 70, 501,25; // debugging ... // setarray .p2, 70, 502,1; // setarray .p3, 40, 503,1; // setarray .p4, 40, 504,1; // setarray .p5, 40, 505,1; // setarray .p6, 50, 506,1, 507,1, 508,1, 509,1; // setarray .p7, 25, 512,1; // setarray .p8, 5, 513,1; setarray .p1, 70, 14232,1; setarray .p2, 10, 2115,1; setarray .p3, 50, 13582,1; setarray .p4, 40, 5210,1; setarray .p5, 10, 2421,1; setarray .p6, 5, 2524,1; setarray .p7, 5, 2357,1; setarray .p8, 5, 2729,1; setarray .p9, 30+30+60+60+60+50+75+95, 7040,1; // default ... the chance are added up by 100-n% setarray .cost, 7227,1; .total = 9; freeloop 1; [email protected] = 1; while ( [email protected] <= .total ) { .totalchance = .totalchance + getd(".p"+ [email protected] ); [email protected] = 1; [email protected] = getarraysize( getd(".p"+ [email protected] ) ); while ( [email protected] < [email protected] ) { .ann$[[email protected]] = .ann$[[email protected]] + getd( ".p"+ [email protected] +"["+( [email protected] +1 )+"]" ) +"x "+ getitemname( getd( ".p"+ [email protected] +"["+ [email protected] +"]" ) ) +( ( [email protected] == [email protected] -2 )? "":"," ); // I think Euphy forgotten to make announcement when configuration has set more than 1 items [email protected] += 2; } [email protected]++; } freeloop 0; } Can this script can be use in eathena version? lottiNPC.txt lottiNPC.txt
-
TCG Drainer - Very useful to most of the servers (just like Lotti Girl in pRO)
newchaos replied to Dvrstle's question in Script Requests
gagana po ba to sa eathena? prontera,139,229,5 script Lotti Girl 864,{ mes "[Lotti Girl]"; mes "It costs "+ .cost[1] +"x "+ getitemname( .cost[0] ) +" to play."; mes " "; for ( [email protected] = 0; [email protected] < 20; [email protected]++ ) mes $lotti_girl_ladder$[[email protected]]; if ( countitem( .cost[0] ) < .cost[1] ) close; next; if ( select( "Deal me in!", "No way..." ) == 2 ) close; mes "[Lotti Girl]"; while (1) { mes "Here we go..."; delitem .cost[0], .cost[1]; [email protected] = rand(.totalchance); [email protected] = 0; // <-- think you forgot to put this while ( ( [email protected] = [email protected] - getd( ".p"+ [email protected] +"[0]" ) ) >= 0 ) [email protected]++; [email protected] = getarraysize( getd(".p"+ [email protected] ) ); for ( [email protected] = 1; [email protected] < [email protected]; [email protected] += 2 ) getitem getd( ".p"+ [email protected] +"["+ [email protected] +"]" ), getd( ".p"+ [email protected] +"["+( [email protected] +1 )+"]" ); if ( getd( ".p"+ [email protected] +"[0]" ) < 50 ) // announce if below 50% chance announce "Congratulations to "+strcharinfo(0)+" for getting "+ .ann$[[email protected]] +"!", 0; if ( getd( ".p"+ [email protected] +"[0]" ) < 10 ) { // score the ladder if below 10% chance copyarray $lotti_girl_ladder$[1], $lotti_girl_ladder$[0], 19; $lotti_girl_ladder$ = strcharinfo(0) +" gains "+ .ann$[[email protected]] +" at "+ gettimestr( "%d/%m/%Y %H:%M %p", 21 ); } mes " "; mes "wanna try again ?"; next; if ( select( "Yes", "No" ) == 2 ) close; mes "[Lotti Girl]"; if ( countitem( .cost[0] ) < .cost[1] ) { mes "it seems you have ran out of "+ getitemname( .cost[0] ); close; } } close; OnInit: // setarray .p1, 70, 501,25; // debugging ... // setarray .p2, 70, 502,1; // setarray .p3, 40, 503,1; // setarray .p4, 40, 504,1; // setarray .p5, 40, 505,1; // setarray .p6, 50, 506,1, 507,1, 508,1, 509,1; // setarray .p7, 25, 512,1; // setarray .p8, 5, 513,1; setarray .p1, 70, 14232,1; setarray .p2, 10, 2115,1; setarray .p3, 50, 13582,1; setarray .p4, 40, 5210,1; setarray .p5, 10, 2421,1; setarray .p6, 5, 2524,1; setarray .p7, 5, 2357,1; setarray .p8, 5, 2729,1; setarray .p9, 30+30+60+60+60+50+75+95, 7040,1; // default ... the chance are added up by 100-n% setarray .cost, 7227,1; .total = 9; freeloop 1; [email protected] = 1; while ( [email protected] <= .total ) { .totalchance = .totalchance + getd(".p"+ [email protected] ); [email protected] = 1; [email protected] = getarraysize( getd(".p"+ [email protected] ) ); while ( [email protected] < [email protected] ) { .ann$[[email protected]] = .ann$[[email protected]] + getd( ".p"+ [email protected] +"["+( [email protected] +1 )+"]" ) +"x "+ getitemname( getd( ".p"+ [email protected] +"["+ [email protected] +"]" ) ) +( ( [email protected] == [email protected] -2 )? "":"," ); // I think Euphy forgotten to make announcement when configuration has set more than 1 items [email protected] += 2; } [email protected]++; } freeloop 0; } lottiNPC.txt -
rAthena Casting Time How to Change it to 3ceam casting time
newchaos posted a question in Source Requests
I'm using pre-renewal mode and i enabled the fix cast time in scr renewal. But when i tried to cast a spell with two berzebub cards, still it has a casting time. I also tried with other cards that reduce casting time.. but still no effect at all. How can i fix this? Coz i wanted to use na fixed casting time in pre-renewal. -
I'm using pre-renewal mode and i enabled the fix cast time in scr renewal. But when i tried to cast a spell with two berzebub cards, still it has a casting time. I also tried with other cards that reduce casting time.. but still no effect at all. How can i fix this? Coz i wanted to use na fixed casting time in pre-renewal.