Jeroen

Members
  • Content count

    11
  • Joined

  • Last visited

  • Days Won

    1

Jeroen last won the day on April 19

Jeroen had the most liked content!

1 Follower

About Jeroen

  • Rank
    Member
  • Birthday 02/19/93

Contact Methods

  • Website URL
    http://fb.com/garet999
  • Skype
    garet999

Profile Information

  • Gender
    Male
  • Location:
    Rotterdam - The Netherlands.
  • Emulator:
    Hercules
  • Github
    https://github.com/garet999/
  1. Eternity, I sent you a PM earlier. However, it has come to my Attention that rAthena already has a script command that does this, namely:bonus2 bSubSkill,sk,n;
  2. Here you go. prontera,150,150,5 script SizeChanger 4_M_PECOKNIGHT,{ mes "What size would you like to have?"; mes "These changes are persisant after logout"; next; sizeVal = select("Normal:Small:Large") -1; mes "There you go!"; close2; OnPCLoginEvent: atcommand "@size "+ sizeVal; end; }
  3. This works for me (thinking you mean this) prontera,150,150,5 script Jump 123,{ set .Map$,.Maps$[rand(getarraysize(.Maps$))]; announce "Jumper Event : Go Find me!! I'm here in "+.Map$+"!!!",bc_yellow; goto OnStart; OnStart: while(1) { //Initiate an infinite loop set [email protected],rand(0,300); //Set a randon X coordinate set [email protected],rand(0,300); //Set a random Y coordinate if(checkcell(""+.Map$+"",[email protected],[email protected],cell_chkpass)) break; //If cell is walkable break out of the loop } unitwarp(getnpcid(0), .Map$, [email protected], [email protected]); delwaitingroom; waitingroom "Hello World",0; end; OnWhisperGlobal: if(!getgmlevel()) end; dispbottom [email protected] + " " + [email protected]; end; OnInit: setarray .Maps$[0],"prontera"; // Possible maps end; } prontera,1,1,1 duplicate(Jump) Jump#prt 123 If you whisper "npc:Jump" as a GM you can get the co√∂rdinates of the location. I Didn't take any liberation on changing anything else other than the requested. Eitherway, goodluck!
  4. Ah, that's right. I forgot to remove that. I'll fix it once I get home, thanks! Update: It has been pushed to my Git, please refer to the first link, thanks!
  5. File Name: Bonus ReduceSkillDamage File Submitter: Jeroen File Submitted: 16 may 2017 File Category: Plugins For Building Plugins: Windows: http://herc.ws/wiki/...Plugin_for_MSVC Linux: http://herc.ws/wiki/..._Plugin_for_gcc Usage: item bonus command: bonus2 bReduceSkillDamage x,y; // x = skill id, y = % Example: { Id: 8001 AegisName: "Custom_Card" Name: "Custom Card" Type: 6 Buy: 20 Weight: 10 Loc: 32 Script: <" bonus2 bReduceSkillDamage,MO_EXTREMITYFIST,50; //Reduces Asura strikes damage by 50% "> }, you can find it on my github here.
  6. What you can do is give players access to @showexp or use @showexp on login. Unless you want to do exp tracking, you'll have to request a script command that returns the amount of tax that is attached to the player.
  7. Hereby I drop yet another plugin. This plugin allows you to use "bBonusSkillLevel" which increases the skill level of skill x by y after casting. Be weary though, going over the max skill level might have a few quirks. If you want it to go over level 10, you might need to edit your skill_db (Have not tested, can however confirm that going over level 10 does work on some skills). File Name: BonusSkill.c File Submitter: Jeroen File Submitted: 19 April 2017 File Category: Plugins For Building Plugins: Windows: http://herc.ws/wiki/...Plugin_for_MSVC Linux: http://herc.ws/wiki/..._Plugin_for_gcc Usage: item script command: bBonusSkillLevel,x,y; // x = skill_id y = skills level to add Example: (if you use double strafing, cast one that is two levels higher instead) { Id: 1715 AegisName: "Arbalest_" Name: "Arbalest" Type: 4 Buy: 48000 Weight: 1000 Atk: 90 Range: 5 Slots: 2 Job: { Archer: true Thief: true Hunter: true Rogue: true Bard: true } Loc: 34 WeaponLv: 3 EquipLv: 33 View: 11 Script: <" bonus bBonusSkillLevel,AC_DOUBLE,2; "> }, you can find it on my github here. Note: I Couldn't find the proper entry point for skill levels, I figured I should look around in unit.c / clif.c. For now it's overloading battle_calc_attack. if you happen to find any bugs. or skills it doesn't work on (when final skill level <= 10), or if you have any suggestions Please let me know!
  8. I noticed that the last file upload was in February the 22nd, it might be possible that the person in charge of the download section has gone missing. Therefore I just posted it on my github in the mean time. You can find it here: https://github.com/garet999/HerculesPlugins/tree/master/src/Plugins
  9. I've (Quickly) assembled a custom script command to test the plugin manager (on how I should use it). Hereby I drop a custom script command as a plugin. File Name: findmob File Submitter: Jeroen File Submitted: 16 April 2017 File Category: Plugins For Building Plugins: Windows: http://herc.ws/wiki/...Plugin_for_MSVC Linux: http://herc.ws/wiki/..._Plugin_for_gcc Usage: script command: findmob(<arrayname>,<monsterid>); stores the monster's permanent spawn maps and amount (note it's stored back to back, if a mob has two spawn locations the maps will be on index 0 and 2 while the amount are on 1 and 3 please refer to the example below.) Example: (It's a string array, if the amount is used, parse it using atoi) morocc,154,89,6 script findmobtest 1_M_SIZ,{ input .@temp; findmob(.@test$,.@temp); for(.@i = 0; .@i < getarraysize(.@test$); .@i += 2){ dispbottom "mob spawns on map " + .@test$[.@i] + " ( " + .@test$[.@i+1] + ")"; } } Click here to download this file (When it has been approved) (Sorry dastgir, I stole your template!) Alternatively you can find it on my github here.
  10. Isn't it better to use compare? (E.G: if( compare(@warp$,"pr") || @warp$ == "0") -> do.... It'll cut down your script size :-P, also its not case sensitive that way. try to use Temporarily npc variables as well .@variable$