• Content Count

  • Avg. Content Per Day

  • Joined

  • Last visited

  • Days Won


pajodex last won the day on March 24

pajodex had the most liked content!

Community Reputation

83 Excellent

About pajodex

  • Rank
    Pooring Scripter
  • Birthday 12/22/1993

Profile Information

  • Gender
  • Location
  • Interests

Contact Methods

  • Discord

Recent Profile Visitors

1,927 profile views
  1. Lots of guides available in the forum and wiki. Otherwise, check third-party services.
  2. Edited my first post.. I accidentally put "[email protected]" instead of "[email protected]"
  3. add this if(getequiprefinerycnt([email protected]) < 10) failedrefitem [email protected] // if refine is less than +10... item will break.. above Line 166: specialeffect EF_CURSEATTACK;
  4. payo2,75,115,5 script Race to 99 Reward NPC 99,{ [email protected] = 99; //Set your servers max base level here. [email protected] = 50; //Set your servers max job level here. setarray [email protected], // set rewards 6046, 3, // <ID>, <AMT> 7539, 25, 23025, 1, 23034, 1; if ( LReward ) { // checks if you already get the reward. mes "No more rewards."; close; } if(BaseLevel < [email protected] && JobLevel < [email protected] ) { mes "You don't have the required level yet."; mes "Come back when you reached it - Base Level "[email protected]+" - Job Level "[email protected]+"!"; close; } mes "Congratulations, you've reached the max level in the server, here's your reward!"; close2; LReward = true; // sets LReward to true which means you already get your item. for([email protected]=0;[email protected]<getarraysize([email protected]);[email protected]+=2) getitem [email protected][[email protected]], [email protected][[email protected]+1]; end; }
  5. Thanks buddy, I will try this There finally working, I was using the same diff before. But I think I have missed a line when I implemented it. Thanks for a better and clearer copy
  6. Anyone who has a latest @costumeitem script command diff that's working with latest server file? Thanks
  7. pajodex

    Script @cart

    // Note: the character needs to have the skill MC_PUSHCART to gain a cart prontera,149,180,0 script Cart Select 100,{ // zeny cost of cart. setarray [email protected]_cost[1], 100, // cart 1 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200; // cart 12 if (!checkcart()) { mes "You must have a cart."; close; } mes "Choose a cart:"; next; [email protected]$ = ""; for ([email protected]=1; [email protected]<13; [email protected]++) { [email protected]$ += "Cart #"[email protected]; [email protected]$ += ":"; } [email protected] = select([email protected]$); mes "You selected Cart #"+ [email protected]; mes " "; mes "Cost price is "+ F_InsertComma([email protected]_cost[[email protected]]) +"z."; next; if(select("Yes","No")==2) close; if (Zeny < [email protected]_cost[[email protected]]) { mes "Not enough zeny,"; close; } Zeny -= [email protected]_cost[[email protected]]; setcart [email protected]; mes "Goodluck!"; close; }
  8. pajodex

    Script @cart

    Or you can enable the use of @cart to players instead
  9. Sorry, I wont support this script nor attend request on this anymore. Since this is a free release, feel free to edit it.
  10. Script-wise, yes maybe.. once they get the title. attachnpc timer to player. after an hour, remove the achievement.. *achievementremove(<achievement id>{,<char id>}) This function will remove an achievement from the player's log for the attached player or the supplied <char id>. Returns true on success and false on failure.
  11. // Disclaimer : // Yes this code is from example 2 of script_commands.txt prontera,150,180,0 script PvP Party Warper 100,{ [email protected]$ = "guild_vs1"; // Pvp map [email protected]_num = 45; // How many party members are required? getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; if ( !getcharid(1) || [email protected] != [email protected]_num ) { mes "Please form a party of " + [email protected]_num + " to continue"; close; } for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) [email protected]_online++; if ( [email protected]_online != [email protected]_num ) { mes "All your party members must be online to continue"; close; } copyarray [email protected], [email protected], [email protected]_num; mes "Are you ready ?"; next; select("Yes"); getpartymember getcharid(1), 1; if ( [email protected] != [email protected]_num ) { mes "You've made changes to your party !"; close; } for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { if ( [email protected][[email protected]] != [email protected][[email protected]] ) { mes "You've made changes to your party !"; close; } } warpparty [email protected]$, 0,0, getcharid(1); end; }
  12. shop custom_seller21 -1,673:1000000 // Create our dummy shop. prontera,150,150,4 script [Máquina Cartas] 564,{ // This code runs when the user clicks our npc. mes "[^FF2400Cuidado^000000] Escolha um item!"; // Let the user know about our shop. callshop "custom_seller21",1; // Summon our dummy shop filled with custom items. npcshopattach "custom_seller21"; // Attach the shop to this npc. end; // This code runs when a user purchases an item from out shop. OnBuyItem: [email protected] = getarraysize(.customs); // Get the number of customs we're adding. [email protected]_len = getarraysize(@bought_nameid); // Get the number of purchased items. for( set @i, 0; @i < [email protected]; set @i, @i+1 ) { for( set @d,0; @d < [email protected]_len; set @d, @d+1 ) { if( @bought_nameid[@d] == .customs[@i] ) { // Check if the purchased item equals our custom item. if( countitem(.CoinID) >= .Price[@i] * @bought_quantity[@d] ) { // Check if the user has the correct funds. delitem .CoinID,.Price[@i]*@bought_quantity[@d]; getitem @bought_nameid[@d],@bought_quantity[@d]; } } } } deletearray @bought_quantity, getarraysize(@bought_quantity); // Remove the array. deletearray @bought_nameid, getarraysize(@bought_nameid); // Remove the array. close; // Npc walks every 10 sec OnTimer10000: [email protected] = .npc_x + rand( -10,10 ); [email protected] = .npc_y + rand( -10,10 ); npcwalkto [email protected],[email protected]; setnpctimer 0; end; // This code runs first. When the server is started. OnInit: setarray .customs[0],4035,4060,4063; // An array of out custom items. set .CoinID,1226; // ID da Moeda em uso. setarray .Price[0],500,500,500; // The amount of coins needed for our items. (For example: Item 12103 = 20 coins) npcshopitem "custom_seller21",0,0; // Remove all items from our dummy shop. for( set [email protected], 0; .customs[[email protected]]; set [email protected], [email protected]+1 ) // Loop through our custom items. npcshopadditem "custom_seller10",.customs[[email protected]],.Price[[email protected]]; // Add our custom items to the cleared dummy shop. npcspeed 200; getmapxy( .npc_map$, .npc_x, .npc_y,1 ); initnpctimer; end; end; }
  13. *npcspeed <speed value>; *npcwalkto <x>,<y>; *npcstop; These commands will make the NPC object in question move around the map. As they currently are, they are a bit buggy and are not useful for much more than making an NPC move randomly around the map. 'npcspeed' will set the NPCs walking speed to a specified value. As in the @speed GM command, 200 is the slowest possible speed while 0 is the fastest possible (instant motion). 100 is the default character walking speed. 'npcwalkto' will start the NPC sprite moving towards the specified coordinates on the same map it is currently on. The script proceeds immediately after the NPC begins moving. 'npcstop' will stop the motion. While in transit, the NPC will be clickable, but invoking it will cause it to stop moving, which will make its coordinates different from what the client computed based on the speed and motion coordinates. The effect is rather unnerving. Only a few NPC sprites have walking animations, and those that do, do not get the animation invoked when moving the NPC, due to the problem in the NPC walking code, which looks a bit silly. You might have better success by defining a job- sprite based sprite id in 'db/mob_avail.txt' with this. Then add npctimers..