Author Topic: Prop delay  (Read 2832 times)

0 Members and 2 Guests are viewing this topic.

Offline killforfun

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
Prop delay
« on: August 13, 2011, 06:09:38 PM »
A script added to ulx That only allows you to spawn a prop ever x amount of seconds
and we can customize how big the delay is like 0 for no delay or 0.5 would slow down the people who have scripts that spam 75 props per second see below

Code: [Select]
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
[17:10:12] shadow-dude11<STEAM_0:0:33435097> spawned model models/props_c17/fence03a.mdl
75 props spawned in 1 second
with in 2 seconds he reached 178 props and my server crashed

also maybe a a cool-down system so if the delay is 0.3 prop per second and the cool down is 1 second and he keeps spamming it the props they return false until he cools-down  for 1 second
( when i say cool down i mean until he doesn't spawn a prop for one second if he does then the prop will return false and cool down will restart)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Prop delay
« Reply #1 on: August 13, 2011, 07:04:13 PM »
This is not a bad script idea.
However, it seems many suggestions as of late totally miss the point of what ULX is.
ULX is an administration mod. Our motto for Ulysses is "strive for simplicity"
Something like this, though perhaps a good prop control or restriction module to work with URS or UPS or Uppl, would not be a core item for server administration.
Might add a bit more control like the other releases mentioned, but not to the administration.

In fact, I'm pretty sure I've seen this idea/discussion somewhere here before, perhaps in one of the other releases.

« Last Edit: August 13, 2011, 07:06:10 PM by JamminR »
"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: 6214
  • Karma: 394
  • Project Lead
Re: Prop delay
« Reply #2 on: August 14, 2011, 06:27:04 AM »
We actually had something like this in ULX v1 (for GM9). It's difficult to limit this in GM10 without affecting the duplicators, though.
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Prop delay
« Reply #3 on: August 14, 2011, 11:09:32 AM »
ASpam... it broke, but it did pretty much what you're asking for.  I may consider adding something to URS for this.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Prop delay
« Reply #4 on: August 14, 2011, 12:02:54 PM »
perhaps in one of the other releases.
ASpam... it broke, but it did pretty much what you're asking for.  I may consider adding something to URS for this.

Thought so.
Too many people posting here as of late aren't really searching, or at least, searching well, before asking questions and posting.
Happens every release I guess. Seems most Gmod users like to be spoon fed.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming