Full Source Code 2006

Join Discord
Status
Not open for further replies.

Damian

LOMCN Developer
Developer
Ravagers
Game Master
Jun 13, 2003
1,111
107
310
Thanks, any reason for when i run it in debug mode it can't find the .wil files. :)

Make sure you set your working path to where the
Data folder, sound folder, etc.. are
 

1PKRyan

LOMCN Developer
Developer
Nov 9, 2007
1,536
149
275
No
Thanks for reply, nah still ain't working.

What compiler did you use Damian?

EDIT Working Know Did It Wrong, Thanks.
 
Last edited:

1PKRyan

LOMCN Developer
Developer
Nov 9, 2007
1,536
149
275
No
Ah i get ya.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
well i have seen pics of the source working.
 
Last edited:

hallmat

LOMCN Veteran
Veteran
Feb 19, 2007
555
1
125
yeah i found that out lastnight thanks to ryan i got it semi working
 

1PKRyan

LOMCN Developer
Developer
Nov 9, 2007
1,536
149
275
No
:)

Errm atm all what it's doing is, opening the client u get a window and its a black screen roughly 3 second's later .exe closes. Lol
 

Damian

LOMCN Developer
Developer
Ravagers
Game Master
Jun 13, 2003
1,111
107
310
:)

Errm atm all what it's doing is, opening the client u get a window and its a black screen roughly 3 second's later .exe closes. Lol


Set some breakpoints see just how far it does manage to get :)
 

1PKRyan

LOMCN Developer
Developer
Nov 9, 2007
1,536
149
275
No
I'll try that soon thanks.

When steping though the code it gets To this:
Code:
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{ // This is where the cursor is set

In the call stack is this:

Code:
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151ef6, int 1) line 53

There is more unhandled exceptions like:

CWHWilImageData::NewSetIndex(unsigned long 241) line 162 + 9 bytes
CGameBtn::CreateGameBtn(CWHWilImageData * 0x00730424, int 241, int 243, int 0, int 0, unsigned char 1) line 28
CMirMsgBox::Load() line 19
CMirMsgBox3D::Load(CWHWilImageData * 0x00730424) line 19
CMirMsgBox3D::CreateWnd(CWHWilImageData * 0x00730424, int 1, int 219, int 110, int 362, int 180) line 41 + 17 bytes
CLoginProcess::Load() line 90
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151ef6, int 1) line 53

WinMainCRTStartup() line 198 + 54 bytes // WHAT IS THIS?

KERNEL32! 7c816d4f()


There is quite a few unhandled exceptions when debugging.
 
Last edited:

Damian

LOMCN Developer
Developer
Ravagers
Game Master
Jun 13, 2003
1,111
107
310
I'll try that soon thanks.

When steping though the code it gets To this:
Code:
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{ // This is where the cursor is set
In the call stack is this:

Code:
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151ef6, int 1) line 53
There is more unhandled exceptions like:

CWHWilImageData::NewSetIndex(unsigned long 241) line 162 + 9 bytes
CGameBtn::CreateGameBtn(CWHWilImageData * 0x00730424, int 241, int 243, int 0, int 0, unsigned char 1) line 28
CMirMsgBox::Load() line 19
CMirMsgBox3D::Load(CWHWilImageData * 0x00730424) line 19
CMirMsgBox3D::CreateWnd(CWHWilImageData * 0x00730424, int 1, int 219, int 110, int 362, int 180) line 41 + 17 bytes
CLoginProcess::Load() line 90
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00151ef6, int 1) line 53

WinMainCRTStartup() line 198 + 54 bytes // WHAT IS THIS?

KERNEL32! 7c816d4f()


There is quite a few unhandled exceptions when debugging.


It looks as though CGameBtn::CreateGameBtn is throwing a exception when calling CWHWilImageData::NewSetIndex, if i remember
correctly it is because of a null pointer.
 

hallmat

LOMCN Veteran
Veteran
Feb 19, 2007
555
1
125
why dont we create a SVN so were not fixing the same stuff over and over again?
 

1PKRyan

LOMCN Developer
Developer
Nov 9, 2007
1,536
149
275
No
:D

Sounds good, computer been playing up for the last 2 day's re-installed windows 3 times lol.

I'll look at server side soon when ive installed everythin again.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Hazuki we found the right client i think, missing .avi files tho.
 
Status
Not open for further replies.