Jump to content

Recommended Posts

Posted

Hello! its not really lineage question but im sure it fits best into that section.

Im currently developing some simple lineage like mmo but i wonder how can i replicate the movement on server, how do geodata work in l2? I got obstacles in my map but right now server does not know the map and simply moves the character to the destination place with sraight line.

SO thats question for someone who digged in geodata, how does it really work? How do server side confirm paths and keep the synchronization with all clients?

Posted

The client sends information to the server, including the X, Y, Z coordinates, and the server sends them to the other clients.

Posted (edited)

Well thats not what i was asking for :D
I know that client requests XYZ location but server has to analyze it, find obstacles or find out if someone tries to move through a wall and thats role of geodata. I rather wanted to know how server analyzes the obstacles, ramps etc to find a path for requesting client, how is geodata implemented internally

Edited by Szakalaka
Posted (edited)

Well thats not what i was asking for :D

I know that client requests XYZ location but server has to analyze it, find obstacles or find out if someone tries to move through a wall and thats role of geodata. I rather wanted to know how server analyzes the obstacles, ramps etc to find a path for requesting client, how is geodata implemented internally

You need to look in geoengine, it makes the character to move over the obstacle if it appears on the path. But regarding the clientitself - without server, every static object(like walls, house's, doors,etc) and poly objects(Like floor, roof, some walls) have implimented collision - that creates from the import and is handled by the engine(so that if the object has collision - actor(Player or NPC) cant move trough it, its very simple).

I suggest you to look on public unreal engine source, code - to get better view on this, thats not so hard t all if you know more then just java...

Edited by LightFusion
Posted

Client handles it well, i was rather worried about server side ;)

Then why is your server handling player movement ? Orginaly geo engine/geodata maded only to correct client/server(relations) that means - if on client(your game) doesnt allowing to move trough object, same thing need to apply to server side.

Here is an example 

of how server correct movement of player, the author of this is a scammer so...

Posted

But look from my perspective. I have code it from zero. So i got working client module which sends XYZ. Now i have to somehow have all map vertices saved on server to know if someone is tryin to walk through wall. I have to check it and thats what im asking for - for the most optimal way to do it and i ws thinkin of geodata implementation in L2

Posted

If you're developing a small l2-like MMO, you should know better than to stay away from L2's model of maps. Any other engine out there has greater/better/newer mapping methods than the crap Unreal Engine2 since 10 years ago.

Posted (edited)

But look from my perspective. I have code it from zero. So i got working client module which sends XYZ. Now i have to somehow have all map vertices saved on server to know if someone is tryin to walk through wall. I have to check it and thats what im asking for - for the most optimal way to do it and i ws thinkin of geodata implementation in L2

man you dont read what i say or what ? if on client side  player deletes his static model(object) that reprisent some wall, and he will be able to pass it - he should be returned where he was, according to geo map, but these whole work is making damn geo engine, can you just look on source, or what you expecting to get from here ?

Edited by LightFusion
Posted

man you dont read what i say or what ? if on client side  player deletes his static model(object) that reprisent some wall, and he will be able to pass it - he should be returned where he was, according to geo map, but these whole work is making damn geo engine, can you just look on source, or what you expecting to get from here ?

 

 

I can confirm that, this work must happen server side. There are rare cases tho where MMORPGs do the work client side but they have great protections too. In l2 everything is byppassable

Posted (edited)

Geodata is data like any other data, it is stored on arrays and you refer to it. Regarding pathfinding, you iterate until you find the good road (it's a A* approach, but could be reworked using JPS). Each node got 4 values, NWSE related, the point is the 4 sides of a node got a specific value, and you calculate the path using the shortest amount (Counter Strike got a similar pathfinding system, you place nodes for bots, corner nodes got different colors than walking nodes to make bots camp, etc).

 

On L2J / L2OFF (as Counter Strike), this data is static, and related to regions. Which means if you want to add a rock, and that rock must have a LoS/movement restriction, you must rework the geodata related to that region.

 

Nowadays the geo stuff is often dynamic, items can directly interact with each other.

 

About movement, you got a infinite task which keeps updated values and send info to others clients (on L2J it's mixed with GameTimeController).

 

L2J geodata is layered to fit with Z. Meaning you can have numerous layers on a similar portions of X/Y (ToI for example).

 

If that can give you an idea :

 

 

Edited by Tryskell
Posted (edited)

if i understand right then that code(GAME) i will give you its a nice example of how to path finding.(CODE ITS NOT MINE I JUST GOOGLE IT) 

 

debug it and run it.

 

Code: http://pastebin.com/vLeBz5gh

Youtube: 

Edited by AbSoLuTePoWeR
Posted

if i understand right then that code(GAME) i will give you its a nice example of how to path finding.(CODE ITS NOT MINE I JUST GOOGLE IT) 

 

debug it and run it.

 

Code: http://pastebin.com/vLeBz5gh

Youtube: 

 

eisai panivlakas kai esu kai aftos pou egrapse to code

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

    • Dear clients, we strongly advise against holding funds in USDT due to an increase in mass freezes by the issuer. Any wallet can be locked without explanation if your coins happen to be in the wrong place at the wrong time. If you hold savings in USDT, swap them for something safer, such as XMR, BTC, ETH, or similar. When working with crypto, opt for decentralized coins that are technically impossible to freeze. Alternatively, after handling USDT, move your funds into safe assets. To protect your funds, we recommend using XMR, BTC, ETH.
    • Hello everyone, I am looking for a C4 Scions of Destiny (P656) Retail x1 L2OFF Server Pack + Source. My goal is not to launch a server immediately. I want to learn L2OFF server development in C++, understand the original C4 architecture, and eventually build my own project in the future. I have already tried to reach an agreement with a few members who offer C4 projects, but communication has been quite slow, so I decided to ask the community here as well. I'm specifically looking for a Retail x1 version, not a heavily customized x45 or PvP pack. Ideally, the package should include: Complete LoginServer Complete GameServer Source code SQL database AI / NPC scripts Geodata Visual Studio solution/project Everything required to compile, study, and run the server If anyone knows a trusted seller or can recommend a reliable P656 Retail x1 package, I would really appreciate your advice. I would also appreciate hearing from anyone who has purchased a Retail x1 package before and can share their experience. Thank you very much!
    • NEW SEASON OPENING - TODAY ! GRAND OPENING FROM - 10/07/2026, FRIDAY, 20:00 +3 GMT !
    • Elite Lineage II Development | Websites • Master Accounts • Custom Systems • Server Solutions Turn Your Lineage II Project Into a Professional Experience Hello everyone, My name is Frank, and for years I've been developing custom solutions for Lineage II private servers. My focus isn't simply creating attractive websites—it's building complete ecosystems that improve both the player experience and server management. Unlike generic web designers, I understand how Lineage II servers actually work. Every page and system is designed with real gameplay, server administration, and player retention in mind. Whether you're launching your first project or upgrading an established server, I can help you create something that looks and feels like a premium MMORPG. What I Can Build Modern Landing Pages Your landing page is the first impression players have of your server. I create high-end landing pages featuring: • Cinematic hero sections • Animated backgrounds • Countdown timers • Feature showcases • Grand Opening events • Server roadmap • Responsive mobile design • Fast loading and SEO-friendly structure No generic templates. Every landing page is built specifically for your project. Complete Master Account Systems One of my specialties is developing advanced account management panels that integrate naturally with your Lineage II server. Examples include: • Account Dashboard • Character Selection • Character Information • Character Statistics • Combat Power System • Achievement System • Character Mastery • Collections • Daily Rewards • Vote Rewards • Referral Systems • Lucky Wheel • Premium Account Management • Donation Store • Coin Wallet • VIP Services • PIN Protection • Password Management • Inventory Viewer • Warehouse Viewer • Rankings • Online Players • Server Statistics • Event Pages Everything is designed with both usability and visual quality in mind. Custom Web Systems Need something unique? I also develop completely custom features tailored to your server. Examples: • World Boss Event Pages • Raid Boss Tracker • Olympiad Rankings • Castle Siege Overview • Grand Boss Status • Event Management Panels • Daily Hunt Interfaces • Progression Systems • Collection Systems • Custom Shops • Clan Pages • Marketplace • Admin Panels If you have an idea, we can build it. Full Website Development I can create your complete server website, including: • Home • Downloads • News • Patch Notes • Server Information • Wiki • Rankings • Community Pages • Support Center • Knowledge Base • FAQ • Voting Pages • Donation Pages Designed to match your server's identity. Forum Integration Professional integration with community platforms. Examples: • XenForo • phpBB • Discord Integration • Custom Forum Themes • User Synchronization Server Experience Because I actively work with Lineage II servers, I understand much more than web development. Experience includes designing and implementing systems around: • Character progression • Achievement tracking • Collection systems • Daily Hunt mechanics • Lucky Wheel events • Premium services • Server economy • Custom reward systems • World Boss events • Event scheduling • Player dashboards • Administrative tools This allows me to design websites and panels that feel like a natural extension of your server instead of just another website. Technologies • PHP 8 • MySQL / MariaDB • HTML5 • CSS3 • JavaScript • AJAX • Responsive Design • API Integration • Linux Server Environment Why Choose Me? ✔ Years of Lineage II development experience ✔ I understand both the website and the game server ✔ Custom development—not copy-paste templates ✔ Modern UI & UX ✔ Mobile responsive ✔ Clean and optimized code ✔ Long-term support ✔ Fast communication ✔ Flexible solutions for every budget Portfolio Below you'll find examples of projects I've created, including custom landing pages, master account systems, dashboards, progression systems, and unique interfaces developed for real Lineage II servers.     Need Something Unique? Some of the most successful servers stand out because they offer features players haven't seen before. If you have an idea—even if it's only a rough concept—I can help transform it into a polished, fully functional system.     Contact Interested in working together? Feel free to send me a private message with your project details. I'll be happy to discuss your ideas and provide a free estimate. Let's build something your players will remember.     Discord:  https://discord.gg/qnmNkY6D3n
  • 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..