Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / MemMatrix Phaelax Error 507 image locked

Author
Message
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 13th Nov 2005 09:55
Hi again!

Using the memmatrix code that Phaelax and even Lee contributed to, I am getting the error:
Runtime Error 507 - Cannot read image currently locked by system at line 684.

Please tell what it could be

Thanks for any help!!!


The link to the memmatrix thread is here
http://forum.thegamecreators.com/?m=forum_view&t=32935&b=6


Code affixed below.
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 15th Nov 2005 10:04 Edited at: 15th Nov 2005 10:22
nobody knows what that could be?

The code at line 684 is
make memblock from image 256, img

There are only 3 references to the img number I am guess that is locked;
1:
function set_matrix_from_heightmap(number as integer, img as integer, max as float)
make memblock from image 256, img
2:
function set_matrix_from_colormap(number as integer, img as integer)
make memblock from image 256, img
3:
function set_matrix_from_alphamap(number as integer, img as integer)
make memblock from image 256, img
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 15th Nov 2005 10:32
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 15th Nov 2005 13:30
Thank you, I posted it there.
Could definately be a bug (I guess???)
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 15th Nov 2005 13:43
So did it work adding the ,1 to the load image commands?

Boo!
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Nov 2005 21:58
I've heard of the error before, not sure what it was. I wonder if it could be a permission issue?


Deadly Night Assassins
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 16th Nov 2005 04:18
YES!!!! Thanks Spooky!

It worked adding , 1 to the image commands!!!

Thanks Phaelax too, because I was hope to get an ocean going and if it is to slow I will not pursue it at this time!

Login to post a reply

Server time is: 2026-06-11 11:19:41
Your offset time is: 2026-06-11 11:19:41