Author Topic: Read ID Help!  (Read 255 times)

Offline Cyndanera

  • Jr. Member
  • **
  • Posts: 13
Read ID Help!
« on: November 15, 2018, 12:22:11 AM »
Code Removed.

Offline Henri

  • Full Member
  • ***
  • Posts: 168
Re: Read ID Help!
« Reply #1 on: November 15, 2018, 12:51:02 PM »
Hi,

some parts are missing from your example so it's hard to pinpoint the exact cause of any strange behavior. Especially the file you are trying to parse (I assume it's the one in the middle to be saved as bossfrog.bin)

For debugging you could turn on the superstrict mode, to catch obvious mistakes. Also debugstop is useful.

You are using ReadInt and ReadString to read data. Is the data you are getting what you expect ? ReadString requires length as a param, but I don't see were you are getting it ?

Also DrawTexture2D is not standard Bmax function that I know.

-Henri
- Got 01100011 problems, but the bit ain't 00000001

Offline Cyndanera

  • Jr. Member
  • **
  • Posts: 13
Re: Read ID Help!
« Reply #2 on: November 15, 2018, 12:57:17 PM »
<POST REMOVED>

Offline Derron

  • Hero Member
  • *****
  • Posts: 1521
Re: Read ID Help!
« Reply #3 on: November 15, 2018, 05:29:33 PM »
You should at least state to the one trying to help why you deleted your posts.


bye
Ron

Offline Cyndanera

  • Jr. Member
  • **
  • Posts: 13
Re: Read ID Help!
« Reply #4 on: November 15, 2018, 06:22:45 PM »
Solved, and had to remove targetid and do it a completely different way.

results https://www.youtube.com/watch?v=fof5two_E7s