Author Topic: [PP] Progress '11  (Read 68442 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #120 on: June 26, 2011, 08:30:29 pm »
I've managed to kill off bugs relating to the Run option in the battle gui.

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #121 on: July 01, 2011, 07:38:23 am »
Well, I decided this morning that I needed to grit my teeth and add another small program to the list of programs that are currently being used. prgmZWT is a wait for key program that flashes the upside down pyramid when it displays text.

Why am I adding such a tiny program of only 62 bytes to the mess of them that are already in the VAT you might ask?

Because in ZPP (party display program) I saved 84 bytes by replacing the 2 instances of the same code with prgmZWT. In the temp battle gui program currently called prgmA, I have saved 173 bytes by replacing the same code roughly 5 times. Once I get around to it, I'll have to go through some of the other programs and see about cleaning them up a bit with this as well.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Ashbad

  • Guest
Re: [PP] Progress '11
« Reply #122 on: July 01, 2011, 08:54:14 am »
Good optimization :) what is the current count of subprograms up to now?

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #123 on: July 01, 2011, 09:12:57 am »
I sadly have no idea. I will guess between 60 and 70, but I won't know for certain until I can combine programs into the main project calc and get it backed up :<

And I'm not going to worry much about that until I can get the battle system fully functional.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #124 on: July 13, 2011, 07:53:25 am »
As some know, I attempted to test out the items system, only to discover there isn't enough RAM to complete the task. I've done some code moving from the party display program into an appvar. I then took that program, and for every instance of a Z=#, the conditional was removed and all the code that was in the If Then End block was put onto one line. I know what 3 of the 4 lines of code are for, I'm still working on determining exactly what the last one is. The appvar is now sitting at 4601 bytes, it removed well over 1k from the party display program. There is considerable amount of work that needs to be completed yet, though I will get done what I can as I can, and hopefully I will make it so that it is playable once again.

I also think I can easily archive the picvar that is used to save the state of the battle screen as well, and unarchive it when it is needed again, that will save some used memory as well.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: [PP] Progress '11
« Reply #125 on: July 13, 2011, 08:42:29 am »
Yeah I hate it when you run out of RAM while running a program, due to the large data it's working with, and not knowing that a code does after a while :/

Did you put a limit in how many items you can hold in inventory, like the original pokemon?


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 tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #126 on: July 15, 2011, 09:23:06 pm »
I haven't implemented anything like that as of yet, I don't remember how many items a person can hold at once. I probably will put a stop at 50 unique items, but for now, I'm just trying to make things work, and it's not being very cooperative in that regard. :/
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline Sitarknight

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-0
  • I am SitarKnight
    • View Profile
Re: [PP] Progress '11
« Reply #127 on: July 15, 2011, 09:32:30 pm »
Lookin very good :)
"The promise of a Craftknight is stronger than the toughest steel."

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #128 on: July 18, 2011, 09:20:48 pm »
Thanks a ton! I've started on adding archiving bits to programs that are 2 parent programs away. Like, you don't need prgmPOKEMON while you are playing in game, and you don't need the walking engine when in a battle. Hopefully this will help with memory usage and allow me a bit more wiggle room.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #129 on: July 22, 2011, 07:41:04 am »
Managed some progress with getting the battle system to work again after it mysteriously stopped working. Still no idea what the problem was. Anyways, Use of Antidote now works so long as it is on a Pokemon that is in battle. It currently does nothing to the other Pokemon in the party, and I'm not sure why as of yet. I've got a few things to try to see if I can't make it work. I also need to make it subtract the amount from the Item list properly.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Ashbad

  • Guest
Re: [PP] Progress '11
« Reply #130 on: July 22, 2011, 07:55:58 am »
Interesting, hope you get it working.  Is this just for antidote, or for other items too?

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #131 on: July 22, 2011, 04:06:34 pm »
I only really have Antidote programmed in, and one other. I figured I better test my idea and make sure the code block was going to even work before I go writing the code for the other hundred some odd items.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: [PP] Progress '11
« Reply #132 on: July 23, 2011, 03:40:29 am »
yeah it's always good to see if one item works before adding all the others


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 cypressx1

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Re: [PP] Progress '11
« Reply #133 on: July 23, 2011, 08:32:48 am »
it looks cute

Offline tifreak

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: [PP] Progress '11
« Reply #134 on: July 24, 2011, 08:23:27 pm »
Thanks, I think. lol

I've been scratching my head quite hard on a bit of code that doesn't seem to want to work. I've even added in a Pause after part of it, but it ignores it. Hopefully I'll figure something out about it soon.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%