custom maps and server login failing
Hi All
I have had this issue from day one, where if I have the custom maps folder there the server gets a runtime error and crashes (was not the issue running the server2k3 vm by @SunnyZ)
I tried to just put some maps in the custom folder (mystery desert 1/2 (ba1/ba2 files)
When I do this, I am unable to log in, I get instant "unable to connect to server" even though the server is responding on port 10009.
Has anyone come across this?
I find it very bizarre and am not sure where to start,
It does not seem to be a SQL issue, i tried removing sql.dll and starting server with odbc running, no love.
I am running the server from @SunnyZ 's VM and the admin client, also using the maps from the mysteryPT.
Re: custom maps and server login failing
update:
I tested by dropping Desert 1-4 fields into that folder and renaming them BA1/ba2 etc to no avail.
@SunnyZ these maps worked in your vm server, any idea where I should be looking at this issue?
Re: custom maps and server login failing
bump, anyone come across this? its really strange and i have not found a remedy for it yet,
When i go to the map in game and hit f9 it shows that the files it wants are in: custom/xxx.ase
which is what I have server side but it still bugs out.
I am at a total loss for what to do about it.
Re: custom maps and server login failing
You could try to enable Large Address Aware on the server exe?
So it can use more then 2gb.
Go down to . "The older solution (and longer)"
Follow those instructions.
JaLooNz the Webbie: Enabling large address aware for games
Re: custom maps and server login failing
Cheers @SunnyZ
ill read into it and give it a try, had you done this on your VM server?
Seem to be having a lot of strange things going on with this, if i try different client exes even using the right port they wont connect even though i havent set the client version on the hotuk. very strange
Re: custom maps and server login failing
Quote:
Originally Posted by
SunnyZ
This solution will not work with clan & sql.dll. The PT server is a 32bit application same as the req. dlls. Your server uses more than 1.2GB ram, which will give you runtime error. If your server uses less then 1.2GB, it should be a corrupted file. Check the header of the SMD otherwise rewrite the application or remove the objects in every single stage SMD 0.72 to reduce the ramusage.
Re: custom maps and server login failing
Quote:
Originally Posted by
hades12
This solution will not work with clan & sql.dll. The PT server is a 32bit application same as the req. dlls. Your server uses more than 1.2GB ram, which will give you runtime error. If your server uses less then 1.2GB, it should be a corrupted file. Check the header of the SMD otherwise rewrite the application or remove the objects in every single stage SMD 0.72 to reduce the ramusage.
forgive me as I am new to the world of programming languages.
but what do you mean when you say SMD 0.72? (i know smd are the files themselves in the maps folders)
I still cant work out why it didnt have an issue on server 2k3 but it does on server 2012r2 O.o (other than the 32bit vs 64bit OS)
- - - Updated - - -
Ok having tested this,
with the 4G mod to the exe it will crash after the first change of town, every time it says the issue is with Clan.DLL
I tried doing the 4G mod to Clan.DLL and that did not change anything.
When I try to run the normal 32bit server.exe with the custom folder maps there (mystery desert/mystery forest etc) it wont actually start the server, i get a Visual C++ Runtime Library window with nothing in it, it then closes the server exe when i close that c++ runtime window.
very bizarre,
still doesnt explain why I cant log in with 1 or 2 of the custom maps enabled
Re: custom maps and server login failing
Quote:
Originally Posted by
Phatkone
forgive me as I am new to the world of programming languages.
but what do you mean when you say SMD 0.72? (i know smd are the files themselves in the maps folders)
I still cant work out why it didnt have an issue on server 2k3 but it does on server 2012r2 O.o (other than the 32bit vs 64bit OS)
- - - Updated - - -
Ok having tested this,
with the 4G mod to the exe it will crash after the first change of town, every time it says the issue is with Clan.DLL
I tried doing the 4G mod to Clan.DLL and that did not change anything.
When I try to run the normal 32bit server.exe with the custom folder maps there (mystery desert/mystery forest etc) it wont actually start the server, i get a Visual C++ Runtime Library window with nothing in it, it then closes the server exe when i close that c++ runtime window.
very bizarre,
still doesnt explain why I cant log in with 1 or 2 of the custom maps enabled
Check out the map .smd with hex workshop to know if the header is SMD STAGE VER 0.72. Otherwise your issue is the ramusage of the server. By using the 4GB patcher, SQL and Clan.dll will not work... Your server will crash.
Re: custom maps and server login failing
@hades12
I checked them, they are ver 0.72
It has me baffled, if I leave two of the SMD's in there it will load the server fine, but when they are there I can't log in (will give an almost instant cannot connect to server)
- - - Updated - - -
do any of you gents have working copies of atlantis town, battle town, mystery desert, mystery forest etc for me to test with?
Re: custom maps and server login failing
What you could try doing.
Going through the custom maps, and use sandurrs smd converter, make all maps ase.
Then delete the smd files
This will force the server to read the ASE files and covert them back into a SMD format that it recognises.
Re: custom maps and server login failing
ah cool, i'll give it a crack
- - - Updated - - -
ok i tried that,
on first start of the server it got runtime error (must have been whilst creating the smds) then i started a second time (this is with just 4 of the custom map files, not all of them) i still got the issue of it starting up (showing 0 players instead of the normal 8 that I always see) and it would instantaneously give me unable to connect to server, as in the server is rejecting my login.
- - - Updated - - -
so essentially still the same problem it seems
Re: custom maps and server login failing
@SunnyZ and @hades12 ive found both battletown and myst desert 1 , when in game and i press f9 they show stage as Ba1 and field as b2, when i go to md2 it says field ba3 stage ba2.
Should md1 be field ba2 ? could that be my problem? its referencing wrongly?
could you check on your servers if its the same? if its not, how to i redirect the reference?
Re: custom maps and server login failing
Open your server with OllyDBG and show us the a screen when it crash by this way i can help you.
1 Attachment(s)
Re: custom maps and server login failing
Hades I opened the server in ollydbg (v1.10) and put the custom maps back in, his run and it showed this (see attached)
I am not familiar with ollydbg (trying to learn) so sorry i cant be too clear with it
Re: custom maps and server login failing
You got a run function in OllyDBG to launch your executable.
Just run and let your application crash and OllyDBG will do a break with informations. Post it here.