Can't join server with VPN (Memory.dll error)

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
deathbyturtle
Posts: 10
Joined: 2010-12-09 20:32

Can't join server with VPN (Memory.dll error)

Post by deathbyturtle »

I get a memory.dll deallocating error whenever I try to join a server while on my VPN. I'm using OpenVPN. I can join any server when not on my VPN but it is annoying to turn my VPN off just for a game.

Also using the steam version of BF2 and the steam no-server .exe fix.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Can't join server with VPN (Memory.dll error)

Post by MaSSive »

How exactly are you using VPN while gaming - explain that part please, and post your OS version and type and PC specs. Also in what moment or map does this error happen. Wifi or not.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
deathbyturtle
Posts: 10
Joined: 2010-12-09 20:32

Re: Can't join server with VPN (Memory.dll error)

Post by deathbyturtle »

My specs
Belarc Advisor Computer Profile

Video of error
Project Reality - Memory Deallocating error - YouTube

I connect to my VPN through OpenVPN which runs and is located in my toolbar.
Image

BF2 and BF3 are the only games that have a problem with my VPN. All the other games work justfine. I can't really explain much about how I connect to the VPN as I am not networking literate. OpenVPN prompts me to enter username and password and I connect. OpenVPN also requires config files to be downloaded for it. I could show you those if you wish. Well, I'm paying for a VPN service that utilizes OpenVPN.

It happens with every map, every server. I am directly connected with a cat 5 cable to my router which is connected to the modem. I am not using wifi right now because my wireless internet card that I plug into the motherboard has broken.
Last edited by deathbyturtle on 2012-01-14 05:57, edited 4 times in total.
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: Can't join server with VPN (Memory.dll error)

Post by rushn »

dont you have to change network connection to a internet to get off VPN?
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Can't join server with VPN (Memory.dll error)

Post by LITOralis.nMd »

Have you ever gotten BF2 to work with the VPN?
Can you play vanilla BF2 with your VPN?
Have you ever installed any hacks?

This memory leak was caused by the 1.5 patch, and afaik was never fixed by EA.

Here are some wild arsed guesses since we don't have a memory dump file...

Inside steam, go to Library, left column select BF2 with Right Click, select Properties, Select Updates tab, For automatic Updates, make sure it's set to "Always Keep this Game up to date".

you got a memory leak there and it's most likely caused by punkbuster.

if there's been any hax installed on the PC previously then this could be the cause


do a manual update of punkbuster.
run PBWEB.EXE from PunkBuster Online Countermeasures (don't know if this is current- you might need to google where the current PB update is)

check is that the game is being run as administrator (run game), .. runas admin and in XP compatibility mode (run game).

1.clear,delete your BF2 cache
C:\Users\"username"\Documents\Battlefield 2\mods\bf2\cache
or C:\MyDocuments\Battlefield 2\mods\bf2\cache
try game.

2.reset your pagefile (mycomputer rightclick-properties adv,systemsetting,performance,advance,virtual memory- set the virtual memory size to "set by system"
retick the set pagefile system size & apply reboot)

3.defrag your pagefile (page/reg/defrag prog) (try game)

--------------
deathbyturtle
Posts: 10
Joined: 2010-12-09 20:32

Re: Can't join server with VPN (Memory.dll error)

Post by deathbyturtle »

'[R-COM wrote:LITOralis.nMd;1719480']Have you ever gotten BF2 to work with the VPN? No
Can you play vanilla BF2 with your VPN? No
Have you ever installed any hacks? No

This memory leak was caused by the 1.5 patch, and afaik was never fixed by EA.

Here are some wild arsed guesses since we don't have a memory dump file...

Inside steam, go to Library, left column select BF2 with Right Click, select Properties, Select Updates tab, For automatic Updates, make sure it's set to "Always Keep this Game up to date". It was already set to this

you got a memory leak there and it's most likely caused by punkbuster.

if there's been any hax installed on the PC previously then this could be the cause
Never used any before

do a manual update of punkbuster.
run PBWEB.EXE from PunkBuster Online Countermeasures (don't know if this is current- you might need to google where the current PB update is) PBWEB has been discontinued, I believe I have manually patched the game's PB files.

check is that the game is being run as administrator (run game), .. runas admin and in XP compatibility mode (run game). Okay

1.clear,delete your BF2 cache
C:\Users"username"\Documents\Battlefield 2\mods\bf2\cache
or C:\MyDocuments\Battlefield 2\mods\bf2\cache
try game. Same error as before

2.reset your pagefile (mycomputer rightclick-properties adv,systemsetting,performance,advance,virtual memory- set the virtual memory size to "set by system"
retick the set pagefile system size & apply reboot) I'll be back once my computer restarts. It says the same error as before but it is now 1388

3.defrag your pagefile (page/reg/defrag prog) (try game) No idea how, would a full system defrag accomplish that?

--------------
Still is not working. Currently defragging.
Last edited by deathbyturtle on 2012-01-14 14:57, edited 2 times in total.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: Can't join server with VPN (Memory.dll error)

Post by MaSSive »

Actually do not run it in compatibility mode for XP. That will cause memory leaks and errors. If you got that checked remove it.

Make sure to follow all the steps Litoralis pointed to without XP compatibility only.

Have you used any no cd fix or any cracks? Can you run vBf2?
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
deathbyturtle
Posts: 10
Joined: 2010-12-09 20:32

Re: Can't join server with VPN (Memory.dll error)

Post by deathbyturtle »

[R-COM]MaSSive wrote:Actually do not run it in compatibility mode for XP. That will cause memory leaks and errors. If you got that checked remove it.

Make sure to follow all the steps Litoralis pointed to without XP compatibility only.

Have you used any no cd fix or any cracks? Can you run vBf2?
I turned off XP compatability; no go.

I've a legally bought steam version of bf2 with no no-cd cracks. The only thing I have done related to bf2.exe is changing it out with the retail version to fix the no server problem.

I can run vBf2 but can't join any server due to the same error.

I also appreciate all of the help guys! I'm sure one day this thing will be solved. The funny thing is that EA hasn't fixed this problem with BF3 either! I've googled it and it seems no one can run origin through a VPN!
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Can't join server with VPN (Memory.dll error)

Post by LITOralis.nMd »

Sorry we couldn't find an answer,

There is one more line of inquiry, but if BF2 and PR work without the VPN, I am not sure it's going to find anything.

Run a memtest program on your RAM.

Or pull out two RAM modules, reboot and try vpn bf2. If no go, shutdown, remove the 2 modules and install the other two modules in slot 1 and 2. reboot and try vpn and pr.

After that I'm out of ideas.
Post Reply

Return to “PR:BF2 Support”