Levi4than Posted March 17, 2010 Share Posted March 17, 2010 Hello guys...I found this on l2jserver and i want to share it with all of you!!Its for Gracia Epilogue! 1. Index: java/com/l2jserver/Config.java 2. =================================================================== 3. --- java/com/l2jserver/Config.java (revision 3945) 4. +++ java/com/l2jserver/Config.java (working copy) 5. @@ -497,6 +497,7 @@ 6. public static boolean ALT_OLY_ANNOUNCE_GAMES; 7. public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new FastList<Integer>(); 8. public static int ALT_OLY_ENCHANT_LIMIT; 9. + public static byte ALT_OLY_WAIT_TIME; 10. public static int ALT_MANOR_REFRESH_TIME; 11. public static int ALT_MANOR_REFRESH_MIN; 12. public static int ALT_MANOR_APPROVE_TIME; 13. @@ -2259,6 +2260,8 @@ 14. LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id)); 15. } 16. ALT_OLY_ENCHANT_LIMIT = Integer.parseInt(olympiad.getProperty("AltOlyEnchantLimit","-1")); 17. + ALT_OLY_WAIT_TIME = Byte.parseByte(olympiad.getProperty("AltOlyWaitTime","120")); 18. + if (ALT_OLY_WAIT_TIME != 120 && ALT_OLY_WAIT_TIME != 60 && ALT_OLY_WAIT_TIME != 30 && ALT_OLY_WAIT_TIME != 15 && ALT_OLY_WAIT_TIME != 5) ALT_OLY_WAIT_TIME = 120; 19. } 20. catch (Exception e) 21. { 22. Index: java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java 23. =================================================================== 24. --- java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java (revision 3942) 25. +++ java/com/l2jserver/gameserver/model/olympiad/OlympiadGame.java (working copy) 26. @@ -1218,7 +1218,7 @@ 27. SystemMessage sm; 28. // Waiting for teleport to arena 29. byte step = 60; 30. - for (byte i = 120; i > 0; i -= step) 31. + for (byte i = Config.ALT_OLY_WAIT_TIME; i > 0; i -= step) 32. { 33. sm = new SystemMessage(SystemMessageId.YOU_WILL_ENTER_THE_OLYMPIAD_STADIUM_IN_S1_SECOND_S); 34. sm.addNumber(i); 35. Index: java/config/olympiad.properties 36. =================================================================== 37. --- java/config/olympiad.properties (revision 3857) 38. +++ java/config/olympiad.properties (working copy) 39. @@ -110,3 +110,9 @@ 40. # Log all Olympiad fights and outcome to olympiad.csv file. 41. # Default: False 42. AlyOlyLogFights = False 43. + 44. +# Time to wait before teleported to arena. 45. +# Possible choices are: 120, 60, 30, 15, or 5. 46. +# If any other number is entered, the time will be set to 120 seconds. 47. +# Default: 120 48. +AltOlyWaitTime = 120 49. \ No newline at end of file Quote Link to comment Share on other sites More sharing options...
varens Posted March 20, 2010 Share Posted March 20, 2010 i dont want sey nathing but that code is so useless, all who know only little java can make that Quote Link to comment Share on other sites More sharing options...
DevHarpun Posted March 21, 2010 Share Posted March 21, 2010 but no everyone know java and half of it is copy paste ;) good share Quote Link to comment Share on other sites More sharing options...
varens Posted March 21, 2010 Share Posted March 21, 2010 that type server should never occur, becouse 90% of them are one week servers Quote Link to comment Share on other sites More sharing options...
IrreligiouS Posted March 21, 2010 Share Posted March 21, 2010 Well, not everyone knows java...:] So tis very useful ! I will test it anyway :] Quote Link to comment Share on other sites More sharing options...
varens Posted March 21, 2010 Share Posted March 21, 2010 do you read my post? if someone dont know java then dont make server, we have to many lol servers, java isnt so hard and al who want start server need know minimum base java Quote Link to comment Share on other sites More sharing options...
CrazyDeagle Posted March 21, 2010 Share Posted March 21, 2010 so nice i add this for my server thanks you^^ Quote Link to comment Share on other sites More sharing options...
IrreligiouS Posted March 22, 2010 Share Posted March 22, 2010 do you read my post? if someone dont know java then dont make server, we have to many lol servers, java isnt so hard and al who want start server need know minimum base java Dont talk it to me so ^^ PL// Mi tego mówić nie musisz - mam swój server, ma się dobrze, robię mody i java to żaden wielki problem, więc nie zgrywaj guru ;] Quote Link to comment Share on other sites More sharing options...
varens Posted March 22, 2010 Share Posted March 22, 2010 Dont talk it to me so ^^ PL// Mi tego mówić nie musisz - mam swój server, ma się dobrze, robię mody i java to żaden wielki problem, więc nie zgrywaj guru ;] hmm, i am not guru like you say, and i dont know wher you read that, i just dont want more noob servers with corrupt admins etc then plz dont offend me Quote Link to comment Share on other sites More sharing options...
ileclipse Posted March 22, 2010 Share Posted March 22, 2010 very good keep up Quote Link to comment Share on other sites More sharing options...
NoSti* Posted March 23, 2010 Share Posted March 23, 2010 very very good.. can you make one code and for interlude?? i want it bacause at interlude oly is very slow.. :/ Quote Link to comment Share on other sites More sharing options...
Levi4than Posted March 24, 2010 Author Share Posted March 24, 2010 that type server should never occur, becouse 90% of them are one week servers Stop spaming or i will dekarma you! Quote Link to comment Share on other sites More sharing options...
DominiQue Posted March 24, 2010 Share Posted March 24, 2010 Stop spaming or i will dekarma you! for what ? He said the truth,and the idea is STUPID ! Do not kill the last retail thing... Quote Link to comment Share on other sites More sharing options...
Levi4than Posted March 24, 2010 Author Share Posted March 24, 2010 for what ? He said the truth,and the idea is STUPID ! Do not kill the last retail thing... He can keep hes opinion for him..Here he should answer only for it! Quote Link to comment Share on other sites More sharing options...
varens Posted March 26, 2010 Share Posted March 26, 2010 He can keep hes opinion for him..Here he should answer only for it! do you know what is the forum? ppl write here self opinion o.O hmm sey my vip can look on someone else profil? if yes try find in my post spam like "ty keep working" but no everyone know java and half of it is copy paste ;) good share i just answear for post, then plz dont joke... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.