Jump to content

Flash™

Legendary Member
  • Posts

    2,865
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Flash™

  1. Logiko file ayto eprepe na to i3eres.. Ayth tin stigmh na kaneis open prepei na 3ereis kala java kai na exeis atomw dipla sou oste na se help sta bug ama den 3ereis kati gia na mporeseis na ante3eis ligo.... ta ddos atack mexri stigmhs einai polu isxira.. Oloi h server tou hopzone ektos apo 3 server pou plhronoun kala den eginan dow..
  2. Gia na valeis anti ddos sto pc sou file mou prepei na exeis ta lefta gia na plhroneis ton mina kapou sta 280 ayto na to 3ereis..
  3. ti mysql exeis file mou ?
  4. katarxas dn uparxei anti ddos oute sta linux oute sta wind ayto na to 3ereis ena firewall mporeis na agoraseis para poly kalo gi na kaneis douleia allia den tha mporeseis tpt file mou kai na pas se dedicated pou exei anti ddos alla tha pliroseis polla lefta
  5. This is the best server where i ever played. Very good features,economy and the most important not 15 years old admin :) i recommend this server!
  6. File mou gia help kaneis edw post [Request] Dev Help [L2J] Gr Ti pack exeis ? Compile? Den les tpt aplos les ena provlima pou exeis...
  7. File james7 ekanes toses fores posa post kai gia ena palos pragma anti na kaneis ena post sto section tou help. ektos apo oti to post ayto einai 2008 am to blepes.. « on: 2008-11-23, 10:16:16 » o A-error eimai egw kai to acc ekeino den uparxei poia.. ama theleis kati allo allh fora oti kai post na einai kai na theleis help ama blepeis oti den sou apantaei kaneis kane post edw [Request] Dev Help [L2J] Gr kai tha to doume kai tha sou apantisoume.....
  8. vasika file mou theleis ena pack oste na peraseis to java code tou faction system kai na fixaris ta bug. Ta npc einai dimiourgia tou kathenos. diladi mporei esu na theleis na min uparxoun S kai na exeis Free ta B. mporei na theleis to items apo to pvp na einai adena etsi prepei na kaneis oti kanoun sell na min pernoun adena.. einai polla file mou ama den exeis kati sto mialo sou kai den exeis asxolithi oute me java oute me faction tote asto kata tin gnwmi mou..
  9. File mou ayto edw einai gia tin ora tha ginei locked i olympiad # Olympiad End Period Time - in format hh:mm:ss (24 hours format) # Default: 12:00:00 AltOlyEndHour = 12:00:00 se ayto epile3eis pote tha bgoun i hero # Olympiad End Period Date - day(s) of month # (e.g. 1 would mean oly period ends every 1st day of month) # (e.g. 1,15 would mean oly period ends every 1st and 15th day of month) # <b><font color=red>CAUTION: You should set the AltOlyWPeriod and AltOlyVPeriod according to the changes done here!</font></b> # Default: 1 AltOlyEndDate = 1 diladi ekei pou exei to 1 bazeis to diko sou.. px AltOlyEndDate =15 ama theleis omws n bgenoun diladi kathe ebdomada kaneis to e3eis.. AltOlyEndDate =15,30 diladi bazeis mia akoma imerominia pou thelei na bgeoun. alla prepei na kanei ena rr panta otan teleiwnei i olympiad stis 12 to bradu i analoga pote to exeis balei esu kai meta perimeneis aytomata na bgoun i hero den tous bgazeis esu.. i hero bgenoun to prwi ama 8umamai kala alla den 8umamai kati ti ora bgenoun panta hero..
  10. tpt den tha valeis ekei mono ekei pou einai + tha ta kaneis edit sto config kai meta oti theleis tha baleis anti 1 bale 15 tou minos h etsi 15,1,15
  11. edit for this java code and test :) Index: L2_GameServer_t1/java/config/altsettings.properties =================================================================== --- L2_GameServer_t1/java/config/altsettings.properties (revision 1457) +++ L2_GameServer_t1/java/config/altsettings.properties (working copy) @@ -308,3 +308,11 @@ CaptainCost = 27 CommanderCost = 30 HeroCost = 33 + +#Allowing race to be created (Default True) +AltAllowHuman = True +AltAllowElf = True +AltAllowDarkElf = True +AltAllowOrc = True +AltAllowDwarf = True +AltAllowKamael = False \ No newline at end of file Index: L2_GameServer_t1/java/net/sf/l2j/Config.java =================================================================== --- L2_GameServer_t1/java/net/sf/l2j/Config.java (revision 1457) +++ L2_GameServer_t1/java/net/sf/l2j/Config.java (working copy) @@ -1175,6 +1175,14 @@ /** Alt Settings for devs */ public static boolean ALT_DEV_NO_QUESTS; public static boolean ALT_DEV_NO_SPAWNS; + + /** Allow races to be created */ + public static boolean ALLOW_HUMAN; + public static boolean ALLOW_ELF; + public static boolean ALLOW_DARKELF; + public static boolean ALLOW_ORC; + public static boolean ALLOW_DWARF; + public static boolean ALLOW_KAMAEL; // Kamel, the new race /** @@ -1729,6 +1737,13 @@ ALT_DEV_NO_QUESTS = Boolean.parseBoolean(altSettings.getProperty("AltDevNoQuests", "False")); ALT_DEV_NO_SPAWNS = Boolean.parseBoolean(altSettings.getProperty("AltDevNoSpawns", "False")); + + ALLOW_HUMAN = Boolean.parseBoolean(altSettings.getProperty("AltAllowHuman", "True")); + ALLOW_ELF = Boolean.parseBoolean(altSettings.getProperty("AltAllowElf", "True")); + ALLOW_DARKELF = Boolean.parseBoolean(altSettings.getProperty("AltAllowDarkElf", "True")); + ALLOW_ORC = Boolean.parseBoolean(altSettings.getProperty("AltAllowOrc", "True")); + ALLOW_DWARF = Boolean.parseBoolean(altSettings.getProperty("AltAllowDwarf", "True")); + ALLOW_KAMAEL = Boolean.parseBoolean(altSettings.getProperty("AltAllowKamael", "True")); // Dimensional Rift Config RIFT_MIN_PARTY_SIZE = Integer.parseInt(altSettings.getProperty("RiftMinPartySize", "5")); @@ -2428,6 +2443,14 @@ else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue; else if (pName.equalsIgnoreCase("TradeChat")) DEFAULT_TRADE_CHAT = pValue; else if (pName.equalsIgnoreCase("MenuStyle")) GM_ADMIN_MENU_STYLE = pValue; + + else if(pName.equalsIgnoreCase("AllowHuman")) ALLOW_HUMAN = Boolean.valueOf(pValue); + else if(pName.equalsIgnoreCase("AllowElf")) ALLOW_ELF = Boolean.valueOf(pValue); + else if(pName.equalsIgnoreCase("AllowDarkElf")) ALLOW_DARKELF = Boolean.valueOf(pValue); + else if(pName.equalsIgnoreCase("AllowOrc")) ALLOW_ORC = Boolean.valueOf(pValue); + else if(pName.equalsIgnoreCase("AllowDwarf")) ALLOW_DWARF = Boolean.valueOf(pValue); + else if(pName.equalsIgnoreCase("AllowKamael")) ALLOW_KAMAEL = Boolean.valueOf(pValue); + else return false; return true; } Index: L2_GameServer_t1/java/net/sf/l2j/gameserver/clientpackets/CharacterCreate.java =================================================================== --- L2_GameServer_t1/java/net/sf/l2j/gameserver/clientpackets/CharacterCreate.java (revision 1457) +++ L2_GameServer_t1/java/net/sf/l2j/gameserver/clientpackets/CharacterCreate.java (working copy) @@ -114,6 +114,22 @@ sendPacket(ccf); return; } + //Disallow a race to be created, Example: Kamael coudn't be created if AltKamaelAllow = False + else if( + (!Config.ALLOW_HUMAN && (_classId==0x00 || _classId==0x0a)) || + (!Config.ALLOW_ELF && (_classId==0x12 || _classId==0x19)) || + (!Config.ALLOW_DARKELF && (_classId==0x1f || _classId==0x26)) || + (!Config.ALLOW_ORC && (_classId==0x2c || _classId==0x31)) || + (!Config.ALLOW_DWARF && _classId==0x35) || + (!Config.ALLOW_KAMAEL && (_classId==0x7b || _classId==0x7C)) + ) + { + if (Config.DEBUG) + _log.fine("charname: "+ _name + " is kamael and has been disabled."); + CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED); + sendPacket(ccf); + return; + }
  12. oriste file mou Index: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 3799) +++ java/com/l2jserver/Config.java (working copy) @@ -469,6 +469,8 @@ public static long ALT_OLY_BATTLE; public static long ALT_OLY_WPERIOD; public static long ALT_OLY_VPERIOD; + public static int[] ALT_OLY_END_DATE; + public static int[] ALT_OLY_END_HOUR = new int[3]; public static int ALT_OLY_CLASSED; public static int ALT_OLY_NONCLASSED; public static int ALT_OLY_REG_DISPLAY; @@ -2197,6 +2199,17 @@ ALT_OLY_BATTLE = Long.parseLong(olympiad.getProperty("AltOlyBattle","360000")); ALT_OLY_WPERIOD = Long.parseLong(olympiad.getProperty("AltOlyWPeriod","604800000")); ALT_OLY_VPERIOD = Long.parseLong(olympiad.getProperty("AltOlyVPeriod","86400000")); + String[] propertySplit = olympiad.getProperty("AltOlyEndDate","1").split(","); + ALT_OLY_END_DATE = new int[propertySplit.length]; + for (int i = 0; i < propertySplit.length; i++) + { + ALT_OLY_END_DATE[i] = Integer.parseInt(propertySplit[i]); + } + propertySplit = olympiad.getProperty("AltOlyEndHour","12:00:00").split(":"); + for (int i = 0; i < 3; i++) + { + ALT_OLY_END_HOUR[i] = Integer.parseInt(propertySplit[i]); + } ALT_OLY_CLASSED = Integer.parseInt(olympiad.getProperty("AltOlyClassedParticipants","5")); ALT_OLY_NONCLASSED = Integer.parseInt(olympiad.getProperty("AltOlyNonClassedParticipants","9")); ALT_OLY_REG_DISPLAY = Integer.parseInt(olympiad.getProperty("AltOlyRegistrationDisplayNumber","100")); Index: java/com/l2jserver/gameserver/model/olympiad/Olympiad.java =================================================================== --- java/com/l2jserver/gameserver/model/olympiad/Olympiad.java (revision 3799) +++ java/com/l2jserver/gameserver/model/olympiad/Olympiad.java (working copy) @@ -872,14 +872,25 @@ Announcements.getInstance().announceToAll(sm); Calendar currentTime = Calendar.getInstance(); - currentTime.add(Calendar.MONTH, 1); - currentTime.set(Calendar.DAY_OF_MONTH, 1); - currentTime.set(Calendar.AM_PM, Calendar.AM); - currentTime.set(Calendar.HOUR, 12); - currentTime.set(Calendar.MINUTE, 0); - currentTime.set(Calendar.SECOND, 0); - _olympiadEnd = currentTime.getTimeInMillis(); + int nearest = 0; + Calendar[] cals = new Calendar[Config.ALT_OLY_END_DATE.length]; + for (int i = 0; i < cals.length; i++) + { + cals[i] = Calendar.getInstance(); + cals[i].set(Calendar.DAY_OF_MONTH, Config.ALT_OLY_END_DATE[i]); + if (cals[i].before(currentTime)) + cals[i].add(Calendar.MONTH, 1); + + if (cals[i].before(cals[nearest])) + nearest = i; + } + + cals[nearest].set(Calendar.HOUR_OF_DAY, Config.ALT_OLY_END_HOUR[0]); + cals[nearest].set(Calendar.MINUTE, Config.ALT_OLY_END_HOUR[1]); + cals[nearest].set(Calendar.SECOND, Config.ALT_OLY_END_HOUR[2]); + _olympiadEnd = cals[nearest].getTimeInMillis(); + Calendar nextChange = Calendar.getInstance(); _nextWeeklyChange = nextChange.getTimeInMillis() + WEEKLY_PERIOD; scheduleWeeklyChange(); Index: java/config/olympiad.properties =================================================================== --- java/config/olympiad.properties (revision 3799) +++ java/config/olympiad.properties (working copy) @@ -33,6 +33,17 @@ # Default: 86400000 AltOlyVPeriod = 86400000 +# Olympiad End Period Date - day(s) of month +# (e.g. 1 would mean oly period ends every 1st day of month) +# (e.g. 1,15 would mean oly period ends every 1st and 15th day of month) +# <b><font color=red>CAUTION: You should set the AltOlyWPeriod and AltOlyVPeriod according to the changes done here!</font></b> +# Default: 1 +AltOlyEndDate = 1 <------------- // Sakretsu - So there you should write 1,15 (days of every month) + +# Olympiad End Period Time - in format hh:mm:ss (24 hours format) +# Default: 12:00:00 +AltOlyEndHour = 12:00:00 + # Required number of participants for Classed and Non-Classed matches, Default 5 & 9 # Default: 5 AltOlyClassedParticipants = 5
  13. File ayto pou zitas einai ligo diskolo kaneis den tha edine tin douleia tou sto tsampa.. ektos apo ayto einai xasimo xronou na sikoseis ena server gia twra kai na asxolithhs me ena pack pou exei polla bug and error kai anti na katseis otan exeis eleytero xrono kai na asxolise ligo me to pack kai otan teleiwsoun i poxreoseis sou na asxolithis...
  14. Magkes ama 3exnate edw einai [Request] Dev Help [L2J] Gr den einai [Request] Dev Help [L2J] En ViktorFr post for this section [Request] Dev Help [L2J] En
  15. Sinfono mazi me ton FighterBoss ektos apo to pack tha exeis provlimata me ddos atack kai pali tha trexeis.. ama theleis kati sosto kanto arga stathera kai xwris biasines.. ftia3e to pack sou bres mia eteria na plhroneis to pc kai na eisai ok me ta ddos atack kai no provlimata..
  16. file i frozen einai mia akoma team pou ftiaxnei pack me customs kai exei bug kai polla provlimata.. ama theleis na kameis kati kalo pare ena pack apo to 0 kai arxiseto kai perases oti theleis kai kai fixare ta panta min vasizese se alles team giati kanoun oti theloun ekeini oxi oti einai aparetito gia to pack ektos apo ayto perasane poly kalhteres team me megalous developer apo tin team kai tis kleisane giati kanane customs edit kai polla alla den eixan provlima kai den mporousan na ta fix akoma kai ekeinh dn mporousan... Gia emena mia team pou einai kalh no customs kai kanei sosta fix kai ta kanei mazemena einai acis..
  17. File Astald se ayto exeis apolito dikio kai eimai mazi sou.. O kathe pistirikas i o ka8e asxetos plhronei gia na kanei malakia ston kopw sou. Den 3erei posos exeis kourastei gia na kaneis ton server sou. Ektos apo ayto me ta ddos atack mono se eteria pou exei anti ddos mporeis na prostatepseis ton server sou. Ekana oti eixes pei File kai pali ddos atack anelipws.. Skeftika na parw csico Firewall alla thelei 5s gia na kanei block tin ip. Etsi ama kapoios mou stelnei paketa para polla se ayta ta 5s tote pali down o server. Exeis kamia lisei sorry pou to kano edw post alla exeis kales idees kai mporeis na skeftis kati esu san megalhteros..
  18. Den xriazete na mou apantisei kaneis se tpt . tha milisw me tin eteria... locked
  19. Hi magkes tha ithela na rwtisw ti Firewall apo tin www.cisco.com na parw gia na min mporei pote kaneis na kanei tpt ston server pou skeftomai na sikoso.. Ennow DDOS ATACK. Thelw ena pou akoma kai sta megala ddos atack na exei protection na ri3w lefta oste na min exw ayto to provlima sto kefali mou.. ty
  20. o ◦Cobra◦ ennoeis ayto edw # Required number of participants for the class based games # Default: 5 AltOlyClassedParticipants = 5 # Required number of participants for the non-class based games # Default: 9 AltOlyNonClassedParticipants = 9 ama exeis Freya ta exeis ayta kai merika pack IL pou exoun perasei tin olympiad tou Gracia ekei pou exei to 5 kai to 9 vale 2 2 kai tha eisai ok
  21. ti pack exeis kai ti client ?
  22. oriste file mou look
×
×
  • Create New...