r/lanparty 9d ago

Full offline Battlefield 3 with 64 bots

https://youtu.be/WDgCpFidsVo?si=NJXFZjLUOQYKggrp
There is still a lot of work ahead, but this is already more than zero.
Upvotes

45 comments sorted by

u/Feisty-Buffalo2786 9d ago

I also have offline BF3 running at our LAN Party. But with just 10 players its really empty. Then I tried BF4. There is a experimental bot spawn command. But no NPC logic behind them aswell. Would be cool to fill old BF servers with bots.

u/Snowblind45 9d ago

if this isn't venice unleashed, then what is this? how dude?!

u/Optimal-Gur-3052 9d ago

My own development

u/Snowblind45 9d ago

oouuuf! How does one even approach this? I only know basic c++. I fant fathom

u/Optimal-Gur-3052 9d ago

Zero codind myself.
Only AI vibe.
I use a blaze emu, official dedicated server and dedicated engine develope in C+ for boys brain

u/LucidFir 8d ago

Epic

u/Optimal-Gur-3052 8d ago

i try)

u/LucidFir 8d ago

Probably best to not even answer questions like "how did you do this" just make the cool thing, give the cool thing, let people use the cool thing.

u/Optimal-Gur-3052 8d ago

100% hard vibecoding only) im not engineer

u/Snowblind45 8d ago

how did you even know this is possible? like did the AI tell you you cna make bots if you download XYZ? which AI? im super curious.

u/Optimal-Gur-3052 8d ago

Claude code in Virtual Code Studio. I give a task, he is a complete.

u/Albert_O_Balsam 9d ago

Great stuff, I had thousands of hours on Xbox 360 but never played on PC, I bought it a few months ago and got frustrated trying to get it up and running with all that EA account bullshit, the game itself runs on my OS (Zorin) will this mod run on Linux too?

u/Optimal-Gur-3052 9d ago

about linux not a plan now, but maybe in future. My discord https://discord.gg/kpfggtWEj

u/danre23-TK 9d ago

perfect game for the idea

u/DJBoomstick69 9d ago

That is awesome ! The one game I wanna be able to play again like this.

u/Mexcol 8d ago

Man you deserve a beer! Keep it up

u/Optimal-Gur-3052 8d ago
There is a lot of work ahead, and I might encounter something I won't be able to solve.

u/voiceipR 8d ago

Nice work, thanks

u/SagnolThGangster 8d ago

Does this work on an official server and what about ranking?

u/Optimal-Gur-3052 8d ago
It only works on its own dedicated server. You can play solo, or have someone else connect via LAN or a program like Hamachi using the same client. 
The idea of ​​enabling all unlocks right from the start

u/K23crf250 8d ago

Definitely worth it sign me up.

u/mi__to__ 8d ago

Ohhh please finish this. D:

u/Optimal-Gur-3052 8d ago

i try and its really hard and long, welcome https://discord.gg/kpfggtWEj

u/23027 8d ago

Following! I need this.

u/LucidFir 8d ago edited 8d ago

Placeholder: i recently linked someone a bunch of stuff. Idk what your plans are but there are ways to do machine learning from real players to create AI players.

...

I have no idea if this would be easy or hard, or even be useful, but I'm imagining the following:

Create a system to record replays as json files (or whatever, something lightweight, just a data log of the inputs that made stuff happen) so that every game can be replayed.

Then have that game data go to some kind of training set to train opponent AI, alpha go style, so that you can create LLM-AI opponents, and then just handicap them any amount and maybe have the same system create ELO for players.

The game looks epic. This comment is mostly about my own dreams for future opponent AI.

......

Gemini says

Replay Recording & Data Parsers * Project Slippi: High-level C++ engine hooks and parser ecosystem for saving real-time game states to compressed .slp files. * GitHub: project-slippi/project-slippi * Parser: project-slippi/slippi-js * Py-Slippi: Python library for extracting game inputs and metadata from local replay files into NumPy-ready training vectors. * GitHub: hohav/py-slippi Reinforcement Learning & Self-Play Training Frameworks * OpenAI Gymnasium: The standard API for exposing game environments (including replay playback engines) to AI agents. * GitHub: Farama-Foundation/Gymnasium * CleanRL: Concise, single-file implementations of algorithms like PPO (Proximal Policy Optimization) and Behavioral Cloning. * GitHub: vwxyzjn/cleanrl * Ray RLlib: High-performance library built specifically for distributed self-play training loops and league management (AlphaGo/AlphaStar style). * GitHub: ray-project/ray * DI-engine: Decision intelligence platform containing pre-built pipelines for imitation learning, self-play leagues, and multi-agent gaming AIs. * GitHub: opendilab/DI-engine Real-Time Elo & Skill Rating * OpenSkill.py: Fast Python implementation of Bayesian multi-player rating algorithms (Weng-Lin/TrueSkill alternative) for calculating Elo from match logs. * GitHub: vivekjoshy/openskill.py * OpenSkill.js: JavaScript equivalent for client-side or web dashboard Elo calculations. * GitHub: maartenberg/openskill.js End-to-End Reference Implementations * DI-star: DeepMind's AlphaStar architecture reconstructed as an open-source framework. * GitHub: opendilab/DI-star * Phillip: Open-source Melee bot built via imitation learning on Slippi replays. * GitHub: vladfi1/phillip .

u/MrDaedalus12 7d ago

If it’s 64 bots, then who is playing?

u/Korici 4d ago

Why not use Venice Unleashed?

Yes, it requires a real copy of BF3, but otherwise their servers live outside of EA control & you can also add bots / run dedicated servers that are accessible through their server browser. ~ I am in fact planning a 40 person LAN event soon that will be using a BF3 Venice Unleashed LAN server

u/JVAV00 9d ago

Good work, did you also join the discord server that I sent you

u/Optimal-Gur-3052 9d ago

Yes. It help me with dedicated server) Thank you!

u/Miiirx 9d ago

Are you working on a offline local lan based BF3?

u/Optimal-Gur-3052 9d ago

Fully offline build (no steam and ea) with working dedicated server in LAN and bots.

u/VseRsuS 9d ago

I genuinely appreciate that there are people like you, because online games don't capture that feeling of playing with a friend or your brothers over a local network. I’ll be following your development.

u/Miiirx 9d ago

Cool! That would be a nice multiplayer for local lan! Where can we follow your work? If you need some testing I can organize that! :-)

u/Optimal-Gur-3052 9d ago

I give a discord server soon. Not on pc now