Page 1 of 1

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

Posted: 2012-01-14 04:27
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.

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

Posted: 2012-01-14 05:18
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.

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

Posted: 2012-01-14 05:45
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.

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

Posted: 2012-01-14 06:44
by rushn
dont you have to change network connection to a internet to get off VPN?

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

Posted: 2012-01-14 09:54
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)

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

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

Posted: 2012-01-14 14:17
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.

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

Posted: 2012-01-14 21:03
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?

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

Posted: 2012-01-14 22:52
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!

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

Posted: 2012-01-15 03:35
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.