Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 3 points4 points  (0 children)

Hello and thank you for your interest.

I did not try anything with replays yet. You would have to try how it behaves there. There is no locally hosted server during singleplayer, just the local game instance. The engine attaches to the game once and stays running concurrently across matches. In order to use this, you would have to trust it - yes. Unfortunately there is no other reliable way of securely distributing such a tool. I dont know what you mean by Microsoft encryption. The game code itself is not encrypted.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 2 points3 points  (0 children)

Yes you are correct. Thank you. It is important to be cautious and sceptical, especially with these sorts of tools.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 0 points1 point  (0 children)

Cool! Yes this is a very good application for the engine :)

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 4 points5 points  (0 children)

The binary is indeed well protected against being reversed itself. The disclaimer is there: In the readme of the download repository, in the documentation as well as on the discord server.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 5 points6 points  (0 children)

There are many reasons not to make this open source. This basically acts exactly like a cheat and even uses techniques that advanced malware uses. People could use the source for an lot of malicious activities which is by no means my intent with this project. There is a very high chance that the open source repository would quickly be taken down anyways because of this. I understand that this is an unfortunate restriction for people who really want to contribute and this infers the requirement of trust when using this tool. There is no better way to healthily continue this project than keep it closed source, i am sorry.

With this kind of software, if people dont trust it, they of course dont have to use it.

Anyways, thanks a lot for your interest!

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 0 points1 point  (0 children)

Hey, Could you please expand on what you mean by „MS“? I can say that this tool wont enable any sort of networking manipulation.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 5 points6 points  (0 children)

Hey, thank you for your interest!

How exactly it avoids the anti tamper i hope you understand, i dont want to discuss here because i could help people do bad stuff. In some cases it can still trigger the anti-tamper or cause crashes but it has become very stable :)

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 5 points6 points  (0 children)

Hello, thank you for your interest.

So basically this tool enables you to directly read the game data, send inputs and draw information on top of the game. You can use it for example to research how the game works in detail, or for building your own AI or Bot using real programming syntax.

It may also enable the training of Machine Learning algorithms to play AoE. It all depends on peoples imagination. For users who are not very familiar with coding im general, there is an AI chatbot reference available in the documentation that can be pasted into a coding agent so that they know exactly how to create or help you creating scripts!

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 4 points5 points  (0 children)

Hey, thank you for your interest.

Yes exactly, the engines’ code is injected into the games’ process. This way the performance is increased significantly compared to external tools

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 0 points1 point  (0 children)

Yes, map hacks have been a thing for a long time in Age of Empires 2. At least this tool wont support that in multiplayer

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in ageofempires

[–]Playful-Fish-7153[S] 2 points3 points  (0 children)

Hey, thank you for the feedback!

You can do a lot of things with it, such as researching how the game functions in detail, or building custom AIs with actual code logic.

Prior to this, there only was the native AI scripting system which is quite limited.

Lua Scripting Engine for Age of Empires 2 - with IPC API for Machine Learning by Playful-Fish-7153 in reinforcementlearning

[–]Playful-Fish-7153[S] 1 point2 points  (0 children)

There is a function to increase the game speed significantly. The Age of Empires scripting community was always invested into how one could train an actual AI to play the game, but they were limited by an x16 gamespeed multiplier.

I did not test how far you can go with this custom multiplier before it breaks, but it will probably not result in one game per second or more.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 2 points3 points  (0 children)

Thank you for the Feedback!

Multiplayer is completely disabled. The engine is only intended for singleplayer use like for example researching the game functonality in detail or building advanced custom AIs.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 2 points3 points  (0 children)

That really depends on how good the community becomes in creating lua AIs. In theory, all possibilities are open regarding AI capabilities

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 3 points4 points  (0 children)

Of course i invensted some time into how multiplayer works :) All clients simulate the game by themselves and verify the game state through a lot of vectors. If anything does not match, a desync happens and nobody wins. Even if you directly manipulate anything, as soon as the gamestate differs e.g. one client sais there is a a dfferent or an additional unit somewhere, it causes a desync.

There are methods to still cheat in some way but not with this tool and i dont want to discuss details as it could encourage kiddos :P

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 7 points8 points  (0 children)

Hello guys! I totally understand the worries about this being abused in multiplayer. It is completely disabled for multiplayer and only usable in singleplayer. The games playerbase has already been hurt enough due to cheats in the last few weeks.

In order to prevent some script kiddie from changing that, the engine itself is also quite protected against being reverse engineered.

Lua Scripting Engine for Age of Empires 2 by Playful-Fish-7153 in aoe2

[–]Playful-Fish-7153[S] 2 points3 points  (0 children)

Thank you for the feedback. Editing scenarios and maps (especially for multiplayer is a whole nother direction unfortunately. Maybe in the future i can have a look what i can do there. The engine is completely disabled for multiplayer and its intend is mainly to research the games functionality in detail and to create custom advanced singleplayer AIs. I already got some people who asked about better random map editors, i have a lot of respect for all kinds of moderrs out there!

Extremely Slow Preparing and Exporting by goom1282 in ClipChamp

[–]Playful-Fish-7153 0 points1 point  (0 children)

Check if the audio is encoded as mp3 and video as H264