ULX

Author Topic: AWarn2 - Advanced Warning Module  (Read 380411 times)

0 Members and 3 Guests are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #165 on: January 04, 2015, 02:52:14 PM »
I let the trolls get to me and I lost sight of what the GarrysMod community and lua development meant to me.
I have once again made this available for download outside of ScriptFodder.

I believe that gmod code should be opensource and free. I would still very much appreciate the donations by way of purchase on ScriptFodder, but it's not necessary nor should I make people jump through hoops to get it.

The download link is back on the main page, but it does direct you to my website where I have a nice download page set up.

Thanks again! :)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #166 on: January 04, 2015, 03:30:18 PM »
Bah!
Get a goat! Take care of those trolls!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #167 on: January 04, 2015, 04:44:01 PM »
I just needed a day to let it blow over. I realized I don't even care. I want my work to be widely available for everyone to use and enjoy. The $4 donations are nice, but in the grand scheme of things, I don't really care about that either. I have something good and I want everyone to be able to benefit from it.

Offline Ryanasaurus

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #168 on: January 25, 2015, 11:54:18 PM »
I installed this to my friends server and we all got stuck in spectator mode and couldn't play, and as far as I know, there isn't any warn commands. Any help that you can give me would be greatly appreciated.
I currently have these addons installed:
-Gmod Mapvote
-Loadout
-Ragdoll Remover
-Spray Owner
-TTT ULX Commands
-TTT Easy Scoreboard
-TTT Damagelogs

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #169 on: January 25, 2015, 11:59:15 PM »
Something has to be conflicting.
Hundreds of people use this addon with no issues and AWarn doesn't do anything with spectator mode at all.

I'm sorry, without more information I don't know how to help you fix this. Maybe try removing your other mods and then adding them back in 1 or 2 at a time until you find which one is conflicting.

If you find which one is conflicting, let me know and I can see why they're conflicting and maybe come up with a solution for you.

Offline Ryanasaurus

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #170 on: January 26, 2015, 01:16:16 AM »
Hmmmm, I removed it from the server while I awaited your response, and when I added it again, it worked with no errors or problems. Sorry to have wasted your time, but I look forward to being able to use these commands

Offline markmathisonMN

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #171 on: January 28, 2015, 09:20:27 PM »
How would I bind the the lowercase u key to open up the !warn menu?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #172 on: January 28, 2015, 11:25:54 PM »
In Console type

bind u awarn_warn

Offline Luk | twitch.tv/doctorluk

  • Newbie
  • *
  • Posts: 40
  • Karma: 12
Re: AWarn2 - Advanced Warning Module
« Reply #173 on: February 03, 2015, 07:17:59 PM »
Very handy addon, thanks! I have a request though:
Is it possible to add another command to manually warn a Steam-ID? Too often people disconnect before reconnecting and I want to make sure their misbehaviour is being recorded after manually temp-banning them.
Host of Spielwiese der Erwachsenen, a German TTT Server for adults only.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #174 on: February 03, 2015, 08:15:49 PM »
And..I suggest building UPON that idea;
Keep a <2 minute? 3 minute? 5 too much maybe> recent list of players in a table and the pertinent info you'd need to warn them while not connected.
Show those in a sub/side menu when using the GUI menu, or from console, a text list.
awarn_recent - with no input, prints out console text of names, with name and some id#, with higher number being most time left.
awarn_recent <id#> <reason> would warn/add warning to that players stored info.

If a player rejoined, removed from 'recent' table. As players leave, added to table, to be removed later after timer expiration.
I imagine something like
Code: [Select]
] awarn_recent
01 JamminR
02 Megiddo
03 MrPresident
Use awarn_recent id# <reason> to warn player.
] awarn_recent 01 Giving awesome ideas that would require full rewrite to fellow developers
JamminR has been warned!

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #175 on: February 08, 2015, 12:16:23 AM »
You already can warn by SteamID.
I guess I added that a while back and forgot to update the main post. :P


You can't do it though the GUI, but you can from console.

Code: [Select]
awarn_warn "STEAM_0:1:123456" Warning this played for killing and then disconnecting.

Offline PwndKilled

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
Re: AWarn2 - Advanced Warning Module
« Reply #176 on: February 12, 2015, 03:04:23 AM »
Hey i'm using you awarn2 but i'm actually having an issue.
admin can warn superadmin and actually get them kicked? how to fix this? thanks.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #177 on: February 12, 2015, 05:53:08 PM »
You can't "fix" this.
You can remove the warning if you want. I added in the ability to remove individual warnings.

If your admins are abusing their ability to warn people, you might want to rethink your admins.

This addon supports (very limited) ULX permissions. It doesn't not, however, support the more advanced ULX permission targeting because it is not written as a ULX plugin.

Offline Luk | twitch.tv/doctorluk

  • Newbie
  • *
  • Posts: 40
  • Karma: 12
Re: AWarn2 - Advanced Warning Module
« Reply #178 on: February 15, 2015, 05:57:38 AM »
Thanks for the info, just used this to warn someone afterwards.

However, would it be possible to incorporate this into XGUI? I'm not sure whether my mods are able to use that command from the console without having the rcon password.
Host of Spielwiese der Erwachsenen, a German TTT Server for adults only.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #179 on: February 15, 2015, 06:53:51 AM »
Use ulx groupallow to give them any of the awarn_<option> you want, including awarn_menu.
Then they can use their in-game console or the awarn_menu.
As MrPresident has stated, it's not a ULX module, it just allows some control by ULX, so, no XGUI incorporation.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming