Author Topic: [PP] Progress '10  (Read 124140 times)

0 Members and 3 Guests 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
[PP] Progress '10
« on: January 01, 2010, 12:37:11 am »
Yup, new year, new topic.

I got the code for the NPCs to supposedly talk, but something is messed up and I get an error syntax and dumped onto the homescreen with 'prgmZGA' listed. It is odd, because this is a BASIC program, not ASM.

I am not 100% sure what is wrong at this very moment, but I will work on it more in the morning.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: [PP] Progress '10
« Reply #1 on: January 01, 2010, 01:15:31 am »
ouch, good luck fixing it

Backup too in case x.x

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 '10
« Reply #2 on: January 01, 2010, 09:47:24 am »
yeah, I think I know what's wrong, I shall begin testing now, if I don't get distracted with wanting to play games or other silly things. =p
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [PP] Progress '10
« Reply #3 on: January 01, 2010, 09:49:04 am »
Ooh oooh could it be Y2k10?  ;D You probably just mis-typed something somewhere. =) Debugging can really be a pain in the arse sometimes though!

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 '10
« Reply #4 on: January 01, 2010, 11:05:32 am »
yeah, it can be, And I don't think that is the problem.

I totally got distracted by F.E.A.R. Files <<;;

*goes back to work*

Edit:

yeah, as I thought, was using expr( and that is what was causing the error. Now, for some reason, it isn't displaying the sprite, because of wrong length issues.. hmm..

however, it does pull up the correct NPC text.. =D
« Last Edit: January 01, 2010, 11:08:37 am by tifreak »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: [PP] Progress '10
« Reply #5 on: January 01, 2010, 11:58:27 am »
Yes, if you get dumped back to the homescreen at the name of the program, it is most likely an expr( error.

Good luck.  I can't wait to see NCPs talk and move. :)

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 '10
« Reply #6 on: January 01, 2010, 01:10:23 pm »
oh, its coming.. very, very soon. >]

Edit:

« Last Edit: January 01, 2010, 08:43:10 pm by tifreak »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: [PP] Progress '10
« Reply #7 on: January 01, 2010, 10:38:36 pm »
Wow!  That looks incredibly incredible! ;)
I really, really like that.  You did an awesome job!  I'm glad it works.  I can't wait to see what you come up with next! ;D

Again since this is a new forum, I can't click the +1 thumbs up. :(

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 '10
« Reply #8 on: January 01, 2010, 11:09:22 pm »
Thanks! =D

You have no idea how immensely proud of myself I am with this. XD Took a while, but I finally came up with an idea that works and works well.I need to add in the the event related stuff with the NPCs, lord only knows how long that will take, since it all has to be hard coded. But the way I have it set up, it is a matter of recalling a list, seeing if it is set or not, and then getting the portion of the string that is wanted, so shouldn't really take much.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [PP] Progress '10
« Reply #9 on: January 02, 2010, 08:28:41 am »
Very nice! Glad to see you got it working smoothly 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 '10
« Reply #10 on: January 02, 2010, 01:11:08 pm »
Thanks, and yes, I am happy that that part works too.

Next up is working on the 'Event NPCs'.

Basically they are things that are effected by you doing certain things. An example would be Ash's mom. She repeatedly just says you need to gtfo and the prof is looking for you. Once you get your pokemon, she will then be able to heal.

This part is easy to code. It is a matter of 'groups'. Each 'group' is based off the NPC#, And then those check to see if the L_EVEN list element is tripped. From there, it sub(s the string and dumps it back off into Str7 for safe keeping until it is needed.

I also just realized that I can eliminate 2 bytes per NPC string being used for the normal NPCs and 4 or more for the ones that are event related. The event related ones I currently have separated out in to chunks split by the '[' character, but I will end up removing them as I get the ZNPCEV program created.

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

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: [PP] Progress '10
« Reply #11 on: January 02, 2010, 01:25:21 pm »
Wow, this is a very good milestone!  Everything looks very nice :)

(and good job on the smal optimizations ;))

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 '10
« Reply #12 on: January 02, 2010, 02:29:39 pm »
Thanks.

I might have to create a program so I can select a point in a string and have it tell me what positions and stuff to use XD

Counting strings on paper is just not nearly as fun as it looks, let me tell ya.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: [PP] Progress '10
« Reply #13 on: January 02, 2010, 04:18:04 pm »
Sounds great!  Good luck.

I don't know if this would be useful to you, but here's my favorite way of using sub(.
ex:
2->A //You want the second item
{1,6,6,4,1,4,1 // 1 followed by the lengths of the Item. (Item 1 has a length of 6, Item 2 has a length of 6, Itm3 has a length of 4... )
sub("Item 1Item 2Itm3455556",sum(Ans,1,A),Ans(A+1

This results with the second item, "Item 2".
I hope this helped someone. :)
« Last Edit: January 02, 2010, 04:41:01 pm by ztrumpet »

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 '10
« Reply #14 on: January 02, 2010, 04:51:12 pm »
Item names are stored in a program, line by line so just need to be recalled from there with celtic 2.

And that might be useful to someone. Not saying it isn't, but not sure how that will help me at this time. Thanks tho.

Right now I have the code written out for the events npcs, will possibly get that put in tonight, might be tomorrow tho. Lots to do this evening.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%