This member has provided no bio about themself...

Comment History  (0 - 30 of 62)
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

FFOLKES unlock mod has nothing to do with BF2142Unlocker. It has a different approach and I'm not the creator nor do I support it.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

I've consulted with some guys, as I remembered a talk about this issue.
It seems that the antialiasing setting is causing the bug, but I cannot remember why anymore (I think it has something to do with a bugfix of directx .. dunno).
Try to set the antialiasing video setting to off.
Please report if it helped.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

You need to download those custom maps, since ea/dice only made a view 16 coop maps.
Single maps you can find for example here: Bf-games.net
Or you can download this mappack: Bf-games.net

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Is your game patched to version 1.51 (it's only working with the latest patch)? If yes, could you try to remove the BF2142Patched.exe and retry launching the game via unlocker.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

On some PC's Battlefield 2142 has problems to start (also without the unlocker). I currently didn't find a solution also as I read ea didn't. Usually the game should run by clicking on Singleplayer, so no need to run the BF2142Patched.exe manually (also it requires the servers to login which are started by clicking on Singleplayer).

Does the game start without the unlocker, by starting the original BF2142.exe?

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Hmm.. Thank you for your reply.
Could you please send me/upload your profile folder before using the unlocker (when it worked) and the profile folder after using the unlocker (when it's broken)?
This would be very helpful for me.

EDIT: Maybe then I get it managed to fix this for version 0.9.7 and can help you before the next release is out.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

This is a problem I heard now two or three times (or more often, dunno). I never investigated that issue since it's not caused by the unlocker, but since this is happening more often and of the reason that i want to prepare the game that it works at each user, I'm going to investigate that issue when I've time for it.
Currently I can just say, you should use google.
If this just happens with the unlocker please let me know.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

I submitted the suspicious file to microsoft and they removed it from their trojan definitions. After a windows defender update this file is no longer treated as trojan.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

I submitted the suspicious file to microsoft and they removed it from their trojan definitions. After a windows defender update this file is no longer treated as trojan.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

When there are no tickets or some strange behavior in game then your python script isn't correct or you're getting runtime errors.
Add the code bellow the "onGameStatusChanged" function and tab the code bellow the if statement in that it fits (have a look at my link above, but don't add this function twice, just merge it). On moddb I cannot add leading whitespaces/tabs (it's removed automatically).

Let me know if it works.

EDIT:
I created a screenshot (of gpm_coop.py): Ibb.co

EDIT2:
Of course you can do this much more cleaner with an elif..

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Yes, it allows you to play offline/in lan. Have a look at the comment above regarding to the trojan message.

The only solution currently is to whitelist the folder:
Support.microsoft.com

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

The reason is the programming language I'm using. It's a false positive message you're getting from antiviruses.
I workarounded it for the next release but it's not a solution.

The current issue about those false positives: Github.com

My comment at this issue: Github.com

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Well, I fixed this for the next release. With the current version (0.9.6) it's not fixed.
But you can edit the gpm_coop.py (location: mods\bf2142\python\game\gamemodes\) script and add the following code to the function onGameStatusChanged:

if status == bf2.GameStatus.PreGame:
# Prevents bots from using sentry drone (detonator)
host.rcon_invoke("ObjectTemplate.activeSafe GenericFireArm Unl_Drone_Sentry_Detonator")
host.rcon_invoke("ObjectTemplate.aiTemplate \"\"")

This will modify all kit's for bots to not use the Detonator of sentry drones. You can edit this in the kits file itself too (remove the aiTemplate line), but then you'll maybe get modified content kicks when playing online.

Edit: Moddb is striping my whitespaces.. Here's my python file which I'm going to load in coop games: Github.com

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Hmm.. I never heard about such an behavior. I know that Battlefield 2142 can stuck in a black screen when it's not able to connect to the servers, but never heard about a flashing black screen.
But since it crashes maybe it's because of game resolution or refresh rate? I'm not sure.
Could you try to run the game in windowed mode (there's a setting in "Settings" tab) and see if it works?

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Hi,
which Host folder are you talking about? What do you want to do? I don't get it.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Thank you for your kind words.
Regarding to the crash on Windows 7, I never tested it on windows 7 for a long time and always only in a virutal machine.
I'll retest it for next release.
Maybe your crash was just this time. I implemented a parser that parses the server console output to show which map is running, but it's more an alpha parser (not that stable).
I recognized a crash too back the days, but I'm not sure on which version this happened.

Could you be so kind and create an issue on (or at least put the whole crashreport here as reply): Github.com

And put in the whole crashreport you can find in: BF2142Unlocker\bin\log\

There is an error.log for handled errors and if it's an unhandled exception/crash, there will be for each crash a separate file with a date suffix.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Read the instructions above (summary). Click on "Read more".

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Hi,
could you try to set the ip address to "0.0.0.0" in Host tab?
If the game server cannot bind to the ip address you've passed there it will fail to load. Your description describes this behavior.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Hi,
could you try to set the ip address to "0.0.0.0" in Host tab?
If the game server cannot bind to the ip address you've passed there it will fail to load. Your description describes this behavior.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Thank you for your kind words!

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

I don't know if this solves your problem but another user got a permission problem. I currently don't know how it happened, but can try the following:
* Close BF2142Unlocker and running game
* Delete BF2142Patched.exe in the Battlefield 2142 installation folder
* Retry

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

I opened an issue to build it as 32 bit too since you're the first person that needs it.
Github.com

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Hi,
have you patched the game to version 1.51?

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Answered two posts bellow.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Answered one post bellow.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Please read the answer above. In the Github issue you'll see what maybe is the reason and if you don't want to put effort into it there's also a workaround.

But I'll be so kind and put it in here too, since i don't like links to something that could be down some day (I don't think it will go down). But for safety I'll do some redundancy.

-------------------------------------------------------------

Well, this means that the client cannot reach one or all 3 servers the unlocker is hosting on the other PC (I disabled the checks if the servers are reachable in this version, since it wasn't asynchronous and not worked well on linux). One problem could be that windows firewall is blocking incoming data on those ports. You could check this and open those ports that are shown in the terminal output and check if it's working then.

Workaround:
A workaround you could try (if you play in LAN), is to click on Singleplayer on both PC's. The game should start as usual and you should see the the LAN game in the menu after one of your PC's hosted one. The only difference you have then, is that both clients are hosting and communicating with their own login and unlock servers. If you still do not see the game server (which shouldn't happen) you can connect in game via Multiplayer -> Advanced -> Connect to IP.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

Well, it seems you're the same who opened the issue on Github. f not, it's the same question. I answered you there.
Github.com

Edit:
I put in the same answer bellow on callmeyoyo's message. If you're the person who opened the issue please respond on github.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker v0.9.6 windows

Hi,
I never built a 32 bit release but this should be possible. Also I never built it for Windows XP (and 32 bit) and don't know if I need to change something to get it work with windows XP.
Supporting Windows XP (32 bit) is also not on my plan. Maybe in future, but I've more important features I want to implement and fix bugs.

Good karma+1 vote
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

This was already discussed privately. I've fixed this issue with the next release.

Good karma+2 votes
Dankrad
Dankrad - - 62 comments @ BF2142Unlocker

This is normal. The unlocker checks if servers are reachable. What did happen after afterwards? Didn't Battlefield 2142 start.

Good karma+1 vote