Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/03/22 in all areas

  1. Hi, I found an useful guide on how to reduce those long loading time with probably very few consequences : https://codeyarns.com/tech/2010-09-10-visual-c-iterator-checks-and-slow-stl-code.html
    1 point
  2. i meant how to set up the permission..
    1 point
  3. https://pastebin.com/pX5nFgdp I'll update the original post.
    1 point
  4. You don't need to hire anyone - just read the documentation: https://github.com/rathena/rathena/wiki Sometimes it's best to learn as you go along, so I'd start with the conf/ folder and look through everything until I see something that I might like to change. There are so many tutorials and official documentation on both Github (wiki and in our docs/ folder in the repo) and in various locations on the forums (depending on what the tutorial is for) that it is absolutely impossible for you to not find anything useful.
    1 point
  5. - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 10; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny."; if (Zeny < .@Price) end; if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; Zeny -= .@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; } if (getbrokenid(1) >= 1) { repairall; } if(getgroupid() >= 5 ){ set(.@min, 5); // duration in minutes sc_start(SC_CP_HELM, (.@min * 1000 * 60), 1); sc_start(SC_CP_ARMOR, (.@min * 1000 * 60), 1); sc_start(SC_CP_SHIELD, (.@min * 1000 * 60), 1); sc_start(SC_CP_WEAPON, (.@min * 1000 * 60), 1); switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } if (.@Delay) @HD = gettimetick(2) + .@Delay; end; }
    1 point
  6. try this onryun,144,137,5 script PvP Warper 843,{ mes "[ ^ff0000PVP Warper^000000 ]"; mes "Do you want to warp to the PvP Arena and fight your enemies?"; menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No; L_Yes: next; mes "[ ^ff0000PVP Warper^000000 ]"; mes "Which PvP Arena do you want to enter?"; menu "PVP Arena [ Ancient - Nightmare ] [" + getmapusers("force_4-1.gat") + " / 20]",L1, "PvP Arena [ Ancient - Normal ] [" + getmapusers("guild_vs3.gat") + " / 20]",L2, "PvP Arena [ No - Yggdrasil Berry ] [" + getmapusers("guild_vs4.gat") + " / 20]",L3; L1: if (getmapusers("force_4-1.gat") >= 20) goto Lsorry; warp "force_4-1",103,104; close; L2: if (getmapusers("guild_vs3.gat") >= 20) goto Lsorry; warp "guild_vs3",0,0; close; L3: if (getmapusers("guild_vs4.gat") >= 20) goto Lsorry; if(countitem(607)) goto Lsorry2; warp "guild_vs4",0,0; close; Lsorry: next; mes "[ ^ff0000PVP Warper^000000 ]"; mes "Sorry but this PvP Arena is full, maybe you could try another one."; close; Lsorry2: next; mes "[ ^ff0000PVP Warper^000000 ]"; mes "I'm sorry but you can't have any "+getitemname(607)+" when entering the pvp room, please storage them and try again."; close; L_No: close; } // Mapflags force_4-1 mapflag pvp guild_vs3 mapflag pvp guild_vs4 mapflag pvp force_4-1 mapflag nocommand 99 force_4-1 mapflag nosave SavePoint force_4-1 mapflag noteleport force_4-1 mapflag nowarp force_4-1 mapflag nowarpto force_4-1 mapflag nomemo force_4-1 mapflag notrade force_4-1 mapflag noreturn force_4-1 mapflag nobranch guild_vs3 mapflag nocommand 99 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag noteleport guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag nomemo guild_vs3 mapflag notrade guild_vs3 mapflag noreturn guild_vs3 mapflag nobranch guild_vs4 mapflag nocommand 99 guild_vs4 mapflag nosave SavePoint guild_vs4 mapflag noteleport guild_vs4 mapflag nowarp guild_vs4 mapflag nowarpto guild_vs4 mapflag nomemo guild_vs4 mapflag notrade guild_vs4 mapflag noreturn guild_vs4 mapflag nobranch - script Healer -1,{ end; OnPCKillEvent: if(strcharinfo(3)=="guild_vs4"){ percentheal 100,100; specialeffect 312; skilleffect 28,32767; sc_end SC_STONE; sc_end SC_FREEZE; sc_end SC_STUN; sc_end SC_SLEEP; sc_end SC_POISON; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLEEDING; sc_end SC_DPOISON; dispbottom "HP/SP fully restored."; } end; }
    1 point
×
×
  • Create New...