Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]   Go Down

Author Topic: Amiga Extended Level Data blocks  (Read 4974 times)

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #30 on: January 22, 2016, 11:34:10 AM »

OK then im not sure how this works out

The array of items posted has 96 items listed but there is only 54 monsters which have items being dropped...
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #31 on: January 22, 2016, 11:49:28 AM »

perhaps the offset values mean certain objects don't get used / dropped?

I would have to do more verification.

Are you sure there are not 54 items held by type $8 and the remainder held by type $9  (i.e. bits 0 and 3 set)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #32 on: January 22, 2016, 12:14:42 PM »

Thanks Horace, I've matched the first 54 monsters to the items so i will play though and see if they match as they should. The first one I can confirm is correct.
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #33 on: January 22, 2016, 01:57:18 PM »

I tested the first three and they were ok, and I was able to modify them!

On my editor, I will try and remove all monsters that *don't* hold an object and then created a fast-route through to do some checking.



Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #34 on: January 22, 2016, 02:00:59 PM »

Thanks Horace, I've done the same.

So far they have all been correct, but I'm still not sure why there is only 54 Monsters with the 'Bit' set (for monster type 8+) but more items in the data block.
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #35 on: January 22, 2016, 05:57:26 PM »

MadMunky, i am sure you are doing your bit check wrong.

I have take my extracted .monsters files, and I am deleteing any monester (6 bytes) that doesnt start with $8 or $9 ..... so far i have;

block length  !97  ($61)

serpent = !14
chaos = !18
moon = !37
dragon =!28

total = 97


i've saved the blocks so i have copies with *only* monsters who drop items.... attached for reference, although un-tested!
« Last Edit: January 22, 2016, 06:02:53 PM by Hungry Horace »
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #36 on: January 22, 2016, 07:27:42 PM »

So I have 97 Monster with type >= 7 but only 54 with the 'bit' set for holding items.
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #37 on: January 22, 2016, 07:33:11 PM »

So I have 97 Monster with type >= 7 but only 54 with the 'bit' set for holding items.

Any number >7 *has* to have the bit set. So if you have toe 8 or 9 (or anything above) then the number 3 bit is set, not clear.

Think about it using the full binary notation.... When you convert binary to a number the "easy" way, you add 1,2,4 ,8 for whenever bits 0,1,2,3 are set.

So 0001 has only bit 0 set... That is 1 in decimal.
0101 has bits 0 and 2 set.... That's 1+4 = 5 in decimal.
1000 has bit 3 set..... 8 in decimal
Any more than that *has* to have bit 3 set, and therefor gives a decimal value >=8

1111 for example is 1+2+4+8 = 15
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #38 on: January 22, 2016, 07:56:30 PM »

OK Sorry my bad I had previously hard coded it to type 8 so type 9 where missed, I've fixed it and now matching 97 monsters :D

Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #39 on: January 22, 2016, 09:21:06 PM »

glad to hear you will be getting the right numbers now :)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 305
  • Offline Offline
  • Posts: 3,283
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Amiga Extended Level Data blocks
« Reply #40 on: January 30, 2016, 11:16:08 AM »


OK Sorry my bad I had previously hard coded it to type 8 so type 9 where missed, I've fixed it and now matching 97 monsters :D

Did you correct this for actual bit checking in the end?
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

MadMunky

  • Forum Mod
  • A600
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 243
Re: Amiga Extended Level Data blocks
« Reply #41 on: January 30, 2016, 11:17:42 AM »

I did :)
Logged
Pages: 1 2 [3]   Go Up