Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/10/21 in all areas

  1. FYI, I have also added Custom Shields & Custom Jobs patches in WARP and yes it supports all clients from 2010 - 2021. New features Custom Shields: Maximum Shield count can be customized now (limited to 127 for now). You can also validate a shield id based on the job id by modifying ValidateShieldID function in ShieldTable_F.lub. Custom Jobs: All the Lua files are now in a different folder called 'JobInfo' to avoid mixing in with others. The tables have gone through some changes as well. You can specify different strings based on servicetype. For e.g. "korea" and "america" can have different strings. To achieve this, you need to specify an override table with the name LT_<servicetype number>. For e.g. LT_0 specifies overrides for korea servicetype. Check PCNames.lub to get a clearer idea. At present it is only used for name changes & palette path changes. Scaling for Baby Jobs can be changed. You can change this in Shrink_Map inside PCIDs.lub. There is one caveat though, due to client limitation, the factor needs to be specified as an IEEE hex string. (no floating point support in Lua function calls ?) For both: You get the option to copy the files to your patched client area. The files are copied only if you apply the patch. For Custom Shields, the max shield value also gets updated in the copied file automatically. I was planning on more amount of changes in Custom Jobs, but it's on hold for now.
    2 points
  2. if ( Zeny < .costamount ) { next; mes .NPCName$; mes "You don't have ^ff0000"+.costamount+"^000000 Zeny!"; close; } change to if ( Zeny < .costamount && getgroupid() != 5 ) { next; mes .NPCName$; mes "You don't have ^ff0000"+.costamount+"^000000 Zeny!"; close; } Zeny -= .costamount; change to if (getgroupid() != 5 ) { Zeny -= .costamount; }
    1 point
  3. acess this git: GitHub - llchrisll/rAthena-Scripts: rAthena - Ragnarok Online Emulator - NPC Scripts
    1 point
  4. Resolved by the below centos commands: sudo yum install centos-release-scl sudo yum install devtoolset-7-gcc* scl enable devtoolset-7 bash which gcc gcc --version
    1 point
  5. Version 1.0.0

    432 downloads

    Hi, there! this functions is ideal for newbie scripters or just someone who wants to "add" or "modify" scripts with rewards. It may be item or variables such as points or stuff... This function can also be used by experienced scripters who are lazy to code and stuff xD. Easy to use and all ? Here are the sample npcs on how to use it. (included in the downloadable files) // Sample NPC for using F_Reward_Item and F_Reward_Var // For beginners. prontera,150,180,0 script F_Reward_Test 123,{ mes "What do you want to get?"; switch(select("Item","Points")) { case 1: F_Reward_Item("501:10,502:5,503:10"); break; case 2: F_Reward_Var("#CASHPOINTS","Cash Points",100); break; } mes "Enjoy!"; close; } // This is just a pseudo-code, you can understand what I mean by this xD // For advance scripters. You can do something like. prontera,150,180,0 script F_Reward_Test 123,{ mes "get items"; close2; F_Reward_Item(.itemlist$); end; OnInit: .itemlist$ = "501:10,502:5,503:10"; end; } I hope this will help! Keep those upvotes coming to motivate me moooore ? Enjoy the rest of the day!
    Free
    1 point
  6. Homage to a great friend who passed away, Adriano Gurski Correia...
    1 point
×
×
  • Create New...