AMPTemplates icon indicating copy to clipboard operation
AMPTemplates copied to clipboard

Add Spellmasons Module

Open Chain-BC opened this issue 1 year ago • 8 comments

Spellmasons dedicated server module partly based on the existing nodejs module, as it requires node to host the server.

Chain-BC avatar Aug 07 '24 21:08 Chain-BC

A bit of context as to why I did some things the way I did. Currently Spellmasons servers do not store any data (any game is saved on the client side) hence why the whole game folder is deleted when updated. I also am just a bit inexperienced with this kind of stuff, so that is part of the reason as well. Also, the only way to get the server is to build it from the GitHub repository or possibly get it through docker, but I haven't used docker very much so I opted for GitHub instead. If the module needs work and needs a rewrite do let me know, I will close the pull request or make it a draft, any feedback would be appreciated as well. If someone else wants to write a better one, that is fine too.

Chain-BC avatar Aug 12 '24 02:08 Chain-BC

I'm not familiar with this game, so haven't looked too closely yet. I'll try to get to it this week.

IceOfWraith avatar Aug 12 '24 22:08 IceOfWraith

Has this been tested on Windows? cp is not a Windows command

Greelan avatar Aug 13 '24 10:08 Greelan

I tested it on Windows and Linux, and both worked just fine but perhaps it may be missing some file needed for modding, I am double checking and rewriting what I need to rewrite so I'll make sure it works. I got the command for building the server directly from the package.json in the source files, but it may have been intended to be used on powershell, so I will use that instead.

Chain-BC avatar Aug 13 '24 19:08 Chain-BC

Any update on this? I should have gotten it to work on Windows with no problems now but I may have missed something.

Chain-BC avatar Aug 18 '24 21:08 Chain-BC

What's the reasoning behind pulling a specific version by default versus getting the latest?

IceOfWraith avatar Sep 25 '24 13:09 IceOfWraith

I haven't figured out how I should do this yet, but currently the latest version tends to be the beta version which you have to opt-in for on steam. So my reasoning is pull the specific latest stable by default instead of latest beta, since most people won't be using the beta version. A bit of a hassle but I can't think of another way to do it.

Chain-BC avatar Sep 25 '24 19:09 Chain-BC

Okay, that makes sense. Kind of a pain but nothing you can control.

IceOfWraith avatar Sep 25 '24 19:09 IceOfWraith

It's taken me a while to get to, however I have reviewed this and suggested a bunch of updates with the aim of making it more robust. Let me know what you think

Greelan avatar Mar 24 '25 01:03 Greelan

The developer has been messing around with improving servers, but I don't believe it changes how dedicated servers are hosted so it should be fine.

Chain-BC avatar Mar 31 '25 00:03 Chain-BC