Jump to content
  • 0

Question

Posted (edited)

Hi 

 

I'm googling right now to get info about how l2j works.

My goal is to learn how to fix  but I don't know how to approach or how much I have to go deep.

I know a bit of java and I keep studying it.

so What Does fix mean ? 

Do I need to know java and what else ?

I would like learn to create events , fix features , change position of mobs bugged etc

 

Thanks for any help

Edited by Sinistroyer

4 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, Sinistroyer said:

so What Does fix mean ? 

Do I need to know java and what else ?

I would like learn to create events , fix features , change position of mobs bugged etc

first you need to go to this link, then choose random source and run in your local server to know better about server structure (for this you need  to know java), then learn how to datapack connected with server (about parsing and db)

 

  • 0
Posted

Hi , 

I have a local server ready with L2jMobius.

I just realized that db tables are different from the old l2j server ( the original I think it is).

For example I have to set my char  with admin access level  and I've found the  files with this text inside :

# This option will set the default AccessLevel for MasterAccess
# Pls be carefully with that. Chars with this AccessLevel have
# right to execute every AdminCommand ingame.
# Default = 100 - Max. 255
MasterAccessLevel = 127

# This option will set the default AccessLevel for UserAccess
# Chars with this AccessLevel have user rights
# Default = 0 - Max. 255
UserAccessLevel = 0

on L2jmodbius is named "Access.ini"

  but the  "admin_command_access_rights" table doesn't exist in my DB 

 

 

maybe a standard doc doesnt exist and I have to ask to L2jmodbius forum

or i have to learn by reading Java code ?

For example I would like understand where the npc are "built" in DB , how do they work ?

How Do the db handle the item ?( it uses numbers..) ectc

I mean the architecture that is how every stuff is linked 

 

Thanks fro any help

 

 

 

 

 

  • 0
Posted

None will give you the use of the 1500+ core files of a L2J project.

 

I invite you to be curious and explore it. L2J is 80% project knowledge and 20% Java.

 

Langages to know : HTM, XML, SQL, Java. Some projects still have scripts under Jython.

 

With ok logic and no specific knowledge, you can expect to be "mhe" after 6 months of tries/fails, "ok" with 1y and "decent" after 1y+.

 

stackoverflow website is the best way to get answers regarding Java structures/logic/patterns in general.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • DEVELOPMENT UPDATE #4 ACCOUNT AND CHARACTER SECURITY   Vaelor includes several protection layers for accounts and characters. A personal PIN protects access to the character. PIN verification is also required for sensitive character actions. Incorrect attempts are counted across the protected actions. Repeated incorrect attempts trigger an automatic security response. Computer Lock can restrict access to an authorized device. Hardware identification is used for the game-window limit. Hardware bans are checked before protected character operations. Security settings are available through Alt+B › My Character.   These systems work alongside the normal account credentials and are intended to reduce the damage caused by shared or compromised login information.     ━━━━━━━━━━━━━━━━━━━━━━   Open Beta is currently running.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4
    • Some things that I've been working on lately. Client update A new system message window sits right above the chat. Damage, XP, pickups and system messages get their own box, so your chat stays clean. You can switch it off in the chat filter. Screenshots are now HQ and saved as PNG in dated folders. A bit of improvement from old bmp. Fixed a graphics glitch, cursor issues and the taskbar on Windows 11. Closer to retail C1 Buffs and debuffs now disappear on death, as on the original server. Clan wars last unlimited until one side surrenders. A stun is no longer broken by the hit that caused it, and Lucky no longer protects players with PKs. Doors and line of sight were checked against the original game. Sieges Castle walls can only be damaged by a Siege Golem. Players, other summons and skills cannot damage them. This is C1 mechanic so I will make a poll regarding this. Building Headquarters can be interrupted by damage, so protect your clan leader. Queen Ant and pets When Queen Ant spawns, everyone in her nest is teleported out, as on retail. Pets and servitors count as humanoid, as in C1. Original C1 bugs fixed Monsters hesitating instead of chasing you. They now finish the swing and then follow. Monsters are no longer moving while asleep or rooted. The Composite Armor set and Decrease Weight having no effect on weight fixed Anti-bot We've started building our own anti-bot system into the server itself. Bots aren't really welcome.
    • Version 0.3.0 - NPC rendering and npcpos.txt editing https://res.cloudinary.com/h4p9pew6/video/upload/v1792026335/npc-spawns-editor.mp4   A new NPC Spawns tab. Choose an L2OFF script folder and Cruma shows the server's spawns right in the game world: - Every spawn zone is a colored outline on the geodata. From high up you also see the zones far below. - NPCs stand where the server puts them. Random spawns use the same logic as the server. - Editing: move a whole zone or its corners, add and remove corners; move and turn NPCs; change the NPC, count, respawn time, AI and its parameters; add and delete zones, makers and NPCs; rename zones and makers and every reference to a zone is updated; new zones are named after the nearest zone (for example, benon_1725_07 next to benon_1725_06). - Actions: click an NPC or a zone to open its maker; double-click to start editing; search for NPCs; the focus button flies the camera to an NPC; the View menu can hide zone outlines and keep only the NPCs. - Each client remembers its own script folder, the same way it remembers its geodata folder. - Saving: only the edited lines of npcpos.txt change; before writing, you see a diff of the changes (maximum_npc 4 -> 3); every version is kept as a dated backup.   Improvements - UI changes: small fixes and a wider tool tab.   Download Link: 0.3.0
    • Why not, if you're interested I will post an update
    • UPD: New features and improvements
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..