Leaderboard
Popular Content
Showing content with the highest reputation on 01/04/18 in all areas
-
December Digest 2017 The following digest covers the month of December, 2017. Staff Changes None. Development Highlights CORE: Added support for custom constant import (7c1a8827) Fixed an issue with invisible item shops (f7bc3bca) Fixed title selection in UI window (4dde4c66) Fixed atcommand where parsing (c5b7850a) Fixed script commands for Item Option (1e1bd71e) Refactorized status_change_timer (00d8ace8, d08bc1ce) Adjusted script command sc_end_class to accept an optional job ID (1b68303f) Added November and December clients (15e509fe) Fixed character variable lengths and char-server (7a1a76a9, 88e48ed6) Resolved some miscellaneous typos (1ae1e312) Prevents accessing a nullpointer from a non existant mob when using mobsearch (a0c8961e) Fixed a crash caused by setquest in login events (6e7e97ca) Corrected mapcache build (eb8f33e4) Updated Pet catching values (9315781a) Exported the pet catch constant (d4436769) Switched mob db searches to find (65771a8e) Fixed a bug with Neutral Barrier and duel atcommand (5ad35eb6) Relocated restricted equip failure check (5e2dd2af) Cleaned up renewal ASPD calculations (ae69e506) Optimized dynamic memory allocation for duel atcommand (716f6c0f, e385e167) Updated pet script command (d19ba918) Added Rune Knight to atcommand bodystyle (1f0ea81d, 5602bb04) DATABASE: Corrected Magical Ring bonus (b00f3bcf) Corrected Gray and Thanatos equipment sets (da152c6f) Corrected some item bonuses (37b95826) Corrected Item ID 14677 (Limited Power Booster) (f639c001) Corrected Celine Kimi Card (5531fef9) Updated Sorcerer Insignia Skills (0f33de9b) Fixed Giant Growth & Crush Strike damage bonus (ab1fa803) Corrected Hervor (Item ID 2181) (346fcef5) Corrected Chain Lightning behavior (947875d2) Corrected Drooping Pope (758e319d) Resolved enchants not executing unequip script (b3e67d21) Corrected Snowman Hat, Holy Mom Love, Event Xmas Cake item script (fa35e8b9) Corrected Adventurer Pack (13721c10) Corrected Supplement Part Dex (4302fe64) Removed Duplicate Entries in Renewal Quest DB (b4ce1e3d) Corrected Evil Marcher Hat (84085d7e) SCRIPT: Updated Megingard Seal Quest (bb4a88a3) Fixed wrong npc name in npc/events/xmas.txt (336a475d) OTHERS: Disabled root/admin user check for build bots (812e3a9a) Added the custom and test scripts to the buildbot (b3cfd122) Added support for windows admin detection (f59298ad) Add few test to travis and appveyor (53db435, 0fa57e2b) Corrected the Windows runserver script (34a905df) Introduced utilities to gradually replace utils (fd8e1fe2) Added /src/config/packet.h clarification (6afc3625) Updated status change documentation (7113743c) Updated script command npcskill documentation (33bfe1d2) Fixed a compilation warning on winapi.cpp (b9981b2e) Fixes potential map server crashes (5a80f29b) Resolved a compile error (e88785b1) Statistics Excluding merges, 13 authors have pushed 63 commits to master and 86 commits to all branches. On master, 81 files have changed. There have been 1,772 additions and 823 deletions. There are 42 merged Pull Requests and 7 Proposed Pull Requests. There are 16 new Issues and 47 Closed Issues. List of Contributors @4144, @admkakaroto, @aleos89, @anacondaqq, @Atemo, @AthenaStudioz, @Badarosk0, @cydh, @Everade, @exneval, @flamefury, @gusjungsza, @hnomkeng, @hurtsky, @ignizh, @Jeybla, @keitenai, @Lemongrass3110, @lighta, @Lilori, @mazvi, @mrjnumber, @MuzTank, @Paoly28, @Questune09, @rAthenaCN, @reymarbc, @sader1992, @secretdataz, @Sweet520, @syracuase, @Tokeiburu, @uddevil, @Vennren, @whupdo Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster4 points
-
Scripting Core Released Script Pending Script Upload: 【SHOWCASE】DotA Style Monster Behavior (Monster Controller) 【SHOWCASE】ARCUS SYSTEM A communication device to provide feature below: Calling npc from distance Mailing System Hook GPS System Hook (Navigation Npc, Player) Magic Support More feature developing... Arcus System Spoiler: (Old)1 point
-
1 point
-
HAPPY NEW YEAR 2018 RATHENA MEMBERS! Long live rAthena !1 point
-
i really think this guide should be include in rathena wiki at github.. very usefull especially for beginner...1 point
-
im using r22356 and my players is asking me why does the Star Gladiator skill which is Hatred cant be used in Emperium? i believe you can use Hatred on Emperium but in my server it always shoes Skill Failed. i tested it, memoed the place and still cant do hatred on emperium// any help with this? thank you in advance1 point
-
1 point
-
here's the step open ra/db/item_db2.txt make a new item - 25500,Custom_Box,Custom Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_whatever),1; },{},{} next step is open ra/db/const.txt Find IG_Advanced_Weapons_Box 61 below add this IG_whatever 63 //IG_whatever must be same in the item_db2.txt script command next step open ra/db/item_group_db.txt import: db/item_whatever.txt - put this next step make a new script named item_whatever.txt - place this in ra/db/ next step open item_whatever.txt - in ra/db/item_whatever.txt //Explanation 63 - is the number you input in const.txt // - 1111 - this is the itemID // - 9 - this is the rate 63,1111,9 63,<Item ID>,<Rate> next step open ra/src/map/itemdb.h find this part #define MAX_ITEMGROUP #62 the number is 62 where in const.txt the max group number is 62 - but you add another item group.. - just add + 1 in 62 so make it #define MAX_ITEMGROUP #63 and recompile youre server or usse a script add new item 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; },{},{} npc script function script CustomBox { setarray .BoxItems[0],501,502,503; set .Random, getarraysize( .BoxItems ); getitem .BoxItems[ rand( .Random ) ], 1; end; }1 point
-
Here is an updated (but untested) version. //Made by Lunar //Version 1.0 //12.28.08 - shop hat_shop -1,501:50 prontera,150,150,4, script Hat Quest 999,{ set @i,0; mes "[shop Quest NPC]"; mes "Please Select Ur Item Quest?"; mes "Select only one."; callshop "hat_shop",1; npcshopattach "hat_shop"; end; OnBuyItem: if(.BuildQuest) { for(set .e,0; !compare(getarg(.e+1) + "","cash"); set .e,.e+2) {} npcshopadditem "hat_shop",getarg(.e+2),getarg(.e)*compare(getarg(.e+1) + "","cash"); setarray .Shop[.i],getarg(.e+2); set .i,.i+1; goto Hat_Setup; } if(.Shop[@i]!=@bought_nameid) for(set @i,1; 1; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set .i,@i; callsub Hat_Setup; } for(set @i,1; !@e; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set @e,1; set .i,@i; callsub Hat_Setup; } mes "[shop Quest NPC]"; mes "I require the following:"; for(set @i,0; !compare(getarg(@i+1) + "","cash"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]"; if(getarg(@i)) mes "^FF0000" + ((#CASHPOINTS>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Cash Points"; mes "^000000In exchange, I will give you:^0000FF"; for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i)); switch(select("Exchange:" + (((((getiteminfo(@bought_nameid,5) & 1) || (getiteminfo(@bought_nameid,5) & 256) || (getiteminfo(@bought_nameid,5) & 512)) && @equip==0))? "Preview Item":"") + ":No thanks")) { case 1: for(set @i,0; !compare(getarg(@i+1) + "","cash"); set @i,@i+2) if(countitem(getarg(@i)) < getarg(@i+1)) { next; mes "You have " + countitem(getarg(@i)) + " " + getitemname(getarg(@i)) + ", while I require " + getarg(@i+1) + "."; mes "Please obtain ^FF0000" + (getarg(@i+1)-countitem(getarg(@i))) + " more " + getitemname(getarg(@i)) + "^000000."; close; } if(cash < getarg(@i)) { next; mes "You do not have enough cash."; mes "Please obtain ^FF0000" + (getarg(@i)-cash) + " more cash^000000."; close; } for(set @i,0; !compare(getarg(@i+1) + "","cash"); set @i,@i+2) delitem getarg(@i),getarg(@i+1); set #CASHPOINTS,#CASHPOINTS - getarg( @i ); for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) getitem getarg(@i),getarg(@i+1); if (compare(getarg(@i,0) + "","announce")) announce strcharinfo(0) + " Have Make Quest " + getitemname(@bought_nameid) + "!",bc_all; close; case 2: set @bottomview, getlook(3); set @topview, getlook(4); set @midview, getlook(5); addtimer 1000, strnpcinfo(3)+"::On_Leave"; set @equip,getiteminfo(@bought_nameid, 5); set @view, getiteminfo(@bought_nameid, 11); if(@equip != -1 && @view > 0) { if(@equip & 1) atcommand "@changelook 3 " + @view; if(@equip & 256) atcommand "@changelook 1 " + @view; if(@equip & 512) atcommand "@changelook 2 " + @view; } next; goto OnBuyItem; case 3: close; } On_Leave: atcommand "@changelook 1 " + @topview; atcommand "@changelook 2 " + @midview; atcommand "@changelook 3 " + @bottomview; set @equip,0; set @view,0; set @topview,0; set @midview,0; set @bottomview,0; end; OnInit: npcshopitem "hat_shop",0,0; set .BuildQuest,1; set .i,1; Hat_Setup: switch(.i) { default: set .BuildQuest,0; set .e,0; set .i,0; end; case 1: callsub OnBuyItem,7539,100,7420,120,7227,200,1000,"Cash",30000,1,"announce"; } }1 point