Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 140
Search took 0.01 seconds.
Search: Posts Made By: Flynn
Forum: Scripting 10-25-2009, 04:29
Replies: 13
Views: 3,245
Posted By Flynn
Re: modifying sm_beacon

Most likely. I didn't have a lot of time (to modify or test), and I shouldn't really be on this forum (but I miss it!).
Forum: Scripting 10-25-2009, 04:23
Replies: 3
Views: 1,431
Posted By Flynn
Re: Play sound @ event

First post since a long time for me (been busy at Uni).

Firstly, drop the formality, everyone is friendly here and we aren't going to reprimand you for failure to match some sort of corporate...
Forum: Scripting 10-01-2009, 13:28
Replies: 7
Views: 1,784
Posted By Flynn
Re: if (killed by bomb)

Well, just setup an array of currently alive players on the bomb explosion, and then a timer after a matter of 0.5 seconds later to check who of the previously alive players died.
Forum: Scripting 10-01-2009, 13:22
Replies: 11
Views: 2,769
Posted By Flynn
Re: [L4D] Where is logical mistake?

I never said anything was wrong with his functions. Although you are using his function for a purpose not intended - it's designed to find the first instance of a given entity starting from -1 for a...
Forum: Scripting 10-01-2009, 03:14
Replies: 11
Views: 2,769
Posted By Flynn
Re: [L4D] Where is logical mistake?

As for the solution, you should not try to use hacky hacky cody buggy idea, but instead find the maximum number of entities and do a single pass (incrementing upwards) until your entity number is...
Forum: Scripting 10-01-2009, 03:01
Replies: 11
Views: 2,769
Posted By Flynn
Re: [L4D] Where is logical mistake?

You could run at the very least a standard debugging approach by printing out the two vectors and the given distance to figure out why.

Your uh, entity code is what I'd call 'highly bastardised'...
Forum: Scripting 10-01-2009, 02:31
Replies: 16
Views: 4,130
Posted By Flynn
Re: prevent damage.

Don't take this as a personal attack or anything (just trying to address a problem), but it strikes me a lot of events you use don't seem to fire. Are you sure you know how to correctly setup an...
Forum: Scripting 10-01-2009, 01:44
Replies: 1
Views: 739
Posted By Flynn
Re: DODS: Quick switching prevention?

Well, assuming there is a command/event for weapons switching and an event for firing...

//pseudo code

public OnSpawn()
{
if(GetClass(client) == X)
{
SwitchStopper[client] = true;
}
Forum: Scripting 10-01-2009, 01:35
Replies: 7
Views: 3,385
Posted By Flynn
Re: Force client to download/overwrite a file

One of several ways I know of:

1) Update the filename to reflect the version number (doesn't guarentee the file is 'okay' though)
2) Enforce pure 1, use the white-list to perform a crc_check on...
Forum: Scripting 09-28-2009, 23:34
Replies: 6
Views: 3,325
Posted By Flynn
Re: Voteban,votekick,votemap error!

Be sure to check the 'compiled' folder under sourcemod.
Forum: Scripting 09-28-2009, 23:29
Replies: 7
Views: 1,784
Posted By Flynn
Re: if (killed by bomb)

Now my head is screwed on, is there a bomb event (aha lateral thinking) that is called by the bomb? When it occurs, have it check for any deaths within a given timeframe.

For example (Pseudo Code...
Forum: Scripting 09-28-2009, 23:12
Replies: 19
Views: 4,890
Posted By Flynn
Re: Pick Random Player

Depends on context when you do it. I had several similar things (but for random weapons spawning within a given list) and punishing a random player when a team refused to stop camping.

I would...
Forum: Scripting 09-26-2009, 15:27
Replies: 7
Views: 1,784
Posted By Flynn
Re: if (killed by bomb)

You have to get the name of the weapon that causes the death. If you are unsure what weapon the explosion if, use a printtochatall function to print out the weapon that caused the death.

I'm...
Forum: Scripting 09-26-2009, 15:15
Replies: 13
Views: 3,524
Posted By Flynn
Re: File Help

Not a very helpful comment if you're a coder with not a lot of knowledge of how file operations work (which is more likely than not if you're modding). I personally knew little about it until...
Forum: Scripting 09-25-2009, 12:19
Replies: 13
Views: 3,524
Posted By Flynn
Re: File Help

That is not how file storage works.

All information is written as data that's assigned within specific allocated space; you can always get more space (by referencing to new sectors etc), but you...
Forum: Scripting 09-24-2009, 05:32
Replies: 9
Views: 2,092
Posted By Flynn
Re: Client-side file check??

sv_pure 1, but force everything on the whitelist to comply to the crc_check. This will be a bitch for server resources (recalculates on each new map).

PunkBuster employs a similar method but it...
Forum: Scripting 09-24-2009, 05:24
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Seems awkward. I'd probably have to blow up my brain drawing a hypothetical scenario on a peice of paper of 2D space and trying to work out how, if I was X object, how I would move (or be expected to...
Forum: Scripting 09-24-2009, 05:01
Replies: 19
Views: 8,198
Posted By Flynn
Re: Sourcemod Anti Aimbot Plugin for DoD:S COMPLETED

Lucky enough to get banned for that. :mrgreen:

I'd probably ban for that myself if I had half-a-chance (stuff an auto-banner). They can go get 'lucky' somewhere else.

Side-Note: Luck is where...
Forum: Scripting 09-24-2009, 04:55
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Those kinds of theories make my eyes glass over. Besides I'm sure density of the matter would be involved (probably in the process of the ...
{
Hold on a minute. Light is apparently 'massless'? So...
Forum: Scripting 09-23-2009, 09:00
Replies: 19
Views: 8,198
Posted By Flynn
Re: Sourcemod Anti Aimbot Plugin for DoD:S COMPLETED

Academic Research, my one bane!

I suppose, but I was more thinking a context sensitive system; one that takes into account weapon type, distance from target, level of potential accuracy etc. If...
Forum: Scripting 09-23-2009, 08:28
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Sorry, I should have provided context. Space.

Typically all objects have a continuous although very very very slight gravitation pull at a distance (apparently far away black holes have the same...
Forum: Scripting 09-23-2009, 01:05
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Yeah. Useful for brute force hacking or paranoid re-arrangements of words to look for hidden meanings (I would love it for both).


A physics thing I wrestled with (but with far more expanded...
Forum: Scripting 09-23-2009, 00:56
Replies: 13
Views: 3,245
Posted By Flynn
Re: modifying sm_beacon

You're compiling beacon.sp. You need to Compile funcommands.sp (which incorporates beacon.sp into it).
Forum: Scripting 09-22-2009, 20:47
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Aye, and that is why the StringSwapper hack works - it's abusing that logic.


Which would be an issue with typecasting (MSVC is known for making complaints about 'security' of string copiers...
Forum: Scripting 09-22-2009, 18:23
Replies: 44
Views: 8,522
Posted By Flynn
Re: String manipulation fun!

Thats because the storing variable is an int. If you had c as a bool, it's actually still only '1'.

Besides, 8bits are required for address referencing; that is not to say the -storage- that the...
Showing results 1 to 25 of 140

 
Forum Jump

All times are GMT -4. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode