maped OBS problem
Displaying 1-10 of 10 total.
1
Psalt
|
Simply put all of the obs tiles are placed one tile higher than where I possision them, any ideas as to why? I am using version 2.01a and here is the log it spits out:
vfree: Attempted to free ptr 2219663277 that was not allocated. [dumping mem report]
========================================
= Memory usage report for this session =
========================================
Chunks currently allocated: 13 (MAXCHUNKS 200)
193342 total bytes allocated.
PARANOID is ON. (pad size: 256 pad value: 254)
Per-chunk analysis:
[ 0] Ptr at: 2202768216 size: 2000 owner: 0 desc: strbuf!
[ 1] Ptr at: 2204213560 size: 65536 owner: 0 desc: trans tbl
[ 2] Ptr at: 2203406656 size: 1350 owner: 0 desc: layer data
[ 3] Ptr at: 2203408528 size: 1350 owner: 1 desc: layer data
[ 4] Ptr at: 2203410400 size: 675 owner: 0 desc: obstruct map
[ 5] Ptr at: 2203411592 size: 675 owner: 0 desc: zone map
[ 6] Ptr at: 2203412784 size: 9984 owner: 0 desc: vsp data
[ 7] Ptr at: 2203423288 size: 9984 owner: 0 desc: vsp tempbuf
[ 8] Ptr at: 2220011832 size: 81664 owner: 0 desc: Screen
[ 9] Ptr at: 2203500856 size: 9984 owner: 0 desc: vsp tempbuf
[ 10] Ptr at: 2203511360 size: 9984 owner: 0 desc: vsp tempbuf
[ 11] Ptr at: 2202770752 size: 78 owner: 0 desc: col field
[ 12] Ptr at: 2203402552 size: 78 owner: 0 desc: col dest
vfree: Attempted to free ptr 2219599276 that was not allocated. [dumping mem report]
========================================
= Memory usage report for this session =
========================================
Chunks currently allocated: 13 (MAXCHUNKS 200)
193342 total bytes allocated.
PARANOID is ON. (pad size: 256 pad value: 254)
Per-chunk analysis:
[ 0] Ptr at: 2202768216 size: 2000 owner: 0 desc: strbuf!
[ 1] Ptr at: 2204213560 size: 65536 owner: 0 desc: trans tbl
[ 2] Ptr at: 2203406656 size: 1350 owner: 0 desc: layer data
[ 3] Ptr at: 2203408528 size: 1350 owner: 1 desc: layer data
[ 4] Ptr at: 2203410400 size: 675 owner: 0 desc: obstruct map
[ 5] Ptr at: 2203411592 size: 675 owner: 0 desc: zone map
[ 6] Ptr at: 2203412784 size: 9984 owner: 0 desc: vsp data
[ 7] Ptr at: 2203423288 size: 9984 owner: 0 desc: vsp tempbuf
[ 8] Ptr at: 2220011832 size: 81664 owner: 0 desc: Screen
[ 9] Ptr at: 2203500856 size: 9984 owner: 0 desc: vsp tempbuf
[ 10] Ptr at: 2203511360 size: 9984 owner: 0 desc: vsp tempbuf
[ 11] Ptr at: 2202770752 size: 78 owner: 0 desc: col field
[ 12] Ptr at: 2203402552 size: 78 owner: 0 desc: col dest
"Without pain one may not create beauty"
Posted on 2001-07-08 20:54:34
|
Zeke
|
Something kind of like that happened to me once. I was trying to use a parallax effect, though. I finally decided it was just because of how the layers were shifting relative to one another as I was placing tiles.
That may not be your problem at all, and even if it is I never really figured out a way to solve it. That's all I know.
Posted on 2001-07-08 21:22:48
|
TheGerf
|
I think obs are placed relative to layer 1. If you have layer 1 in a paralax, it makes your obs wanky too.
TheGerf, not just any gerf.
Posted on 2001-07-08 23:58:50
|
rpgking
|
In maped, it will look like the obstructions shift around whenver you have parallax, but inside the game, they will(or SHOULD look) normal. The best thing to do when working with parallax is to turn parallax off in maped when you're doing obstructions(so you can get the placement exactly right), and then turn it back on when you're done. This has always worked for me, and I don't see any easier solution.
-rpgking
Out of clutter, find simplicity.
-Einstein
Posted on 2001-07-09 01:27:05
|
Psalt
|
NT
"Without pain one may not create beauty"
Posted on 2001-07-09 13:02:03
|
Psalt
|
Why does everyone seem to think that a pralax mode would cause a memory dump? I am absolutly sure that is not the problem, it must be something within the .exe it self.
I seem to remember having this problem a long time ago but forget how I fixed it before.
"Without pain one may not create beauty"
Posted on 2001-07-09 13:52:12
|
rpgking
|
The few times I've encountered this same problem was when I forgot to turn off parallax. Go into your layers options and double-check. Because I don't see how that can happen when parallax is off...
-rpgking
Out of clutter, find simplicity.
-Einstein
Posted on 2001-07-09 16:02:34
|
Psalt
|
also se my read message in this thread...
"Without pain one may not create beauty"
Posted on 2001-07-10 02:25:31
|
Mythril
|
If the entities aren't blocked correctly by the obstacles, it could be something wrong with the entity code, if you have any. (ie. if you change the x and y variables for an entity, without changing the tx and ty variables, the entities would appear to be blocked wrong by the obstacles.)
And what other code do you have in your game/demo? It could be something else in the code that is causing that dump you posted.
Oh.
Posted on 2001-07-10 04:44:18
|
Psalt
|
heh thanks for the clue with the entity. It was the hot spots of the entity I was using... gah I should check these thing or just make my own entity right now instead of working on the code first... gah... thanks again Mythril ok I like the IF game very nice.
"Without pain one may not create beauty"
Posted on 2001-07-10 16:19:51
|