pajodex

Members
  • Content Count

    356
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    13

pajodex last won the day on March 24

pajodex had the most liked content!

Community Reputation

85 Excellent

About pajodex

  • Rank
    Pooring Scripter
  • Birthday 12/22/1993

Profile Information

  • Gender
    Male
  • Location
    PH
  • Interests
    Scripting

Contact Methods

  • Discord
    pajodex#1328

Recent Profile Visitors

2,019 profile views
  1. Lifeskill System Hi again! Been a while since I posted here. Anyways, without further ado... I'm showcasing my Lifeskill System's Basic Functionality. I am just showing the basic ones because I am too lazy to show everything. If I did, it'll take maybe 10-15mins video, so I just trimmed it down and showed the basic functionality. This system is inspired by Black Desert Online's Life skill system.. Since I played BDO for quite long, I was very inspired to make a version of this to Ragnarok as close as I could get with my own personal twist and take. <> <> Gathering Lifeskill Mining Hunting Lumbering Fishing (not shown but you can only fish on map cell with water - No NPC interaction ) These lifeskills are used to 'gather' materials from mobs. When you use/equip an inappropriate tool, you cannot attack the mob (sample is when you are using a pickaxe, you cannot attack a Hunting Mob/Lumbering Tree and so on). Processing Lifeskill Cooking Scribing Crafting These lifeskills are used to 'craft' items you've gathered in gathering. Lifeskill Tool Lifeskill tools are used in different lifeskill. You cannot use the tool on wrong mobs or craft the item. Same goes for its functionality as per my personal preference. Everytime you use the tool, it loses its durability. When it reaches to zero, you cannot use the tool, so you should repair it thru Tool Shop NPC (Not shown on the video). You can also enchant and refine these tool but only by using the Tool Shop NPC and nothing else. It couldn't be refined by any other npc. Energy System Energy system is used to limit the usage of this system. Players cannot perform any action if they don't have enough energy. Performing any action related to lifeskill system will consume energy. Energy will be replenished when player stays in game per min.
  2. - script vip_info -1,{ OnVIPInfo: if (!vip_status(VIP_STATUS_ACTIVE)) { dispbottom "You are not a VIP member. You may purchase one at Cash Shop.",0xff0000; end; } dispbottom "VIP Time Left: "+ Time2Str(vip_status(VIP_STATUS_REMAINING)+gettimetick(2)),0x5cdcff; end; OnInit: bindatcmd "vipinfo", strnpcinfo(0)+"::OnVIPInfo"; }
  3. Hi, As the title speak (I have asked this over discord), how do I retrieve data from a custom sql table ROA_VALUE so that a custom random option will update everytime the data is also updated. I have tried using `setrandomoption` and it is working .However I find it a hassle to look at everytime I update it via script command because the item is unequipped then re-equipped.. Maybe little hints might be great.. *Im not sure if im posing on right section but kindly move it if it isn't. Thank you
  4. Lots of guides available in the forum and wiki. Otherwise, check third-party services.
  5. Edited my first post.. I accidentally put "[email protected]" instead of "[email protected]"
  6. 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;
  7. 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; }
  8. 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
  9. Anyone who has a latest @costumeitem script command diff that's working with latest server file? Thanks
  10. 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; }
  11. pajodex

    Script @cart

    Or you can enable the use of @cart to players instead
  12. Sorry, I wont support this script nor attend request on this anymore. Since this is a free release, feel free to edit it.