(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-16-24 06:40 PM
0 users currently in The Pit of Despair.
Acmlm's Board - I3 Archive - The Pit of Despair - SMW Info Boxes... New poll | | Thread closed
Add to favorites | Next newer thread | Next older thread
User Post
Chaos Force
Just drifting by...


 





Since: 11-17-05

Last post: 6301 days
Last view: 6297 days
Posted on 02-16-06 08:00 PM Link
Usually the info boxes will show what the text says from the level you started in. So if you started on level 105 and went to level 106 via a pipe and hit a message box, it would show what the text was in level 105. Is there anyway to make it so you'd be able to see the text from level 106 and so on?
Smallhacker

Super Koopa
I AM A Group Of Officially Frustrated Younglings, G.O.O.F.Y. MEMBER








Since: 11-17-05
From: Söderhamn, Sweden

Last post: 6298 days
Last view: 6296 days
Skype
Posted on 02-17-06 01:58 AM Link
It shouldn't be too hard... Using BMF's patch to get the real level number and them modify the box code where it checks the level number.
Pac

Bandit
Free Ice Man!








Since: 11-18-05
From: Ireland

Rate me

Last post: 6297 days
Last view: 6296 days
Posted on 02-17-06 07:39 AM Link
...Or just make a simple custom block that changes the low byte of the current level number. After the custom block is activated, the info box should display the message of the new level number. The block should look something like this:

A9 06 8D BF 13 60

What it does is it stores 06 at 7E13BF. I haven't tested it, but yeah, give it a shot, I can't see why it wouldn't work.
Chaos Force
Just drifting by...


 





Since: 11-17-05

Last post: 6301 days
Last view: 6297 days
Posted on 02-17-06 08:09 AM Link
eh...now the problem is I've never messed with making a custom block before....how exactly would I go about doing this?
Pac

Bandit
Free Ice Man!








Since: 11-18-05
From: Ireland

Rate me

Last post: 6297 days
Last view: 6296 days
Posted on 02-17-06 08:18 AM Link
Open a hex editor, and type those 6 bytes of code, save it as "info.bin" in your blocktool folder. Open block tool and go to edit block data. Go find a block between 1 and 350 that you won't use, and change it's file name to info.bin, change all offset fileds to -1 except Above, Below and Sides. Edit the tooltips and Block name if you want. Then simply insert the block like you normally would.

In this case you should make it invisible, and set to act like 25. Then, walking through it should make the game think you're on level 106, and will display 106's info message.

Note, if you're on a level between 0 to FF, hitting the block will make the game think you're in level 006. and 100 to 1FF => 106.


(edited by peter_ac on 02-17-06 07:19 AM)
(edited by peter_ac on 02-17-06 07:24 AM)
Chaos Force
Just drifting by...


 





Since: 11-17-05

Last post: 6301 days
Last view: 6297 days
Posted on 02-17-06 08:44 AM Link
Got the block in, tried it and it doesn't seem to be doing anything...

EDIT: Yeah, I got it, but it seems it thinks I'm on level 0-FF regardless, because its reading the info box from level 6... otherwise it works great.




(edited by Synthrax + on 02-17-06 08:16 AM)
Techokami

Porcupo








Since: 12-03-05
From: Mass-uh-chew-sits USofA

Last post: 6311 days
Last view: 6297 days
Posted on 02-17-06 11:08 AM Link
Originally posted by Synthrax +
Got the block in, tried it and it doesn't seem to be doing anything...

EDIT: Yeah, I got it, but it seems it thinks I'm on level 0-FF regardless, because its reading the info box from level 6... otherwise it works great.



Hmm... best way to fix your problem would be to define the high byte of the level number, for 100 - 1FF. Also, the example code is written to set it to just 06. You'll have to find a way to read the level number from memory, or have a custom block for each level's message box text you want to set it to.
The Kins

Hoarder








Since: 11-18-05
From: Hurf.

Last post: 6311 days
Last view: 6297 days
Posted on 02-18-06 12:28 AM Link
I eagerly await a finished version of this, simply because it opens up so many possibilities...
Alaric
Newcomer


 





Since: 11-17-05

Last post: 6657 days
Last view: 6309 days
Posted on 02-22-06 08:09 PM Link
It's not quite exactly on topic, but why do you replace one of the existing 350 blocks? Last i did SMW hacking with the 350-block blocktool and such there was a button, or other way to go to the end of the block database and make a new record.. no losing blocks there?

[Edit: Aw crap, i'm sorry. It slipped my mind that this was nearly off the page it was so old. I've been away from here for too long . please don't hurt me :/]


(edited by Alaric on 02-22-06 07:10 PM)
Chaos Force
Just drifting by...


 





Since: 11-17-05

Last post: 6301 days
Last view: 6297 days
Posted on 02-22-06 09:45 PM Link
I think I may be something written in the code. I tried adding a new block to the end of it instead of overwriting an existing one, but didn't get the effect I should have :/
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - The Pit of Despair - SMW Info Boxes... | Thread closed


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.027 seconds; used 390.65 kB (max 484.58 kB)