You are not logged in.
Pages: 1
I'm trying to find a way to reproduce the little menu you get at the end of a singleplayer campaign in a multiplayer Internet server. The information that really interests me is the accuracy of the player (HIT RATIO). I would like to reproduce that information on an Internet or LAN server. That would be especially useful for competitive gameplay, wars, 1v1. Could also be used to track down hackers, i.e., an infantry player with an accuracy of 100% is probably using an aimbot, etc.
Pic:
I found the corresponding nodes in the InGame meme file (a file which is found inside the menu.rfa of BF1942) but at this point I don't know if those only work for Singleplayer or if they can be adapted for Multiplayer (Internet). Basically, here's the code which I think relates to this:
dice::meme::BoolData -ext: Scoreboard/GameStatusEndGame
AND
dice::meme::BoolData -ext: Scoreboard/GameStatusSinglePlayer
The trick here is to make this data system work for multiplayer. Not sure if it would work or not due to BF1942 crappy network code, but it could be tried. tuia, any thoughts on this?
Last edited by Black Mamba (2017-01-03 22:23:00)
I tried to do this some time ago but all I got was CTD
Mind posting the code you used? Did you edit meme files or the BF1942.exe itself?
That is a very good idea. I think it is possible to collect these statistics, hit ratio, bullets fired, etc., but it is not a simple hack. It would involve reverse engineering some of the server code.
That is a very good idea. I think it is possible to collect these statistics, hit ratio, bullets fired, etc., but it is not a simple hack. It would involve reverse engineering some of the server code.
I was looking at the BF1942.exe with HxD yesterday and found some references to that HIT RATIO code, would you like to look at them tuia?
Haha thanks! Also in a few days i'm going to be starting a BF1942 let's play and make vids for many custom maps and mods
Hopefully this hit ratio on multiplayer will be possible
ziba128 wrote:I tried to do this some time ago but all I got was CTD
Mind posting the code you used? Did you edit meme files or the BF1942.exe itself?
I edited menu files but didn't save them because couldn't get anything
That is a very good idea. I think it is possible to collect these statistics, hit ratio, bullets fired, etc., but it is not a simple hack. It would involve reverse engineering some of the server code.
It could work for the whole match, but doubtfully for each player. But yeah it would be a nice feature.
Maybe it could be time to convert 42 content to Refractor Engine 2 ? Id do it if i had time the time.
Last edited by bud (2017-01-05 07:07:18)
That is a very good idea. I think it is possible to collect these statistics, hit ratio, bullets fired, etc., but it is not a simple hack. It would involve reverse engineering some of the server code.
Its been over a decade, what are y'all waiting for?
tuia wrote:That is a very good idea. I think it is possible to collect these statistics, hit ratio, bullets fired, etc., but it is not a simple hack. It would involve reverse engineering some of the server code.
Its been over a decade, what are y'all waiting for?
This crap is hard to do. Its not as simple as the 128 player server fix it seems.
It is not as easy as the 128 players change, for sure, which was just finding the instructions and changing a few bytes. This hit ratio can be done too client-sided, a small hack that counts the bullets you fired and the hits the server sent back that got registered, displaying it in a way like the console instruction "fps 1" does. Server-sided I think you'd have to create a counter variable for each weapon and every player, then probably collect those stats at end of round in game event logs. Just ideas without any research, though.
Black Mamba, I can't start reverse engineering BF1942 code until mid February, if things go according to plans, because this takes quite some time.
Pages: 1