06-30-2005, 02:28 AM
I compiled it and it worked fine except for the drawing part. I used gdb and got the following message:
I went to that line and couldn't see anything wrong with it, so I removed the "NOT" (useless probably, or was it???). I compiled it and then I ran it and got an error. I used gdb again and this is what it said:
I hope someone understands this because I don't!
Quote:Starting program: C:\Program Files\Freebasic\Proggies/board.exe
bff40000:C:/WINDOWS/SYSTEM/USER32.DLL
78000000:C:/WINDOWS/SYSTEM/MSVCRT.DLL
bfe60000:C:/WINDOWS/SYSTEM/ADVAPI32.DLL
bff60000:C:/WINDOWS/SYSTEM/KERNEL32.DLL
bff10000:C:/WINDOWS/SYSTEM/GDI32.DLL
Finding Path
Program received signal SIGSEGV, Segmentation fault.
0x4012b6 in t0084 () at proggies/board.bas:99
99 IF NOT Map((c.x + x),(c.y+y)).mType = Wall THEN
'If it is not a Wall square
I went to that line and couldn't see anything wrong with it, so I removed the "NOT" (useless probably, or was it???). I compiled it and then I ran it and got an error. I used gdb again and this is what it said:
Quote:Starting program: C:\Program Files\Freebasic\Proggies/board.exe
bff40000:C:/WINDOWS/SYSTEM/USER32.DLL(no debugging symbols found)...
78000000:C:/WINDOWS/SYSTEM/MSVCRT.DLL(no debugging symbols found)...
bfe60000:C:/WINDOWS/SYSTEM/ADVAPI32.DLL
(no debugging symbols found)...
bff60000:C:/WINDOWS/SYSTEM/KERNEL32.DLL(no debugging symbols found)...
bff10000:C:/WINDOWS/SYSTEM/GDI32.DLL
(no debugging symbols found)...
Finding Path
Program received signal SIGSEGV, Segmentation fault.
0x4012a6 in ?? ()
I hope someone understands this because I don't!
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)