Jump to content
SSForum.net is back!

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
a.k.a Weasal (dsb)
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

SSC Distension Owner
SSCU Trench Wars Developer


3:JabJabJab> sometimes i feel like when im in this mood im like a productive form of Cheese
Dr Brain> Pretty much everything you said was wrong. Except where you called me a lazy jerk with no time. That was true.
3:KrynetiX> do you ever open your web browser and type ?go google
5:Ceiu> Wow. My colon decided that was a good time to evacuate itself.

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!

a.k.a Weasal (dsb)
Posted

4)

python is for newbs

use C

SSC Distension Owner
SSCU Trench Wars Developer


3:JabJabJab> sometimes i feel like when im in this mood im like a productive form of Cheese
Dr Brain> Pretty much everything you said was wrong. Except where you called me a lazy jerk with no time. That was true.
3:KrynetiX> do you ever open your web browser and type ?go google
5:Ceiu> Wow. My colon decided that was a good time to evacuate itself.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...