Jump to content

Flash™

Legendary Member
  • Posts

    2,865
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Flash™

  1. hi.. send my your skype or add me on skype : sifis369
  2. Configuring MySQL on Linux test [client] port = 3306 socket = /var/run/mysqld/mysqld.sock default-character-set = utf8 [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = -5 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql innodb_flush_log_at_trx_commit = 2 #default-character-set = utf8 character-set-server = utf8 skip-external-locking bind-address = 0.0.0.0 # # * Fine Tuning # key_buffer = 512M max_allowed_packet = 16M thread_stack = 24M thread_cache_size = 8 myisam-recover = BACKUP # max_connections = 4096 #table_cache = 4096 thread_concurrency = 6 # # * Query Cache Configuration # query_cache_limit = 256M query_cache_size = 16M # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. # As of 5.1 you can enable the log at runtime! #general_log_file = /var/log/mysql/mysql.log #general_log = 1 # # Error log - should be very few entries. # log_error = /var/log/mysql/error.log # # Here you can see queries with especially long duration #log_slow_queries = /var/log/mysql/mysql-slow.log #long_query_time = 2 #log-queries-not-using-indexes # # The following can be used as easy to replay backup logs or for replication. # note: if you are setting up a replication slave, see README.Debian about # other settings you may need to change. #server-id = 1 #log_bin = /var/log/mysql/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M #binlog_do_db = include_database_name #binlog_ignore_db = include_database_name # # * InnoDB # innodb_file_per_table innodb_additional_mem_pool_size = 256M innodb_buffer_pool_size = 1024M innodb_data_file_path = ibdata1:10M:autoextend #innodb_log_buffer_size = 8M #innodb_log_file_size = 25M #innodb_log_files_in_group = 3 innodb_thread_concurrency = 12 innodb_flush_method = O_DSYNC innodb_table_locks = 0 innodb_flush_log_at_trx_commit = 0 innodb_max_dirty_pages_pct = 90 innodb_lock_wait_timeout = 120 #big-tables # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! # # * Security Features # # Read the manual, too, if you want chroot! # chroot = /var/lib/mysql/ # # For generating SSL certificates I recommend the OpenSSL GUI "tinyca". # # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem [mysqldump] quick quote-names max_allowed_packet = 128M [mysql] #no-auto-rehash # faster start of mysql but no tab completition [isamchk] key_buffer = 64M # # * IMPORTANT: Additional settings that can override those from this file! # The files must end with '.cnf', otherwise they'll be ignored. # !includedir /etc/mysql/conf.d/
  3. look this post bro http://www.maxcheaters.com/topic/188855-faction-engine-guardgve/
  4. file mou http://www.l2jserver.com/forum/index.php kalh arxh
  5. eyxaristo BlackDevilDev jereis ti quest prepei na uparxoun mesa ?
  6. pamela32 file mou den psaxnw gia kanena kalo pack..eipa na ftiajw oxi na agorasw.. gi ayto rwtaw ama jerei kaneis ti paizei mesa sto game...
  7. file mou na 3ekinisoume. 1: gia na ftia3eis diko sou skills prepei na kaneis edit to client 2: mporeis na grapseis ena code pou na dinei ta id pou theleis esu h me adena i me ena items pou tha baleis oste na to agorazoun..
  8. ekana login to 8ema einai omws oti einai x3 prepei na katsw kai na farm poses meres oste na dw ti uparxei... gi ayto rwtaw..
  9. Γεια σας ρε μαγκες.. εχω παρα πολυ καιρο να ασχοληθω με το forum.. θελω να κανω μια ερωτηση.. ξερει κανεις για το client classic. τι θελω δηλαδη. ξερω οτι παει μεχρη τα 75LEVEL Δεν ξερω ποια quest instance πρεπει να δουλευει.αμα υπαρχει olympiad. αμα ξερει καποιος και θελει να κανει ποστ. σκεφτομαι να ασχοληθω γι αυτο το λεω...
  10. Good luck ;)
  11. great features, will definitely join! good luck with your server seems really good
  12. Trusted safe&fast in 3 min with best rate!!!!
  13. axaxaxaxaxaxaxaxaxax.... lol :P
  14. look this id man : http://l2jdb.l2jdp.com/db_misc.php?id=7679
  15. this members is trusted Look
  16. [gr]pws 3eroume emeis oti `Heroin sou poulise to pack kai ta kanei ola ayta... ama exeis kati kanto post...
  17. File mou pane 13 me 12 meres otan to ekana upload ayto to code... To Update tis l2j egine http://trac.l2jserver.com/changeset/5928 12/04/2013
  18. Koita tha sou to apo allh mia fora kai ama theleis to katalaveneis... den tha kanw to post mou spam giati aplos ena atomw den 3erei ti einai to ena kai allo... To link pou mou ekanes post einai me tin palia version tis l2j pou tin eixa steile se ena filo mou na to kanei test. meta apo to update tis l2j pou metaferan to L2CastleChamberlainInstance.java stin Data den dinete apo ekei poia to time ton siege..... Apo ekei kai pera anti na akuroseis kai to config prepei na to kaneis na douleyei kai me ayto sosta xwris kanena problima etsi eftia3a ayto pou ekana post... pera apo ayto teleiwnei to 8ema den tha kanei sou lew spam post ..... Alla gi ayto den uparxei poia kanenas na sas boi8isei sto mxc giati barethikan oloi na asxolounte me atoma pou pera oti den 3eroun alla den ma8enoun.... na mou di3eis post pou exw kanei kai den exw dosei credits... File mou poia uparxoun eidh sto mxc kai to 3eroume oloi ayto kai exw edw einai perisotera xronia apo oti eisai esu kai oso exw asxolithei se ayto to forum esu den tha to kaneis pote... gi ayto telos to 8ema...
  19. File mou to blepeis to code na einai se rwtaw pali.... diladi eleos..... des ti leei to ena code me to allo kai meta ela pes to mou 3ana ayto pou les... alla ti na diavaseis einai kai ayto to 8ema... ama deis to link pou dineis agorina mou ta config ginontai delete edw to config uparxei kai einai poly diaforetiko... diladi otan theleis na kaneis ena spam oste na pareis post kanto sosta se ayto pou tha 3ereis..
  20. File mou ama blepeis to idio me to link pou dineis kaneis lathos.. to link pou dineis to idio exw kanei upload kai egw logika einai to diko mou pou exw deis ... pera apo ayto ama pas na deis sto code tis l2j den uparxei poia to L2CastleChamberlainInstance.java to meteferan stin data kai ayto to problima poia einai kathara apo to core poia giati stin data den orizete time.... kai to code to ekana egw
  21. Geia se olous. Se diafora Project kai pack pou uparxoun kai einai l2j. Uparxei ena problima panta to Time ton Siege pou pou einai stis 1 Ayto to Code einai kati aplos to eftia3a oste na to diorthwsw kapws.. Tha pate sto config Feature kai tha orisete tis wres opws to blepete poio katw sta perisotera project ayto to config den epikoinwnh giati den to exoun ftia3ei. Config # Which hours can change Castle Lords # Default: 16,20 SiegeHourList = 16,15,18,20 Index: java/com/l2jserver/gameserver/model/entity/Siege.java =================================================================== --- java/com/l2jserver/gameserver/model/entity/Siege.java (revision 349) +++ java/com/l2jserver/gameserver/model/entity/Siege.java (working copy) @@ -1440,27 +1440,44 @@ /** Set the date for the next siege. */ private void setNextSiegeDate() { - while (getCastle().getSiegeDate().getTimeInMillis() < Calendar.getInstance().getTimeInMillis()) + Calendar siegeDate = getCastle().getSiegeDate(); + if (siegeDate == null) { - if ((getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) != Calendar.SATURDAY) && (getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) != Calendar.SUNDAY)) + return; + } + while (siegeDate.getTimeInMillis() < Calendar.getInstance().getTimeInMillis()) + { + // set the next siege day to the next weekend + siegeDate.add(Calendar.DAY_OF_MONTH, 7); + } + + if (!SevenSigns.getInstance().isDateInSealValidPeriod(siegeDate)) + { + siegeDate.add(Calendar.DAY_OF_MONTH, 7); + } + + // If siege time is not in the allowed list, set first available hour. + if (Config.CL_SET_SIEGE_TIME_LIST.contains("hour") && !(Config.SIEGE_HOUR_LIST_AFTERNOON.contains(siegeDate.get(Calendar.HOUR_OF_DAY) - 12) || Config.SIEGE_HOUR_LIST_MORNING.contains(siegeDate.get(Calendar.HOUR_OF_DAY)))) + { + /* + * this assume that we have at least 2 time choice for period (morning or afternoon) one time choice for period (morning or afternoon) is no more allowed default value are 4pm and 8pm so only afternoon is used + */ + int time = 0; + if ((getCastle().getCastleId() == 1) || (getCastle().getCastleId() == 2) || (getCastle().getCastleId() == 3) || (getCastle().getCastleId() == 7)) { - getCastle().getSiegeDate().set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY); + time = 1; } - // from CT2.3 Castle sieges are on Sunday, but if server admins allow to set day of the siege - // than sieges can occur on Saturdays as well - if ((getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY) && !Config.CL_SET_SIEGE_TIME_LIST.contains("day")) + + if (!Config.SIEGE_HOUR_LIST_MORNING.isEmpty()) { - getCastle().getSiegeDate().set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY); + siegeDate.set(Calendar.HOUR_OF_DAY, Config.SIEGE_HOUR_LIST_MORNING.get(time)); } - // set the next siege day to the next weekend - getCastle().getSiegeDate().add(Calendar.DAY_OF_MONTH, 7); + else if (!Config.SIEGE_HOUR_LIST_AFTERNOON.isEmpty()) + { + siegeDate.set(Calendar.HOUR_OF_DAY, Config.SIEGE_HOUR_LIST_AFTERNOON.get(time) + 12); + } } - if (!SevenSigns.getInstance().isDateInSealValidPeriod(getCastle().getSiegeDate())) - { - getCastle().getSiegeDate().add(Calendar.DAY_OF_MONTH, 7); - } - SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_ANNOUNCED_SIEGE_TIME); sm.addCastleId(getCastle().getCastleId()); Announcements.getInstance().announceToAll(sm); Siege of Gludio: Thu May 02 15:00:00 EEST 2013 Siege of Dion: Thu May 02 15:00:00 EEST 2013 Siege of Giran: Thu May 02 15:00:00 EEST 2013 Siege of Oren: Thu May 02 16:00:00 EEST 2013 Siege of Aden: Thu May 02 16:00:00 EEST 2013 Siege of Innadril: Thu May 02 16:00:00 EEST 2013 Siege of Goddard: Thu May 02 15:00:00 EEST 2013 Siege of Rune: Thu May 02 16:00:00 EEST 2013 Siege of Schuttgart: Thu May 02 16:00:00 EEST 2013
×
×
  • Create New...