Jump to content
  • 0

roBrowser


Machiezmo

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  10/20/16
  • Last Seen:  

I've been trying to get roBrowser to work and I think I have everything setup right...I've used the debugger and it pulls the files out of the grf's.  My issue seems to come while loading the cursors.spr file.  The specific error according to the Console is: Cursor::init() - SPR::load() - Incorrect header "<s", must be "SP"

After a long process I had tracked it down to the roBrowser\src\Loaders\Sprite.js file line 57-63

		this.fp      = new BinaryReader(data);
		this.header  = this.fp.readBinaryString(2);
		this.version = this.fp.readUByte()/10 + this.fp.readUByte();

		if (this.header != 'SP') {
			throw new Error('SPR::load() - Incorrect header "' + this.header + '", must be "SP"');
		}

so maybe if someone who has roBrowser working on their server maybe could share their cursors.spr file maybe it'd work?  I am just wondering if mine is too old or something or just not the right version...I just don't know what else to try.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

Unfortunately, I never had the same error, so I'm not sure what could be wrong. For debugging you can try downloading my own fork and swapping the src folder with mine. If it still throws error, you might have an error in your client files so you should download new ones and replace them.

Here is my source:
https://github.com/MrAntares/Ragna.roBrowser

For me, everything is working fine. (I made some updates and changes and implemented some things, so it's a bit different)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...