-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make TMNF/UF egg fully functional #1
Comments
Currently it is code garbage and nothing works. At the moment the download of the gamefiles works again and actually you should be able to start the server. The variables seem to work 80%, on some installations e.g. the username for the server login is not yet passed correctly. If some coding skills are available, I'm always grateful for help. |
Wow, I didn't expect progress this soon! Thank you for dedicating time onto this project again! I myself am not familiar with how Pterodactyl eggs and Docker exactly work either, but I will read the documentation and try to help where I can. I can be of assistance with testing, possibly also with coding if I get the hang of it. Getting a working egg for TMF would make running a server 100x easier and I would be very grateful for that. |
I was getting 500 Server Error when importing the updated egg but it turns out that was caused by my server still being on v1.1.3, upgrading to v1.2.0 fixed it. |
With older versions I have not tested it at all. |
I got this far, crashes instantly after launching. Speaking of which, I have tried to set up a Maniaplanet server with NoxInmortus/docker-trackmania and noticed that it has the same exact problem, the username doesn't get parsed. |
I got the username working, I replaced the variable It could be that having |
Thanks for your feedback! I'm guessing the server is still missing a package in the system, but I can't tell which one. I have also extended the variables to change other values. |
With the changes I made in #3 I got the basic server working. Please review these changes and hopefully we can move along to implementing XAseco. |
Just checked it! Will now sit down and try to implement xAseco. |
I've already been toying around with XASECO on the egg, it can be manually set up with no problems. For the database, I used Pterodactyls database feature. You set up a user for Pterodactyl to manage the databases and add that user in Pterodactyl (you might also need to allow access through your firewall). Then you can create databases for each server and manage them all on your node with phpMyAdmin or whatever. In the server configs, you use the IP of the pterodactyl0 interface and the database info from the database you made for the server instance. I think it would be better to stick with this approach as it seems like the intended way to use databases in Pterodactyl, I'm already doing this for my other eggs so why not this one? Only problem is you can't add these values with variables as you can't make the database before the server is installed, but you could either:
This same database implementing automatically problem occurs on any egg, you can't do it without these workarounds according to my knowledge. At the end of the day, it's up to you how you implement this. |
Sounds good to me! I will not include a database for now. Have split the egg now. Created a second egg including xAseco, in which we can now tinker further! I didn't have time to correct the start command. This does not work at the moment. |
I removed the subfolder from the standalone server egg (#4). Please review and merge. On my manual XASECO install I had issues with stopping the server gracefully, XASECO didn't respond to SIGINT, so I temporarily used SIGKILL. That needs to be figured out. I made a pid file for XASECO so it can be stopped using that. I found out that you could use this to configure settings for the server. There is not a lot of documentation and the current egg works fine right now, but later on it could be a great addition. I found another German chap on the Pterodactyl Discord who recently started working on a TM2020 egg and is using this feature, here's a sample of how XML parsing would go from their egg:
For now, though, this is not a priority and can be implemented later. |
Thanks! I have already looked at that with the parsing of the Config. I'm currently trying to start xaseco cleanly in some way without breaking the output in Pterodacyl. Do you have any idea to start it? (PS: Don't have and use Discord, maybe I would have found the german chap ;) ) |
Yea, I tried the same thing, mashing shell scripts together, but it ain't pretty. Need to do some research, look at other eggs for examples of how they do it. Also the "German chap" is @DatMayo on GitHub, sorry for the mention but hey, maybe this egg could be useful for your TM2020 egg? |
What the heck? |
Yes gladly :) |
I sent you a DM on Discord, its better then communicating via ticket :) |
Thx for your response, I'll have a look into it over the next days :) |
If i start xaseco first and then the tm-server it works :) Now I just need to get this working with the automatic restart of xaseco somehow. |
I closed the issue because with the current setup of Pterodactyl it is not possible to cover everything in one Egg. |
UPDATE: There is now an Egg available, which includes TM NF / UF and xaseco in version 1.16. |
I can't seem to get the TMNF/UF egg working, something seems to be wrong with the install script. Any help would be appreciated.
log.txt
The text was updated successfully, but these errors were encountered: