Ulysses
Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: jay209015 on June 05, 2008, 11:03:06 PM
-
===============ASpam v2.2===============
| <W.I.P> |
This is my first release, so the code is pretty sloppy and has
one major bug I know of. Enjoy, and leave your comments
and suggestions.
Things to Come:
- Various Bug fixes
- Relocate the configs outside of the main lua file
- Vgui to display your current warning lvl (already W.I.P)
- Config for maximum time to wait for a dupe to complete
Know Bugs:
- You are free to spam for 10 seconds immediately after the
the use of the adv_dupe or regular dupe - Fixed
Current Features:
- Warning system
- Notifies admins of possible spammers
- Auto kicks spammers after a set warning level
- Spam delay based on the "Danger" of the props
- Vgui to display your current warning lvl - Added
- Players props are now removed when being kicked for spam - Added
- The time displayed to clients to wait until spawning a props is now rounded properly - Fixed
- Now checks to see if you have UPS and if so delete players props with ups instead - Fixed
- Optimized the way the script checks number a warns and made the hook name Unique
so that it doesn't conflict with other scripts 0 Fixed
- Hopefully is kicks people now......
- It is guaranteed to kick people now
- If by chance they get lucky and not get kicked, spawning of props for them will be disabled
- Removes all the offenders props if they surpass the max warning level
- Can set the limit for entities spawn-able with an advanced duplicator
- Can set whether or not to allow the original duplicator(less spam protection if allowed)
- Replaced Admin_Immune with Immune = {} (See configs below)
| |
======================================
Sample Config:
--Potentially Harmful props have a longer delay in spawn time
local dlist = { "crane_frame.mdl", "models/props_phx/ball.mdl", "models/props_phx/oildrum001_explosive.mdl", "models/props_phx/mk-82.mdl", "models/props_phx/torpedo.mdl", "models/props_phx/ww2bomb.mdl", "models/props_phx/misc/flakshell_big.mdl", "models/props_junk/gascan001a.mdl", "models/props_junk/propane_tank001a.mdl", "models/props_c17/oildrum001_explosive.mdl", "models/props_phx/huge/tower.mdl", "models/props_phx/huge/evildisc_corp.mdl", "models/props_phx/playfield.mdl", "models/props_c17/utilitypole01d.mdl", "models/props_buildings/building_002a.mdl", "models/props_buildings/collapsedbuilding02b.mdl", "models/props_buildings/collapsedbuilding02c.mdl", "models/props_buildings/project_building01.mdl", "models/props_buildings/project_building02.mdl", "models/props_buildings/project_building03.mdl", "models/props_buildings/project_destroyedbuildings01.mdl", "models/props_buildings/row_church_fullscale.mdl", "models/props_buildings/row_corner_1_fullscale.mdl", "models/props_buildings/row_res_1_fullscale.mdl", "models/props_buildings/row_res_2_ascend_fullscale.mdl", "models/props_canal/canal_bridge01.mdl", "models/props_canal/canal_bridge02.mdl", "models/props_canal/canal_bridge03a.mdl", "models/props_canal/canal_bridge03b.mdl" }
local Delay = 0.3 --Delay for normal props
local XDelay = 1 -- Delay for the props in the dlist
local Warn_Player = 5 -- After what warning lvl should the player be warned?
local Max_Warn = 10 -- Max number of times a player can be warned before getting kicked
local Max_dupe_ents = 100 -- Max number of entities allowed to be pasted via advance duplicator
local allow_default_duplicator = false -- Allow the use of the default duplicator (Recommend false: Not as much control over props spawned)
local Immune = { 'superadmin', 'admin' }
--==============================DO NOT EDIT BELOW THIS POINT===================================--
Promotions.lua is no longer supported since I'm overhauling it completely and making it separate from ASpam.
View It In Action (http://www.youtube.com/watch?v=hzAcCJWw-CA)
-
Nice work Jay!
-
Thanks, any suggestions?
-
Looks like a pile of awesome. I'll try her out! :)
-
Does this check to see if the item you're spawning, or duplicate spawning, is the same item you just spawned?
I know I could look at the code, but thought others might like to know.
(And, to those G4P forum folks who hang out here, yes, I'm headed the same way as TopHat Man did in a post about anti-spam)
-
No, but that is a good idea to add. Because spammers don't go through an assortment of objects, they just spam one like crazy.
-
Yeah thats what I was thinking, although they think uppl does enough spam protection already. Which it does, but this would be useful when you don't want to limit props I guess.
-
Does this check to see if the item you're spawning, or duplicate spawning, is the same item you just spawned?
Added, now if the prop you just spawned is the same as your previous prop you have to wait 1 second to spawn another prop.
Next on the list:
-Add the warning lvl vgui
-
Good idea Tophat (yes, saw you ask about it on G4P)
-
===============ASpam v1.2===============
| <W.I.P> |
This is my first release, so the code is pretty sloppy and has
one major bug I know of. Enjoy, and leave your comments
and suggestions.
Things to Come:
- Promotions based on time and warning lvl (already W.I.P)
- Various Bug fixes
- Relocate the configs outside of the main lua file
- Vgui to display your current warning lvl (already W.I.P)
- Add the dynamic Variable %promotions% to Umotd(already W.I.P)
Know Bugs:
- You are free to spam for 10 seconds immediately after the
the use of the adv_dupe or regular dupe
Current Features:
- Warning system
- Notifies admins of possible spammers
- Auto kicks spammers after a set warning level
- Spam delay based on the "Danger" of the props
- Vgui to display your current warning lvl - Added
- If you spawn duplicate props, you now have a higher delay time - Added
- Promotions based on time and warning lvl - Added
- Print the last three promotions to latestpromotes.txt - Added
| |
======================================
<--------------------Download from main post-------------------------->
-
===============ASpam v1.2===============
| <W.I.P> |
This is my first release, so the code is pretty sloppy and has
one major bug I know of. Enjoy, and leave your comments
and suggestions.
Things to Come:
- Promotions based on time and warning lvl (already W.I.P)
- Various Bug fixes
- Relocate the configs outside of the main lua file
- Vgui to display your current warning lvl (already W.I.P)
- Add the dynamic Variable %promotions% to Umotd(already W.I.P)
Know Bugs:
- You are free to spam for 10 seconds immediately after the
the use of the adv_dupe or regular dupe
Current Features:
- Warning system
- Notifies admins of possible spammers
- Auto kicks spammers after a set warning level
- Spam delay based on the "Danger" of the props
- Vgui to display your current warning lvl - Added
- If you spawn duplicate props, you now have a higher delay time - Added
- Promotions based on time and warning lvl - Added
- Print the last three promotions to latestpromotes.txt - Added
| |
======================================
<--------------------Download from main post-------------------------->
-
Any new bugs found yet, if not please post your comments/suggestions.
-
Updated V1.3
- Added %promotions% for Umotd users
- Removed the last prop check due to bugs
-
I will test this today on my server
EDIT : WOW, This is insanely awesome, definitely staying on my server, it stops most spammers, But i think you should add something like, Once they get kicked their props would be automatically cleaned up straight away, Because they could come back in the time it takes for the props to be cleaned, spam another lot, get kicked, rejoin spam again and repeat. Also you may want to round this
You must wait 0.30000000000001 second(s) before spawning another prop/ent
Is this working? I have only tested spamming it myself and didn't receive a warning, but we will see
- Notifies admins of possible spammers
Also another suggestion, How about the warnings expire after a set period of time
-
You must wait 0.30000000000001 second(s) before spawning another prop/ent
I only get this sometimes, but most of the time it will display 0.3 after a server restart or map change.
Is this working? I have only tested spamming it myself and didn't receive a warning, but we will see
- Notifies admins of possible spammers
Yes, you should get a message similar to this one once a player gets over 5 warnings:
( Console ) to admins: Player Jay209015 is spamming, and has a warn level of 5. Kicking them after 5 more warnings.
Also another suggestion, How about the warnings expire after a set period of time
Already a feature. You have a 1 minute cooldown timer, so if you don't spam you lose 1 warning lvl every minute.
Once they get kicked their props would be automatically cleaned up straight away
Working on it now.
-
i notice when users use the stacker and adv dupe they cant and complain, i like this but had to remove it twice cos people cant dupe and stack due to getting kicked
-
The dupe has a time limit of 10 seconds to wait for it to complete, if it takes longer then that. They will most likely get kicked. As for the stacker, I was unable to replicate this.
-
ASpamv1.4
- Players props are removed when being kicked for spam
- Fixed the times not being rounded properly
-
Working great, Good job!
-
Error when using Slider Tool, Probably with other tools as well
Hook 'GetTool' Failed: autorun/ASpam.lua:79: attempt to compare nil with number
-
Thank you, will look into this.
==========EDIT==============
Tested and could not recreate this error.
What version are you using?
-
I've got a problem, When they get kicked for spamming, it says it clears there props, but it actually doesn't
-
What prop protection are you using?
-
UPS
-
Oh, ok. I have a fix for that, and I will upload it sometime today.
==EDIT==
v1.5
- Now checks to see if you have UPS and if so delete players props with ups instead - Fixed
-
If the use of duplicator is allowed then players can use duplicator to spam anyway
-
Nope, you can barely spam with the dupe. 1 second tool use delay for the dupe, + 10 seconds spawn time limit. So the amount of damage that can be done is limited. If it exceeds 10 seconds it's instant kick and prop removal.
-
so people with complicated things that take 20 seconds to spawn will get kicked...
-
I'd say if it takes over 10 seconds to spawn it'd be too laggy to use in a server anyway.
-
My thoughts exactly :D
-
V1.6
- Optimized the way the script checks number a warns and made the hook name Unique
so that it doesn't conflict with other scripts 0 Fixed
-
do admins ect get warned? kicked? you should add some kinda ulx command to add groups.txt for spaming imunity also i dont get the promotions thing does it add them to admin ect or is it just a title
Jon
-
The promotions got bugged somewhere, for now you can look in your <server>/data/player_promotions.txt and see who needs to be added there.
-
The promotions got bugged somewhere, for now you can look in your <server>/data/player_promotions.txt and see who needs to be added there.
Any fixes?
-
link to download doesn't work
where els can i find it
-
Sorry, I had the fix uploaded, but ulyssesmod.net went down and lost some of the database. Here's a link to the current.
http://dev-solution.org/resources/gmod/addons/ASpam.zip (http://dev-solution.org/resources/gmod/addons/ASpam.zip)
Enjoy!!
-
I'v a question about the promotions :
are they " real " ?
What I mean is, if a player is ranked " admin " in the txt file, he will be admin in the game ? ???
-
Yes.
-
:o oh my god :o
I'll delete this LUA now ;D
Too dangerous : a f***ing noob etc... minge, become admin, and destroy your server ? Too dangerous :)
-
You can remove admin from the list.
-
Does this fix the ranks not working?
Also, is this file correctly done? (attached)
-
Does this fix the ranks not working?
Also, is this file correctly done? (attached)
(Ignore the 15th rank, it should be user. Still, doesn't work.)
-
Your configs look correct, and it should work if those groups actually exist in your server/garrysmod/data/ULib/groups.txt
-
They do. I tried it with the new config and it was pormoting admins to the second rank like crazy, yet it didnt work on regular players.
-
Are you getting any errors in console, because I don't see admins in your configs, so they should never be promoted to or from.
-
I'm going to redo everything and see if it works then.
-
EDIT:
Would this do it?
In my uteam.txt I made this mistake:
"11"
{
"name" "Private First Class"
"group" "privatefirstclassr"
When it should be:
"11"
{
"name" "Private First Class"
"group" "privatefirstclass"
-
Okay that seemed to fix it. It still wants to add me (Smoot in the superadmin group) to private first class though.
Warning: Unhandled usermessage 'ULibLuaFn'
Warning: Unhandled usermessage 'ulib_sound'
Warning: Unhandled usermessage 'UMaps_timer'
Warning: Unhandled usermessage 'UMaps_timer'
Warning: Unhandled usermessage 'UMaps_timer'
Warning: Unhandled usermessage 'UMaps_timer'
Robert Robertson: how did he get to outrank me?
Warning: Unhandled usermessage 'UMaps_timer'
Warning: Unhandled usermessage 'UMaps_timer'
Robert Robertson: /profile
Warning: Unhandled usermessage 'UMaps_timer'
Warning: Unhandled usermessage 'UMaps_timer'
Whitefox08 suicided!
Warning: Unhandled usermessage 'UMaps_timer'
[UCL] Access set.
Player:Smoot has been promoted to privatefirstclass for exceptional behaviour
(ADMIN) (Console) added userid STEAM_0:1:12783335 (Smoot) to group "privatefirstclass"
Warning: Unhandled usermessage 'ulx_resetinfo'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ulx_autocomplete'
Warning: Unhandled usermessage 'ULibLuaFn'
Warning: Unhandled usermessage 'ulib_sound'
(ignore the umaps error)
EDIT: Also, what could I add to make it kill players when they are promoted?
-
Add:
[1] = "superadmin"
[1] = "admin"
at the top of your groups_to_promote right above colonel, and that should fix your problem, because any group with a value of 1 doesn't get promoted.
Also add them to the promote_to table as the HighestLevel just like you did with colonel.
-
Add:
[1] = "superadmin"
[1] = "admin"
at the top of your groups_to_promote right above colonel, and that should fix your problem, because any group with a value of 1 doesn't get promoted.
Also add them to the promote_to table as the HighestLevel just like you did with colonel.
But wouldn't that let people be promoted TO the admin group?
EDIT: i tried it anyways, not it won't rank anyone up. Check the attachment.
-
No, nothone get's promoted to or from a group level of 1, this also means your colonel will never be reached unless you start from #2 with it.
-
No, nothone get's promoted to or from a group level of 1, this also means your colonel will never be reached unless you start from #2 with it.
It still doesn't wanna work.
-
Still trying to make admins privates?
Need more detail other then it doesn't work.
-
Still trying to make admins privates?
Need more detail other then it doesn't work.
It isn't ranking up regular players now.
-
Ok, I patched it up real quick, they should be able to get promoted to colonel now, but not past it. That is what you wanted correct?
Anyways, your file is attached.
-
Ok, I patched it up real quick, they should be able to get promoted to colonel now, but not past it. That is what you wanted correct?
Anyways, your file is attached.
I don't know why that isn't working either. I have it set to 0.1 hours which is 6 minuntes and it simply isn't promoting them. Nothing happens AT ALL. :(
-
This is very strange, just shut down the server, delete the player_time.txt, and the player_promotions.txt, then reboot. Let me know if it works then.
Btw these files are in your server data folder.
-
I added you to AIM. if you wanna get this across faster log on and I'll send you a message.
By the way, you have been very helpful. Thank you.
Restarting after deletion of files.
EDIT: Give me 6 minutes to see
EDIT2: Yeah doesn't work.
L 07/31/2008 - 19:55:53: "Console<0><Console><Console>" say "Just don't do anything for the next 2 mins"
Console: Just don't do anything for the next 2 mins
L 07/31/2008 - 19:55:53: "Console<0><Console><Console>" say "Just don't do anything for the next 2 mins"
L 07/31/2008 - 19:55:53: rcon from "72.188.***.***": command "say Just don't do anything for the next 2 mins"
L 07/31/2008 - 19:56:05: "Sgt. Johnson<5><STEAM_0:0:17450249><Team>" say "3 min 40 sec"
L 07/31/2008 - 19:56:23: "Capt. John<2><STEAM_0:1:15316147><Team>" say "Session: 5 min now"
say tell me when it is 6 min on the dot
Console: tell me when it is 6 min on the dot
L 07/31/2008 - 19:56:40: "Console<0><Console><Console>" say "tell me when it is 6 min on the dot"
L 07/31/2008 - 19:56:40: "Console<0><Console><Console>" say "tell me when it is 6 min on the dot"
L 07/31/2008 - 19:56:40: rcon from "72.188.***.***": command "say tell me when it is 6 min on the dot"
L 07/31/2008 - 19:56:46: "Sgt. Johnson<5><STEAM_0:0:17450249><Team>" say "hi"
L 07/31/2008 - 19:56:50: "Hogdriver155<3><STEAM_0:0:19495986><Team>" say "hi"
L 07/31/2008 - 19:56:51: "Capt. John<2><STEAM_0:1:15316147><Team>" say "6 min now"
L 07/31/2008 - 19:57:27: "¤(`×[¤ ßa?a ¤]×´)¤<6><STEAM_0:1:4535507><>" disconnected (reason "Disconnect by user.")
L 07/31/2008 - 19:57:31: "Capt. John<2><STEAM_0:1:15316147><Team>" say "7 min now"
-
Is this a rented server, do you have access to the server console directly? If so do you get any errors? Because it's kinda strange that it just quit working after just adding superadmin and admin =/
Not much is different from this post:
Player:Smoot has been promoted to privatefirstclass for exceptional behaviour
(ADMIN) (Console) added userid STEAM_0:1:12783335 (Smoot) to group "privatefirstclass"
This is very strange.
-
Is this a rented server, do you have access to the server console directly? If so do you get any errors? Because it's kinda strange that it just quit working after just adding superadmin and admin =/
Not much is different from this post:
This is very strange.
Rented server.
-
Dang, did you add any new addons between the time it was working and wasn't?
-
Dang, did you add any new addons between the time it was working and wasn't?
Let's retrace our steps.
The promotions were working in the beginning. That's a clean aspam install. The only problems I had was the fact that it "promoted" moderators, admins, and superadmins as if they were users to the second ranking group.
Your fixes for this have made the whole thing not work at all.
-
that is strange, since the only changes we made was to the table itself =/
-
that is strange, since the only changes we made was to the table itself =/
Could you give me a fresh version of the script that will filter out admins superadmins and moderators?
-
I added an option "None" to the promote_to table. This should work.
-
V1.9
- Promotions are no longer supported by this script, I will be making a better version soon!
New Dowloads posted.
-
Looks like a pile of awesome. I'll try her out! :)
:\ May be a him :o anyways NIce work as usual jay :)
-
Thank you!
-
I added it onto my server im testing it out right now ;)
-
V1.9
- Promotions are no longer supported by this script, I will be making a better version soon!
New Dowloads posted.
Nooooooooooo. It works now btw. LOL. I will still get the new promotions system!
Could I make a suggestion?
I would like some sort of ingame GUI where I can check the status of each player and the different promotional groups.
Also, you should be able to set the time it takes to promote from one group to another. Say User -> Respected takes 5 hours and Respected -> Regular takes 17 hours. You should also be able to change this on the fly ingame using the menu :P
-
Suggestions noted, and as for the way the users were promoted previously; the were promoted by this formula:
time = time - (warning * penalty )
time > (interval * (#goups_to_promote - (#groups_to_promote + 1)))
I'm too tired to think too much right now, but I'm pretty sure that's how it's coded.
-
Is there any way of disabling the promotion thing I don't want people being promoted and I don't know lua at all...
-
V1.9
- Promotions are no longer supported by this script, I will be making a better version soon!
New Dowloads posted.
The Promotions have been removed, just if you have ASpam previously installed delete the original ASpam folder, and replace with v1.9
-
instead of kicking people who spawn an adv dup over 10 seconds, why not just delete the dup they were spawning and give them a warning message? like "Please do not spawn dups that large."
Also can you add stacker support like if they try to stack over 10 props it will add a warning level and give them a warning
-
instead of kicking people who spawn an adv dup over 10 seconds, why not just delete the dup they were spawning and give them a warning message? like "Please do not spawn dups that large."
-This would require a re-work of the entire code, and atm I'm working on a few more releases.
Also can you add stacker support like if they try to stack over 10 props it will add a warning level and give them a warning
-I've thought about this, but it is also another thing that would require alot of change to the existing code to get it working.
-
Is there any way to make admins immune to the spam kicker?
-
I will work on adding this feature tonight, unless someone wants to take up the job?
-
When I tossed this into my server, someone convieniantly spammed, and when the warnings got to 10 it just started cleaning his crap up over and over and the number left went into the negatives ???
Is there any way to make it kick them instead?
-
It does kick them if you have ULX, ULib, and ASpam installed properly.
-
It does that before latest gmod update(50)(i think it is why), now it doesn't...
-
The update shouldn't of been able to do anything to it, since it uses the ULib.kick() function milliseconds after removing their props.
-
Rly? Maybe you check it out?
(Console) to admins: Player hardy is spamming, and has a warn level of 5. Kicking them after 5 more warnings
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
(Console) to admins: Player hardy is spamming, and has a warn level of 6. Kicking them after 4 more warnings
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
(Console) to admins: Player hardy is spamming, and has a warn level of 7. Kicking them after 3 more warnings
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
(Console) to admins: Player hardy is spamming, and has a warn level of 8. Kicking them after 2 more warnings
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
hardy's props have been cleaned up
(Console) to admins: Player hardy is spamming, and has a warn level of 9. Kicking them after 1 more warnings
(Console) to admins: Player hardy is spamming, and has a warn level of 10. Kicking them after 0 more warnings
player hardy's props have been removed
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
hardy's props have been cleaned up
(Console) to admins: Player hardy is spamming, and has a warn level of 11. Kicking them after -1 more warnings
player hardy's props have been removed
all cleaned
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
hardy's props have been cleaned up
(Console) to admins: Player hardy is spamming, and has a warn level of 12. Kicking them after -2 more warnings
player hardy's props have been removed
all cleaned
all cleaned
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
hardy's props have been cleaned up
(Console) to admins: Player hardy is spamming, and has a warn level of 13. Kicking them after -3 more warnings
player hardy's props have been removed
hardy<STEAM_0:0:12673821> spawned model models/props_borealis/bluebarrel001.mdl
You must wait 0.3 second(s) before spawning another prop/ent
If you continue to Spam, you will be kicked!
hardy's props have been cleaned up
(Console) to admins: Player hardy is spamming, and has a warn level of 14. Kicking them after -4 more warnings
player hardy's props have been removed
all cleaned
all cleaned
-
You must have another addon that is hindering the script, cause I've tested it with all the common ones and it still works.
-
Jay, he's having problems with UPS too. I'm definitely leaning towards his issue being addon conflict.
However, could either be affecting the other? That is, could ASpam be preventing UPS from working or perhaps vice versa.
-
No, infact ASpam is designed to use UPS :D
-
I had this problem also. It was giving - levels.
-
I flippin love this! But how can I make it so it doesn't affect admins? lol
-
I have had the same problem to where it will not kick
-
Won't kick. It's likely a easy fix though.
-
Please fix this! Me wantz. :'(
-
Actually, can someone give me the LUA kick command. I'll fix it myself. ;)
-
Ok, updated, added 3 different ways for it to kick the person. Hopefully that'll work, if now I'll change to something else.
-
Argh still doesn't work! :'(
But look what I found in console:
game.ConsoleCommand blocked!
Any help?
-
Ok I got another LUA error.
Startup:
autorun/cl_ASpaminit.lua:3: attempt to call global 'LocalPlayer' (a nil value)
Kicking:
game.ConsoleCommand blocked!
Jay?
-
- Can't do anything about the LocalPlayer error, that's all garry, but hopefully it kicks now. If
not you have conflicting addons, because it's working fine for me.
-
@#%!*^ still doesn't kick. :(
I get this:
game.ConsoleCommand blocked!
If it's too hard just modify it so it doesn't kick and it just deletes the props.
-
for it to delete props, all you need is either UPS, and SPP installed. As for the kicking, I have to find a way around garrys new blocks.
-
It deletes props just doesn't kick.
-
Ok, I'll have to figure something out then, because console commands are apparently blocked by garry now, so just give me some time.
-
Ok, thank you very much!
-
I'm not sure if you have tried this or not (I don't know LUA) but I believe there is a kick command you can use.
kick ((name here))
If it helps this is entered in console.
-
Can someone please fix the kick function (And I am sorry for the huge bump/revive)
...???????...?'s props have been cleaned up
(Console) to admins: Player ... ... is spamming, and has a warn level of 58. Kicking them after -48 more warnings
player ... ... 's props have been removed
-
Working kick function(in ASpam.lua)
function Spammer_Kick( ply )
if ply.warn >= Warn_Player then
ply:PrintMessage(HUD_PRINTTALK, "If you continue to Spam, you will be kicked!")
Warn_Left = Max_Warn - ply.warn
game.ConsoleCommand( "ulx asay Player " ..ply:Nick().. " is spamming, and has a warn level of " ..ply.warn.. ". Kicking them after " ..Warn_Left.. " more warnings \n")
end
if ply.warn >= Max_Warn then
if SPropProtection then
SPropProtection.DRemove( ply:SteamID(), ply:Nick() )
end
if UPS then
UPS.deleteAll( ply:UniqueID(), true )
end
game.ConsoleCommand("kickid "..ply:UserID().." \"Spamming!\" \n")
end
end
-
Thank you, I had just looked at the code before opening up this site and saw this:
//ULib.kick(ply, "Quit Spamming")
..what?. :D.
-
You need to make it ignore admins if it doesn't already.. I'm admin on a server that uses this and I like to build fast, which gets my props cleaned up and me kicked. -_-
-
You need to make it ignore admins if it doesn't already.. I'm admin on a server that uses this and I like to build fast, which gets my props cleaned up and me kicked. -_-
Edit the configuration file so that the prop delay time is longer. -.-
I saw the above fix, but it would be possible to do a general "ulx kick ply" through the commands so you don't need to use garry's junky method.
-
The download doesn't work, but after replacing one function (Really only deleting 2 lines and changing another, to use a way round garry's command blocks) I had the script going.
Unfortunately, even after changing the values from 0.3 to 0.1 for example, it throws people out of my server for many of the wrong reasons, mostly false positives. It seems the stacker tool can cause a kick, as can the duplicator or advanced duplicator sometimes. Its a nice thought but since this addon does not currently work as intended I shall be removing this from my server. Thanks for writing it though :)
Also I had changed it from kicking them to banning them through sourcebans for a week, so as you can imagine, many false positives isn't a good thing, hah.
-
Until the author comes back and until someone is able to give this awesome script a propper makeover I have quickly uploaded a working version.
The HUD doesn't display due to an error but I have made it ban a player for 360 mins (changebale).
Hope this helps for some people but this script still needs a lot of work done to refine it.
Jethro
-
Does this apply to spawning wire gates?
-
need download link all download links down
-
Does this apply to spawning wire gates?
I don't know; try it.
Still many errors that need to be addressed and the HUD doesn't even work now... Hopefully someone will be able to fix this mod; only Anti spam mod available.
need download link all download links down
Links work for me =/
-
Hey Jay
Do you know if/when you would be able to get this script working with the HUD? It’s the only good Anti-Spam script available and of course Garry broke it. It would be brilliant to have this working without any errors if you have time.
Thanks
Jethro
:P
-
Changes:
Fixed Kick Function
No more timer on client side, only updates as need (less lag)
Modified the way the server handles monitoring props spawned
Added Admin_Immune option
Even if by some chance garry breaks the kick function again, players are not allow to spawn props once the warning level is above the set max
Now the only way to have the server to automatically remove props is to have UPS installed.
I know it's not perfect, but it's a start, enjoy!
--Jay209015
-
Thankyou Thankyou Thankyou XD
:-*
-
W00t! Thanks Man!! was trying to find a way to make admin immune from it :P thank you!
-
I would like to install this plugin, but last time I did it, I had problems with stacker/adv_dup/duplicator.
Because people wanted to duplicate some big constructions and before they could have ended the duplication, they were getting kicked, same with stacker.
Ok it works well, but I just want one thing. Could you move the emplacement of the overlay somewhere else? It's really annoying because of UTime, players can't see their time if they stay at the default position for UTime, and I guess there are noobs who don't know how to move it.
-
It seems that props no more delete by themselves after a certain time, due to this plugin. :-\
-
It seems that props no more delete by themselves after a certain time, due to this plugin. :-\
You mean the script doesnt delete a users props after they are kicked?
-
You mean the script doesnt delete a users props after they are kicked?
Nope, this works.
But now, after a certain time, set with UPS, the props are not deleted, I think it's a conflict with ASpam, which uses UPS to remove the props.
-
Nope, this works.
But now, after a certain time, set with UPS, the props are not deleted, I think it's a conflict with ASpam, which uses UPS to remove the props.
I too have noticed this but thought it was a UPS problem. Hope someone is able to fix it :p
-
I had to remove ASpam, my server was filled with minges creations and was always crashing due to them. :-\
-
ok, sorry to hear that, but removing ASpam will not stop minges from making their creations lol.
-
ok, sorry to hear that, but removing ASpam will not stop minges from making their creations lol.
I lol'd. ;D
I meant, they didn't disappear, and minges creations are... You know, really... " Mingy ". :)
Seriously, could you fix that? Your plugin is really needed against minges, but having creations that don't disappear after a set time is unacceptable.
-
UPDATED!!!!
-
Hello! Nice Addon.
I would like to request a ban feature.
If after a user is kicked three times, auto ban for 60 minutes?
-
http://www.youtube.com/watch?v=VGv5-w7XmEo
I'm Edit Aspam.
-
Nice yomogimochi!
-
I'm not sure if this was ASpam, but when someone gets 10 warnings, and they get kicked, when they come back, the server crashes. Is the server suppose to let the person back in? or does it kick them again?
-
ASpam should let them back in unless you've modded it to do otherwise.
-
I found a small glitch. If you are waiting in line because someone else is using the dup when you try it starts the timer even though your dup is not spawning. It should wait till you spawn your first prop or somehow check to see if your dup has started yet.
-
I'll take a look at it, but no promises. I'm pretty short on free time.
-
It also seems to just completely stop working, I am not 100% sure why but it just randomly stops.
Edit: I'm not sure about the stop working anymore, I'll keep an eye out for it.
-
Just to update everyone who is interested. I have found a way to fix the duplicating problems the way I originally intended the script to work. Just have a few more tests, and should be releasing later tonight.
New Features:
local Max_dupe_ents = 100 -- Max number of entities allowed to be pasted via advance duplicator
local allow_default_duplicator = false -- Allow the use of the default duplicator (Recommend false: Not as much control over props spawned)
Comments speak for themselves.
Thanks for your interest.
-
As promised, ASpam has been updated to V2.2.
-
As promised, ASpam has been updated to V2.2.
K but the readme is wrong now, the configurations are in a different folder from which it says. Not really that bad but just letting you know.
And can you do this with the dlist:
local dlist = {
"crane_frame.mdl"
"models/props_phx/ball.mdl"
"models/props_phx/oildrum001_explosive.mdl"
"models/props_phx/mk-82.mdl"
}
It would be much easier to add and know what is already in the dlist.
-
Thanks, and yes to your question, you just have to separate each item with a comma.
like so:
local dlist = {
"crane_frame.mdl",
"models/props_phx/ball.mdl",
"models/props_phx/oildrum001_explosive.mdl",
"models/props_phx/mk-82.mdl"
}
-
Thanks again, and could you maybe add some sort of a immune command. This way we could make certain user groups or even just certain users immune to the spam protection. Some people on my server find it very annoying and I trust the ones that do.
-
Thanks again, and could you maybe add some sort of a immune command. This way we could make certain user groups or even just certain users immune to the spam protection. Some people on my server find it very annoying and I trust the ones that do.
- Done, see main post.
-
- Done, see main post.
Hi everyone! After updating Aspam, I do not see more panel Warning LvL Please help me ! Sorry for my bad english !
-
Does this still work?
-
Well this topic is dead... but apparently ASpam does not work anymore, so I would like to see a fix in the future.
-
I do not believe ASpam is working with current versions. I no longer support it.
-
Could someone pleaaaaase fix this up and make it work for the latest Gmod releases? This is the best addon ever, stopped all my server crashes when it was working
-
I know this is the ULX boards, and we don't like to stray, but for some of the dead projects the best us non-lua people can do is find another solution (at least for the meantime). FPP (http://www.facepunch.com/threads/786522-FPP-Falco-s-Prop-Protection-and-anti-spam) has a nice system of stopping spam, although I've also found it to lag the server when people spawn from ADV, Dup. So consequently I have disabled that function of FPP.
Honestly your very best option is to find a good group of trusted admins. This is what I personally rely on, and when someone is in my server, there is more than likely always an admin there.
-
I do appreciate the interest in this addon, and I do feel bad for dropping support. My issue at the moment is that I don't have a pc to develop on for garrysmod. All I have is a minimal linux box for developing web applications.
If I had a machine I would pick this back up and come back into the community with updates and addons, but I simply cannot at this moment.
-
All I have is a minimal linux box for developing web applications.
In other words, Jay knows where the money is! ;D
Don't blame ya!