Jump to content

PottScilgrim

Members
  • Content Count

    8
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

PottScilgrim last won the day on June 25

PottScilgrim had the most liked content!

Community Reputation

6 Neutral

About PottScilgrim

  • Rank
    New Member

Profile Information

  • Gender
    Male
  • Location
    United Kingdom
  • Server
    BlitzRO
  • Github
    https://github.com/PhillyThomas/

Contact Methods

Recent Profile Visitors

81 profile views
  1. z_agit,16,108,6 script Claw Machine 563,{ [email protected]$ = "[" + strnpcinfo(1) + "]"; mes [email protected]$; mes "Hello, for 75 War Badge you have a chance to obtain one of these items :"; for ([email protected] = 0; [email protected] < getarraysize(.items); [email protected]++) { mes "^008000~ " + getitemname(.items[[email protected]]) + "^000000"; } next; switch(select("Gamble!:Leave")) { case 1: if (Zeny < .zenyCost) { mes [email protected]$; mes "I'm afraid you don't have enough to gamble."; close; } Zeny -= .zenyCost; [email protected] = rand(1,100); for ([email protected] = 0 ; [email protected] < getarraysize(.items) ; [email protected]++) { if ([email protected] <= .percents[[email protected]]) { getitem .items[[email protected]],1 ; dispbottom "Congrats! You won 1 "+getitemname(.items[[email protected]])+" !" ; [email protected] = 1; } } if ([email protected]) dispbottom "You lost !"; mes [email protected]$; mes "There you go!"; break; case 2: break; } close; OnInit: .zenyCost = 1000000; // Change to what you want the zeny cost to be setarray .items,7773,671; setarray .percents,50,20; end; } You just want the zeny cost to be different? Try this. Modify the integer after .zenyCost in the OnInit section and it will change.
  2. Big yikes. That’s what I get for quick scripting! I’ll fix it soon.
  3. This should do it. Modify settings on the "OnInit:" section to make permanent changes, otherwise GMs over gm lvl 60 can modify the settings live, but these aren't permanent changes and will only last till the script is reloaded again. prontera,155,186,4 script Skillpoint Trader#pront 4W_M_01,{ .name$ = "[^FF0000 Skillpoint Trader ^000000]"; if(getgmlevel() > .minGM){ mes .name$; mes "Hi GM "+strcharinfo(0)+"!"; switch(select("~ Change Settings:~ Show player menu:~ ^FF0000Cancel^000000")){ case 1: while(1){ clear; mes .name$; mes "Zeny per point: ^57b017"+callfunc("F_InsertComma",.zeny)+"^000000"; mes "Trans classes only: "+(.onlytrans ? "^57b017Enabled^000000":"^8b8b8bDisabled^000000"); mes "Level required: "+(.minlvl ? "^57b017"+.minlvl+"^000000":"^8b8b8bDisabled^000000"); mes "This changes will only last until the next restart/reloadscript. Recommend changing in the script for permanent changes."; switch(select("~ Set Zeny:~ Set Trans Restriction:~ Set Lvl Restriction:~ ^FF0000Cancel^000000")){ case 1: input .zeny; break; case 2: if(.onlytrans == 1){.onlytrans=0;}else{.onlytrans=1;} break; case 3: clear; mes .name$; mes "Input level required to sell points. 0 to disable"; input .minlvl; break; default: close; } } case 2: clear; break; default: close; } } mes .name$; mes "Hi "+strcharinfo(0)+", I can buy your spare skill points for zeny!"; mes "----"; mes "Current Exchange Rate:"; mes "1pt = ^d19a24"+callfunc("F_InsertComma",.zeny)+"^000000z"; switch(select("~ Sell Skill Points:~ ^FF0000Cancel^000000")){ case 1: break; default: clear; mes .name$; emotion ET_BEST; mes "Ok, see you next time!"; close; } if(BaseLevel < .minlvl){ clear; mes .name$; mes "You are too low level to use this feature, please speak to me once you've hit level "+.minlvl; close; } if(.onlytrans){ if(Class >= 4008 && Class <= 4022){ goto L_SELL; } else if(Class >= 4054 && Class <= 4087){ goto L_SELL; } else { clear; mes .name$; mes "Only Transcendence classes can use this feature!"; close; } } L_SELL: clear; mes .name$; mes "You have "+SkillPoint+" skill points available!"; switch(select("~ Sell One:~ Sell Multiple:~ Sell All:~ ^FF0000Cancel^000000")){ case 1: [email protected] = 1; break; case 2: mes "Please input the amount of skill points you would like to sell."; input [email protected]; if([email protected] > SkillPoint) { [email protected] = SkillPoint; } else if([email protected] < 0){ [email protected] = 1; } break; case 3: [email protected] = SkillPoint; break; default: clear; mes .name$; emotion ET_BEST; mes "Ok, see you next time!"; close; } clear; mes .name$; mes "You want to sell ^57b017"[email protected]+"^000000 pts for"; mes "^d19a24"+callfunc("F_InsertComma",(.zeny*[email protected]))+"^000000z?"; switch(select("~ Yes:~ ^FF0000Cancel^000000")){ case 1: SkillPoint = SkillPoint - [email protected]; Zeny = Zeny + (.zeny*[email protected]); clear; mes .name$; mes "I've just credited ^d19a24"+callfunc("F_InsertComma",(.zeny*[email protected]))+"^000000z into your account!"; close; default: clear; mes .name$; emotion ET_BEST; mes "Ok, see you next time!"; close; } OnInit: .zeny = 100000; // change to however many zeny you want per skill point .onlytrans = 1; // change to 0 to allow any class to trade skill points .minlvl = 0; // change to your max level to only allow max level chars to trade points. 0 to disable. .minGM = 60; // change to the minimum GM level required to access the GM settings. end; }
  4. Try using instance_mapname(“job_thief1”).
  5. Try this: prontera,154,179,3 script Oca#cards 4W_M_01,{ //GroupID do usuário set [email protected]_user, 1; // Quantidade Oridecon Enriquecidos entregue set [email protected]_oridecon, 1; // Quantidade cartas obrigatórias set [email protected]_item, 10; // Site no qual será indicado ao jogador para se tornar um Usuário VIP. [email protected]$ = "https://google.com.br"; if( getgroupid() >= [email protected]_user) { mes "Deseja trocar carta por Oridecon Enriquecidos?"; switch( select("Sim", "Não")){ case 1: mes "Ok, irei verificar os requisitos."; next; getinventorylist; for( [email protected]=0; [email protected] < @inventorylist_count; [email protected]++){ if(getiteminfo(@inventorylist_id[[email protected]],2) == 6 && @inventorylist_id[[email protected]] >= 4001 && @inventorylist_id[[email protected]] <= 4453 ){ dispbottom "Item Count: ["+getitemname(@inventorylist_id[[email protected]])+"] - "+countitem(@inventorylist_id[[email protected]]); if(countitem(@inventorylist_id[[email protected]]) > 1){ if((countitem(@inventorylist_id[[email protected]])[email protected]) >= 9){ [email protected] = ([email protected]); } else { [email protected] = countitem(@inventorylist_id[[email protected]]); } dispbottom "[email protected] = "[email protected]; for([email protected]=0; [email protected] < [email protected]; [email protected]++){ [email protected][[email protected]] = @inventorylist_id[[email protected]]; dispbottom "[email protected]["[email protected]+"] = "[email protected][[email protected]]; [email protected]+=1; } } else { [email protected][[email protected]] = @inventorylist_id[[email protected]]; dispbottom "[email protected]["[email protected]+"] = "[email protected][[email protected]]; [email protected]+=1; } if([email protected] == 10){ for([email protected]=0; [email protected] < 10; [email protected]++){ if([email protected][[email protected]] != [email protected][[email protected]+1]){ [email protected] = [email protected][[email protected]]; mes "- ^bf7c0f"+getitemname([email protected])+"^000000 x"+countinarray([email protected][0], [email protected]); } } switch(select("~ Trade:~ ^FF0000Cancel^000000")){ case 1: for([email protected]=0; [email protected] < 10; [email protected]++){ delitem [email protected][[email protected]],1; } clear; mes "Aqui está seu item."; getitem 7620,1; close3; case 2: close3; } } } } mes "..."; mes "verifique os requisitos"; close3; case 2: mes "até mais"; close3; } } else { mes "Somente VIP pode usar meus serviços. Para se tornar um usuário VIP, acesse nosso site:"; mes "^0000FF" + [email protected]$ + "^000000"; close3; } }
  6. View File Junk Seller Junk Seller will scan your inventory and sell everything at the same time. The list of items will display in a window so the player has a chance to confirm. If the player has the skill "Overcharge" it will add zeny to the sale amount accordingly. INSTALLATION AND CUSTOMISATION: 1. SQL DB required for personal blacklist, run this command to create the necessary table in your DB: CREATE TABLE `junkerblacklist` ( `char_id` varchar(100) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `item_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2. Add junkseller.txt to whichever directory you store your NPCs, and update scripts_custom.conf. 3. Modify this array at line 54 to configure your permanent global blacklist. setarray @Blacklist[0], 4. Uncomment / Comment the code at lines 541 and 544 if you would like the script to include Cards. // Checks if item is an Etc item (3) // Comment this line and uncomment the line below if you want Cards to be included if(getiteminfo([email protected],2) == 3){ // Comment the above line and uncomment this line if you want Cards to be included //if(getiteminfo([email protected],2) == 3 || getiteminfo([email protected],2) == 6){ 5. Modify [email protected] to 0 at line 39 if you don't want the message displaying how many items were removed by the blacklist system. [email protected] = 1; // Shows how many items were removed by the blacklist system. Submitter PottScilgrim Submitted 06/25/2020 Category Utilities Video Content Author PottScilgrim  
  7. Version 1.3.0

    39 downloads

    Junk Seller will scan your inventory and sell everything at the same time. The list of items will display in a window so the player has a chance to confirm. If the player has the skill "Overcharge" it will add zeny to the sale amount accordingly. INSTALLATION AND CUSTOMISATION: 1. SQL DB required for personal blacklist, run this command to create the necessary table in your DB: CREATE TABLE `junkerblacklist` ( `char_id` varchar(100) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `item_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2. Add junkseller.txt to whichever directory you store your NPCs, and update scripts_custom.conf. 3. Modify this array at line 54 to configure your permanent global blacklist. setarray @Blacklist[0], 4. Uncomment / Comment the code at lines 541 and 544 if you would like the script to include Cards. // Checks if item is an Etc item (3) // Comment this line and uncomment the line below if you want Cards to be included if(getiteminfo([email protected],2) == 3){ // Comment the above line and uncomment this line if you want Cards to be included //if(getiteminfo([email protected],2) == 3 || getiteminfo([email protected],2) == 6){ 5. Modify [email protected] to 0 at line 39 if you don't want the message displaying how many items were removed by the blacklist system. [email protected] = 1; // Shows how many items were removed by the blacklist system.

    Free

  8. Hey guys, I've been a long time lurker of RO, having been a scripter back when it was still eAthena 13-14 years ago. After taking a 13 year break from RO I decided to re-open my old server. I've been really enjoying getting back into scripting, and have developed a few scripts that have become popular with players. Please let me know if there are any issues with these scripts, and I'll do my best to get back to you with a fix as soon as I can.
×
×
  • Create New...

Important Information

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