Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: theone on March 02, 2006, 05:53:00 am

Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 02, 2006, 05:53:00 am
ok my rpg game is going great thx to you guys, but i have a question how should i store the game stats(levels, health, mana, X,Y,ect...)? i could store it in varibles but that is 2 easy to delete and a hasle, i uaslly i store it in in lists but iam worried that someone will hack it   :dang:banghead.gif:angry:mad.gif and make the game easier, can some one tell me what i could do?

on more thing i have all the my sprites saved on pic 0 is there any easy way to transfer the points into a program in my RPG?

thank you
Title: [GAME DESIGN] need advice with game stats
Post by: tifreak on March 02, 2006, 06:28:00 am
Umm, lists is the best way to store stats, you could copy the list into another list, and when someone goes to start from a saved game, and the two lists are no longer the same, then you could display a message, saying that the data was corrupted, and would have to be deleted or something... :)smile.gif Keeps them from hacking as easily...
Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 02, 2006, 06:48:00 am
but couldn't they just edit the second list too?
Title: [GAME DESIGN] need advice with game stats
Post by: kalan_vod on March 02, 2006, 12:50:00 pm
Yeah it would be easy to hack both lists >.<. You can't prevent hacking on basic games, but you can make it a little harder to hack. On ticalc.org I believe there is a list<->appvar program, so you could save the info into a list and then run the appvar program and that would make it a list. But as an added featured you could make two list and do like tifreak said! If you don't understand I can help with some code if you would like, not saying you are incompident (spelling? :Pblah.gif). Good luck!
Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 04, 2006, 03:40:00 am
ok thanks, but is there any way that u can make pic 0 into pionts on a prgram, or do you just have to type it your self?

you get what i am trying to say???  
Title: [GAME DESIGN] need advice with game stats
Post by: Krid on March 04, 2006, 03:43:00 am
QuoteBegin-theone+Mar 4 2006, 15:4-->
QUOTE (theone @ Mar 4 2006, 15:40)
ok thanks, but is there any way that u can make pic 0 into pionts on a prgram, or do you just have to type it your self?

you get what i am trying to say???  

 I get what you are trying to say, but depending on the complexibility of the picture, I guess you can expect an increase in size. Thus I'd recommend you to use a pic file, that's what I'll be doing.

As for the list hacking, Rebirth will probably feature out-in-the-open lists to be hacked if wished, at least on the first release. I wouldn't worry too much about potential people messing around with your game, since you are still learning just as I am. Besides, once they downloaded and checked it out it's good, isnt it? :Dbiggrin.gif
Title: [GAME DESIGN] need advice with game stats
Post by: CDI on March 04, 2006, 03:49:00 am
In A Dot RPG v1.1 I put in a Cheat Console to cange the save list easily x.x
Title: [GAME DESIGN] need advice with game stats
Post by: Krid on March 04, 2006, 03:53:00 am
Heh, I won't make it _that_ easy =)
Title: [GAME DESIGN] need advice with game stats
Post by: CDI on March 04, 2006, 03:58:00 am
well in the A Dot RPG v1.0 readme I listed the elements of the list for cheaters, but nobody reads the readme x.x
Title: [GAME DESIGN] need advice with game stats
Post by: crzyrbl on March 04, 2006, 07:02:00 am
QuoteBegin-kalan_vod+Mar 2 2006, 18:5-->
QUOTE (kalan_vod @ Mar 2 2006, 18:50)
Yeah it would be easy to hack both lists >.<. You can't prevent hacking on basic games, but you can make it a little harder to hack. On ticalc.org I believe there is a list<->appvar program, so you could save the info into a list and then run the appvar program and that would make it a list. But as an added featured you could make two list and do like tifreak said! If you don't understand I can help with some code if you would like, not saying you are incompident (spelling? :Pblah.gif). Good luck!  

 List to AppVar??? you hv to show me this man...
Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 05, 2006, 06:28:00 am
QuoteBegin-Krid+Mar 4 2006, 9:43-->
QUOTE (Krid @ Mar 4 2006, 9:43)
QuoteBegin-theone+Mar 4 2006, 15:4-->
QUOTE (theone @ Mar 4 2006, 15:40)
ok thanks, but is there any way that u can make pic 0 into pionts on a prgram, or do you just have to type it your self?

you get what i am trying to say???

I get what you are trying to say, but depending on the complexibility of the picture, I guess you can expect an increase in size. Thus I'd recommend you to use a pic file, that's what I'll be doing.


 what do you mean by a pic file?
Title: [GAME DESIGN] need advice with game stats
Post by: Krid on March 05, 2006, 06:34:00 am
Picture files, the file you store your sprites in according to the topicstart.
Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 05, 2006, 01:02:00 pm
you mean like pic 0, or pic 2 ect....?
Title: [GAME DESIGN] need advice with game stats
Post by: kalan_vod on March 06, 2006, 05:11:00 am
Well I searched for this and I guess I was incorrect as I didn't find anything like this >.<. But I do know it is possible, we just need to bug a Asm coder to do it :Pblah.gif or learn it ourselves...
Title: [GAME DESIGN] need advice with game stats
Post by: Krid on March 06, 2006, 05:19:00 am
QuoteBegin-theone+Mar 6 2006, 1:02-->
QUOTE (theone @ Mar 6 2006, 1:02)
you mean like pic 0, or pic 2 ect....?  

 Yes, those are pic files.
Title: [GAME DESIGN] need advice with game stats
Post by: Spellshaper on March 06, 2006, 07:50:00 am
I guess I found sth. at http://www.ticalc.org/archives/files/fileinfo/301/30193.html

stores pics into prgms using Asm ;)wink.gif
Title: [GAME DESIGN] need advice with game stats
Post by: theone on March 08, 2006, 10:46:00 am
lol ok, sorry u confused me there :)smile.gif
Title: [GAME DESIGN] need advice with game stats
Post by: Spellshaper on March 08, 2006, 10:59:00 am
now u got me dumbfounded...

who confused u where about what??? :???:confus.gif