ULX

Author Topic: Problems getting anti-spam to work...  (Read 3908 times)

0 Members and 1 Guest are viewing this topic.

Offline the_fool

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
Problems getting anti-spam to work...
« on: July 14, 2006, 05:09:54 PM »
I have ulx-v1.13.Everything eccept for anti-spam works great with this mod.I have ulx_sv_antispamenabled set to 1 and I took the m out of my access so i am affected by the anti-spam and I place a barrel and duplicate it and I can duplicate it as many times as i want without being blocked.I have had other people try and they get the same result.Do any of you know what the problem could be and how to restrict access to some props so they cant be spawned such as the smoke stack?Also do any of you know how i can get mods to work in my server like the door mod?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Problems getting anti-spam to work...
« Reply #1 on: July 14, 2006, 07:15:48 PM »
From ulx/configs/server.ini
Code: [Select]
ulx_sv_antispamenabled 1 // If set to 1, antispam will be enabled ( read on )
ulx_sv_antispamtime 5 // If players spawn more than the number of props in this time, they'll be blocked
ulx_sv_antispamprops 6 // If players spawn more than this number of props in the given time, they'll be blocked
ulx_sv_antispamblocktime 20 // This is how long players will be blocked ( in seconds ) after spamming
Those settings are mine, your might be different. Make sure they're set strictly.
Try lowering antispamtime and antispamprops.
Though, be careful, the replication tool is a nice feature, and you wouldn't want to make the people using it legitimately angry.

Also, check your amounts in the bottom of ulx/ulx_props.lua
Numbers set there should contrain users to that amount.

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

Offline the_fool

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
Re: Problems getting anti-spam to work...
« Reply #2 on: July 14, 2006, 08:37:48 PM »
I have my settings pretty much the same as yours.What do I use to view an .lua file?I tried .txt but the words were all bunched together and it looked very confusing.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Problems getting anti-spam to work...
« Reply #3 on: July 16, 2006, 05:34:47 PM »
I use ConTEXT, a free text viewer that has extended functionality for script/html editing too.

Try 'Wordpad', it's included with Windows, it will 'unbunch' the lines.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Problems getting anti-spam to work...
« Reply #4 on: July 16, 2006, 06:14:14 PM »
I use ConTEXT too! Great minds think alike I suppose.  :D
Experiencing God's grace one day at a time.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Problems getting anti-spam to work...
« Reply #5 on: July 16, 2006, 09:57:13 PM »
Notepad FTW.

And occaisionally Notepad + when I hate a problem I can't fix.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Problems getting anti-spam to work...
« Reply #6 on: July 17, 2006, 06:25:08 AM »
The_fool, any better luck?
 A script I've been working on may have been my issue in anti-spam not working.
I haven't tested yet though after improving mine.
 Though, even if mine is working now, I remember it being occasionally buggy (Protecting props occasionally that someone spawned themselves) (I also think its causing, in some way, the occasional 'user can't spawn on first connect' bug. See my post(s) in Bugs regarding these)

Golden-Death,
Notepad, from standard Windows? (I'm not sure what FTW means)
Is Notepad FTW another app, like Notepad +?
Notepad does not handle some text formats well if the line feeds in it are done a specific way. In other words, the problem that the_fool had with lines all being bunched together occasionally appears, depending on what created the file.
 I find this most often when editing a text file in Linux (using vi, vim, pico, or one of any editors), then later going back and trying to open the file from Windows.

 I was trying to give The_fool a program to use that he wouldn't have to download. Wordpad handles these better without being as 'bloated' as Winword (MS Word) just to edit/look at a text file.

Megiddo,
 So do dangerous minds!  :P ::) ;D
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Problems getting anti-spam to work...
« Reply #7 on: July 17, 2006, 11:14:15 AM »
"FTW" means "For The Win".

As far as the anti-spam, I'm not sure what the problem could be, nor have I previously heard about this. I'll see about looking into this, but ULX2 and ULib is the biggest priority for me right now.
Experiencing God's grace one day at a time.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Problems getting anti-spam to work...
« Reply #8 on: July 17, 2006, 01:16:23 PM »
yeah, just normal notepad, and yeah they do get bunched sometimes, so I usually use wordpad.