Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 01 2004 : 09:05:44 AM
|
I checked on gamedev again... no luck. You think with such an active forum (~1 post/10 seconds...) someone else would have responded...
|
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 01 2004 : 09:16:33 AM
|
masterbooda, do you still have a copy of the original (ie not turbo) engine? could you make a quick demo with that, and upload it? I want to see if the problem is in the dll itself... |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 01 2004 : 10:39:30 AM
|
Ok here is what I did, I have made a exe, with the class inside so it is not using the .dll at all, all the recent changes are in effect here, this will let us know if it is a .dll problem...
http://dabooda.servegame.com/test.zip
Also if you want the original v1.0 code, you can go here, unfortunately, I cannot make another .dll, and the version I have will not work with your's, because when I created the first one, I did not have any compatibility... but you can download the source here..
http://www.planetsourcecode.com/
Just type in "dabooda 2d" in the search box.... you should be able to download it, also maybe you can give the code a look and see if you find any difference between the two, that I missed.
DaBooda out.. |
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 01 2004 : 10:41:17 AM
|
To 2d coder, could you maybe run the code, using dbmon, see if you are receiving the same errors, I would appreciate it, this way I know its not a machine specific thing...
DaBooda out.. |
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 01 2004 : 2:46:35 PM
|
OK, downloaded v1.0... I ran it (the example) and it worked fine... there were no errors using dbmon.exe, though it dished out hundreds of warnings about redundant calls (It seems to always do that). I will start looking through the source code to see what I can do... |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 01 2004 : 3:37:00 PM
|
Did the test file, with the compliled turbo engine run? or did it do the same thing?
And good luck to finding anything, hopefully you will see something that I didn't, but please if you have more important projects to do, please do those, I have a feeling this is one of those what the heck bugs...
DaBooda out...
|
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Jun 01 2004 : 8:04:49 PM
|
Wow, if this thread wouldn't explode the server, I would imagine what will. |
Whatever. Who knows... |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 01 2004 : 8:36:57 PM
|
I just have one question left for Sr. Guapo, and that will be all.... When you are running the test programs, I send you, do you extract it to your hardrive first, or run it straight from the zip application, because I was testing some of my tutorials earlier, and I downloaded them from the site, and tried to run it from the winzip, and received the same error, and sometimes, just got a blank screen with no output... it struck me as similar...
I was just curious how you ran those... and honest this will be the last question...
DaBooda out... |
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 01 2004 : 8:52:15 PM
|
Okay, what I did... When the download box popped up, I chose "open", then when winzip popped up, I extracted all the files to a new folder on my hard drive. I will try to save the actual .zip to disk, see if that does anything... |
Edited by - Sr. Guapo on Jun 01 2004 8:56:52 PM |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 01 2004 : 8:55:56 PM
|
Nope... same error. This is very weird. We have gone through every possible source, narrowed it down immensly, and still cannot fix the error... lol... |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 02 2004 : 10:01:29 AM
|
What I think I am going to have to do, and this is not great, because when a game is made with this engine, it has to be playable by everyone, not just most, so I am going to look at v1.0 again, and see if I can speed it up to some extent... then I will most likely use that one.... I just don't get it, because as far as the hardware and directx 8 stuff goes, they are identical programs...
DaBooda out... |
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 02 2004 : 12:26:01 PM
|
Ok, I got a response from the man himself... Jack Hoxley... He gave a few tips/possible solutions:
1) Check the 'SetFVF' type commands, and double check that the size of the array/vertex type is actually being correctly passed. Stream-0 is the default stream for fixed function data iirc.
2) Does the code check for lost devices? if not, try to check that it does... you might find this error is related to a lost device (happens when you alt-tab/start-menu and a few other random Win32 messages).
3) If you think its the vertex shader (is there a custom shader, or is it fixed-function?) then your best bet is to put in a load of debug statements revolving around the "Device.Get*( )" function calls - check that what is returned by Get*() is what you expect. Tedious, but might help!
He also said, regarding 2dcoder's problem, the TNT-2 is old enough where it can barely run DX8, so that is probably why he is having problems...
I don't know if that helps... I think I will try a few in the source code I have, to see if it helps... |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 02 2004 : 1:33:32 PM
|
Jack Hoxley, I'm impressed, I have tried to get a hold of him before, with no luck...
I will also try some of those suggestions, I am thinking it has to be the device getting lost somewhere, because the vertex shader is set up the same in both engines.....
Also for 2dCoder I was assuming it was a hardware issue, but I cannot do anything about that, because the engine is in Directx8.....
As for the checks, I will try to work on that , but I unfortunately cannot emulate this problem on my computer....
Thanks for the help, DaBooda out... |
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
masterbooda
Swordmaster
277 Posts |
Posted - Jun 02 2004 : 4:12:15 PM
|
Oh no, not another test file, yes I have another one, could you possibly try it out, I am actually going on the logic of Jack Hoxley...
http://dabooda.servegame.com/test.zip
DaBooda out...
|
DaBooda Team is back: http://dabooda.789mb.com/ |
|
|
Sr. Guapo
Swordmaster
USA
272 Posts |
Posted - Jun 02 2004 : 4:21:48 PM
|
Wow, that is the 20th download... Anyway, it didn't work. I used dbmon, and got the same errors as always...
PS- if you want to contact Jack Hoxley, just email, he is usually pretty quick (< 2 days). Use the correct email address though. The "jollyjeffers" one is invalid, use the one listed at the bottom of each page on his site ("Jack.Hoxley"...) |
|
|