• Print

Author Topic: AWarn 3.4 - Robust warning system  (Read 249789 times)

0 Members and 1 Guest are viewing this topic.

Offline MikZeR

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #75 on: October 20, 2013, 02:37:36 am »
Awesome addon, however, I can't get it working. :/

When I put it into my addons folder nothing happens, so I tried opening up the lua file and putting everything in ULX-folder as a module, but that's not working for me either.

Do you have any idea what I can do to make it work?

Thank you in advance! :)

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #76 on: October 20, 2013, 07:17:49 am »
Can I give certain groups the permissions to use this? for e.g. Moderator

also is the plugin updated to 2.5 DarkRP?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn 3.4 - Robust warning system
« Reply #77 on: October 20, 2013, 08:50:44 am »
Do you have any idea what I can do to make it work?
Basic troubleshooting of addons.
Make sure you didn't end up with too many folders in addons. /addons/awarn(1)/awarn , where 1 would have no files in it but the additional awarn folder.
As for merging it with ULX folders, that alone can cause troubleshooting issues, as you end up with files scattered everywhere within ULX, and may be missing some.
Are you getting any errors on your server during startup related to the awarn folder?
Did you accidentally place it on your client folders instead of your server?
Too many other minor troubleshooting steps to list.
We know it works for majority, the issue is likely something simple on your end.

Can I give certain groups the permissions to use this? for e.g. Moderator
Use ulx groupallow to give any of the awarn commands you want your moderators to have.
There are several commands related to awarn. See the release first post to determine what you want moderators to have.

also is the plugin updated to 2.5 DarkRP?
No idea. We don't support or program compatibility with DarkRP.
It's compatible with versions of ULX as of this post.
« Last Edit: October 20, 2013, 08:54:31 am by JamminR »
"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: 2727
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn 3.4 - Robust warning system
« Reply #78 on: October 20, 2013, 12:13:19 pm »
There is no reason this shouldn't be compatible with DarkRP. There are many people out there who run this on DarkRP servers.

Let me know if you are having any issues.

Offline lostmymind

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #79 on: October 22, 2013, 01:18:55 pm »
Hello!

Is there any way to get the command ulx seewarns <player> to make a xgui.window and shows you ingame and not in the console, simply just a window showing the records of the players warnings, then you simply just close it?

Thank you!

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2727
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn 3.4 - Robust warning system
« Reply #80 on: October 22, 2013, 01:22:01 pm »
Not easily. I was thinking of adding this, but just haven't got around to it yet.

Offline rainbow Dash

  • Newbie
  • *
  • Posts: 35
  • Karma: -2
  • Owner of Friendship is Gaming Servers
    • Friendship is Gaming
Re: AWarn 3.4 - Robust warning system
« Reply #81 on: November 03, 2013, 01:16:21 am »
I know someone who has manifested a derma menu that displays a persons warnings. The issue is he never shared the code with me, nor told me anything about it.
Uhm, whats a signature?

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #82 on: December 10, 2013, 07:44:41 pm »
Hey,

For some reason when I drop this in my addons folder and restart my server, nothing happens.
I get unknown command when I try any commands.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2727
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn 3.4 - Robust warning system
« Reply #83 on: December 10, 2013, 11:36:20 pm »
Check your server console on start-up. Are there any errors?

Next, make sure you installed it correctly. Inside of the folder you put inside of your addons folder make sure there is a file called addon.txt

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #84 on: December 11, 2013, 06:31:55 am »
Check your server console on start-up. Are there any errors?

Next, make sure you installed it correctly. Inside of the folder you put inside of your addons folder make sure there is a file called addon.txt

I think I fixed it, Linux does not recognize folders with capital letters, maybe something you should change on the download.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2727
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn 3.4 - Robust warning system
« Reply #85 on: December 11, 2013, 07:02:20 am »
Ahh, yeah. I think I already did this for another of my releases. I've never used linux before, so I'm lost to some of its intricacies sometimes.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn 3.4 - Robust warning system
« Reply #86 on: December 11, 2013, 11:43:46 am »
FYI - Linux understands mixed case just fine. It's just that Gmod (or perhaps Source server) on linux, to keep things 'easier' I'd guess, will only look for lowercase.
Code: [Select]
This
this
tHis
THIS
ThIs
In majority of linux file systems, the above would be 5 separate files or directories.
In Windows, as you're experienced with, it's only one.
Just remember that linux file systems are usually like lua function and variable names, case-sensitive, and for gmod, try to always use lower case file/folders.. :)


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

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: AWarn 3.4 - Robust warning system
« Reply #87 on: December 13, 2013, 12:16:08 pm »
I was still getting the console errors when warning from the console, so I made different check that seems to be working fine for me. I replaced lines 62 and 63 with this:
Code: Lua
  1.         if calling_ply:IsValid() then
  2.                 local safenick = calling_ply:Nick()
  3.         else
  4.                 safenick = "Console"
  5.         end

Now it seems to be running smoothly for me. Hope this helps anyone else.

Offline orrila

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #88 on: December 15, 2013, 02:02:46 pm »
Hi Guys

When trying to delete all warnings from myself, I get an error and it doesnt work. Sorry, I cannot get this error from console yet as I cannot access gmod atm. I look in the data folder in the Ulx place with warnings, but there is nothing there but when I try to display warnings it still shows the warning I self-issued.

Anyone else getting this?

If you need console command, I can get it later when I can access gmod again.

EDIT:

Console code when warning myself with the reason test:
[ERROR] addons/ulx_warn/lua/ulx/modules/sh/warn.lua:129: attempt to concatenate local 'SID' (a nil value)
  1. WarningSave - addons/ulx_warn/lua/ulx/modules/sh/warn.lua:129
   2. unknown - addons/ulx_warn/lua/ulx/modules/sh/warn.lua:106

Timer Failed! [ULX_DecayTimer][@addons/ulx_warn/lua/ulx/modules/sh/warn.lua (line 112)]

ANd this when trying to delete all warns for myself:

[ERROR] addons/ulx_warn/lua/ulx/modules/sh/warn.lua:248: attempt to concatenate local 'SID' (a nil value)
  1. call - addons/ulx_warn/lua/ulx/modules/sh/warn.lua:248
   2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
    3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
     4. unknown - lua/includes/modules/concommand.lua:69


THanks
Orrila
« Last Edit: December 15, 2013, 03:28:31 pm by orrila »

Offline cortez (Mr. T. FOO!)

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AWarn 3.4 - Robust warning system
« Reply #89 on: December 21, 2013, 06:22:54 pm »
I don't know if this is a problem that is caused by your addon, but since I added it my console has started spamming "Decay timer running" like 8 times a second. A quick google search brought me to an unresolved facepunch thread that was unrelated to this addon but it seems like a little too much of a coincidence to me. Help would be appreciated, I don't want to have to remove this addon over this.

  • Print