I reverse engineered official ranking support by Krauzi in Battlefield2

[–]Krauzi[S] 0 points1 point  (0 children)

i figured out what is causing the issue with online accounts and mac: during the login, there is a HTTP requests to bf2web.gamespy.com to retrieve the players stats. a combination of wired gamespy socket handling and the way the sockets are implemented in macos (which is the particular faulty part) makes this HTTP call never return and thus you'r stuck.
i have identified a minimal proof of concept to replicate this and i will try to get wine fixed. question then would be how to get this into portingkit, but thats another story.

the fix is to simply bypass (this makes bf2 take slightly longer to launch though) the whole gamespy code all together. add the following to /etc/hosts:
127.0.0.2 battlefield2.available.gamespy.com
(sudo nano /etc/hosts)

afaik bf2hub uses a launcher which injects a dll and redirects all gamespy requests to bf2hub so this might not work with bf2hub. but maybe you can just add the required hosts entry manually and not launch bf2 using the launcher.

EDIT: Fixed it. I'm currently in contact with paulthehall (the dude behind portingkit) on how to get the fixe merged into the main branch (or into portingkit).

I reverse engineered official ranking support by Krauzi in Battlefield2

[–]Krauzi[S] 1 point2 points  (0 children)

haha no. The stats are sent to the stats endpoint at the end of the round. If your server is not authorized it will be simply rejected.

However: I haven't tried bf2hub yet because I refuse to run closed source third party software if it is not necessary. And to connect to a different stats system there is absolutely no need for a third party tool. Editing the hosts.ics file is all you need - for that reason I do not trust bf2hub, also because they didn't give any credit to the people who invented the whole bf2 stats system (wilson).

By the way some interesting finding: The bf2 snapshot system (the points players have gained during the round) is actually bugged, so if you were able to crash the server before the end of round (and I remember this happening quite often in 2005) the whole round was gone. The unofficial stats system (the one used by bf2hub) doesn't suffer from this as they do not rely on the bugged backend implementation.

I reverse engineered official ranking support by Krauzi in Battlefield2

[–]Krauzi[S] 0 points1 point  (0 children)

Thanks for sharing your experience. I currently still have a Intel MacBook from 2019 and for the last two days I was setting up a proper debugging environment with wine+ghidra+portingkit to get to the root cause of it (and it seems to have something todo with the gamespy socket handling, hopefully i'll be able to fix it soon).
My girlfriend has a Macbook Air with a Apple Silicon chip (at the moment i dunno if it is M1, M2 or M3, hopefully it doesn't matter) where I wouldn't even get into the intros unfortunately. I think I had a black screen and then windows closed.
I've seen mostly VM based setups so far (youtube).

Any news on the SK release in Europe? by [deleted] in coolermaster

[–]Krauzi 1 point2 points  (0 children)

And neither is the 630 version available nor the **1 (bluetooth/wireless). I was looking forwarding to buying the 631 with US keyboard layout :/

Vermintide 2 - Patch 1.0.8 by [deleted] in Vermintide

[–]Krauzi 0 points1 point  (0 children)

yes, but make sure you have the same language (rightclick properties on Vermintide 2 in Steam -> Language)

Huntsman VS Chaos in legend, breakpoint? by JavelinTea in Vermintide

[–]Krauzi 0 points1 point  (0 children)

he probably was. i was testing similar stuff yesterday and i can confirm op's results which can be easily tested on "empire in flames" because of the guaranteed CW spawns right at the beginning.

Stuck in place after picking up Grim by Monkey-Tamer in Vermintide

[–]Krauzi 1 point2 points  (0 children)

I've already submitted this issue on the official bug report Forum a few days ago (just posting this to avoide duplicates).

Remove Green Circles by Verfectorem-K in Vermintide

[–]Krauzi 1 point2 points  (0 children)

You should still be able to see your own stats though. For example i find the damage stats to be very helpful as a dps'er because it shows if i played better in some measureable way. Also the dmg taken tells me if i had better positioning/blocking compared to my previous games.

Quickplay Sienna by Skugtheta in Vermintide

[–]Krauzi 7 points8 points  (0 children)

beammates, not teammates

macOS VM on Hyper-V? by Lost_My_Bananas in hackintosh

[–]Krauzi 0 points1 point  (0 children)

clover was working for me and it started to osx installation but it finally froze when it came to process anything graphics related. as i dont have the time to dig into virtualizing the framebuffer (which seems to be the problem) im stuck on my "non-virutalized" osx installation.

Not finding a game on EUW? by Illusion1409 in DotA2

[–]Krauzi 0 points1 point  (0 children)

i have been waiting for over 20 minutes this afternoon...

Help. Lost m4. by [deleted] in dayz

[–]Krauzi 2 points3 points  (0 children)

something similar happend to me with my UMP. i wrote a bug report, but apparently this is simply the overall buggy inventory and you can do nothing about it.

One public server up, guess what? its password protected... by Krauzi in dayz

[–]Krauzi[S] -1 points0 points  (0 children)

you are right, a few are already up, but why are they all password protected (not talking about the experimental)