Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: TheSenDest on February 14, 2016, 01:46:24 PM
-
Before I start, I know people have made threads about this and I have read them and am still quite confused as to what happened and what is now happening.
About 4 days ago my server would have the MOTD show up when players joined and I was pretty happy about that since I had issues with it before not doing that. Then, I changed the auto-restart times on my server and the MOTD has yet to show up when players join.
I have the following set:
garrysmod/garrysmod/motd.txt
Config settings: (server.cfg)
"ulx_showmotd" "1"
"motdfile" "motd.txt"
Also, in the XGUI menu, the "Show MOTD when players join" is ticked. And yet, the MOTD still fails to show up when players join.
Again, I am really sorry for starting another thread but I am pretty lost on how to fix this. Thank you in advance.
-
When you make a new post in this forum section, it fills a preformatted template for you to fill out.
You didn't fill that template out, so we have no idea what version you are using.
Does the MOTD menu in xgui say the file name is motd.txt?
ULX has several motd modes, 0 = none, 1 = use the ulx_motdfile cvar (NOT motdfile as you state in your server.cfg, but ulx_motdfile) , 2 = (OUR DEFAULT) use motdfile generator, 3= use URL.
Make sure you have the correct mode too.
-
I am using the Workshop version. I apologize for that.
I also didn't know there were different "modes" for the motd. I was never informed of that nor did it state anywhere that was even a thing.
So if I wanted to use "ulx_motdfile" I would do:
ulx_showmotd 2
Is that right?
-
Hello?
-
ulx showMotd needs to be set to 1 to use a local MOTD. You can also edit this from XGUI.
-
I have this set in my server.cfg...:
"motdfile" "ulx_motdfile"
"sv_alltalk" "2"
...and it still didn't show up when I joined. In fact, I changed around the formatting of the MOTD before restarting my server and it didn't even show the new changes.
-
ulx showMotd needs to be set to 1. ulx motdfile needs to be set to the name of your MOTD file (you haven't set it to anything).
-
How have I not set it to anything? It says right there, "motdfile" "ulx_motd.txt"
-
Sorry, due to line wrapping on my phone I did not see it correctly. The command is "ulx motdfile" and you need to include the extension of the chosen file.
-
That's fine, I was just confused.
Okay, so what I have now in my 'server.cfg' is this:
"ulx_showmotd" "1"
"ulx motdfile" "ulx_motdfile.txt"
Is this correct?/
-
Okay so I did what you said and put "ulx motdfile" and now the server says the MOTD file doesn't exist.
Can I please talk to someone that can explain this fully and not in segments please? I am getting really frusterated with constantly having to reboot my server and still not getting a resolution.
I am using Workshop ULX and ULib.
Currently, I have:
"ulx_showmotd" "1"
"ulx motdfile" "ulx_motdfile.txt"
...inside my 'server.cfg'.
My MOTD does not show up when I spawn in, and now, after what the most recent poster told me to put, when I use !motd the server tells me the files doesn't exist. I am literally lost now.
-
...does the file exist? You need to create the file you gave (ulx_motdfile.txt) at the server's garrysmod root. It should be standard HTML with whatever content you want. You do not need to restart your server, a change map should be fine.
We try to make the messages shown in ULX as explanatory as possible. Is there anything we can do to improve the clarity?
-
Additionally, you can set these settings in XGUI in the Settings tab -> Server tab -> MOTD Settings. Everything is configurable there, and there's even a 'preview MOTD' button to show you what your players will see. I don't think there's any need to restart the server each time.
Edit:
Also, in the XGUI menu, the "Show MOTD when players join" is ticked. And yet, the MOTD still fails to show up when players join.
I should note we've just updated the workshop version with our latest changes, and the whole MOTD editor has been revamped.
-
Okay, I am not subscribed to ULX nor ULib on Workshop so I did not see the new revamp area for the MOTD. For that I apologize for my ignorance.
I fixed all the filenames and everything so now when I use '!motd' the MOTD does show up. However, it still does not show up when players join. Inside my 'server.cfg' I have "ulx_showmotd" "1" and it does nothing. Is there something else I need to setup?
-
Possibly another addon is overriding our hook? Try temporarily disabling all other addons except ULX/ULib. Sorry you are having so much trouble with this.
-
Would it be possible to show you a list of addons I have on my server instead of that?
-
It would but I would have no idea if one of them conflicts.
-
http://steamcommunity.com/sharedfiles/filedetails/?id=621207229
That is the collection link. Other than that, I have three vehicle addon SVNs.
-
Try getting rid of the SUI Scoreboard...
It's three years old and does apparently connect to ULX / ULib.
-
That could be it. Thank you for looking through it.
Do any of you know an updated scoreboard that shows teams or is this the only one?
-
What do you mean by "Show Teams"?
You mean a DarkRP job?
-
Like ULX teams that show people's rank. That SUI scoreboard did it.
Anyway, I removed my entire collection from my server and the problem persisted.
Here is a picture of the two commands in my config file: http://i.imgur.com/0CPLjsp.png (http://i.imgur.com/0CPLjsp.png)
My only legacy addons I have are: TDMCars SVN, LWCars SVN, Talon733Cars SVN, Adv Dupe 2 SVN, and two photon car scripts that I made myself with NO ulx commands in them, obviously.
-
Maybe try changing the "motdfile" to "ulx_motdfile".
Otherwise I don't really know.
-
SUI scoreboard should be fine- I doubt it would cause any problems.
One thing you might try is making a backup of your config.txt, then deleting it. Once you restart your server, a new config.txt should be generated. Use XGUI to configure the MOTD stuff, and then see if it works.
If not, it's very likely that something is going wrong with the code that's supposed to show the MOTD on join. It could be caused by a high server load on join. If possible, I would try removing EVERY other addon besides ULX/ULib and test it on sandbox. If it STILL isn't working, then let us know- I'd be happy to hop on your server and take a look myself.
(Also, side note: how big is your ulx_motd.txt file?)
EDIT: Oh, I just noticed- you're editing your server.cfg file? ULX stores most configurations in your server's data\ulx\config.txt file. The server.cfg cvars may get loaded too early, then get overwritten by defaults when ULX loads. which might be causing your issues. Try removing any ulx-related configuration from there (along with resetting your config.txt as described above) and see if that helps.
-
FileZilla says the file is "4,587" but I have no idea what size measurement that's in or whatever.
-
FileZilla generally measures things in bytes.. so that will be 4mb (not big).
-
FileZilla generally measures things in bytes.. so that will be 4mb (not big).
Not sure if it really matters, but 4587 is 4.5 KILObytes. 0.004 MEGAbytes.
Although I believe FileZilla measures in kilobytes, and 4587 kilobytes is equal to ~4 megabytes.
-
Woops, that's what I meant :/
-
SUI scoreboard should be fine- I doubt it would cause any problems.
One thing you might try is making a backup of your config.txt, then deleting it. Once you restart your server, a new config.txt should be generated. Use XGUI to configure the MOTD stuff, and then see if it works.
If not, it's very likely that something is going wrong with the code that's supposed to show the MOTD on join. It could be caused by a high server load on join. If possible, I would try removing EVERY other addon besides ULX/ULib and test it on sandbox. If it STILL isn't working, then let us know- I'd be happy to hop on your server and take a look myself.
(Also, side note: how big is your ulx_motd.txt file?)
EDIT: Oh, I just noticed- you're editing your server.cfg file? ULX stores most configurations in your server's data\ulx\config.txt file. The server.cfg cvars may get loaded too early, then get overwritten by defaults when ULX loads. which might be causing your issues. Try removing any ulx-related configuration from there (along with resetting your config.txt as described above) and see if that helps.
I EXTREMELY apologize for not replying. I got hit with a lot of school work and needed to get it done.
So, what you're saying is deleting anything related to ULX in my server.cfg & delete the config.txt in my data folder, correct?
EDIT:
This didn't work. Deleted the motd.txt AND config.txt and re-added both. Still nothing. There isn't even an option anywhere in ULX for it to show up. Why?
-
There is an option for it in XGUI but it may look different from what you remember
-
This is a fairly recent change, so do make sure you're running the absolute latest versions of ULX/ULib. The new MOTD screen looks like this:
(http://ulyssesmod.net/xgui/new_motd.jpg)
-
There is literally no option to specifically enable the MOTD to show up when players join. I searched the entire XGUI menu.
-
Did you delete any files from ULX? Try reinstalling.
-
I'm using the Workshop version, it's impossible for me to delete any files that relate to functionality or "options" in the addon.
Can you please stop talking to me like I know nothing about this? I'm merely asking about how to make the MOTD show up when players join my server and there have been almost 40 replies with no answer or conclusion.
EDIT: Also, if I deleted files I would surely get errors while I am on my server and I have not noted having any here.
-
Megiddo, Stickly Man, and feldma have all been extremely nice in spending their time attempting to help you with your very specific problem, and you're getting mad that they're trying to explain it in a simple manner and that they haven't yet come up with a solution. If you wanted someone to cater to your every whim then maybe an open source project provided to you completely free of charge wasn't the best choice.
Everyone is doing their best, sorry it's not good enough for you.
On a less blunt and irritated note:
As Megiddo suggested, try reinstalling. That is, backing up any important things in your data/ulx and data/ulib files and deleting those folders (garrysmod/data/ulib and ulx). Then removing the ULib and ULX .gma files (and ULib or ULX folders, but you shouldn't have those) from your addons folder. Make sure your server is not running while you're removing/backing up these files. Finally, restart your server and look in the Settings -> Server tab in XGUI (make sure you're superadmin) for the ULX MOTD settings.
If you still can't find the ULX MOTD settings, take a screenshot of your Settings -> Server tab in XGUI and post it here. If you want you can try to install the workshop on a clean server to see if it's an addon conflict, but I doubt there would be such a severe conflict to remove an entire list item from XGUI.
Finally, when giving support we usually try to make it as simple as possible to follow. Don't take this as an insult to your intelligence or knowledge; we're just trying to accommodate many levels of experience with these topics and even if you understand the concepts some other person referring to this later may not.
-
I never meant to irritate you but the bare answers i was getting from Megiddo(sp) were super stripped of any description.
Anyway, I see the ULX MOTD settings. However, as stated multiple times already, I do not ser an option to have the motd show when players join. Automatically, that is.
I apologize if I came across as an asshole. This is just really frustrating.
-
It's highly likely we misunderstood the actual issue- we are very busy, and sometimes skim through posts a little too quickly. (And yes, we get many threads, emails, and issues regarding user-error type things, so we often quickly pass off real issues or bugs as such).
I think a lot of the misunderstanding is that the ULX MOTD is supposed to show up to all users on startup if it is enabled (mode is not 0). We don't currently have a configuration option to have the MOTD enabled, but not show up to users on join. So naturally, we assumed issues with the MOTD configuration.
If you click the 'Preview MOTD' button in XGUI with your current settings, does the MOTD show up properly? If not, then there is some sort of configuration issue or bug that needs to be looked at. If it does show up, then it's very likely a bug with the startup code that triggers the MOTD, which needs to be looked at.
One thing you might try (if you can) is running ULX/ULib on it's own- temporarily remove any other addons or gamemodes so it's running in vanilla sandbox. If it does start working, then it could potentially be a conflicting addon or heavy load times on player join that's preventing the MOTD from opening.
Anyways, check those things and post back here. I'd be happy to take a look at the issue myself and see what's going wrong with it. Add me on steam: http://steamcommunity.com/id/Stickly_Man and post/PM me your steam username if it's significantly different than your forum name here.
-
I understand completely.
The MOTD shows up when I click 'preview'. I have also removed all workshop addons and the issue still persists.
I will add you on steam for further help. My steam name is the same as on here.
-
Back up your server and do a clean install of Garry's Mod, then add ULib and ULX and test to see if the MOTD is working. Add addons back one at a time, verifying that the MOTD appears each time. Once it stops appearing, you know you have a conflict. If it never stops appearing, then great, you have a working MOTD! If you have a conflict you/we could try to figure out why the conflict is occurring or you could just remove the addon/try to find an alternative option.
-
Uh,
If you read the OP I state that I am renting the server so it's impossible for me to "uninstall" GMod. Also, I have already removed all addons from the server.
Please read before posting "answers".
-
Back up your server and do a clean install of Garry's Mod, then add ULib and ULX and test to see if the MOTD is working.
If you read the OP I state that I am renting the server so it's impossible for me to "uninstall" GMod. Also, I have already removed all addons from the server.
Please read before posting "answers".
He means reinstall it, not uninstall it.
-
It's the same principle...
It's already been discovered what the issue is anyway. Seems to be a problem with the addon itself and net messages.
-
I spent some time in TheSenDest's server to help him figure the issue out. I suspected another addon was potentially returning true on PlayerInitialSpawn hook. We removed two particular addons "Atmos" and one other, and suddenly the MOTD started working! We added back in the other addon, and it still worked fine. Curious, we ran the server with just ULX, ULib and Atmos, and.. the MOTD still worked. It appears that my initial assumption is true:
If it does start working, then it could potentially be a conflicting addon or heavy load times on player join that's preventing the MOTD from opening.
Really heavy load times due to lots of addons seems to be preventing the client from receiving the net message to open the MOTD. I will talk to Megiddo and see what we can do.
EDIT: Looked through this with Megiddo. This is appearing to be an issue with registering net messages and them being sent too early. Still investigating, but we may end up filing a bug report eventually.
-
Well I'm glad someone figured out his problem...