Jump to content

Recommended Posts

Posted

Hi guys, I'm kinda new here. Was it ever discussed a way to expose an API that has values like objects around the player, player status, object status, quest log, etc? I mean, all info that a player would get by playing normally?

 

I wanna train an AI that uses it so I can create my personal local server with hundreds of independent AI players, but I'm having trouble with the java code.

 

Any tips? I have the L2J Mobius Interlude server.

 

Thanks!

Posted

I know a guy who did this but as i told him bots dont generate donations, they offer replies and character learning and adapting to replies, for a small server of 10 players might work, but the resources you need are big, i made a python integration in my AI to use API for I/O and learning by the information it gets but the cost of the server ultimately defeats the porpuse unless you are looking into a SaaS model.

 

:poker: making an AI server for a 20 year old game sounds promising

:kim:

Posted (edited)
2 hours ago, Nightw0lf said:

I know a guy who did this but as i told him bots dont generate donations, they offer replies and character learning and adapting to replies, for a small server of 10 players might work, but the resources you need are big, i made a python integration in my AI to use API for I/O and learning by the information it gets but the cost of the server ultimately defeats the porpuse unless you are looking into a SaaS model.

 

:poker: making an AI server for a 20 year old game sounds promising

:kim:

 

I figured as much ahaha! But keep in mind that this is purely for personal enjoyment and non profitable. I'm even considering getting a big boy PC just to run this!

 

Anyway, I kinda made progress. Created a "ApiServer.java" file to expose some classes and added it to the "ServerPackets.java" file. Sadly now it's gonna be a pain in the arse to study all the classes...

Edited by masses
Posted
1 hour ago, masses said:

 

I figured as much ahaha! But keep in mind that this is purely for personal enjoyment and non profitable. I'm even considering getting a big boy PC just to run this!

 

Anyway, I kinda made progress. Created a "ApiServer.java" file to expose some classes and added it to the "ServerPackets.java" file. Sadly now it's gonna be a pain in the arse to study all the classes...

Why not just query the database? No need for a server side mod if its not going too much into detail.

Posted
4 hours ago, Splicho said:

Why not just query the database? No need for a server side mod if its not going too much into detail.

 

I really want the AI to interact with the server as if it was a player. That involves de gameserver knowing and treating the AI instance as a player! I don't know if I can replicate that with database queries, honestly. But that's a nice tip that I might follow if everything else fails.

Posted
2 hours ago, masses said:

 

I really want the AI to interact with the server as if it was a player. That involves de gameserver knowing and treating the AI instance as a player! I don't know if I can replicate that with database queries, honestly. But that's a nice tip that I might follow if everything else fails.

And what model you wanna train? LLMs can't do that.

Posted (edited)

I suggest logging real player data such as positions, movement, quests, skills used in real time, and general actions and save them in whatever format you like. You need to organize and verify the data. If your data are not enough you can create synthetic data based on your existins real data. later you have 2 options 

You can fine tune a smaller model (for example, from hugging face). This requires time, money(compute power), and plenty of trial and error, but the benefit is that you can run it locally without relying on external services.

Use existing LLMs and  instead of training you can store your data in a vector database and let the LLM query it( im not sure if RAG is the right term here). This approach is faster to set up but depends on the model  and the output you want to achieve(you will need some research there).

Regardless of which approach you take  you should expose only safe actions through a service or API. This can be done with MCP(model context protocol) or a custom api ensuring the model (local or external) can only trigger controlled api calls such as movePlayer, castSkill, etc etc, which are already implemented in most sources, but you will need to implement them for your models output and behavior. 

 

Doable? Yes by commiting  a tone of hours and i dont think java code is the problem here.
Is it worth it? If you’re doing it to learn then go for it. But if your goal is to create “real fake player” experience on your server or to sell it later  its not worth it. Spend your time elsewhere

 

1 hour ago, Splicho said:

And what model you wanna train? LLMs can't do that.


yes they can

Edited by Seamless
Posted (edited)
2 hours ago, Seamless said:

yes they can

LLMs can just return text, and maybe tool calls (read write etc) no ?

Wouldn't you need a parser or something that translates the returned text to instructions, e.x move player here, cast skill there?

 

Sounds like a pain in the ass + a lot API costs.

Edited by Splicho
Posted
4 minutes ago, Splicho said:

LLMs can just return text, and maybe tool calls (read write etc) no ?

Wouldn't you need a parser or something that translates the returned text to instructions, e.x move player here, cast skill there?

 

Sounds like a pain in the ass + a lot API costs.

correct. for example with semantic kernel sdk that exists also for c# and java you can do all sorts of things. even orchestrate an llm to call classes and manipulate objects or even execute database queries. you can literally simulate a real player process on a loop. and yes its costly if you use services like azure. but you can find cheaper alternatives or even free if you brave enough and have time

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Arrival of new high-quality LinkedIn accounts for confident promotion and influence New products added: ➡LinkedIn SelfReg Account with Real Connections (50/100/250/500/1000) of your choice | GEO: United States/Europe (of your choice) | Filled Profile | Registered on a real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections and Premium Subscription (Career/Business/Sales Navigator/Recruiter) – of your choice | GEO: United States | Filled Profile | Registered on a real device | Price from $15 Full range of our online store: ➡Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email accounts (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click – promotion of your social media accounts Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat and other digital products. Get $1 on your first trial SMM Panel launch: just open a ticket with the subject “Get Trial Bonus” on our website (Support). LinkedIn Accounts Range: ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM USA IP | Price from $2.5 ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM EUROPE IP | Price from $2.5 ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL.COM, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM MIX IP | Price from $2.5 ➡LinkedIn Old Brute Account with Real Connections (0 connections) | Mix Geo | Filled Profile | Registered on real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections (50/100/250/500/1000) of your choice | GEO: United States/Europe (of your choice) | Filled Profile | Registered on real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections and Premium Subscription (Career/Business/Sales Navigator/Recruiter) – of your choice | GEO: United States | Filled Profile | Registered on real device | Price from $15 ➡LinkedIn Premium Brute Account (Premium) with an active 1-month Premium subscription | GEO: MIX | Registered on a real device | Full account access | Price from $20 ➡LinkedIn Old Brute Account with Real Connections (50 connections) | Mix Geo | Filled Profile | Registered on real device | Price from $20 ➡LinkedIn Old Brute Account with Real Connections (100+ connections) | Mix Geo | Filled Profile | Registered on real device | Price from $39 ➡LinkedIn Old Brute Account with Real Connections (500+ connections) | Mix Geo | Filled Profile | Registered on real device | Price from $69 ➡LinkedIn Verified Brute Account with verified documents | GEO: MIX | Registered on a real device | Full account access | Price from $89 For regular customers – additional discounts and promo codes! 10% – 20% discount or a $1 BONUS for your registration If you want to get a $1 BONUS for your registration OR a 10% – 20% discount on your first purchase, you can leave a comment: "SEND ME BONUS, MY USERNAME IS..." You can also use a promo code for your first purchase: SOCNET (15% discount!) Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Discord: socnet_support ➡ Discord Server: https://discord.gg/y9AStFFsrh ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — Consult on wholesale purchases — Establish partnerships (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet – Digital Goods & Premium Subscriptions Store
    • Arrival of new high-quality LinkedIn accounts for confident promotion and influence New products added: ➡LinkedIn SelfReg Account with Real Connections (50/100/250/500/1000) of your choice | GEO: United States/Europe (of your choice) | Filled Profile | Registered on a real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections and Premium Subscription (Career/Business/Sales Navigator/Recruiter) – of your choice | GEO: United States | Filled Profile | Registered on a real device | Price from $15 Full range of our online store: ➡Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email accounts (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click – promotion of your social media accounts Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat and other digital products. Get $1 on your first trial SMM Panel launch: just open a ticket with the subject “Get Trial Bonus” on our website (Support). LinkedIn Accounts Range: ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM USA IP | Price from $2.5 ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM EUROPE IP | Price from $2.5 ➡LINKEDIN.COM ACCOUNTS | EMAIL INCLUDED @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL.COM, MALE OR FEMALE, PARTIALLY FILLED PROFILES, REGISTERED FROM MIX IP | Price from $2.5 ➡LinkedIn Old Brute Account with Real Connections (0 connections) | Mix Geo | Filled Profile | Registered on real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections (50/100/250/500/1000) of your choice | GEO: United States/Europe (of your choice) | Filled Profile | Registered on real device | Price from $10 ➡LinkedIn SelfReg Account with Real Connections and Premium Subscription (Career/Business/Sales Navigator/Recruiter) – of your choice | GEO: United States | Filled Profile | Registered on real device | Price from $15 ➡LinkedIn Premium Brute Account (Premium) with an active 1-month Premium subscription | GEO: MIX | Registered on a real device | Full account access | Price from $20 ➡LinkedIn Old Brute Account with Real Connections (50 connections) | Mix Geo | Filled Profile | Registered on real device | Price from $20 ➡LinkedIn Old Brute Account with Real Connections (100+ connections) | Mix Geo | Filled Profile | Registered on real device | Price from $39 ➡LinkedIn Old Brute Account with Real Connections (500+ connections) | Mix Geo | Filled Profile | Registered on real device | Price from $69 ➡LinkedIn Verified Brute Account with verified documents | GEO: MIX | Registered on a real device | Full account access | Price from $89 For regular customers – additional discounts and promo codes! 10% – 20% discount or a $1 BONUS for your registration If you want to get a $1 BONUS for your registration OR a 10% – 20% discount on your first purchase, you can leave a comment: "SEND ME BONUS, MY USERNAME IS..." You can also use a promo code for your first purchase: SOCNET (15% discount!) Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Discord: socnet_support ➡ Discord Server: https://discord.gg/y9AStFFsrh ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — Consult on wholesale purchases — Establish partnerships (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet – Digital Goods & Premium Subscriptions Store  
    • Ease of use comes first! We specifically designed Vibe SMS to be simple and convenient to work with.   🎨 Eye-friendly design - a clean panel where everything is intuitive ⚡ Fast number rental - no extra clicks or delays 📲 Instant SMS reception - keep working without interruptions   Try it yourself and see how enjoyable it is to work with a service built with care for its users!   Website: vibe-sms.net Telegram channel: https://t.me/vibe_sms  
    • sell adena l2rebon signature x1 - 1kk = 1.4 dollars l2reborn x10 - 500kk = 7 dollars E-Global x Lu4 - 1kk = 4 dollars DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock