Jump to content
SubSpace Forum Network

Recommended Posts

Posted (edited)

Hey guys, I'm trying to create a program that draws a ray from the ship center in the direction it's pointing. I've discovered a memory value that has something to do with rotation but am having trouble translating this to a rotation value when the ship rolling setting is turned on.

 

I've created a spreadsheet of the memory value with the ship in different positions and was wondering if anyone has any insight to how the internal representation of rotation works. Or if you're good with binary/hex reverse engineering.

 

- Link removed -

 

As long as the ship roll is invariant each turn increments/decrements the rotation value by 16. I've spent a little but of time trying, however I can't seem to decipher the meaning of any of the bits. If anyone can help I'd appreciate it a lot :).

 

Edit: each time continuum is restarted the base values change... it's not a constant offset.

 

Edit2: Is this ban-able? I'm not modifying the client in any way... and i can use image recognition (with a modified ship bmp to simplify detection) for rotation instead -.-.

Edited by Marioman
Posted

rotation is from 0 to 40, where 0 is vertical, and increments counterclockwise

meaning your normal rotation math will need a 90 degree phase offset

 

2)

pretty sure rules explicitly state no third party programs

 

3)

you should try developing for the open source ASSS server platform for subgame

its a lot of fun, and you will learn a lot about how the game functions

Posted

2) that's a shame.

 

3) yeah i've had a few asss ideas over the years, in fact i've even asked you how to set it up a long time ago cheese :). i'll probably contribute to powerball, and i can refresh my python at the same time. cheers!

Join the conversation

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

Guest
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...