Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > General Modding Discussion

Reply
Click here to go to the first Dev post in this thread.  
Thread Tools Display Modes
  #1  
Old 07-14-2009, 05:25 AM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default KFAntiBlocker - Disables player-to-player collision during trader time

Warning: TWI have updated the whitelist to remove the old version of this mutator and add the new. Please install the new version if you want to use perks.

11 June 2010
Updated to version 1.1 which improves responsiveness and efficiency, and also does not require the client to download the mutator file.


KFAntiBlocker (Whitelisted)

Download it here.

Ignore the discussion below, TWI have since approved this mutator.
Attached Files
File Type: zip KFAntiBlocker_1.1.zip (2.2 KB, 10706 views)

Last edited by Benjamin; 06-30-2010 at 07:15 AM.
Reply With Quote
  #2  
Old 07-14-2009, 09:22 AM
SgtStress SgtStress is offline
Senior Member
 
Join Date: May 2009
Posts: 178
Default

Nice work
Reply With Quote
  #3  
Old 07-14-2009, 09:26 AM
MFree MFree is offline
Junior Member
 
Join Date: Jun 2009
Posts: 11
Default

Thumbsup sir!
Reply With Quote
  #4  
Old 07-14-2009, 09:35 AM
Soanos Soanos is offline
Senior Member
 
Join Date: Jul 2009
Location: Finland
Posts: 492
Default

Fantastic. I was hoping for something like this to be created.

Only one problem I can see. If people are inside one another, how can you give money to specific player?

Great work, though.

Two thumbs up!
Reply With Quote
  #5  
Old 07-14-2009, 10:05 AM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

Quote:
If people are inside one another, how can you give money to specific player?
Move outside the trader? It's the same deal currently, if the place is too crowded you can't move around and thus you can't really choose who you give money to, and if you are too close to someone it just goes straight through them.
Reply With Quote
  Click here to go to the next developer post in this thread.   #6  
Old 07-14-2009, 12:24 PM
Yoshiro's Avatar
Yoshiro Yoshiro is online now
In Soviet Russia, Yoshiro is a cake
 
Join Date: Oct 2005
Posts: 9,505
Default

Passed this one up the list for white listing. Please make sure Xienen can have a copy of your code.
__________________

Pretty, what do we blow up first? - Myn Donos
Reply With Quote
  #7  
Old 07-14-2009, 01:13 PM
Bronzen Bronzen is offline
Senior Member
 
Join Date: Jun 2009
Posts: 127
Default

YAY!!! Go Ben!!!!
__________________

Reply With Quote
  #8  
Old 07-14-2009, 01:17 PM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

Thanks, I've sent him a PM.
Reply With Quote
  Click here to go to the next developer post in this thread.   #9  
Old 07-14-2009, 01:33 PM
Xienen's Avatar
Xienen Xienen is offline
Tripwire Alumni and Break Blocks Owner
 
Join Date: Mar 2007
Posts: 1,678
Default

Looks good guys, let me make sure Ramm has no problem with White Listing it and it'll go into the next White List update.
Reply With Quote
  #10  
Old 07-14-2009, 01:36 PM
Bronzen Bronzen is offline
Senior Member
 
Join Date: Jun 2009
Posts: 127
Default

B$%&#in......you know the word.
__________________

Reply With Quote
  #11  
Old 07-17-2009, 12:50 PM
rallfo rallfo is offline
Senior Member
 
Join Date: Jun 2009
Posts: 188
Default

But bBlockActors does not simply control collision with other players but BlockingVolumes, Ladders, DestroyableMeshes and other level apparatus that may lead to problems / exploits...
Reply With Quote
  #12  
Old 07-17-2009, 01:43 PM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

Dammit, that's a good point...

However, care to give some specific examples?

Last edited by Benjamin; 07-17-2009 at 01:49 PM.
Reply With Quote
  #13  
Old 07-17-2009, 02:43 PM
zYnthetic's Avatar
zYnthetic zYnthetic is offline
Senior Member
 
Join Date: Mar 2009
Location: Hotlanta
Posts: 862
Default

Walk out of the playing area in any map really. I haven't check myself but if players no longer collide blocking volumes and/or ladders (meshes) in many cases that's all that's keeping players in that map at certain points.
Reply With Quote
  #14  
Old 07-17-2009, 02:50 PM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

That's what I thought, but I've just tested some maps and I haven't been able to get out of them. Perhaps I don't fully understand, I'm very new to all of this.

Either way I think I may have an alternative solution, but I'll see how it goes.

Last edited by Benjamin; 07-17-2009 at 02:53 PM.
Reply With Quote
  #15  
Old 07-17-2009, 08:11 PM
rallfo rallfo is offline
Senior Member
 
Join Date: Jun 2009
Posts: 188
Default

Example: Westlondon all the zombie spawn ramps become climbable, various glitches like the gate one that were solved by blocking volumes become active again...

Some sort of bBlockOtherPlayers will need to be implemented at the engine level by TWI because when you dig down through all the unrealscript layers blocking behaviour is actually implemented in this native C++ function:

Code:
virtual UBOOL ShouldTrace(AActor *SourceActor, DWORD TraceFlags);
Which neither modder nor mutator can touch.

In the meantime this mutator is unfortunately not really safe to be used and its white-listing potentially opens up levelling exploits.

EDIT:
Seeing as it could be easier for the devs to implement perhaps ALL player-player collision should just simply be removed like it is in many other online games (bullet/projectiles/money and other actors would obviously still collide with players).

As I see it all it does is cause this problem and some exploits involving jumping on other players heads.

At any rate I really think what this mutator attempts to implement is an extremely necessary feature that should be made possible asap.

Last edited by rallfo; 07-17-2009 at 10:18 PM.
Reply With Quote
  #16  
Old 07-18-2009, 01:28 AM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

Quote:
Example: Westlondon all the zombie spawn ramps become climbable, various glitches like the gate one that were solved by blocking volumes become active again...
Are you sure this applies to those that are part of the map? I haven't been able to use that gate glitch or get out of any map yet, though maybe I'm looking for the wrong areas to try to get out of.

Oh well, thanks for the information. Previously I had thought that it would have to be implemented at engine-level, then I thought that perhaps bBlockActors could be used for this purpose. Shame.
Reply With Quote
  #17  
Old 07-18-2009, 01:56 AM
rallfo rallfo is offline
Senior Member
 
Join Date: Jun 2009
Posts: 188
Default

Unfortunately I am 100% sure, having in fact tried it out myself (singleplayer + fly is a good way to test collision) and having a rudimentary understanding of how UE2 works in this regard.

From the docs:
Quote:
bool bBlockActors
Blocks other actors that also have bBlockActors set. The two actors will not be permitted to occupy the same space, and if the location of one is changed such that it would overlap with another blocking actor, the first (the one that just moved) will be moved to the nearest valid location by the engine. This defaults to false.
The key word in there is ACTOR. Nowhere is pawn/player mentioned, and in fact it could not be, given this is a property of Actor not of Pawn.

In case you weren't aware this is the base class of ALL objects in the game world and therefore include ladders, blockingvolumes and everything else by definition.

Essentially the game engine does not support specifically setting player vs player collision at this stage, hence my previous post calling for TWI to add it.

EDIT:
Don't get me wrong it's a real shame your solution doesn't work perfectly, if anything I'd want it to work more than you! (imagine 32 players in an undersized trader) But a solution to a problem can't go creating more...

On consideration a more refined reproach would be to only disable collision if a player is penetrating/touching the Trader volume, which would mitigate this issue outside the trader, but then there is still the issue of the blocking volumes used to stop players climbing behind the counter and getting stuck.

Best solution is if TWI added a flag to KFHumanPawn setting whether it collides with other ones or not.

Last edited by rallfo; 07-18-2009 at 08:29 AM.
Reply With Quote
  #18  
Old 07-18-2009, 08:26 AM
rallfo rallfo is offline
Senior Member
 
Join Date: Jun 2009
Posts: 188
Default

It gives me no pleasure being the bringer of bad news that causes you to have to remove this for the time being, especially something I would have loved to use on my own server, thanks for doing the right thing and showing great responsibility.

In line with your decision TWI should be informed of what they need to implement engine-side and asked to remove this version of the mutator from the whitelist.

Last edited by rallfo; 07-18-2009 at 08:27 AM.
Reply With Quote
  #19  
Old 07-18-2009, 10:11 AM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,576
Default

Haha it's ok, I'm very grateful you've pointed out this flaw to me. I would not have liked to be the one who inadvertently opened up another avenue for exploiting.

I did think I had a possible workaround but upon further thought it wouldn't really be possible. UnrealScript is confusing! It's great though at the same time, and I'm glad to have started getting into it.

I've PM'd a dev about this now, and the request.
Reply With Quote
  #20  
Old 07-18-2009, 03:27 PM
zYnthetic's Avatar
zYnthetic zYnthetic is offline
Senior Member
 
Join Date: Mar 2009
Location: Hotlanta
Posts: 862
Default

Instead of removing collision you could shrink the collision cylinder to a very small radius. Should be enough to allow players to walk through eachother but not blocking volumes.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2005 - 2014, Tripwire Interactive, LLC