Page 1 of 1
BUG FOUND - in Cythera
#1
Posted 07 July 2001 - 07:53 AM
A new bug has been found,
Improving your body points in Cythera can be important, becuse it increases your heath points, how much you can carry, and more. If you use a cheating program like pandora's box, or Ace or you just train with Alarlic as you improve body your health starts to improve, if your health gets to the max (255) you can still train for health but the max health won't go over 255 it will start over around 13. This bug also go's for magic, if you improve to much in mind it will also start over.
You can still get a full version of Pandor's box,
for more information at [url="http://"mailto:brian6@bellatlantic.net"]mailto:brian6@bellatlantic.net[/url]brian6@bellatlantic.net
------------------
Ring Of Recharge
My Site [url="http://"http://evilzz.net/mrbrian/"]http://evilzz.net/mrbrian/[/url]
Sign up for the Cythera Webring at:Yahoo Webring
Improving your body points in Cythera can be important, becuse it increases your heath points, how much you can carry, and more. If you use a cheating program like pandora's box, or Ace or you just train with Alarlic as you improve body your health starts to improve, if your health gets to the max (255) you can still train for health but the max health won't go over 255 it will start over around 13. This bug also go's for magic, if you improve to much in mind it will also start over.
You can still get a full version of Pandor's box,
for more information at [url="http://"mailto:brian6@bellatlantic.net"]mailto:brian6@bellatlantic.net[/url]brian6@bellatlantic.net
------------------
Ring Of Recharge
My Site [url="http://"http://evilzz.net/mrbrian/"]http://evilzz.net/mrbrian/[/url]
Sign up for the Cythera Webring at:Yahoo Webring
#2
Posted 07 July 2001 - 09:11 AM
This is because no one playing Cythera honetly would get that much health. The reason this bug happens is because an "unsigned char" type of variable is being used. The maximum value it can store is 255 (since it also has 0). Therefore, once it goes past 255 it "wraps" back to 0.
------------------
Bronze: the other gold metal. | | Cretan Bronze Robot: Bronze Trance Robot
Bacchus Publishing: [url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evo&category=guides&display=date&file=ChroniclesByJake101.sit.hqx"]Chronicles by Jake101: the unposted chapters[/url], [url="http://"http://users.erols.com/alkrauss/Once_Again.html"]Once Again: on the web.[/url]
Bacchus Freeware: Olympus Wars, a plugin for EV:N.
------------------
Bronze: the other gold metal. | | Cretan Bronze Robot: Bronze Trance Robot
Bacchus Publishing: [url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evo&category=guides&display=date&file=ChroniclesByJake101.sit.hqx"]Chronicles by Jake101: the unposted chapters[/url], [url="http://"http://users.erols.com/alkrauss/Once_Again.html"]Once Again: on the web.[/url]
Bacchus Freeware: Olympus Wars, a plugin for EV:N.
Bronze: the other gold metal. || And so the space toaster hardened the outer layers of the doughy, ooey-gooey ancient Earth...
Bacchus Publishing: [url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evo&category=guides&display=date&file=ChroniclesByJake101.sit.hqx"]Chronicles by Jake101: the unposted chapters[/url].
Bacchus Publishing: [url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/show.pl?product=evo&category=guides&display=date&file=ChroniclesByJake101.sit.hqx"]Chronicles by Jake101: the unposted chapters[/url].
#4
Posted 17 October 2001 - 12:32 PM
its an unsigned int, a short is can go up to 32,767
------------------
How to use a tooth pick: Hold stick near center of its length. Moisten pointed end in mouth. Insert in tooth space, bkunt end next to gun. use gentle in-out motion.
This message brought to you by the Campaign to Save the Humans. We bid you farewell
------------------
How to use a tooth pick: Hold stick near center of its length. Moisten pointed end in mouth. Insert in tooth space, bkunt end next to gun. use gentle in-out motion.
This message brought to you by the Campaign to Save the Humans. We bid you farewell
How to use a tooth pick: Hold stick near center of its length. Moisten pointed end in mouth. Insert in tooth space, blunt end next to gum. Use gentle in-out motion.
This message brought to you by the Campaign to Save the Humans. We bid you farewell
This message brought to you by the Campaign to Save the Humans. We bid you farewell
#5
Posted 17 October 2001 - 05:48 PM
Yeah, it's probobly an unsigned int, which can go up to 255. A regular, signed int can only go from -128 to 128. Talos, their are great C programing classes at [url="http://"http://www.codewarrioru.com"]www.codewarrioru.com[/url]
------------------
It needs more detail.
(Famous Last Words #175)
------------------
It needs more detail.
(Famous Last Words #175)
"Programming is an art form that fights back."
www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.
www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.
#6
Posted 19 October 2001 - 04:34 PM
Wait - we're all wrong. A signed short goes from -32768 to 32768. A signed int is, in C, the mostly the same. - Tycho and Myself are wrong.
No common C data type other than char is limited to one byte (0-255).
So, Talos is right, eh? Well, I don't know, maybe. char is normaly used to store a single letter, but maybe it can be used for other things, I don't know. I do know that in Cythera's saved-game format, you can only give yourself 255 obsidian at a time with HexEdit. (A data-fork editor, not a prissy luser-proof saved game editor!)
-
------------------
It needs more detail.
(Famous Last Words #175)
No common C data type other than char is limited to one byte (0-255).
So, Talos is right, eh? Well, I don't know, maybe. char is normaly used to store a single letter, but maybe it can be used for other things, I don't know. I do know that in Cythera's saved-game format, you can only give yourself 255 obsidian at a time with HexEdit. (A data-fork editor, not a prissy luser-proof saved game editor!)
-
------------------
It needs more detail.
(Famous Last Words #175)
"Programming is an art form that fights back."
www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.
www.magnatune.com - Magnatune: Internet record label. Wide selection of music in MP3, flac, ogg: no DRM. Legal. Artists get 50% of your money.
#7
Posted 19 October 2001 - 06:29 PM
Chars are only represented as chars -- underneath, they're numbers.
For example,
int x = 2;
char z = 'D';
x = z + x;
Is completely legal -- if I wanted to bother, I could find out what number represents 'D' and then find the sum...but I don't want to bother!
------------------
Fortress of Die Nacht: An upcoming game from Aviary Productions.
[url="http://"http://www.aviaryproductions.f2s.com/downloads.html"]Go take a look![/url]
For example,
int x = 2;
char z = 'D';
x = z + x;
Is completely legal -- if I wanted to bother, I could find out what number represents 'D' and then find the sum...but I don't want to bother!
------------------
Fortress of Die Nacht: An upcoming game from Aviary Productions.
[url="http://"http://www.aviaryproductions.f2s.com/downloads.html"]Go take a look![/url]
Since 2000.
#8
Posted 19 October 2001 - 07:33 PM
Quote
Originally posted by Bryce:
No common C data type other than char is limited to one byte (0-255).
No common C data type other than char is limited to one byte (0-255).
It could be an array of 255 slots, though I doubt it. And GB, you can add ints to chars? Or would it add the ASCII value to the value of the int?
------------------
"I'm a controversial figure. My friends either dislike me or hate me."
"Sometimes I get confused whether I'm posting on ATT or in the War Room. But then I remind myself: If it's moderators acting scatter-brained and foolish, then it's the War Room*.
*Unless it's Avatara, of course."
-- From the memoirs of Sundered Angel
*Unless it's Avatara, of course."
-- From the memoirs of Sundered Angel
#9
Posted 19 October 2001 - 09:29 PM
Quote
Originally posted by Avatara:
And GB, you can add ints to chars? Or would it add the ASCII value to the value of the int?
And GB, you can add ints to chars? Or would it add the ASCII value to the value of the int?
Well, in the particular case he mentioned, since x is an int, what he wrote will add the ASCII value of 'D' to x.
------------------
Mike Lee (Firebird)
Mike Lee (Firebird)
Visit Cymltaneous Solutions: [url="http://"http://cs.paching.com/"]http://cs.paching.com/[/url]
(hosted by [url="http://"http://www.evula.org"]evula.org[/url])
Visit Cymltaneous Solutions: [url="http://"http://cs.paching.com/"]http://cs.paching.com/[/url]
(hosted by [url="http://"http://www.evula.org"]evula.org[/url])
#11
Posted 25 October 2001 - 08:16 PM
Quote
Originally posted by Macintosh Man:
Chars can store numbers. I'm taking a C++ class right now and I am learning ALL about that.
Chars can store numbers. I'm taking a C++ class right now and I am learning ALL about that.
Heh, we skipped that part (or I missed it last year) and went ahead to fiddle with 2D arrays...hence the question.
But, that would make sense, '3' is a character after all...
------------------
"I'm a controversial figure. My friends either dislike me or hate me."
"Sometimes I get confused whether I'm posting on ATT or in the War Room. But then I remind myself: If it's moderators acting scatter-brained and foolish, then it's the War Room*.
*Unless it's Avatara, of course."
-- From the memoirs of Sundered Angel
*Unless it's Avatara, of course."
-- From the memoirs of Sundered Angel
#12
Posted 25 October 2001 - 09:24 PM
In C-
char: -128 to 127
unsigned char: 0 to 255
short int: -32768 to 32767
unsigned short int: 0 to 65535
long int: -2^31 to 2^31 - 1
unsigned long int: 0 to 2^32 - 1
int: depends on system, never longer than long int, never shorter than short int
As a computer science major, I work with C on a daily basis during the week. So Talos was right in the first place, an unsigned char is being used.
------------------
Slayer's guide to Cythera:
[url="http://"http://www.macclassics.com/cythera/cythera.htm"]http://www.macclassi...era/cythera.htm[/url]
char: -128 to 127
unsigned char: 0 to 255
short int: -32768 to 32767
unsigned short int: 0 to 65535
long int: -2^31 to 2^31 - 1
unsigned long int: 0 to 2^32 - 1
int: depends on system, never longer than long int, never shorter than short int
As a computer science major, I work with C on a daily basis during the week. So Talos was right in the first place, an unsigned char is being used.
------------------
Slayer's guide to Cythera:
[url="http://"http://www.macclassics.com/cythera/cythera.htm"]http://www.macclassi...era/cythera.htm[/url]
Slayer's guide to Cythera:
http://russell.stanb...ide/cythera.htm
http://russell.stanb...ide/cythera.htm
Share this topic:
Page 1 of 1