Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/16/19 in all areas

  1. Which file? Ideally, the file owner should update the file to include the new format.
    2 points
  2. Version 1.4

    22 downloads

    Zombie tag is a pvp script that spawns a number of custom zombies mobs every minute. The goal is for players to survive for the full 10 minutes. When a player gets killed they respawn as a zombie. Once a zombie they are unkillable, but can still kill any other surviving players.
    5.00 USD
    1 point
  3. View File Garling Halloween is coming... Mob from the last update of KRO. Submitter Stolas Submitted 10/16/2019 Category Monster Sprites Video Content Author Gravity  
    1 point
  4. Version 1.0.0

    225 downloads

    well, I didn't find the mvp card symbol anywhere and redid it, I decided to share it. It's not perfect, but better done than perfect! kk ?
    Free
    1 point
  5. - script MvP_Kill -1,{ OnNPCKillEvent: .@checkmvp = compare(.MvPID$,""+killedrid); if( .@checkmvp ) { if( !.Chance || (.Chance && .Chance > rand(10000)) ) if(.limit > .limit_drop){ getitem .Reward, 1; .limit_drop++; } } end; OnClock0000: .limit_drop = 0; end; OnInit: .limit = 100; //100 drop per day .Chance = 1000; // 1000 = 10%, 0 = turn off chance drop mode, 100% drop .MvPID$ = "1511,1734,1492,1647,1785,1630,1399,1039,1874,"+ "1251,2068,1272,1719,1046,1389,1112,1115,1957,1418,1871,1252,1768,"+ "1086,1688,1646,1373,1147,1059,1150,1956,2022,1087,"+ "1190,1038,1157,1159,1502,1623,1650,1583,"+ "1708,1312,1751,1685,1648,1917,1658"; // MvP Ids .Reward = 7227; // Reward Item ID end; }
    1 point
  6. To Annie's post above she actually told me not to do this when I did it like 4 years ago... What the heck and she doesn't even credit me here for maybe giving her some kind of subliminal inspiration whatever... :< [Source] Hurry before she changes it. /gg Anyways I just wanted to post a neat function I came up with for anybody who might want to use it. DisplayPages Function: Basically, it takes a bunch of options that you want to put into a menu and adds pages so the players can move through them easily. ///This function takes an array of strings and builds a menu players can navigate. ///Usage: DisplayPages(.@string_array${, .@page_size }); ///Output: This function returns the selected item index from the given array. function script DisplayPages { .@page_size = getarg(1, 10); .@len = getarraysize(getarg(0)); .@pages = .@len / .@page_size; .@pages -= .@len > .@page_size && .@len % .@page_size ? 0 : 1; do { copyarray .@copy$[0], getelementofarray(getarg(0), .@page_size * .@page), .@page_size; if( .@page < .@pages ) .@copy$[.@page_size] = "Next Page =>"; if( .@page > 0 ) .@copy$[.@page_size +1] = "<= Previous Page"; .@menu = select(implode(.@copy$,":")); if( .@menu == .@page_size +1 ) .@page++; else if( .@menu == .@page_size +2 ) .@page--; deletearray .@copy$; } while( .@menu > .@page_size ); .@menu += .@page_size * .@page; return .@menu-1; } Example NPC: prontera,146,188,4 script Warper 97,{ mes "[Warper]"; mes "Select the map you want to warp to."; next; setarray .@maps$, "prontera", "morocc", "payon", "geffen", "izlude", "jawaii", "dewata", "eclage", "moscovia", "ayothaya", "lighthalzen", "alberta", "aldebaran", "xmas", "comodo", "hugel", "rachel", "veins", "pvp_n_1-5", "pvp_n_1-4"; .@selection = DisplayPages(.@maps$, 5); warp .@maps$[.@selection], 0, 0; end; }
    1 point
  7. disable renewal cast ... trunk/src/config/renewal.h
    1 point
×
×
  • Create New...