Royr

Members
  • Content Count

    21
  • Avg. Content Per Day

    0
  • Joined

Everything posted by Royr

  1. Try this: prontera,150,180,4 script Exchanger 4_F_BRZ_WOMAN,{ mes .n$; mes "I can exchange your "+getitemname(.exc_id)+"s for other items."; mes "Please select from the list what you want."; mes " "; mes "Currency: "+ getitemname(.exc_id); next; for( [email protected] = 0; [email protected] < getarraysize(.item); [email protected] ++ ) [email protected]_menu$ = [email protected]_menu$ + "- "+ getitemname(.item[[email protected]]) +" ("+ .cost[[email protected]] +") "+ ( (.item[[email protected]+1] != 0)?":":""); [email protected] = select([email protected]_menu$) - 1; mes .n$; mes "You have chosen "+ getitemname(.item[[email protected]]) +" for the price of "+ .cost[[email protected]] +" "+ getitemname(.exc_id) +"s"; mes "Is that correct?"; next; if( select("- Yes:- No" ) - 1) close; mes .n$; if( countitem(.exc_id) < .cost[[email protected]] ) { mes "I'm sorry, but you don't have enough "+getitemname(.exc_id)+", please come back when you have enough."; close; } getitem .item[[email protected]],1; delitem .exc_id,.cost[[email protected]]; mes "Exchange complete."; close; OnInit: .n$ = "[ "+ strnpcinfo(0) +" ]"; .exc_id = 501; setarray .item[0],603,13890,13889,618,616; setarray .cost[0],1,1,1,1,1; end; }
  2. function script AddPoints { [email protected] = getarg(0); [email protected] = getarg(1); getitem $shardIds[0], [email protected]; message rid2name([email protected]), "You've recieved "+ [email protected] +" Shard"+ ([email protected] > 1 ? "s":"") +"."; return; }
  3. in mob.c - pc_isGM(sd) + pc_get_group_level(sd) Try this one: if( (mvp_sd && pc_get_group_level(mvp_sd)) || (sd && pc_get_group_level(sd)) ) { if( mvp_sd && pc_get_group_level(mvp_sd) < battle_config.gm_monsterdrop_lv ) type |= 1; else if( sd && pc_get_group_level(sd) < battle_config.gm_monsterdrop_lv ) type |= 1; } It should work, i tested mine here.
  4. Raw Script: Lucky Gambler prontera.gat, 155, 185, 5 script Lucky Gambler 757,{ /* Note: Calculations: 100/50 = 2 so 2 is 50% */ // Required Item [email protected]_ID = 501; // [email protected]_List[0],<rates>,<item_id>,......... setarray [email protected]_List[0], 2,5738, 20,5443, 25,2294, 30,5509, 50,5150 ; setarray [email protected]_Ann[0], 5738, 5443, 2294, 5509, 5150 ; mes "Do you want to use your "+getitemname( [email protected]_ID )+" to try and get something valuable items."; next; if( select("- Yes:- No")-1 ) close; if( !countitem( [email protected]_ID ) ) { mes "You don't have any "+getitemname( [email protected]_ID )+"."; mes "Please come back to me if you have it already."; } else { delitem [email protected]_ID,1; for( [email protected] = 0; [email protected] < getarraysize([email protected]_List); [email protected]+= 2 ) { if( rand([email protected]_List[[email protected]]) == 1 ) { getitem( [email protected]_List[[email protected]+1] ),1; mes "Congratulations!"; for( [email protected] = 0; [email protected] < getarraysize([email protected]_List); [email protected]++ ) { if( [email protected]_List[[email protected]+1] == [email protected]_Ann[[email protected]] ) { announce "[ Lucky Gambler ]: Player " + strcharinfo(0) +" has obtained "+ (([email protected]_List[[email protected]]>=50)?"'Low'":"'High'") +" "+getitemname( [email protected]_List[[email protected]+1] )+" with ["+ (100/[email protected]_List[[email protected]]) +"%] Chance.",bc_all,0xBA55D3; } } specialeffect 154; close; } } specialeffect 155; mes "It's failed, sorry."; } close; }
  5. Royr

    @ccommands

    If you know how to modify the script then your good to go.
  6. Royr

    @ccommands

    Search Engine is the 'key' there are tons of that similar to your requests.
  7. Royr

    @ccommands

    References
  8. Stop being lazy. Use the search engine. prontera,148,188,5 script Freebies NPC 567,{ [email protected] = 100 * Weight / MaxWeight; if( 50 <= [email protected] ) { mes .n$; mes "You are currently at "+ [email protected] +" percent of your maximum weight."; close; } mes .n$; mes "Hello "+strcharinfo(0)+", Welcome To PVP-RO."; next; mes "[^000088 Automated Freebies NPC ^000000]"; if( #freebies ) { mes .n$; mes "You already have your freebies."; close; } if( select ("- Please Bless Me:- Never Mind") == 2 ) { mes .n$; mes "Come back for my Blessing!"; mes "Thank you"; close; } else { #freebies = 1; getitembound2 5137,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5766,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2254,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5259,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2255,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5200,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5040,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2296,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5175,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5104,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2286,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2291,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5596,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5521,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5113,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5054,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5096,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5110,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2237,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2240,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5775,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 5594,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 1102,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1151,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1208,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1251,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1302,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1352,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1405,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1452,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1502,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1550,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1602,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1702,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1802,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1951,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1929,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 1108,2,1,10,0,0,0,0,0,Bound_Account; getitembound2 40145,2,1,0,0,0,0,0,0,Bound_Account; getitembound2 40146,2,1,0,0,0,0,0,0,Bound_Account; getitembound2 40147,2,1,0,0,0,0,0,0,Bound_Account; getitembound2 40148,2,1,0,0,0,0,0,0,Bound_Account; getitembound2 4403,3,1,0,0,0,0,0,0,Bound_Account; getitembound2 4174,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4047,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4302,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4105,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4142,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4352,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4058,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 4305,4,1,0,0,0,0,0,0,Bound_Account; getitembound2 4035,4,1,0,0,0,0,0,0,Bound_Account; getitembound2 4143,2,1,0,0,0,0,0,0,Bound_Account; getitembound2 4302,1,1,0,0,0,0,0,0,Bound_Account; getitembound2 2785,2,1,0,0,0,0,0,0,Bound_Account; mes .n$; mes "Enjoy your Gifts."; close; } OnInit: .n$ = "[^000088 Freebies NPC ^000000]"; waitingroom "Freebies NPC",0; end; }
  9. I don't mind about the Donation if the Author would implement the client date too. Waiting for his response.
  10. Is there any chance will you support 2015-09-16.exe? That would be much appreciated!
  11. There's 3 persons who knows how to change the .exe @Ai4rei @Functor @4144 This kind of modification requires hexing the client.
  12. Here you go check OnInit part: - script paytowinbuffs -1,{ end; OnBuffs: if(!isequipped(4263)) { message strcharinfo(0),"Does not work equipped with Incarnated Samurai Card."; end; } if(getgroupid() <= 4) { message strcharinfo(0),"You don't have any Authorization for this command."; end; } [email protected] = delay_buffer - gettimetick(2); if ([email protected] > 0) { dispbottom( "You have to wait "+ [email protected] +" second"+ ( [email protected] > 1 ? "s" : "" ) +" to use the command again.", 0xFF0000 ); end; } [email protected] = getarraysize(.buffs$); for( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { [email protected]$ = [email protected]$ + ""+.buffs$[[email protected]]+"" + ":"; } [email protected] = select([email protected]$) -1; sc_start .elements[[email protected]],180000,5; delay_buffer = gettimetick(2) + .delay; end; OnInit: .delay = 3 * 2; // 5 = 5 seconds *60 = 360 seconds setarray .buffs$, "^800080Envenenar Arma^000000", "^40E0D0Aspersio^000000", "^000000Sombrio^000000", "^FFD700Encantar com Ventania^000000", "^0000FFEncantar com Geada^000000", "^FF0000Encantar com Chama^000000", "^B8860BEncantar com Terremoto^000000"; setarray .elements, 26, 37, "144", "98", "97", "96", "99"; bindatcmd "encantar","paytowinbuffs::OnBuffs",0,99; end; }
  13. Royr

    Hey! is there wa i can get the FONT name of the 'Character Creation'

    Thanks for the release!

    1. Chuu

      Chuu

      Uhm.. what? I can't understand you.

    2. Royr

      Royr

      FONT name you used.

    3. Chuu

      Chuu

      It's the default ragnarok font. If you ask for the bottom text, I'd say Calibri. I don't remember that any more. 🙂

  14. So basically you want, every refine* it adds +10 HP am I right? bonus bMaxHP,10*getrefine()/1; or [email protected] = refine(); bonus bMaxHP,10*[email protected]; Both posted are the same thing.
  15. Try this: - script F_PVPRecovery -1,{ end; OnPCDieEvent: [email protected]$ = strcharinfo(3); [email protected]$ = strcharinfo(0); if( [email protected]$ == "pvp_y_1-2" ) { for( [email protected] = 5; [email protected] >= 0; [email protected] ) { message [email protected]$ ,"You will respawn in "[email protected]+" second"+ ( [email protected] > 1 ? "s" : "") +"."; sleep2 1000; } recovery 0; warp [email protected]$,0,0; } end; }
  16. Royr

    atcommands.c

    I assumed you haven't put commands on a normal player command(s)/group_id which is "speed" doesn't exist in the command list. https://github.com/rathena/rathena/blob/master/conf/groups.conf Example: groups: ( { id: 0 /* group 0 is the default group for every new account */ name: "Player" level: 0 inherit: ( /*empty list*/ ) commands: { speed: true changedress: true } permissions: { /* without this basic permissions regular players could not trade or party */ can_trade: true can_party: true command_enable: true attendance: true } },
  17. Because your missing script_command of 'inarray' your rAthena is outdated better update it. https://github.com/rathena/rathena/commit/151c8476
  18. The script itself 100% working you just have to set-up properly the "OnInit: part. I don't see any problems at the script at all. Example: set .top_morpho,2220; // That is Hat Then try it in-game see if it works. Keep in mind there are some ranges of headgears are allowed to be used in-game. if( ([email protected] >= 5001 && [email protected] <= 5859) || ([email protected] >= 60000 && [email protected] <= 61196) ) { // 5001 && 5859 - Check them at RateMyServer 6000 && 61996 It's a Custom Headgears