• sAdmin v0.1b
    87 replies, posted
Thanks sad, I'll change it to use team colors and not teams any more.
Well, I'm sure sAdmin isn't the cause of my crazy server issues. I'm conducting a lengthy experiment (no more explanation will be given) to determine which addon is causing my server to go haywire. When it's determined, I'll reinstall sAdmin. [editline]04:42PM[/editline] I finished my experiment, found the bad addons, and reinstalled sAdmin. Everything is working perfectly.
[QUOTE=turck3;15666810]4. Just something I noticed, your god command, uses the lua god function, and [b]since that in itself doesn't always work[/b], I advise against using it. Instead,try the [url]http://wiki.garrysmod.com/?title=Gamemode.PlayerShouldTakeDamage[/url] hook instead to make god mode.[/QUOTE] Bullshit, it has never failed for me and it never will.
Why do people keep on making admin mods? We don't need anymore of them
[QUOTE=Pawnstick;15694664]Why do people keep on making admin mods? We don't need anymore of them[/QUOTE] Because we need more of them, I hate ULX, ASSMOD, MOOCOW, NewAdmin, haven't tried citrus or sAdmin, and I like GMANAGE, however it doesn't have everything I'm looking for, so in my eyes the more admin mods the more options, the more options the better.
[QUOTE=Pawnstick;15694664]Why do people keep on making admin mods? We don't need anymore of them[/QUOTE] I said why in my beginning post, to practice and learn Lua. And Galago, good to hear sAdmin wasn't the cause of your problems.
[url]http://wiki.garrysmod.com/?title=Admin[/url] Yakahughes, you might want to add a bit about sAdmin at the bottom. I was about to write something for you, but I figured you probably have more to say.
I see you add a little bit at the bottom. I fixed a few grammatical errors :eng101: [editline]01:04AM[/editline] Automerge is gone?! [editline]01:25AM[/editline] Nevermind. Also, Yakahughes, is there a way to change the color of the users in the chat box? Basically, right now, Owner is red. Is there a way to change it to a different color? I think the colors you picked are a bit too harsh.
[QUOTE=Galago;15715250]I see you add a little bit at the bottom. I fixed a few grammatical errors :eng101: [editline]01:04AM[/editline] Automerge is gone?! [editline]01:25AM[/editline] Nevermind. Also, Yakahughes, is there a way to change the color of the users in the chat box? Basically, right now, Owner is red. Is there a way to change it to a different color? I think the colors you picked are a bit too harsh.[/QUOTE] Open sa_shared.lua, it contains: [code]team.SetUp(1, "Guest", Color(0, 255, 0, 255)) team.SetUp(2, "Admin", Color(0, 0, 255, 255)) team.SetUp(3, "Owner", Color(255, 0, 0, 255))[/code] First number is red, second is green, third is blue, forth is alpha(like invisibility, 255 is normal, 0 is invisible) Not sure if it will work though.
Wait, you're using teams for it? That'll break any gamemode except sandbox.
Grammatical errors! Never! Merely, sentence enhancement! And yes, that would work, but v0.4b is about to come out, which will introduce several changes, one of which is ceasing to use teams, which sad said above screws up gamemodes. The rank colours, however, be equally easy to change. [editline]07:23AM[/editline] Ha, Overv beat me to the punch. I thought before that maybe you could be on two teams at once (don't ask) but I stand corrected. Next version wont use teams.
Later today, I'll come up with some good colors for you to use for the different rankings. [editline]06:51PM[/editline] I'd also just like to say great job so far on the admin mod. It's really solid (no errors so far except the sv_alltalk thing.) Keep up the good work. [editline]06:56PM[/editline] I just thought of another feature that I appreciated with MOOCOW: the reason window when kicking or banning. To see what I mean, install MOOCOW and kick or ban someone: after the option is selected, it pulls up a separate Derma window with a text box for kick/ban reason. It would be great if you could add that feature in. [editline]06:59PM[/editline] And another feature I think sAdmin needs: the ability to toggle strip someone's weapons. Sometimes my friends like to spam bullets on my server, so I strip their weapons. They just kill themselves, and they have their weapons back again to continue spamming.
I think that when you set the time for someone's ban, you can set the reason. I didn't want to make users type a reason for a simple kick, so the default reaon is "Kicked by Admin." Thanks for helping with the testing Galago. Next version will be out soon with a few glitch fixes and a couple of new features (*cough*voicemute*cough*) that are long overdue. If anyone has any suggestions for new functionality/whatever, please post [editline]04:42AM[/editline] Perhaps it would behoove us if suicide were disabled after a weapons strip...
I found some neat utilities to help create some good colors for each of the players. [u]Format[/u] Status: R Value, G Value, B Value, Alpha Channel [u]Colors[/u] Guest: 255, 255, 100, 255 (The default GMod yellow - it's a nice color and it stands out well.) Admin: 128, 206, 231, 255 (A nice and visible light blue.) Owner: 255, 77, 75, 255 (A good red - not as harsh as yours, but it still stands out well.) [u]Screenshots[/u] [img]http://img37.imageshack.us/img37/7771/guestp.png[/img] [img]http://img194.imageshack.us/img194/4599/adminyng.png[/img] [img]http://img3.imageshack.us/img3/4681/owneri.png[/img] //That name you see in the Guest and Admin screenshots? Some poor nub I got to cooperate on my server; no idea who he is. --- On a side note: Instead of disabling suicide, I say you implement a command to permanently strip someone of their weapons... what if they get killed by another person? You don't want to make them invincible once their weapons are stripped, now do you, just to prevent them from dying? Your idea of "don't let them die if they don't have weapons so they can't get them back" is a gimmicky one. --- Also, you're still missing the Return Weapons feature.
However, different colors will confuse when playing a team based gamemode.
[QUOTE=Overv;15749232]However, different colors will confuse when playing a team based gamemode.[/QUOTE] Yes, but the colours are extremely simple to change. The file that has them (sa_shared.lua) has less code in it than can go to the bottom of your screen. And I added comments so people without the foggiest can still figure it out. [QUOTE=Galago]I found some neat utilities to help create some good colors for each of the players. Format Status: R Value, G Value, B Value, Alpha Channel Colors Guest: 255, 255, 100, 255 (The default GMod yellow - it's a nice color and it stands out well.) Admin: 128, 206, 231, 255 (A nice and visible light blue.) Owner: 255, 77, 75, 255 (A good red - not as harsh as yours, but it still stands out well.) Screenshots //That name you see in the Guest and Admin screenshots? Some poor nub I got to cooperate on my server; no idea who he is. --- On a side note: Instead of disabling suicide, I say you implement a command to permanently strip someone of their weapons... what if they get killed by another person? You don't want to make them invincible once their weapons are stripped, now do you, just to prevent them from dying? Your idea of "don't let them die if they don't have weapons so they can't get them back" is a gimmicky one. --- Also, you're still missing the Return Weapons feature. [/QUOTE] Suicide is different than being killed. Suicide is where you type kill in the console. Thanks for the colours, those are good, I'll probably use them in the next v. A return weapons would require storing the weapons for the player when the weapons are stripped. Not so hard. But then what would happen if they did die? They would get their weapons back, and you could still give them back, which would be redundant. When under what circumstances would you disable the 'Return Weapons' thing? The circumstances where you would only want to strip the players weapons for one round are more frequent than the ones in which you want to disable the player from getting any weapons. In sandbox, I suggest you give your man a harsher punishment than stripping his weapons.
Updated. Added a few features, now no longer breaks gamemodes, and looks better.
Ok I placed sAdmin in my addons folder, I enter my dedicated server and I make myself the owner. Then I bind n to SA_CP. Then my friend joins, who also has sAdmin in his addon folder. I make him an admin. Yet he cannot bind his keys to SA_CP. It says it's not recognized. What should he do?
[QUOTE=Picartman;15764232]Ok I placed sAdmin in my addons folder, I enter my dedicated server and I make myself the owner. Then I bind n to SA_CP. Then my friend joins, who also has sAdmin in his addon folder. I make him an admin. Yet he cannot bind his keys to SA_CP. It says it's not recognized. What should he do?[/QUOTE] By putting sAdmin in your addons folder, I'll assume you mean in your dedicated server's addons folder. Make sure that you have it where when people join your server, they download sAdmin, and your friend won't need sAdmin in his addons folder.
[QUOTE=Galago;15747622]I found some neat utilities to help create some good colors for each of the players. [u]Format[/u] Status: R Value, G Value, B Value, Alpha Channel [u]Colors[/u] Guest: 255, 255, 100, 255 (The default GMod yellow - it's a nice color and it stands out well.) Admin: 128, 206, 231, 255 (A nice and visible light blue.) Owner: 255, 77, 75, 255 (A good red - not as harsh as yours, but it still stands out well.) [u]Screenshots[/u] [img]http://img37.imageshack.us/img37/7771/guestp.png[/img] [img]http://img194.imageshack.us/img194/4599/adminyng.png[/img] [img]http://img3.imageshack.us/img3/4681/owneri.png[/img] //That name you see in the Guest and Admin screenshots? Some poor nub I got to cooperate on my server; no idea who he is. --- On a side note: Instead of disabling suicide, I say you implement a command to permanently strip someone of their weapons... what if they get killed by another person? You don't want to make them invincible once their weapons are stripped, now do you, just to prevent them from dying? Your idea of "don't let them die if they don't have weapons so they can't get them back" is a gimmicky one. --- Also, you're still missing the Return Weapons feature.[/QUOTE] Don't give guests colors, it would mess with gamemodes with teams.
[QUOTE=yakahughes;15764951]By putting sAdmin in your addons folder, I'll assume you mean in your dedicated server's addons folder. Make sure that you have it where when people join your server, they download sAdmin, and your friend won't need sAdmin in his addons folder.[/QUOTE] Well I did placed it in there, and I also placed the lua folder in the garrysmod folder too. Should I just sent the sAdmin files from my server to my friend so he can place it in his addons folder?
[QUOTE=Picartman;15768927]Well I did placed it in there, and I also placed the lua folder in the garrysmod folder too. Should I just sent the sAdmin files from my server to my friend so he can place it in his addons folder?[/QUOTE] No. Delete the stuff you pasted into your lua folder from the sAdmin folder. Delete everything that sAdmin had to do with. Now, drop the sAdmin folder into your addons folder. That's it. Follow the instructions. For the people to be able to use the menu, just have them put it in their addons folder, or enable downloads on the sAdmin folder, I don't run a server, so I don't know.
Yeah that's the first thing I did. I set myself as the owner, I set my friend as admin, and he says his Gmod doesn't recognize SA_CP when he tries to bind it. I even had him manually install sAdmin to his addons folder.
[QUOTE=Picartman;15773981]Yeah that's the first thing I did. I set myself as the owner, I set my friend as admin, and he says his Gmod doesn't recognize SA_CP when he tries to bind it. I even had him manually install sAdmin to his addons folder.[/QUOTE] And he restarted Gmod?
Nice admin mod. I'm sticking with ULX though.
[QUOTE=CombineGuru;15779448]Nice admin mod. I'm sticking with ULX though.[/QUOTE] Reasons? If you just say, "Another one is better." without listing reasons, I can't make this one any better.
[QUOTE=yakahughes;15775577]And he restarted Gmod?[/QUOTE] Yeah but it's ok we figured it out.
[QUOTE=Picartman;15794369]Yeah but it's ok we figured it out.[/QUOTE] What was wrong?
[QUOTE=yakahughes;15795258]What was wrong?[/QUOTE] He deleted everything and made a fresh Gmod install and it worked.
Is this still being developed? I forgot about this.
Sorry, you need to Log In to post a reply to this thread.