EmpirePT dlls Source Code
This was originally released in a BR forum and I'm re-posting it here. No "copyright" infraction intended. It is not my credits.
The source has everything except quests and /viewplayer command.
Download link: https://www.mediafire.com/?gxhc6onec1mumcj
Re: EmpirePT dlls Source Code
thank you.but i cannot start the game normally..can you help me? i found there are some problems in his font.dll, it cannot find some API addresses,so the game will be crashed.
Re: EmpirePT dlls Source Code
Re: EmpirePT dlls Source Code
Server.dll Compiles fine and can be used unfortunately when i compile game.dll its only 176 KB and client will not connect after that and it has the correct IP in it, any solutions?
http://i.imgur.com/4ZxHdsD.png
^ Thats what i get notice Server Select and still account ID/Pass showing.
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
NoRulez
Server.dll Compiles fine and can be used unfortunately when i compile game.dll its only 176 KB and client will not connect after that and it has the correct IP in it, any solutions?
http://i.imgur.com/4ZxHdsD.png
^ Thats what i get notice Server Select and still account ID/Pass showing.
Kind of experiencing the same bug. When I compile game.DLL and go to the release folder, its roughly 180kb give or take, and won't connect. However in the debug folder its roughly 550kb and it works, I can get to the char select screen, but upon loading into game, immediate game.exe error.
Seems like some code is missing.
Server.DLL is perfect
Re: EmpirePT dlls Source Code
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
SupremoMPT
the same thing happens to me, showing off various errors after trying to compile '-'
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
SupremoMPT
Its trying to start the game.dll did you press the play or build it?
Re: EmpirePT dlls Source Code
You cant run the .dll directly. You can build it then you have to take that .dll from the folder it places it in, and put it in your client
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
bbchamps2000
You cant run the .dll directly. You can build it then you have to take that .dll from the folder it places it in, and put it in your client
No friend, when you compile the dll it responds with several mistakes and not build finishes (fail), the source server (folder) works 100% since the folder (game) does not work '-'
and to use the files is needed messing the source to add items and other things '-'
Quote:
Originally Posted by
NoRulez
Its trying to start the game.dll did you press the play or build it?
build it
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
ArcanooN
No friend, when you compile the dll it responds with several mistakes and not build finishes (fail), the source server (folder) works 100% since the folder (game) does not work '-'
and to use the files is needed messing the source to add items and other things '-'
build it
The Error you guys are referring to are not actual Errors its because the compiler is trying to start game.exe which loads game.dll, so this source loads game.dll instead of game.exe and you cant Load a .dll, therefor it throws that exception to you guys when you guys are trying to load it.
As we said before compile it then there should be a .dll named Game.dll in Debug Folder about the size of around 5xx.KB and put it where the .exe is.
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
NoRulez
The Error you guys are referring to are not actual Errors its because the compiler is trying to start game.exe which loads game.dll, so this source loads game.dll instead of game.exe and you cant Load a .dll, therefor it throws that exception to you guys when you guys are trying to load it.
As we said before compile it then there should be a .dll named Game.dll in Debug Folder about the size of around 5xx.KB and put it where the .exe is.
but one of the errors is " undefined and dword " , "") " errors , you know how to solve this ? thanks .
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
ArcanooN
but one of the errors is " undefined and dword " , "") " errors , you know how to solve this ? thanks .
What Version of Visual Studio You Using?
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
NoRulez
What Version of Visual Studio You Using?
Visual Studio 2013
http://i.imgur.com/O0MUIVO.png
Re: EmpirePT dlls Source Code
I think i used 2010 or 2012
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
ArcanooN
Try 2010 Beings it was made in 2010, therefore you cant compile in higher versions i dont think?
I used 2010
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
NoRulez
Try 2010 Beings it was made in 2010, therefore you cant compile in higher versions i dont think?
I used 2010
I download the 2010 and test if it works I'll let you know ^^
[QUOTE=NoRulez;8306601]Try 2010 Beings it was made in 2010, therefore you cant compile in higher versions i dont think?
I could compile the dll, but now the game.exe when trying to log in, it happens to you too?
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
ArcanooN
I download the 2010 and test if it works I'll let you know ^^
Game.exe while loading into game if so then yes havent found a working way at all.
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
NoRulez
Game.exe while loading into game if so then yes havent found a working way at all.
yes, then it's no use to use the files of empirePT ... why not add to the items or anything: /
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
ArcanooN
yes, then it's no use to use the files of empirePT ... why not add to the items or anything: /
Were having that same issue. We've put these files on the back burner. We'll come back to them and try again eventually.
Re: EmpirePT dlls Source Code
Did someone managed it to work?
Re: EmpirePT dlls Source Code
when I use the dlls from the
source and not the original files of my game game.exe before login ( after the login screen ) does anyone know why ? I am a long time and it can not solve .
Re: EmpirePT dlls Source Code
now the million dollar question
strcpy((char*)0x008BC400,"69.64.48.165"); // 69.64.48.165
Is 0x008BC400 = 69.64.48.165?
if not then that's will be awesome to know.
Re: EmpirePT dlls Source Code
Well, if you take a look in strcpy function, you would know that 0x008BC400 is an address which 69.64.48.165 will be copied into.
Re: EmpirePT dlls Source Code
Quote:
Originally Posted by
SheenBR
Well, if you take a look in strcpy function, you would know that 0x008BC400 is an address which 69.64.48.165 will be copied into.
Alright, i had another thought as
69.64.48.165 was converted to an address '0x008BC400'
Thanks i did replace local host '127.0.0.1' for testing client crashed multi-times going try figure it out on how to setup locally for testing propose.