-
Posts
217 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by kuba90
-
Or show us the tvt event code to tell why why it doesnt work properly ?
-
An katalaba kala exeis router pou dinei internet se 2 PC ( se LAN ethernet ). Kathe PC tha exei ton diko tou loginserver kai ton diko tou gameserver. Ayto pou tha prepei na allakseis me mia proti matia opos to blepo einai oi portes. Den ginete na exoun kai oi dio server tis idies portes. Molis allakseis portes px server 1: 7777 server2: 7778, tha pas sto router kai tha kaneis port forwarding oste i kinisi pou erxete stin 7777 na dromologite sto ena to pc ( px sto 192.168.1.2 ) kai i kinisi pou erxete stin 7778 na dromologite sto allo to pc ( 192.168.1.3 ). Bebea kai me tis idies portes ta perissotera router den exoun problima ( kratane dikes tous virtual ports mesa sto hardware gia 2 efarmoges pou trexoun stin idia software port ), alla an den sou doulepsei, kane ayto pou eipa.
-
Help with error on restart please
kuba90 replied to Colville®'s question in Request Server Development Help [L2J]
Freaking noob ... -
Help with error on restart please
kuba90 replied to Colville®'s question in Request Server Development Help [L2J]
for (L2Armor armor : SkillsEngine.getInstance().loadArmors(armorData)) { _armors.put(armor.getItemId(), armor); } Line 350 of ItemTable.java ( if we have it the same :) ). As it seems the armor is null. You are probably missing some datapack information. Check if the tables regarding armors and the xml regarding armors are there. I will assume that you havent changed anything in the ItemTable.java file, so first thing to do is make sure the data files and the sql files are in place. -
[HELP]Cant edit files in Database
kuba90 replied to Kamilczak020's question in Request Server Development Help [L2J]
let me guess, searching in the wrong database :) ? -
Nice dig-up. Another protection against stupid-restart from players, would be to introduced a derivative in the voting system. Votings can clear every 2 mins. Each 2 mins the system checks the votes/time, if that number is high, then it means that many people voted during that time. In other words it doesnt measure the "votes" in a long duration , but the votes/time. Usually votes/time will be high only when teh server starts lagging.
-
Guide Συμβουλές Για Να Μην Έχει Lag Ο Server Σας!
kuba90 replied to nekys's topic in Server Development Discussion [Greek]
Xmx kai Xms είναι η μέγιστη και η αρχική ποσότητα της RAM που θα χρησιμοποιήσει η java virtual machine για τον server σου. Προφανώς όσο μεγαλύτερα, τόσο το καλύτερο. Πρόσεξε όμως. Αν πχ έχεις 4 GB ram δεν θα τα βάλεις όλα στην JVM γιατί χρειάζονται και σε άλλες λειτουργίες του συστήματος. Συμβουλή, άσε 2 GB για το σύστημα, και τα υπόλοιπα βάλτα στην JVM. Και καλό είναι το Xms και Xmx να είναι το ίδιο για λόγους που εξηγούνται στο guide. -
Γρήγορο compile του L2JServer.
kuba90 replied to kuba90's topic in Server Development Discussion [Greek]
Οκ ο τίτλος άλλαξε :). -
[Request] Java Developer
kuba90 replied to MrPerfect20's question in Request Server Development Help [L2J]
Hmm, add me in msn, im always in for hobby-server making for fun, but i gotta be sure you are not ... 14 years old :) ( kuba90ssj@hotmail.com ) -
Βασικά στην τελευταία αν δεν διορθώνεται , κάνε ενα reinstall ton Eclipse. Δεν με βλέπεις που κατουρήθηκα πάνω μου ? ( Εδώ αρμόζει το γνωστό ανέκδοτο του Πανούση για τον Νταλάρα ... αν με πιάνεις.
-
[help] paidia soz dn 3erw pou na to kanw!
kuba90 replied to cta8ic's question in Request Server Development Help [Greek]
To τελευταίο Revision από L2JServer. Εδώ είναι όλα :) http://pastebin.com/9FZukiPV -
[HELP] Wrong Protocol
kuba90 replied to Kamilczak020's question in Request Server Development Help [L2J]
You could login an epilogue server, with a final client. That was till some days ago. NCSoft updated the protocol some days ago ( remember the announcement in l2jserver in the svn ? ) and now you cant communicate "properly" with epilogue server while having gracia client. Your client should be epilogue. No-matter what protocol version you will try to use, you wont succeed without epilogue. -
The server pack is unbelievable poor and bad-coded. I decompiled it in my pc, it has absolutelly nothing different from any other pack. Just a hide and seek and a license manager. And their TvT , CTF is just a rip-off the usual events. If you want to see your self, use the Java Decompiler: http://java.decompiler.free.fr/?q=jdgui#downloads Java Decompier allows you to reverse a jar file back to its source code.
-
Όσοι έχετε ασχοληθεί με τον κώδικα του L2JServer θα έχετε παρατηρήσει οτι κάθε φορά που κάνετε Build, ανοίγετε το φάκελο με το αρχείο L2JServer.jar και κάνετε Copy/Paste το αρχείο αυτό μέσα στον φάκελο που τρέχει ο local Server σας ( όσοι χρησιμοποιείτε έναν για testing στο PC σας, δηλαδή οι περισσότεροι. ). Στον οδηγό αυτό θα δημιουργήσουμε ένα δεύτερο build αρχείο ας το ονομάσουμε CustomBuild.xml το οποίο με το που το τρέχουμε, όχι μόνο κάνει build αλλά μεταφέρει τα αρχεία και στην σωστή θέση, απαλλάσοντάς μας από την πλοήγηση στους φακέλους και το copy/paste του l2jserver.jar. Βήμα πρώτο. Βρίσκουμε το αρχείο build.xml στο pack μας kai to κάνουμε copy/paste στο ίδιο directory. Του δίνουμε ένα κενούργιο όνομα, ότι θέλουμε ( εγώ το ονόμασα ApostasyBuild ). Όταν τελειώσουμε από αυτό το βήμα , έχουμε κάτι σαν το παρακάτω: Βήμα δεύτερο. Προσθέτουμε μέσα στον κώδικα του νέου αρχείου που μόλις αντιγράψαμε, τα κομμάτια που βρίσκονται "μέσα" στα πορτοκαλί σχόλια. Δεν θα προσθέσετε ολόκληρο το αρχείο, απλά θα εντοπίσετε τα σημεία. Δεν το έδωσα σε patch, γιατί μπορεί να μην θέλετε να το περάσετε ολόκληρο. Η διαδρομή που είναι με κόκκινα γράμματα , είναι η διαδρομή στον φάκελο με τον οποίο εκκινεί ο server σας. To αλλάζετε με την διαδρομή που έχετε εσείς. ( μην βάλετε την δική μου ... ::) ). Εάν βάλετε όλλες τις αλλαγές που έκανα, τότε κάθε φορά που κάνετε build: 1)Πραγματοποιείται αυτόματη αντιγραφή του L2JServer.jar στον κατάλληλο φάκελο. 2)Πραγματοποιείται αυτόματη αντιγραφή του L2Jlogin.jar στον κατάλληλο φάκελο. 3)Πραγματοποιείτε αυτόματη αντιγραφή των configs στους κατάλληλους φάκελους. Προσοχή ! Η εκτέλεση του custom build αρχείου, θα αντιγράψει τα configs που βρίσκονται μέσα στον eclipse , πάνω στα δικά σας configs. Άν τα configs σας διαφέρουν από αυτά που έχει μέσα στον eclipse, τότε θα χάθούν οι ρυθμίσεις σας. Άν δεν θέλετε να προστίθεντε τα configs τότε μην περάσετε τον κώδικα που βρίσκεται στα εντός των πορτοκαλί γραμμάτων ( εκεί που λέει BE CAREFUL ! ). Αυτα :).
-
[Help]Create admin command error
kuba90 replied to AfaNouLiS's question in Request Server Development Help [Greek]
Αυτά που σου τα έκανα πορτοκαλί , να τα κάνεις Admin και όχι User. Αφου στο λεει το interface βρε noobako :) ;D -
[Share]Pc Attackable at all times with config
kuba90 replied to Setekh's topic in Server Shares & Files [L2J]
Ofcurse it will mess up your pvp system. The code is wrong. ( And all those smart ass guys like ExtremeDwarf playing cool didnt see it . ) Do not add this. Thats what causing the problem. Every L2Playable ( aka L2PcInstance too ) is attackable object. So remove that lines from the code. And check your codes when posting them. -
[HELP] compile error..
kuba90 replied to ALEXIS THE HOLE's question in Request Server Development Help [Greek]
hmm ... Εγώ πάντως τα κατάφερα ... :). -
[HELP]Can not solve Hostname
kuba90 replied to vaggos909090's question in Request Server Development Help [Greek]
Ή απλά αν είσαι πίσω απο router και έχεις βάλει την LAN IP δεν έχεις κάνει Port Forwarding. Για να μην το κουράζεις, 127.0.0.1 και δεν έχεις προβλήματα ποτέ :) -
server's total available ram..
kuba90 replied to PoRnosJH's question in Request Server Development Help [L2J]
Know that, just making fun of it ;D -
server's total available ram..
kuba90 replied to PoRnosJH's question in Request Server Development Help [L2J]
What exactly is apache doing in the gameserver machine o0 ? :P -
server's total available ram..
kuba90 replied to PoRnosJH's question in Request Server Development Help [L2J]
He is asking, he didnt suggested anything .... chill out. The maximum heap size JVM can initialize under 32 bit is 4 GB ( do the maths ) , just some OS limmit it to 3 GB, some others to even less ( 1GB etc ). Thats true, you wont need that much memory. You can run fine with 4GB with 800 players ( tested ). Wrong. If you allocate a small initial heap size ( xms ) then the JVM will reallocate ( increase/decrease ) the heap size each time its filled. For example, when it reaches initial xms ( 1GB ) it will reallocate more ( if xmx > xms ) which will add additional CPU overhead. For server applications, the best practice is to use xms = xmx. And always start with a quite sufficient xms ( eg 4 GB ) so as you wont need memory reallocation. -
[HELP] compile error..
kuba90 replied to ALEXIS THE HOLE's question in Request Server Development Help [Greek]
Τι το λές βρε το παιδί και το τρομάζεις ? Κανένα αρχείο του κώδικα σου δεν έχει προβλημα. Αυτό το σφάλμα οφείλεται στην εφαρμογή όχι στον κώδικα, αγνόησέ το. -
server's total available ram..
kuba90 replied to PoRnosJH's question in Request Server Development Help [L2J]
xmx is the maximum heap size in the JVM. xms is the initial heap size in the JVM. Ill give you an example to understand how to use those values. Lets say you give 1 GB maximum heap size. When the server starts, it doesnt use all that memory, it doesnt need to. After many players login, or server is up for a long time ( memory leaks but dont pay attention to that ) memory starts getting filled up. If memory gets filled up to 1 GB / 1 GB then when JVM tries to allocate a new object it doesnt find any space to do that. So the garbage collector , starts "scanning" whole heap which adds load to the server making it not able to respond easily and in reasonable time. He does that so as he can collect garbages to free some space. Usually in server applications you use xmx = xms , the same value. And that value is limmited by your adressing model or by your rams maximum. But, you shouldnt use ALL your ram in the JVM, cause free ram is needed for "other" things. Based on what you say: How did you figure that out ? -
server's total available ram..
kuba90 replied to PoRnosJH's question in Request Server Development Help [L2J]
Who says that o0 ? -
Guide Συμβουλές Για Να Μην Έχει Lag Ο Server Σας!
kuba90 replied to nekys's topic in Server Development Discussion [Greek]
http://java.sun.com/performance/reference/whitepapers/tuning.html Μην τα ξαναγράφουμε, τα λέει πολύ αναλυτικά εκεί. Για συνέπεια και μόνο στο λέώ, μην δώσεις όλη τη Ram στην java, δεν κάνει.
