PDA

View Full Version : Landscape generator


Mike Halliday
10-10-2007, 09:37 PM
I thought it was the smoothing of the top left map that was causing issue, so I changed it to load a bitmap into a sprite and position it at 0,0 to make sure that I was using a pre-generated map, but I get the same problems.

Enclosed are both my new code and the QBASIC code for comparison. The Qbasic code does weird things to the palette so if you compare it with the new code please ignore the landscape generation at the start of the code.

I have also included the screen grabs of the errors i get running the debug and watch variables.

Cheers

Mike.[br]1192048668_671_FT0_3dlanscapegenerator.zip[br]1192048668_671_FT0_watch-error.zip

matteo.m
10-11-2007, 10:39 PM
Hi Mike, i'm using Vista and i'm not experiencing your same issue regarding the watch window. Wich version of ppl are you uing? I remember to have this issue in past with release < 1.31
I confirm the access violation error setting the breakpoint

cheers Matteo

kornalius
10-12-2007, 01:21 AM
Access violation setting the breakpoint has been fixed. There will be a beta for 1.40 next week.

Mike Halliday
10-12-2007, 10:55 AM
I am using the newest downloadable.

Do you have UAC enabled? - PIDE always asks me for permission to run each time I load it.

kornalius
10-12-2007, 02:54 PM
I don't have the certificates no and probably will never do. Vista certificates costs a fortune.

matteo.m
10-13-2007, 08:38 AM
Hi Mike, I have UAC disabled (you mean user access control right?).
Also i installed last ppl with "run in administratore mode"

Mike Halliday
10-13-2007, 10:19 AM
Ah, that could be the issue.

I have User Access Control enabled so I guess restricted OS access is causing the problems when running stuff.

I get a lot of access violations when running code. - I will try without UAC enabled and see if I still get problems.

** I always run stuff in admin mode - due to UAC being enabled. I will let you know how I get on without UAC!

Thanks for the responses on this - hopefully I will now get to the bottom of the problem. :)

matteo.m
10-13-2007, 12:44 PM
You are welcome Mike, i think the problem is the UAC, at one point i disabled it and then i had a better life! :)

PointOfLight
10-16-2007, 10:38 PM
Did you ever figure out anything in regards to what was causing the display issues with this program?* I loaded up the QBasic version, and it was pretty neat what it was doing.* However, I could never get results like that from the PPL version.* Sadly, I haven't really had the time yet to disect what the program is actually trying to do.* It almost feels like there's an order of precidence error in how it's doing all the calculations.

Mike Halliday
10-17-2007, 07:12 AM
Hi,

I have not looked at the code since. :( - I also thought that there was some sort of order to the calculations - Because I could not get the debugger to work I was not able to compare the calculated results properly.

Hopefully I will get an XP machine to develop on instead of Vista which may allow me to debug some more and work out exactly what it the issue.

Ta

Mike.