Author Topic: ASTECH: easier MegaMek server administration.  (Read 4177 times)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
ASTECH: easier MegaMek server administration.
« on: 28 May 2017, 12:51:08 »
Hi everyone.

I want to present my newest piece of work: web frontend to MegaMek server.

It's an easy way to have your own dedicated MegaMek, without a hassle with VPN, like Hamachi. You're welcome to join. I'm hosting it myself and gladly add you to the user list. It's not a finished product, but it's getting close and I need some free testers. :)

Here is how you use it:
https://youtu.be/r5_qf0LX8p4

Source code in here:
https://github.com/seem8/astech

Have fun! :)
« Last Edit: 01 September 2018, 01:26:30 by SeeM »
(+)

mikecj

  • Major
  • *
  • Posts: 3261
  • Veteran of Galahad 3028
Re: ASTECH: easier MegaMek server administration.
« Reply #1 on: 28 May 2017, 17:49:31 »
cool, thanks!
There are no fish in my pond.
"First, one brief announcement. I just want to mention, for those who have asked, that absolutely nothing what so ever happened today in sector 83x9x12. I repeat, nothing happened. Please remain calm." Susan Ivanova
"Solve a man's problems with violence, help him for a day. Teach a man to solve his problems with violence, help him for a lifetime." - Belkar Bitterleaf
Romo Lampkin could have gotten Stefan Amaris off with a warning.

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #2 on: 05 June 2017, 15:50:06 »
Weekly update. We've got nice error messages when uploading maps, saves and megameklab files:

As always, newest version is in the repo: https://github.com/seem8/astech

http://wstaw.org/m/2017/06/05/astech_e1.jpg

http://wstaw.org/m/2017/06/05/astech_e2.jpg
(+)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #3 on: 17 June 2017, 01:17:28 »
Version 0.2 is out.

- Fixed security bug, that allowed to download and delete map, unit
  and save files without logging in.
- Creating directories if they don't exist.
- Improved commemts in astech.py
- PUBLIC BETA READY. Already deployed and working in a campaign play.

I'm pretty sure, that Astech can handle your campaign at this point. While waiting on 1.0 release (which means adding those features), I use it sometimes on my MegaMek server and find it very usefull.

have fun
(+)

firedude1218

  • Recruit
  • *
  • Posts: 10
Re: ASTECH: easier MegaMek server administration.
« Reply #4 on: 27 July 2017, 12:29:31 »
This looks really nice, I'm going to have to give it a go when I get my megamek campaign going.

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #5 on: 28 July 2017, 08:20:55 »
This looks really nice, I'm going to have to give it a go when I get my megamek campaign going.
Thanks, I'm happy to help.

I'm adding sql code in the dev-sql branch to make user changes more permanent, speed things up and preparing for multi user accounts. For now it's not working at all, but I see the light at the end already.
(+)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #6 on: 27 October 2017, 17:05:57 »
Quite an update today. I didn't push to github for some time and fixed some things this month:
- password is now stored as an encrypted hash (but it's useless until page is served via https, I'm not yet familiar with apache and nginx enough to do that),
- script checks if MegaMek instance is running and shows "off" status if it crashed (not that unusual with development versions),
- I updated a lot of comments, because even I forgot what some parts of code is doing,
- sadly, sql part was a miss; too much work for too less result.

I'm slowly taking out my TODO list. Next: Nginx, uwsgi and encryption.
(+)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #7 on: 11 May 2018, 05:48:44 »
Some news for today. We have options page, where we can choose between a number of installed MegaMek versions. They are not sharing custom maps, units and saves, but it's still more convenient than:
rm -rf megamek
wget megamek-[version].tar.gz
tar -xvf megamek-[version].tar.gz
mv megamek-[version] megamek
 :P

(+)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #8 on: 23 June 2018, 08:19:25 »
There is a small progress. I moved from html formatting to css. Page has a potential to look a little nicer in near future.
(+)

SeeM

  • Master Sergeant
  • *
  • Posts: 342
Re: ASTECH: easier MegaMek server administration.
« Reply #9 on: 31 August 2018, 07:50:28 »
I merged saves, units and maps into a single page. Makes more sense.
(+)

TS_Hawk

  • Catalyst Demo Team
  • Major
  • *
  • Posts: 6370
Re: ASTECH: easier MegaMek server administration.
« Reply #10 on: 03 September 2018, 00:36:55 »
Cool I might have to use this

Thank you Hikage
Agent 694 N. Idaho

 

Register