CubeCoders / AMPTemplates

For the AMP community to share Generic Module templates.
79 stars 241 forks source link

New Module Request Myth of Empires Dedicated server #640

Closed Partiesplayin closed 2 months ago

Partiesplayin commented 5 months ago

Module Request

Note: Please try setting up a configuration yourself before raising an issue to request a configuration: https://config.getamp.sh/ ***There is a newer beta version available at https://iceofwraith.github.io/GenericConfigGen/

Game Information:

Game Title: Myth Of Empires How to obtain: https://store.steampowered.com/app/1371580/Myth_of_Empires/ Supported OSs: Windows 10/11 Supports RCON/Console input? Yes

I confirm:

Greelan commented 5 months ago

Already in Greelan/AMPTemplates:dev for testing

Partiesplayin commented 5 months ago

How do I find it . Sorry not too familiar with navigating github . You are amazing btw.

Greelan commented 5 months ago

You add that to your Configuration Repos under Configuration>Instance Deployment, click Fetch Latest, then it will be appear in the instance creation dropdown under Greelan / Myth of Empires

You need Git installed first and added to the system PATH if on Windows

Partiesplayin commented 5 months ago

ok ive never used git before, how do i add it to the system path ? or how do i set it up to work to grab your repository?

Greelan commented 5 months ago

Just install Git, select the option to add it to PATH. That's all

Partiesplayin commented 5 months ago

Yeah sorry I just don't understand I guess. I installed Git I added your repository to amp but it never adds anything new.

clefebvre81 commented 5 months ago

I can't get it to work. I keep getting

[2024.02.24-23.42.04:361][ 0]LogWindows: Error: === Critical error: === [2024.02.24-23.42.04:363][ 0]LogWindows: Error: [2024.02.24-23.42.04:364][ 0]LogWindows: Error: Fatal error: [File:Unknown] [Line: 197] [2024.02.24-23.42.04:366][ 0]LogWindows: Error: Ran out of memory allocating 7241007104 bytes with alignment 0 [2024.02.24-23.42.04:366][ 0]LogWindows: Error: [2024.02.24-23.42.04:367][ 0]LogWindows: Error: [2024.02.24-23.42.04:367][ 0]LogWindows: Error:

Greelan commented 5 months ago

Same on my crappy VM with 16GB RAM. Wonder if it's a RAM issue or something else.

Works fine on Linux tho...

clefebvre81 commented 5 months ago

I get the same error on my friends computer and he has a beast of a computer.

Greelan commented 5 months ago

Seems like it is an issue with how AMP runs instances.

I ran exactly the same binary and arguments outside of AMP, and it worked fine, did not crash with the memory error.

I think this is yet another example of AMP using Network Service to run instances causing issues (like for Enshrouded, ETS, ATS, Torch, etc). Sad.

clefebvre81 commented 5 months ago

How can I run it without AMP? I try running the exe and nothing happens. I don't see a batch file or anything to run.

Greelan commented 5 months ago

It will be running - check Task Manager.

If you want a console opened, add -log to the startup arguments.

clefebvre81 commented 5 months ago

So do you think you will be able to get it to run in AMP?

Greelan commented 5 months ago

Nothing in my control

MonkeyOnKeyboard commented 4 months ago

@Greelan good morning from germany. its posible to help you with the Template for Myth of Emprires? Because i need it to. ive testet you dev template. but a lot of config stuff are missing. and its not able to load an custom server config

Greelan commented 4 months ago

It's not feasible to add all 200 settings. The server only uses command line args. The template though allows you to add additional args as needed. I can't really help the bad way the server devs have set up this server, I'm afraid

MonkeyOnKeyboard commented 4 months ago

did you have a list of all comments, so i would add all. if ist possible. also if i save ingame server settings as admin. the server dont save it right. after reboot server the setting are gone....

MonkeyOnKeyboard commented 4 months ago

It's not feasible to add all 200 settings. The server only uses command line args. The template though allows you to add additional args as needed. I can't really help the bad way the server devs have set up this server, I'm afraid

And how can i Add the args in the Template?

Greelan commented 4 months ago

image

MonkeyOnKeyboard commented 4 months ago

if i use the template generator is there an example for MOE?

MonkeyOnKeyboard commented 4 months ago

how can i import my modded configmanifest.json into the template?

Greelan commented 4 months ago

Paste it

MonkeyOnKeyboard commented 4 months ago

where?

MonkeyOnKeyboard commented 4 months ago

ive past it in amp but no changes. how can i reload instance?

Yes it Runs.. THX

MonkeyOnKeyboard commented 3 months ago

@Greelan would you like the modded configmanifest.json for Myth. Ive done. all settings inthere

Greelan commented 3 months ago

Sure, if it's robust, send it over. Needs to have good descriptions, right value types, value ranges if applicable, etc. We don't do things by halves lol

clefebvre81 commented 3 months ago

Is this working in Windows yet?

Greelan commented 3 months ago

Yes