Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » xy modification after game has started
Re: xy modification after game has started Sun, 06 July 2014 20:31 Go to previous messageGo to previous message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
raptor wrote on Sun, 06 July 2014 22:53
Maybe I'm misunderstanding what you mean by 'hard-code'. Right now, I have hard-coded nothing except the deserialization code in things like FileHeaderBlock (decode() method). If this is what you refer to, then yes, I believe that we could do better - I was thinking that we could implement our own serialization class that could encode/decode data points in some sort of regular pattern, and apply the rules to each of the block types. Then it would just be a matter of laying out the class structure appropriately.

You're probably right. Must be my romantic side wanting to have everything handled by just one super-flexible magic class that didn't have anything hardcoded at all but instead relied on pre-filled data tables and whatnot. Hit over head


Quote:
I am curious, though, what coding abilities do you have (and could you help out)?

From Assembler and C to Java, including Basic, SQL and shell scripting, plus a knack for "black-box" testing, though I seem to be developing some kinda laziness lately which pushes me more towards the design side of things and away from the thrills of pure coding. Rolling Eyes Whip


Quote:
If you've worked with some of the other developers, maybe you could answer some of my questions... like, why do I have to swap bytes so often?

I'd bet there must be some integer math going on which handles bytes in pairs or even quartets, but the disassembly didn't quite piece together. I wanted to look into that this weekend but the hours somehow seemed to fly past in a blink. Wall Bash


Quote:
I'd love to get my hands on as much source code from any of the other projects as possible. Although, from what I gather, I'm the first to post source code? which seems crazy...

It is, but the general consensus is far from settled on the issue, since most "source code" would concern the (en)decryption routines, and too little has been done on the far more interesting fronts of bug-stomping, cheat-killing, MM-automation and scenario-creation. Sherlock



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NSA Helping to Decompile Stars!?
Next Topic: Utility to clean .m files
Goto Forum:
  


Current Time: Sun Apr 28 09:32:00 EDT 2024