Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 00:45:23 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 10 11 [12]   Go Down
  Print  
Author Topic: Progress -  (Read 3292 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #165 on: 20 February, 2006, 14:52:00 »
0

That is kinda the problem... Unless I leave off some stats...

There will be 151 save lists, if someone were to just catch one of each. The save lists, if I were to just combine it, would be massive... I also think I know how I am going to do moves, that is fairly easy, as each move will have a corresponding number. That will make it less hectic.

So far, I am thinking about taking off the SP stats, as I never really saw them work with anything in the original game anyways. I will have to have a basic stats, like hp, att, def, evasion, accuracy, and the pp of each move. The others might not make it on there... Smileysmile.gif

Stats will be in lists, I was just meaning that it would be cool for self modifying code, as you could just store the stats in a program when not in a battle...
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
MathStuf
Guest
« Reply #166 on: 21 February, 2006, 22:36:00 »
0

SP can contribute up to 63 points that you can see when pushed to the max...so yeah...they do kinda matter...If you have SP and DV stored, you could just recalc everytime they are needed...
Logged
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #167 on: 22 February, 2006, 09:17:00 »
0

Well, crud... I know what I could do. I could use the setupeditor, and each list be numbered 1-151 (Unless they are evolving, then they would have to somehow retain the original number... Or maybe I could just have it move up as well...)

*sigh* This is gonna be so blasted complicated... Sadsad.gif

I am just gonna get the basic list set up, so I can finish up the ingame menu, and make the continue function work. After that, maybe I will continue with the maps...
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
MathStuf
Guest
« Reply #168 on: 25 February, 2006, 00:06:00 »
0

QuoteBegin-tifreak8x+Feb 22 2006, 8:17-->
QUOTE (tifreak8x @ Feb 22 2006, 8:17)
*sigh* This is gonna be so blasted complicated... Sadsad.gif

 I'm getting to that point...49k for GUI...yeah...
Logged
dragon__lance
Guest
« Reply #169 on: 25 February, 2006, 00:16:00 »
0

sounds complex...hope it works out though Smileysmile.gif
Logged
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #170 on: 25 February, 2006, 00:48:00 »
0

I hope so too... After the release of AOD 82, I will see about workin on this again...
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
necro
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 16 May, 2011, 22:52:04
Date Registered: 02 September, 2008, 07:27:51
Location: Ohio, land of stuff
Posts: 1502


Total Post Ratings: +14

View Profile
« Reply #171 on: 25 February, 2006, 01:01:00 »
0

~Party Pokemon Stats~
(48 bytes each)*6= ~288 bytes

Pokemon Number (1-155) 3 digits
HP(-54125+9999) 4 digits
MHP(-54125+9999) 4 digits
Atack(-54125+999) 3 digits
Def(-54125+999) 3 digits
Speed(-54125+999) 3 digits
Evasion(-54125+999) 3 digits
Level(1-100)[+1] 2 digits
move1(-54125+99) 2 digits
PP(-54125+99) 2 digits
move2(-54125+99) 2 digits
PP(-54125+99) 2 digits
move3(-54125+99) 2 digits
PP(-54125+99) 2 digits
move4(-54125+99) 2 digits
PP(-54125+99) 2 digits
Level(-54125+99) 2 digits
ExprenceNEEDED(-54125+99999) 5 digits

~Box Pokemon Stats~
(29 bytes a pokemon)*[ if there are 200 boxes in the pc] ~5800 bytes
-------------------------------------------
Pokemon Number (1-155) 3 digits
MHP(-54125+9999) [storing auto resisitates] 4 digits
Atack(-54125+999) 3 digits
Def(-54125+999) 3 digits
Speed(-54125+999) 3 digits
Evasion(-54125+999) 3 digits
Level(1-100)[+1] 2 digits
move1(-54125+99)[full pp] 2 digits
move2(-54125+99)[full pp] 2 digits
move3(-54125+99)[full pp] 2 digits
move4(-54125+99)[full pp] 2 digits
Level(-54125+99) 2 digits
ExprenceNEEDED(-54125+99999) 5 digits
----------------------------------------------------------
~Individual Pokemon stats~
[155]*=15500 MAX! (WILL ALMOST SURELY BE WAY LOWER) ((even this will easily fit in the ram though))

Name:5-20 bytes

~String based stats~ 30 bytes
Pokemon Number (1-155) 3 digits
HP growth(.00-.999) [*.1] 3 digits
Atack grwth(.00-.999) [*.1] 3 digits
Def grwth(.00-.999) [*.1] 3 digits
Speed grw(.00-.999) [*.1] 3 digits
Evasion growth(.00-.999) [*.1] 3 digits
Exprence NEEDED Growth Rate(.00-.999) [*.1] 3 digits
Type1(-54125+99) 2 digits
Type2(-54125+99) 2 digits
Evolve into(-54125+999) 3 digits (if non evolve, make it evolve into itself)
Level to evolve (-54125+99) 2 digits (-54125+1 is an evee)

Move list consists of: move(-54125+99),level gained (-54125+1 means it is possible for it to gain,0-99),...

5 bytes per move plus a few for the list header
other info? (up to ~50)
---------------------------------------------
I could make you a loader like this.  I already do this in my map loader for zelda {and I tested that part of it out at least and it was flawless}...or you could make your own.  Right now, I'm realy busy so if you wnated me to make such a thing there'd be a bit a wait before I'd get it done.  Further, there are ways to even further compress data to ridiculous levels.  The only thing that you will probably need is a way to store all these lists into a program and then into the flash and all.  There are plenty of places to cut corners in  system like this, and subsequently save yourself huge sums of memory.  Further, all of these numbers are concivable maximums, not minimums...so they will likely be lower any ways (like wether you would controll a pokemon's stat growth to the thousanths place).

So, don't dispare and don't say "a long string is evil" because it is actualy way more effecient of a way to do things and is a lot more managable than a ton of lists.
Logged

I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #172 on: 25 February, 2006, 09:34:00 »
0

Is there any way you could pm me that part of the code???

And I know a long string isn't evil. That is what I use for a lot of stuff in my games now...

And I wasn't really dispairing, I just wasn't really sure how to procede with this problem...
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
MathStuf
Guest
« Reply #173 on: 25 February, 2006, 13:06:00 »
0

Just a few fixes I see...

QuoteBegin-necro+Feb 25 2006, 0:01-->
QUOTE (necro @ Feb 25 2006, 0:01)
~Party Pokemon Stats~
(48 bytes each)*6= ~288 bytes

Pokemon Number (1-155) 3 digits
HP(-54125+9999) 4 digits
MHP(-54125+9999) 4 digits
Atack(-54125+999) 3 digits
Def(-54125+999) 3 digits
Speed(-54125+999) 3 digits
Evasion(-54125+999) 3 digits
Level(1-100)[+1] 2 digits
move1(-54125+99) 2 digits
PP(-54125+99) 2 digits
move2(-54125+99) 2 digits
PP(-54125+99) 2 digits
move3(-54125+99) 2 digits
PP(-54125+99) 2 digits
move4(-54125+99) 2 digits
PP(-54125+99) 2 digits
Level(-54125+99) 2 digits
ExprenceNEEDED(-54125+99999) 5 digits

~Box Pokemon Stats~
(29 bytes a pokemon)*[ if there are 200 boxes in the pc] ~5800 bytes
-------------------------------------------
Pokemon Number (1-155) 3 digits
MHP(-54125+9999) [storing auto resisitates] 4 digits
Atack(-54125+999) 3 digits
Def(-54125+999) 3 digits
Speed(-54125+999) 3 digits
Evasion(-54125+999) 3 digits
Level(1-100)[+1] 2 digits
move1(-54125+99)[full pp] 2 digits
move2(-54125+99)[full pp] 2 digits
move3(-54125+99)[full pp] 2 digits
move4(-54125+99)[full pp] 2 digits
Level(-54125+99) 2 digits
ExprenceNEEDED(-54125+99999) 5 digits


--HP can't get to 1000, so you only need up to 999 for that, not 9999.
--Evasion isn't a stat.
--Experience needed should probably be stored as experience it has and needed should be calculated everytime it is needed (from the experience formulae).
--The stats should only be 2 digits for the DV. Nothing else is needed.
--Put Stat experience in there (5 digits for each of the 5 stats).

QuoteBegin-necro+Feb 25 2006, 0:01
-->
QUOTE (necro @ Feb 25 2006, 0:01)
~Individual Pokemon stats~
[155]*=15500 MAX! (WILL ALMOST SURELY BE WAY LOWER) ((even this will easily fit in the ram though))

Name:5-20 bytes

~String based stats~ 30 bytes
Pokemon Number (1-155) 3 digits
HP growth(.00-.999) [*.1] 3 digits
Atack grwth(.00-.999) [*.1] 3 digits
Def grwth(.00-.999) [*.1] 3 digits
Speed grw(.00-.999) [*.1] 3 digits
Evasion growth(.00-.999) [*.1] 3 digits
Exprence NEEDED Growth Rate(.00-.999) [*.1] 3 digits
Type1(-54125+99) 2 digits
Type2(-54125+99) 2 digits
Evolve into(-54125+999) 3 digits (if non evolve, make it evolve into itself)
Level to evolve (-54125+99) 2 digits (-54125+1 is an evee)

Move list consists of: move(-54125+99),level gained (-54125+1 means it is possible for it to gain,0-99),...

5 bytes per move plus a few for the list header
other info? (up to ~50)


Get rid of the Growth rate you have and use 1 digit to store:
1=Slow
2=Fading
3=Normal
4=Fast
And getting rid of the growth stuff and replacing with base stats would be much easier.
Logged
kalan_vod
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 15 July, 2011, 07:40:04
Date Registered: 01 September, 2008, 01:02:11
Posts: 2992


Total Post Ratings: +9

View Profile WWW
« Reply #174 on: 25 February, 2006, 15:42:00 »
0

Wow, this looks like alot of time is being put into it.
Logged
necro
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 16 May, 2011, 22:52:04
Date Registered: 02 September, 2008, 07:27:51
Location: Ohio, land of stuff
Posts: 1502


Total Post Ratings: +14

View Profile
« Reply #175 on: 25 February, 2006, 23:36:00 »
0

thats what I meant by the fact you could use many fewer  stats and/or add others.  The code would basicaly have to be heavily modiied and optimised for the situation, IOW, all I can tell you is the method to do it unless I made it for you.  The basic method involves a string of "0123456789 being sub()ed at the value of the digit you want to store into the string.

IOW: you manipulate a sting to store a var into a string (why isn't that a option in basic?) and then you can paste that string into other strings and such, and you read these string chuncks with a expr() of them.  If you don't get this, xlib guru (if anyone ever offers to help work on it) will have a section all about this.

here are some code examples



::To get a party's pokemon's Def number (pretend the vars I made up are going to be used {48 bytes for each pkmn})
...
"Now that party stats are in string 9, lets get the individual "pokemon's data into string 8
Sub(Str9,48*(which party pokemon-1)+1,48)->Str8
"Lets get def. stat and store it into vairiable A
Sub(Str8,8 "which is 4+4+3,plus a string correction of 1",3)
expr(Ans)->A



::Store 35 (from D) into a pokemon's defense
...
"0123456789->Str1
D/10->C
round(C,0
Ans-(CC
sub(Str1,C,1)->Str2
D-100C->D
Ans/1->C
round(C,0
Ans-(CC
Str2+sub(Str1,C,1)->Str2
D-10C->C
Str2+sub(Str1,C,1)->Str2
End
"Now that your three digits have been stored into string 2
Sub(Str8,1,7)+Str2+Sub(Str8,11,48
"All the data before your stat plus your new stat data plus the
"data preceding go together to replace the old stat's data
Logged

I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #176 on: 26 February, 2006, 10:12:00 »
0

Wow...  O_Oshocked2.gif

I will see about trying that out...
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
necro
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 16 May, 2011, 22:52:04
Date Registered: 02 September, 2008, 07:27:51
Location: Ohio, land of stuff
Posts: 1502


Total Post Ratings: +14

View Profile
« Reply #177 on: 26 February, 2006, 22:09:00 »
0

intemidating, eh?  It basicaly means figure out what data you need first (get everything else coded with just like one pokemon at a time for example) and then do the data storage last.
Logged

I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker
tifreak
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 18:40:51
Date Registered: 16 September, 2008, 05:51:59
Location: Federation Starship Enterprise
Posts: 2850


Total Post Ratings: +73

View Profile WWW
« Reply #178 on: 26 February, 2006, 23:10:00 »
0

Yeah, a little bit... I will see if I can figure it out. Thanks for the info. Smileysmile.gif
Logged

Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
Pages: 1 ... 10 11 [12]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 2.18 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.