Jump to content

GubA

Members
  • Posts

    24
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

1251 profile views

GubA's Achievements

Santa Poring

Santa Poring (3/15)

  • Collaborator
  • Reacting Well
  • First Post
  • Dedicated
  • Conversation Starter

Recent Badges

0

Reputation

  1. Original Code Is OK But when edit like this Is error. How to fix this. Thank you.
  2. How to Download AndRO https://ibb.co/NjvbJ40
  3. How to edit FluxCP to write thai language. When i write thai it will alien language. Thank you for help
  4. Thank you. But. How to update all your affected tables. I use AppServ 9.3.0.
  5. When i import main.sql will show Warning: #1681 Integer display width is deprecated and will be removed in a future release. How to fix this. Thank you.
  6. i need only afk. dont need autotrade.
  7. This my code Can i change SC_AUTOTRADE >>> SC_AUTOBERSERK because when i recall it will hide. Thank you for help.
  8. What I want is 1. The player's level is checked first. 2. Set items for players to exchange for levels. example If a player is level 1, must bring 5 Red Potions and 10 Fly Wings in exchange for leveling up 1. When player level 2 must exchange 10 bottles of Awakening Potion 20 Jellopy for level up 1 etc. Thank you for help.
  9. How to fix this map. i has download KRO JRO IRO but cant go this map. Thank for Help. Thank you.
  10. prontera,155,177,5 script random 615,{ function Getcostume; if( countitem( .rare_ticket ) ) { mes "Rare Ticket"; .@r = .rate_chance_rare; // chance .@ticket = .rare_ticket ; } else if( countitem( .normal_ticket ) ) { mes "Normal Ticket"; .@r = .rate_chance_normal; // chance .@ticket = .normal_ticket; } else { mes "random"; close; } if( select( "go", "no" ) -1 ) close; delitem .@ticket, 1; if( .@r > rand( 1, 1000 ) ) { // chance 50% for rare ticket mes "random"; getitem Getcostume( "rare" ), 1; close; } else { mes "random"; getitem Getcostume( "normal" ), 1; close; } OnInit: .normal_ticket = 501; .rare_ticket = 502; .rate_chance_rare = 500; // chance to get a rare costume with rare ticket .rate_chance_normal = 100; // chance to get a rare costume with normal ticket // rare costume ID // size array must be < 128 // use the synthaxe .rare_IDX for adding news array // ------------------------------------------------ setarray .rare_ID0,5909; setarray .rare_ID1,5912; setarray .rare_ID2,5914; setarray .rare_ID3,5915; setarray .rare_ID4,5977; setarray .rare_ID5,5979; setarray .rare_ID6,5980; setarray .rare_ID7,15280; setarray .rare_ID8,15841; setarray .rare_ID9,15843; setarray .rare_ID10,15858; // normal costume ID // size array must be < 128 // use the synthaxe .normal_IDX for adding news array // ------------------------------------------------ setarray .normal_ID0,50001; setarray .normal_ID1,50001; setarray .normal_ID2,50001; setarray .normal_ID3,50001; setarray .normal_ID4,50001; setarray .normal_ID5,50001; setarray .normal_ID6,50001; setarray .normal_ID7,50001; // Don't touch // ----------- callsub L_size, "rare"; callsub L_size, "normal"; end; L_size: while( getd( "."+ getarg(0) +"_ID"+ .@i +"[0]" ) ) { setd ".size_"+ getarg(0) +""+ .@i, getarraysize( getd( "."+ getarg(0) +"_ID"+ .@i ) ); setd ".size_tot_"+ getarg(0), getd( ".size_tot_"+ getarg(0) ) + getarraysize( getd( "."+ getarg(0) +"_ID"+ .@i ) ); .@i++; } return; function Getcostume { .@r = rand( 1, getd( ".size_tot_"+ getarg(0) ) ); .@i = -1; while( .@r > .@tmp ) .@tmp = .@tmp + getd( ".size_"+ getarg(0) + .@i++ ); .@in = .@r - ( .@tmp - getd( ".size_"+ getarg(0) + .@i ) ) -1; return getd( "."+ getarg(0) +"_ID"+ .@i +"[ "+ .@in +" ]" ); } }
×
×
  • Create New...