I'm sick of it

Talk about anything here.
User avatar
Gjallarhorn
Posts: 102
Joined: Wed Dec 06, 2006 3:40 am
Location: Leeuwarden, The Netherlands

Post by Gjallarhorn »

Baak wrote:
The Seeker wrote:Very possible. 255 is the max value you can store in 1 byte (in binary). Which means there could be loads of data structures sprinkled throughout the Myth code which is based on a 1 byte value for this information, and to change it could require altering a lot of data structures, then checking a lot of code to verify it won't break if the data structure size has been expanded.
AFAIK there is a *lot* of this in the Myth code. From my experience dissecting tags and glancing at things I believe this is the most likely reason for a limit of some kind (and well described by The Seeker). 255 is a "magic" number - the maximum integer value stored in one byte. If it were simpler, it most likely would have been done already (i.e. raised to 32767, etc.).

With older code there is a vast potential to whack things in other areas when you start changing structure sizes, not to mention dealing with big/little -endian values and all that fun stuff. Then you have to test it, etc., etc.

You have to decide: is this work - and more importantly the potential of messing up other stuff (i.e. side-effects) - plus testing - worth it for the feature requested?

Just my two cents as a programmer.
Gameplay value > Graphical value

It would sure by worth it, if a character hits the limits of 255, they are not advancing anymore, so it seems. I have no understanding of programming at all (for if that wasn't already clear :lol:) and before I started this thread I thought that it was just editing number 255 and replace it with a million or 0 for infinite or something like that. But if it's going to take much longer than just that, I understand that you guys find it a waste of time.
vinylrake
Posts: 3591
Joined: Wed Apr 07, 2004 12:52 pm
Location: here
Contact:

Post by vinylrake »

Gjallarhorn wrote:Gameplay value > Graphical value

It would sure by worth it, if a character hits the limits of 255, they are not advancing anymore, so it seems. I have no understanding of programming at all (for if that wasn't already clear :lol:) and before I started this thread I thought that it was just editing number 255 and replace it with a million or 0 for infinite or something like that. But if it's going to take much longer than just that, I understand that you guys find it a waste of time.
Of course at some point it seems a bit insane. Making an increase in skills dependant on having over 255 kills seems a little over the top, and if there were an automatic ingameengine continual improvement in skills that just kept increasing as kills went over 255 that is way over the top. Doesn't even sound like Myth anymore.
Lots of Myth stuff at http://mythgraveyard.org.
Sometimes I put hard to find stuff in my my Udogs folder.
User avatar
Khadrelt
Posts: 479
Joined: Tue Aug 29, 2006 2:59 pm
Location: Utah, USA
Contact:

Post by Khadrelt »

I don't think we're necessarily saying units should be able to VET past 255, just that the game keeps track of the number of kills past it. Once your unit gets past 255 kills, it's impossible to say how many kills he really has.
The cake is a lie.
vinylrake
Posts: 3591
Joined: Wed Apr 07, 2004 12:52 pm
Location: here
Contact:

Post by vinylrake »

Khadrelt wrote:I don't think we're necessarily saying units should be able to VET past 255, just that the game keeps track of the number of kills past it. Once your unit gets past 255 kills, it's impossible to say how many kills he really has.
Ah that makes more sense. Excuse my n00b ignorance.

Guess those bungie developers couldn't imagine a level where a single unit killed more than 255 enemies.
Lots of Myth stuff at http://mythgraveyard.org.
Sometimes I put hard to find stuff in my my Udogs folder.
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

The limit was 127 until patch 1.5 when I increased it. (The original value could support -128 to 127, in one byte still, which was useless since negative kills were not supported anyway).
User avatar
Khadrelt
Posts: 479
Joined: Tue Aug 29, 2006 2:59 pm
Location: Utah, USA
Contact:

Post by Khadrelt »

Were there actually plans for negative kills??? How would that work?
The cake is a lie.
vinylrake
Posts: 3591
Joined: Wed Apr 07, 2004 12:52 pm
Location: here
Contact:

Post by vinylrake »

Khadrelt wrote:Were there actually plans for negative kills??? How would that work?
Probably someone just made the counter the wrong datatype. e.g. 1 byte signed instead of unsigned.
Lots of Myth stuff at http://mythgraveyard.org.
Sometimes I put hard to find stuff in my my Udogs folder.
Raflegan
Posts: 27
Joined: Mon Feb 26, 2007 2:43 pm

Post by Raflegan »

Khadrelt wrote:Were there actually plans for negative kills??? How would that work?
Friendly kills reducing the kill rate maybe?
Shaister
Posts: 15
Joined: Sun Aug 07, 2005 10:05 am
Location: DC

Post by Shaister »

Khadrelt wrote:Were there actually plans for negative kills??? How would that work?
Revives would be pretty sweet.
Post Reply