-
Posts
-
First, don't really follow the "main voice", moreover if you consider it an hobby. Simply do what you want, you got only one life so use it as you want. If you make it an hobby, it's exactly like piano, or velo - only practice makes you better. Secondly, how do you learn things ? It's actually a really important question, since some can simply be scholar, read books (theory) then practice ; and some simply can't read books. I'm the second type, I hated school, I find it boring - my knowledge in Java comes from try-and-fail. You improve your coding style every year or so, I can myself rewrite my own code (which I already considered top-notched) after a while. You always learn something new - even if Java barely evolves. L2J is a fun way to learn programming, it's a giant sandbox where you can edit anything, and I believe it should be taken as it. My own way of learning was as follow : Add existing customs, no matter what they are : the point is to know main classes used by L2J / customs. L2J is barely Java knowledge ; the true knowledge is to know WHAT to search in WHICH location (what I call, organization). You have to understand than EVERYTHING you think already exists, in a form on another, in the source code. A custom is only the association of the different mechanisms you found "here and there", glued together in a proper goal. Once you know main classes to edit, and the customs you added are compiling fine, the main point is to know WHAT exactly you DID. Try to understand WHY and WHERE you actually copied the code. Third point would be to MANIPULATE the customs you added in order to fit your wish. First edit little values, then logic conditions ; eventually add a new Config, or a new functionality to the custom. Fourth point would be to begin to craft your own ideas. Once again, EVERYTHING already exists, in a form or another. You want a cycled event ? You got Seven Signs main task as exemple. Npc ? Search any type of Npc and figure out what it does. Fifth point would be to understand Java - mostly containers (WHAT and WHERE to use them), variables types and main Java mechanisms (inheritance, static modifier, etc). You should also begin to cut your code into maintainable classes or methods. Java can actually run without optimization, but bigger your ideas, more optimized and well-thought it should be. It's direct saved time in the future, and you would thank yourself doing so. Main tips : ALWAYS use any type of versioning system - GIT or SVN. It allows to save your work, step by step and eventually revert back anytime you want if you terribly messed up. L2J is 80% organization knowledge, and 20% Java knowledge. Basically, if you know WHAT and WHERE to search, if you aren't dumb, it's easy to replicate and re-use things. Cherry on top is to use a already good coded pack to avoid copy-paste crap and get bad habits. Avoid any type of russian or brazilian packs, for exemple - their best ability is to leak someone's else code. Obviously you need some default sense of logic, but Java and programming in general help you to improve it. Finally, most of your questions could be solved joining related Discord (at least for aCis, I can't speak for others) - from the moment your question was correctly asked (and you seemed to search for the answer). My community (and myself) welcomes newbies, but got some issues with noobies. The simpliest is to try, fail and repeat until you succeed - it sounds stupid, but that's basically how life works. PS : about Java ressources, before ChatGPT, it was mostly about stackoverflow website, and site like Baeldung's one. With ChatGPT and alike, you generally double-cross AI output to avoid fucked up answers. Also, care about AI, they are often hallucinating really hard, even today. They can give you complete wrong answer, you tell them they are wrong, and they say "indeed, I suck, sorry - here's a new fucked up answer". You shouldn't 100% rely over AI answer, even if that can give sometimes legit answers, full code or just skeletons of ideas. PPS : I don't think there are reliable ressources regarding L2J itself, also most of the proposed code decays pretty fast if the source code is actually maintained (at least for aCis). Still, old coded customs for old aCis sources are actually a good beginner challenge to apply on latest source.
-
WTS: - AQ - Baium - Zaken - Frintezza - Vesper Fighter Focus Fire Element pm for detalis
-
By Advertising · Posted
We have the best price! L2Reborn.org Signature x1 Franz NEW!! 1KK = $20 HURRY TO BUY AT THE TOP PRICE discord - adver745645
-
-
Topics

Question
yorgos
Geia sas, tha ithela mia bohtheia...
Den mporoyn na mpoun alloi paiktes meso internet sto server mou....
Exo diabasei pola Guide me auto to thema, ta kano opos ta lene, exo dokimasei ena soro tropous alla tipota...
Exo kanei ta eksis: (Xrisimopoiw l2j server files GRACIA Final, to pack den einai etoimo preconfigure, einai apo edo Katevasmeno http://www.l2jserver.com/nightly/)
1.
Sto \gameserver\config\server.properties Einai Etsi:
# --------------------------------------------------------------------------- # Game Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname # Common settings... # 127.0.0.1 - If you are playing alone on a test server # 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect # x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server. # If this IP is resolvable by the Login Server, just leave *. # --------------------------------------------------------------------------- # Default: * ExternalHostname = lunatics.no-ip.biz # --------------------------------------------------------------------------- # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname. # This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x. # If this IP is resolvable by the Login Server, just leave *. # --------------------------------------------------------------------------- # Default: * InternalHostname = 192.168.1.66 # Where's the Login server this gameserver should connect to # Default: 127.0.0.1 LoginHost = 0.0.0.0 # TCP port the login server listen to for gameserver connection requests # Default: 9014 LoginPort = 9014 # Default: * GameserverHostname = 0.0.0.0 # Default: 7777 GameserverPort = 7777 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the appropriate driver and url for the database you're using. # Examples: # Driver = com.mysql.jdbc.Driver (default) # Driver = org.hsqldb.jdbcDriver # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver Driver = com.mysql.jdbc.Driver # Database URL # URL = jdbc:mysql://localhost/l2jdb (default) # URL = jdbc:hsqldb:hsql://localhost/l2jdb # URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password = URL = jdbc:mysql://localhost/l2jdb # Database user info (default is "root" but it's not recommended) Login = root # Database connection password Password = # Default: 100 MaximumDbConnections = 100 # Default: 0 MaximumDbIdleTime = 0 # --------------------------------------------------------------------------- # Misc Server Settings # --------------------------------------------------------------------------- # This is the server ID that the Game Server will request. # Example: 1 = Bartz # Default: 1 RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved. # Default: True AcceptAlternateID = True # Datapack root directory. # Defaults to current directory from which the server is started unless the below line is uncommented. #DatapackRoot = C:/Work/tmp/DataPack # Define how many players are allowed to play simultaneously on your server. # Default: 100 MaximumOnlineUsers = 100 # Minimum and maximum protocol revision that server allow to connect. # Warning: You must make sure that the minimum revision is always less than or equal to the maximum revision. # Default: 83 MinProtocolRevision = 1 # Default: 87 MaxProtocolRevision = 999 # --------------------------------------------------------------------------- # Misc Player Settings # --------------------------------------------------------------------------- # Character name template. # Examples: # CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]* # The above setting will allow names with first capital letter, next three small letters, # and any letter (case insensitive) or number, like OmfgWTF1 # CnameTemplate = [A-Z][a-z]* # The above setting will allow names only of letters with first one capital, like Omfgwtf # Default .* (allows any symbol) CnameTemplate = .* # This setting restricts names players can give to their pets. # See CnameTemplate for details PetNameTemplate = .* # Maximum number of characters per account. # Default: 7 (client limit) CharMaxNumber = 7Sto \login\config\loginserver Einai Etsi:
2. Exo Anoiksei Ta Ports Me Odigies Apo Ena Guide Edo Mesa... (De Thymamai Pio)...
Alla Me Eixe Proetrepsei Na Mpo Edo Na Allakso Ta Ports ----> http://portforward.com/
3. Exo Parei Patch System Apo Edo ktlp ---> http://www.maxcheaters.com/forum/index.php?topic=69451.0
Exo Allaksei Me File Edit To ServerAdress Kai Einai Etsi Mesa:
4. Auta Exo Kanei Kai O Server Anoigei Kanonika Alla Mpeno Meso Lan Mono Ego...
Stous Allous Pou Pane Na Mpoun Apo Ekso did (Meso Internet) Patane Ena ACC & PSW Kai Vgazei <<Please wait to login>> Kai Menei Ekei...De Proxoraei Parakato...
Tha Ithela Opoios Mporei Kai Kserei Kati Esto To Paramikro Na Help...Exo Dosei Pio Pano Opos Eidate Ta Code Na Tous Riksete Mia Matia An Breite Kana Lathos...
Euxaristw Poly Se Opion Kathise Na To Diabasei Esto!!!
Einai I Proti Fora Pou Kano New Topic Deikste Ligo Epoihkeia An Exo Parabiasei Kanenan Kanona Tou Forum Pesteto Kai Tha To Diorthoso... Thanks Kai Pali...
Kati Pou Ksexasa Na prostheso Sto \gameserver\config\server.properties & \login\config\loginserver Opou Exo 0.0.0.0 To Exo Dokimasei Kai Etci * did Anti Gia 0.0.0.0 ---> * Kai Otan Fortonei To GameServer Sto Telos Vgazei Auto * 9014
13 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now