Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 1,151 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
bmap from string trouble #350466
12/16/10 11:42
12/16/10 11:42
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
hey guys im loading a string from a database that contains the file name of a bmp file (ex. helmet.bmp). im trying to change an existing panels bmap to the one in the string every frame. bmpcreate causes a memory leak (even for purge). can someone give me a way/idea on this?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: bmap from string trouble [Re: PrenceOfDarkness] #350489
12/16/10 14:33
12/16/10 14:33
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Try ptr_remove insteat of purge.
Imo it should work, otherwise it would be sort of lame. tongue


no science involved
Re: bmap from string trouble [Re: fogman] #350492
12/16/10 15:02
12/16/10 15:02
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
[edit] It worked fogman. IDK why I couldn't get it to work properly before. Thanks.

I'm having a problem thought and I don't understand the explanation:
Code:
The error message:
Malfunction W1553
ta where ID = : Can't create alpha

Manual:
Warning W1553 - Can't create alpha
The texture is static and can't be converted to an overlay or alpha texture.



Last edited by PrenceOfDarkness; 12/16/10 15:19.

"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: bmap from string trouble [Re: PrenceOfDarkness] #350505
12/16/10 16:21
12/16/10 16:21
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline OP
Serious User
PrenceOfDarkness  Offline OP
Serious User

Joined: Aug 2004
Posts: 1,305
New York
bmap_load seems like the best choice. But the alpha is messed up on the images loaded. They don't become transparent and just stay black.

Well I tried bmap_load using a test script and it works fine. So i got a nasty bug some where in my script -_-'... I'm so screwed.

Last edited by PrenceOfDarkness; 12/16/10 16:36.

"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1