Author Topic: Lots of Questions (I'm a newb ^_^)  (Read 12406 times)

0 Members and 2 Guests are viewing this topic.

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #30 on: March 13, 2010, 06:47:47 am »
But, couldn't you techinically rig the lists so you could use them for multiple games as long as your defining everythign correctly?
Yes, but unless the games are similar or related to each other, or you make the lists extra big, you're either going to use the wrong data or over write data for other games.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #31 on: March 13, 2010, 11:38:14 am »
Right.  However, there are 6+26+26^2+26^3+26^4+26^5 = 12356636 different list names, so it's unlikely that two programs use the same list. :)

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
Re: Lots of Questions (I'm a newb ^_^)
« Reply #32 on: March 13, 2010, 03:58:29 pm »
Right.  However, there are 6+26+26^2+26^3+26^4+26^5 = 12356636 different list names, so it's unlikely that two programs use the same list. :)
Most of my programs use L1 ;)
But if you're naming the lists yourself, as long as you don't use some kind of generic name like LGAME, I doubt you'll ever run into the issue of two games fighting for the same save file, or whatever similar situation could arise.
One of these days I'll get a sig I'm really proud of.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #33 on: March 13, 2010, 04:30:58 pm »
not only 26 base, but since you can use the number after the first character, isn't it more like 6+26+36^2+36^3+36^4+36^5 which is 62193776?


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Lots of Questions (I'm a newb ^_^)
« Reply #34 on: March 13, 2010, 05:06:16 pm »
Well ya, I just meant like one game uses L1(1-9) then another program uses L1(10-16) and so on. Wouldn't that work? Or is that what you were saying that you need to make them extra big?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #35 on: March 13, 2010, 07:13:53 pm »
Right.  However, there are 6+26+26^2+26^3+26^4+26^5 = 12356636 different list names, so it's unlikely that two programs use the same list. :)
Yeah that's true, but some List names are used more often than others (ie LSTATS, LGAME, LSAVE, etc.) If you don't use a common List name, then you shouldn't have a problem.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lots of Questions (I'm a newb ^_^)
« Reply #36 on: March 13, 2010, 07:41:22 pm »
btw I don't recommend using customly named lists as much as possible. Only use them when you have no choice or for data that is not accessed frequently, like save files. They take considerable amouts of memory. Imagine if your code contains L1 50 times and you decide to use LFINAL instead: You waste a big 250 bytes of RAM

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #37 on: March 13, 2010, 09:55:50 pm »
not only 26 base, but since you can use the number after the first character, isn't it more like 6+26+36^2+36^3+36^4+36^5 which is 62193776?
Great point!  I forgot about numbers.  ;D

Oh, and there's also Theta!  :D
6+27+37^2+37^3+37^4+37^5 which is 71270173

Anyway, DJ since L1 is the same size as any one letter long list it doesn't matter there.  Actually since you can omit the little list L when storing a whole list to it, it will actually be smaller! ;D
Oh, and the L1 to L6 tokens are 2 bytes so you'd only waste 200 bytes of RAM.   :)
Does this make sense?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lots of Questions (I'm a newb ^_^)
« Reply #38 on: March 13, 2010, 10:08:10 pm »
oh yeah right I forgot about removing the L thing x.x

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #39 on: March 13, 2010, 10:12:53 pm »
...the L1 to L6 tokens are 2 bytes...

:O Wow i never knew this!  haha you learn something new every day ;D

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Lots of Questions (I'm a newb ^_^)
« Reply #40 on: March 13, 2010, 10:16:03 pm »
...the L1 to L6 tokens are 2 bytes...

:O Wow i never knew this!  haha you learn something new every day ;D
Actually all the tokens from the Vars menu, L1 to L6, and u, v, and w are all 2 bytes.  :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lots of Questions (I'm a newb ^_^)
« Reply #41 on: March 13, 2010, 10:35:53 pm »
i wonder why x.x