dMZX Forums: Counters - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Counters How many can you have?

#1 User is offline   Mr. Apol 

  • medica mechanica
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,206
  • Joined: 12-September 01
  • Gender:Male
  • Location:alefgard

Posted 08 February 2002 - 08:38 PM

Hello.. Just a simple question here. ?How many counters can you put into a single mzx game?
0

#2 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 08 February 2002 - 08:58 PM

It depends on the version of MZX. In 2.51, 50. In s1-s3.2, over 1000. I have no idea about MZXAk (I don't think it's documented but I've heard rumors he's added more)

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#3 User is offline   Nanobot 

  • It's in your blood
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,623
  • Joined: 11-October 00
  • Gender:Male
  • Location:Chico, CA (USA)

Posted 08 February 2002 - 11:07 PM

Do you know how many exactly in, say, S3.2? I was curious about this and I tried to make a quick little engine to find it out (I couldn't understand the C code well enough), but for some reason it kept getting weird results. I even tried taking several counters to make a big one, and it turned out to be something like 280,000,000.
The Nanobox, where wings take dreams...
0

#4 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 08 February 2002 - 11:17 PM

#define NUM_COUNTERS 1020 // This is a decent # for now. Spid
#define NUM_STATUS_CNTRS 6
//The first n counters are reserved for internal use (GEMS, etc)
#define RESERVED_COUNTERS 9

1020 - 9 = 1011. That's s3.1... s3.2 did not change it.
It's in const.h. I'm gonna check out MZXAk 2.0 once I get it.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#5 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 08 February 2002 - 11:41 PM

Same with MZXAk2.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#6 User is offline   apage43 

  • Veteran Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,199
  • Joined: 13-November 00
  • Gender:Male

Posted 09 February 2002 - 12:35 AM

Exo, Dont you need to subtract the extra function counters?(AK)
0

#7 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 09 February 2002 - 12:44 AM

apage43, on Feb. 08 2002,23:35, said:

Exo, Dont you need to subtract the extra function counters?(AK)

Those don't actually use real counters.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#8 User is offline   Frobozz 

  • Ryiah
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,808
  • Joined: 07-March 01
  • Gender:Not Telling

Posted 13 February 2002 - 07:21 PM

I doubt if it has 280 million counters. No computer would have enough RAM for it to run.
0

#9 User is offline   Frobozz 

  • Ryiah
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,808
  • Joined: 07-March 01
  • Gender:Not Telling

Posted 15 February 2002 - 05:32 PM

Counter total comes to be about 1000 plus one for every robot on the board (about 199 per board) plus one for every board [LOCAL] (about 150 per game).

That's a total of about:

199X150 = 28950
+150
+1000
--------
30050 total per game

BTW, why is my icon shrunken?
0

#10 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 15 February 2002 - 10:46 PM

Local is available to every robot, not just one per board. And chances are very slim that you'll be able to produce 150 meaningful boards in MZX.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users