project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Bugs
12 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Bugs If you find a bug within PR:BF2 (including PRSP), please report it here.

Reply
 
Thread Tools Display Modes
Old 2015-02-04, 07:46   #21
K4on
Retired PR Developer
Supporting Member

K4on's Avatar
Default Re: Hit detection once more.

we all know the bf2 netsettings are quite old and not optimized for 100 players.






the ridiculous stuff mostly happens if the server-client connection has some serious packet loss or bad netsettings on clientside. it sometimes happen for me on our euro servers, but obviously not as often as you NA/SA guys describe it.

maybe you should tweak your netsettings abit and adjust it to your servers you play on?
PR usersettings.con can be found here: Battlefield 2\mods\pr\settings

useful how to's:
BF2 Tweaking - GC_Wiki

takes a bit until you found the best settings for yourself (some people say it doesnt work anymore since 1.4/1.5) but if it helped/works anyway, please let us know!

cheers

K4on is offline
Last edited by K4on; 2015-02-04 at 08:53..
Reply With Quote
Old 2015-02-04, 09:00   #22
Roque_THE_GAMER

Roque_THE_GAMER's Avatar
Default Re: Hit detection once more.

Quote:
Originally Posted by [R-DEV]K4on View Post
we all know the bf2 netsettings are quite old and not optimized for 100 players.






the ridiculous stuff mostly happens if the server-client connection has some serious packet loss or bad netsettings on clientside. it sometimes happen for me on our euro servers, but obviously not as often as you NA/SA guys describe it.

maybe you should tweak your netsettings abit and adjust it to your servers you play on?
PR usersettings.con can be found here: Battlefield 2\mods\pr\settings

useful how to's:
BF2 Tweaking - GC_Wiki

takes a bit until you found the best settings for yourself (some people say it doesnt work anymore since 1.4/1.5) but if it helped/works anyway, please let us know!

cheers
i remember that, after the 1.3 the punk buster now do the lag compensation automatically.
Roque_THE_GAMER is offline Reply With Quote
Old 2015-02-04, 10:57   #23
K4on
Retired PR Developer
Supporting Member

K4on's Avatar
Default Re: Hit detection once more.

Punkbuster is deactived on probably all servers since PR 1.0, so you could go with that config for example:
SettingsManager.boolSet GSClPunkBuster 0, but don't know if that's a criterion?
But yeah, apart of the net settings I'm honestly out of ideas here.

K4on is offline Reply With Quote
Old 2015-02-04, 11:07   #24
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Hit detection once more.

These are the formulas the BF2 HitFixer used for the variables K4on posted:
Code:
Based off EA's default settings, there is a simple ratio to the three settings
    * The Latency Compensation is set to your ping / 1000
    * The Extrapolation is set to your (5.5 * Ping) + 489)
    * The Interpolation is set to your ping (no changes)
Not sure if they help.
Mats391 is offline Reply With Quote
Old 2015-02-04, 11:09   #25
Roque_THE_GAMER

Roque_THE_GAMER's Avatar
Default Re: Hit detection once more.

Quote:
Originally Posted by [R-DEV]K4on View Post
Punkbuster is deactived on probably all servers since PR 1.0, so you could go with that config for example:
SettingsManager.boolSet GSClPunkBuster 0, but don't know if that's a criterion?
But yeah, apart of the net settings I'm honestly out of ideas here.
i typed that on my console in game and nothing happens, and i go Alt+tab and kill the Punkbuster A process and i did not find the B, i played a full round with this in the Free candy van server with no problems.
Roque_THE_GAMER is offline Reply With Quote
Old 2015-02-04, 11:43   #26
K4on
Retired PR Developer
Supporting Member

K4on's Avatar
Default Re: Hit detection once more.

Before you launch PR, try do change this in your \mods\pr\settings\Usersettings.con
This is my current config (my ping ~45ms [+ 20ms for the values], similar calculated to what mats said above):

rem
rem Settingsfile automatically saved by bf2
rem
SettingsManager.boolSet GSClPunkBuster 0
SettingsManager.floatSet GSDefaultLatencyCompensation 0.065000
SettingsManager.boolSet GSExtrapolateFrame 0
SettingsManager.U32Set GSExtrapolationTime 750
SettingsManager.U32Set GSInterpolationTime 65
SettingsManager.U32Set GSPerfLogAtPlayerCount 99
SettingsManager.stringSet GSPlayerName "K4on"
SettingsManager.boolSet GSShowNetGraph 0
SettingsManager.boolSet GSUseObjectCache 1

but yeah, as described here for me everything is fine when I play on euro servers, so I don't know if changing those settings still makes a difference or not.

Someone could check that by taking insane values and see if he still hits stuff.

K4on is offline Reply With Quote
Old 2015-02-04, 12:00   #27
Roque_THE_GAMER

Roque_THE_GAMER's Avatar
Default Re: Hit detection once more.

Quote:
Originally Posted by [R-DEV]K4on View Post
Before you launch PR, try do change this in your \mods\pr\settings\Usersettings.con
This is my current config (my ping ~45ms [+ 20ms for the values], similar calculated to what mats said above):

rem
rem Settingsfile automatically saved by bf2
rem
SettingsManager.boolSet GSClPunkBuster 0
SettingsManager.floatSet GSDefaultLatencyCompensation 0.065000
SettingsManager.boolSet GSExtrapolateFrame 0
SettingsManager.U32Set GSExtrapolationTime 750
SettingsManager.U32Set GSInterpolationTime 65
SettingsManager.U32Set GSPerfLogAtPlayerCount 99
SettingsManager.stringSet GSPlayerName "K4on"
SettingsManager.boolSet GSShowNetGraph 0
SettingsManager.boolSet GSUseObjectCache 1

but yeah, as described here for me everything is fine when I play on euro servers, so I don't know if changing those settings still makes a difference or not.

Someone could check that by taking insane values and see if he still hits stuff.
its seems clear to me that the server does not have PB on by default, what did you guys did after 1.2 or 1.1 to consider that?
Roque_THE_GAMER is offline Reply With Quote
Old 2015-02-04, 13:49   #28
K4on
Retired PR Developer
Supporting Member

K4on's Avatar
Default Re: Hit detection once more.

Apart of serveral issues with PRs own 100p code and Punkbuster, PB only supported up to 64 players/server.
Hence why it was removed with 1.0 release IIRC.

K4on is offline Reply With Quote
Old 2015-02-04, 17:11   #29
Danesh_italiano
Supporting Member
PR Server License Administrator
Default Re: Hit detection once more.



In the first part of the shooting, on my screen, I hit ALL the shots, including i see blood flown in ALL the shots. There even thinking it was some new Cheat of invincibility...

After 1 minute have happened this, i was examining if have a problem with the server.
Server Machine:
CPU: 20% used
RAM: 40% used
HD: 3%
Ping:
First Player: Danesh_italaliano(ME): 25ms - estable and no packetloss
Second Player: Other_guy: 10ms - estable and no packetloss

Bijar Canyons SKIRMISH - 36 Players

I only know that I know nothing. Só sei que nada sei. Sólo sé que no sé nada. So solo di non sapere nulla. Tantum scio me nihil scire. Je sais seulement que je ne sais rien. Tiedän vain, etten tiedä mitään. Ich weiss nur dass ich nichts weiss. Ek weet net dat ek niks weet nie. Wiem tylko, ?e nic nie wiem. Heoi ko ahau anake e mohio ana kahore au e mohio. Ngiyazi kuphela ukuthi angazi lutho.
Danesh_italiano is offline Reply With Quote
Old 2015-02-04, 21:06   #30
Unarmed Civilian
Exclamation Re: Hit detection once more.

Punkbuster has been disabled... That means the game is running with no anti-cheating software...?
Unarmed Civilian is offline Reply With Quote
Reply


Tags
detection, hit

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



All times are GMT. The time now is 18:23.