Ulysses
Ulysses Stuff => Releases => Topic started by: Lead4u on June 23, 2011, 03:08:53 PM
-
(http://cloud-2.steampowered.com/ugc/451786796248378282/4C993AF63B4A87210A746D79CC072187F05A08A0/200x200.resizedimage)
Updated!!!
APromote GUI is a GUI/Real time alternative to the standard AutoPromote offered here.
Features:
- XGUI Menu Integration
- ULX Access Permission
- Enable/Disable
- Rankup Sound (Global/Local)
- Confetti!
- Option to disable auto demotion if current rank is higher than your hour rank
Requires:
(http://lead4u.org/pictures/apsmall.png) (http://lead4u.org/pictures/apbig.png)
Special thanks to Stickly Man for putting up with all my questions <3.
Subscribe here: http://steamcommunity.com/sharedfiles/filedetails/?id=226312488 (http://steamcommunity.com/sharedfiles/filedetails/?id=226312488)
-
Very nice! Glad you finally got a post here :P I hope many people find it useful! (and it uses XGUI! :D)
-
The confetti isn't a lie!
Surprise! *sounds of party horns*
-
Awesome job!
Someone should create an addon that does confetti anytime anyone is promoted/demoted by any means, that's such a cool feature!
-
The message when someone gets promoted is sort of ugly, just the Ulib "Console added X to group Y" message. It would be nice to have the original AutoPromote message when someone gets promoted.
-
I couldn't find any obvious way to get rid of the original message without causing a Lua error, and I didn't like having two messages... if someone here could suggest a way to suppress the console message I'm more than willing to change it.
-
ULib.ucl.addUser I believe? The docs are at http://ulyssesmod.net/docs
-
Bah, Megiddo sniped me while I was typing.
My original response. (Which, is essentially what Megiddo said in so few words)
-------------
Take a copy of the ulx function that you use to modify access (presumably, adduser), localize it (local function myPromote(...) ) pass it the parameters you need yourself, making sure they are checked for validity before being passed (ulx adduser does this already, but, you aren't going to make it a console command like we do)... run the function when needed with passed parameters.
You can edit the fancylog and log statements as needed within your own copy.
Now that I've said that, Megiddo and maybe even MrPresident will have a much simpler solution. :)
-
You'll need this (http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser) and this (http://ulyssesmod.net/docs/files/lua/ulib/shared/messages-lua.html#tsayColor).
EDIT: I'll write if up if you need.
-
Propably fun addon but we don't have working download link. :<
-
Its hosted on garrysmod.org which is down right now.
-
Its hosted on garrysmod.org which is down right now.
Thanks :D
-
hmmm... is there any way that i can make it to where i assign the group and after a certain amount of time lets say 720 hours or 1 month it demotes them back to guest?
-
Not with this addon no.
-
Thank you very much, I love this add-on and my server would not be the same without it.
Some suggestions that would make this add-on more popular and way better are:
1) Add an optional Fanfare sound at rank up.
2) Add an optional center screen display for the player that ranked up displaying Customised details about that rank or whatever the owner or whoever is running the add-on settings decides. Example: The owner can make text pop up in the center of the screen for player who ranked up saying whatever is set to say when that rank is added. also the owner can optionally make it display different text in the center of all other players screens than the player that ranked up. (So person X will rank up and see details about his rank or whatever is set while everyone else sees "Player X is now in the rank "rankname" or whatever the custom message is)
Another thing that would be the most important thing to add is: to kill the player that ranked up, this is because if you have it so that a certain rank has certain weapons, when they first join the server or there next rank has a different loadout then their current one, they have all weapons/old weapons until they reconnect to the server or are killed. (I'm using URS to set loadouts and restrictions)
-
Does anyone have a fixed version of this? When using it in my server I get the following lua error:
[ERROR] addons/autopromotegui/lua/ulx/xgui/settings/cl_apromote.lua:19: attempt to call field 'makepanellist' (a nil value)
1. unknown - addons/autopromotegui/lua/ulx/xgui/settings/cl_apromote.lua:19
2. include - [C]:-1
3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:121
4. Call - addons/ulib/lua/ulib/shared/hook.lua:168
5. fn - addons/ulib/lua/ulib/cl_init.lua:45
6. unknown - addons/ulib/lua/ulib/shared/hook.lua:168
7. LocalPlayer - [C]:-1
8. unknown - addons/utime/lua/autorun/cl_utime.lua:138
Unfortunately I am no good with lua and have no idea how to fix it :(
-
Last Active:
April 25, 2012, 11:03:13 PM
As majority of the GUI code was redone in Gmod13 (as Stickly Man can attest, with the 4398489230^2 fixes he did to XGUI), it's likely not soon coming unless you try to reach the author by PM.
He's not been here since months before GM13 was released.
-
Ah the dreaded panellist. I may be able to ping the author and see what he's up to-- otherwise he pretty much used the code I had in a different XGUI panel, and it should be a 'relatively' simple fix.
-
Ah the dreaded panellist. I may be able to ping the author and see what he's up to-- otherwise he pretty much used the code I had in a different XGUI panel, and it should be a 'relatively' simple fix.
Did you manage to get a hold of the author stickly? I think wrex had a fixed version of this or the non-gui version of auto promote, but I can't get a hold of him either.
-
is there anyone that knows how to fix that i need a copy of this also
-
I've spoken with Lead4u on steam to see if he was going to update this at all. He told me this, "When I have time I'll fix it, maybe sometime this winter. At this moment it will remain broken unless someone wants to pick it up, and fix it as someone did to utime from what I've heard."
-
I'm almost finished with a fix for AutoPromote (http://forums.ulyssesmod.net/index.php/topic,3826.0.html) (the one without the GUI/xgui) so it will work with gmod 13.
I'll post it in the AutoPromote topic when it's done!
-
This one should be working https://dl.dropbox.com/u/7934790/gmod/ulx_apromote.zip
-
I started to work on this (the cool gui version of this). After speaking with lead4u on steam for a few minutes, and than looking at some GWEN documents I've decided that this might not be too hard to fix as Sticky Man said himself. So I'll hopefully get this fixed by the end of the month because I'm busy with other addons and gamemodes I'm making...
So towards the people who are wanting this back, check back on this thread for an update.
Edit:
Well, I didn't download the one from above, and I downloaded a broken version still... so ofc it didn't work so I assumed it still didn't work. Well I guess my "work" here is done. Sorry for any confusion I created.
-
I started to work on this (the cool gui version of this). After speaking with lead4u on steam for a few minutes, and than looking at some GWEN documents I've decided that this might not be too hard to fix as Sticky Man said himself. So I'll hopefully get this fixed by the end of the month because I'm busy with other addons and gamemodes I'm making...
So towards the people who are wanting this back, check back on this thread for an update.
Edit:
Well, I didn't download the one from above, and I downloaded a broken version still... so ofc it didn't work so I assumed it still didn't work. Well I guess my "work" here is done. Sorry for any confusion I created.
So you aren't doing anything with this?
-
This one should be working https://dl.dropbox.com/u/7934790/gmod/ulx_apromote.zip
Why would he if that one is working?
-
Why would he if that one is working?
I'm sorry his reply was just really confusing. Sounds great that it's working.
After adding this to my server and restarting the server and logging in I get this error in console:
[ERROR] lua/includes/extensions/table.lua:51: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Empty - lua/includes/extensions/table.lua:51
3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:428
4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
5. unknown - lua/includes/modules/net.lua:31
-
Working copy of Utime installed on your server too?
(First post, though actual code/links outdated, say Utime is required)
-
Working copy of Utime installed on your server too?
(First post, though actual code/links outdated, say Utime is required)
Yes my Utime is working like a champ and I downloaded the dropbox version of APromote provided in TweaK's reply.
I put it in my addons, stopped the server, started the server and joined then got that error.
-
I also have the same issue. Utime works but autopromote gui is not working.
Got it working.. I had to add the files into the ulx folder... Seems to be mis-packed in the download for the addon.
-
Pain, are you using this one? http://forums.ulyssesmod.net/index.php/topic,5312.msg27779.html#msg27779
The original post is for pre-gm13, which, redid the way addons work.
-
I am using the latest version but the packing of the addon seems to be causing the issue... Works great on my server putting them in the ulx folder.
-
If you're using the same folder structure there is no reason it shouldn't work in its own addon vs. merging it in with ulx... but whatever works.
-
Having issues adding this to my server.
[ERROR] addons/autopromotegui/lua/ulx/xgui/settings/cl_apromote.lua:19: attempt to call field 'makepanellist' (a nil value)
1. unknown - addons/autopromotegui/lua/ulx/xgui/settings/cl_apromote.lua:19
2. include - [C]:-1
3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:119
4. Call - addons/ulib/lua/ulib/shared/hook.lua:183
5. fn - addons/ulib/lua/ulib/cl_init.lua:45
6. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
7. LocalPlayer - [C]:-1
8. fn - addons/ulib/lua/ulib/cl_init.lua:39
9. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
Pa1n how did you manage to get it working?
-
Just an update for those still looking for this, I updated my version to latest gmod build.
You can find it here: http://steamcommunity.com/sharedfiles/filedetails/?id=226312488 (http://steamcommunity.com/sharedfiles/filedetails/?id=226312488)
-
Not meaning to revive a dead post, but you should really post this on github so I can use it on my server via svn.
-
Not meaning to revive a dead post, but you should really post this on github so I can use it on my server via svn.
OR, you could just add it to your server via workshop.
Just an update for those still looking for this, I updated my version to latest gmod build.
You can find it here: http://steamcommunity.com/sharedfiles/filedetails/?id=226312488 (http://steamcommunity.com/sharedfiles/filedetails/?id=226312488)
-
But doing that makes it so when i hand out the collection clients subscribe to an addon useless to nothing but servers.
-
How are you handing this "collection" out?
Links?
-
How are you handing this "collection" out?
Links?
Yes, www.bit.ly/g-addons (http://www.bit.ly/g-addons) I throw at anyone saying they have red errors. We have a lot of things like sCars and TDM, and those are more than one addon so I made a one click solution.
-
I have APromote working 100% and have for over 6 months now, one user does not auto promote like others, the sound keeps going off but she doesnt promote. Her steam name is
ThatOneGirl #RoadToUnusal"™
and my only thought is that the ™ could somehow screw things up? Any ideas?
EDIT: tested this with her, the "™ is throwing apromote off for whatever reason.
-
I made a one click solution.
Well, then you may be causing issues later.
If you're downloading SVN zips (which you've asked lead4U to do, convert to SVN so you can do that), and then RE-distributing them in a collection, when an addon author goes to update (via svn, or workshop like I recommended), your collection is then out of date. Worst case, it has exploits or major bugs. Best case, it's just missing a model/sound or two.
You should really get/setup a fastDL if you're going to use addon packs that have additional items in them.
Then you just keep your server and DLcache up to date, Gmod clients do the rest.
If not that, then have them download an HTML file with links they can click on to direct them to the SVN and Workshop subscriptions (or here, if you're using releases only available here).
-
Youre not understanding, serverside addons i rather keep up to date by svn-updating. Im not uploading them to workshop. I dont want users getting serverside addons installed when they click the subscribe all button. Look at that bitly, its steamcommunity you'll hopefully get what i mean.
-
tested this with her, the "™ is throwing apromote off for whatever reason.
When Lead and I were creating this, and working out the kinks, we stopped caring about this because we knew it had issues. For some reason, I do remember it not working correctly with unique characters, but at the time I wasn't experienced enough with lua when I requested it to be made back in 2011. The original poster does not come on here anymore, nor does he care about Garry's Mod, so he kinda gave me the responsibility to take care of it.
I don't actually know how to really fix this, because the way he made it was kinda messy (imo). So, I've decided that... the issue is rare enough to not be fixed, nor has anyone else complained about this issue, so it may be unique to your server, or just actually messed up within the addon.
Edit:
My version of it might be the updated version of it that I worked on when he handed me the project over. Here -> http://forums.ulyssesmod.net/index.php/topic,6791.0 (http://forums.ulyssesmod.net/index.php/topic,6791.0)