Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/15/21 in all areas

  1. switch( select( "Strength:Intelligent:Dexterity:Agility:Vitality:Luck" )){ to switch( getiteminfo(.EquipID[.@Equip],10)){ And change case to correct number according this EQI_COMPOUND_ON (-1) - Item slot that calls this script (In context of item script) EQI_ACC_L (0) - Accessory 1 EQI_ACC_R (1) - Accessory 2 EQI_SHOES (2) - Footgear (shoes, boots) EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux) EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks) EQI_HEAD_MID (5) - Middle Headgear (masks, glasses) EQI_HEAD_TOP (6) - Upper Headgear EQI_ARMOR (7) - Armor (jackets, robes) EQI_HAND_L (8) - Left hand (weapons, shields) EQI_HAND_R (9) - Right hand (weapons) EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear EQI_COSTUME_GARMENT (13) - Costume Garment EQI_AMMO (14) - Arrow/Ammunition EQI_SHADOW_ARMOR (15) - Shadow Armor EQI_SHADOW_WEAPON (16) - Shadow Weapon EQI_SHADOW_SHIELD (17) - Shadow Shield EQI_SHADOW_SHOES (18) - Shadow Shoes EQI_SHADOW_ACC_R (19) - Shadow Accessory 2 EQI_SHADOW_ACC_L (20) - Shadow Accessory 1
    1 point
  2. I don't understand why you need the complete code when there's the query for it already. Emperium Breaker: mes "Top 10 Emperium Breaker"; if(!(.@nb = query_sql("SELECT B.`name`,B.`guild_id`,A.`count` FROM `breaker_ladder` AS A LEFT JOIN `char` AS B ON A.`char_id` = B.`char_id` ORDER BY `count` DESC LIMIT 10", .@name$,.@gid,.@count))) { mes "No data found."; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) { mes (.@i+1) +". "+ .@name$[.@i] +" ~ "+(getguildname(.@gid[.@i]) == "null" ? "None":getguildname(.@gid[.@i]))+" ~ "+ .@count[.@i] +" breaks."; } for the WoT Ranking. i'll leave this to you so you can learn how to left join. EDIT: FYI you actually don't need to create a breaker_ladder sql.. just use a character variable such as "set EmpBreak,EmBreak+1;" then simply join the char_reg_num with char table. although it has certain delay
    1 point
  3. Find this Add more OnClock Event Military format Check below how do i do it... By default i set it 2x a day during 8 AM and 8 PM or you can change it too OnMinute Event OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero. Example: OnClock0800: // Event will start at 8:00 AM OnClock0830: // Event will start at 8:30 AM OnClock0835: // Event will start at 8:35 AM OnClock0800: OnClock2000: announce "Alon Event are now Open for Registration!",bc_all; set .AEventOpen,1; set .ARegister,0; end; GM_Menu: mes "[ Alon Event ]"; mes "What would you like to do"; switch(select("Host this Event","Exit")){ case 1: cutin "ma_tomas01",255; goto OnClock2000; case 2: close; } OnInit: set .PartyMember,2; set .Map$,"pvp_n_1-5"; // Dont try to edit this if you dont know what are you doing by Poring King set .AEventOpen,0; set .ARegister,0; }
    1 point
  4. Evening all! You know when you have one of those days and can't wait for it to end? That sums up the entirety of 2020. All of it. It's been tough for people all around the world with the sheer amount of ridiculousness over the last 12 months and eventually there will be a light at the end of the tunnel. It has been 6 years since I last posted a Christmas message, and as is customary at Christmas here in the UK, we get a message from the Queen. This message though, is aimed at 2020 as a whole. If you're lucky enough to be with family this Christmas, treasure them. If you're out celebrating with friends, be kind to everyone you meet. If you're in the hospitality industry serving others with little time to yourself, werk it girl. *snaps fingers* Whatever you're doing, stay safe. And wherever you are in the world, the rAthena team wishes you a Merry Christmas, Happy Holidays and Season's Greetings.
    1 point
  5. Version 1.0.0

    351 downloads

    Hello rAthena! I have been struggling with adding large amounts of custom items into my client-side, so I made a little tool that would help with just that, and I'd like to share the tool with the community! I will continue to update this project over time; adding a user interface & specific parameter options. Important Reminders: - You need the latest Java Verison to run this program. Download: JDK 15 Download - Both input_sprite.txt & input_display.txt must have the same number of lines. - input_sprite.txt MUST have a underscore (_) for white spaces. - If there is one-character-value or less in the input_sprite.txt & input_display.txt files, that line will be omitted with a empty line. - Once Java has been installed, you must use the run.bat file to open the program. Helpful Articles: - How to Open Jar | Reference: https://www.wikihow.com/Run-a-.Jar-Java-File - Java SE Downloads | Link: https://www.oracle.com/java/technologies/javase-downloads.html Click for Demo Video
    Free
    1 point
×
×
  • Create New...