Omnimaga
Calculator Community => Discontinued => Major Community Projects => Correlation => Topic started by: Hot_Dog on March 25, 2011, 05:36:33 pm
-
If you find a bug while testing the beta of Correlation, please report it here. I will fix it as soon as I can.
-
Goodness me, first bug report. I forgot to add the ability to display numbers using ln( and e^( ! Such as ln(1,1,A. I'd better fix that one.
-
Um, I tried using abs( and it is not working... Here is what I was doing:
1:Asm(prgmCORELATE
Pause abs("12345",2,3
0:Asm(prgmCORELATE
-
Hmm...that's interesting, because I had the same problem with Disp abs("12345,2,3
But the bug is fixed. I will upload a new file very shortly under the topic "Correlation Beta Builds." For al testers, please go to "Correlation Beta Builds" to pick up versions of Correlation with bug fixes.
Also, attached below is the source code for those who want it. (Use the same password.) I apologize that it could be more organized and have more comments.
-
When I had my font archived, it says invalid font, unarchiving it works.
-
When I had my font archived, it says invalid font, unarchiving it works.
Hmm, I think that I know what's wrong. Can I have your source programs please, including the font?
Just a reminder to everyone...if you can send me your work, I can fix bugs faster
-
Font is attached.
Source:
:1:Asm(prgmCORELATE
:int("BETAFONT
:e^(1,1,"ABCDEFGHIJKLMN
:int("DD
:0:Asm(prgmCORELATE
EDIT: Also, how do I clear the screen?
-
I'll get to this as soon as I can. But you use ClrDraw to clear the screen. I think I'll make ClrDraw faster in the final build.
-
Hm, Correlation doesn't appear to want to work for me. I'm using the same font that I gave to Yunhua, which is attached below. The code for the test program is:
:1:Asm(prgmCORELATE
:int("AABAABAA
:ClrHome
:ln(1,1,"
:int("DD
:0:Asm(prgmCORELATE
That should work according to the documentation, but the interpreter returns a syntax error on the :int("AABAABAA
-
Any chance that you're testing this on a real calculator? If so, there may be a big problem with my code
By the way, your font is 8 pixels wide, so it will only work with e^(
-
Also not really a bug but in the Manuel for word wrap mode you should add a bold section saying your font mus start at 20 and end at 5B (in hex)
confused the hell out of me as you only say that in the errors section
-
True, I'll take care of that. However, I did say that people would need "space" and "theta"
-
yeah the space is 29 in hex the program yells at you if yoou dont have all the way down to 20 in your font ^_^ i tried it does :/
-
yeah the space is 29 in hex the program yells at you if yoou dont have all the way down to 20 in your font ^_^ i tried it does :/
Oh, that's a bug. I'll fix that
-
lolk then /me reverts his font and waits for the update ^_^
also
0->thetamin:40->thetamax
0->Tmin:40->Tmax
int("FF
is returning err bad window :/
-
Okay, bug crunching is going well so far. Just to let you know, .8xp files rather than typed source code makes things easier for me :)
-
Any chance that you're testing this on a real calculator? If so, there may be a big problem with my code
By the way, your font is 8 pixels wide, so it will only work with e^(
Yes, this is on a real calc, in OS v2.55. It returned the same error with e^(, but duly noted :)
-
lol was really just hoping you would point me in as to why thats not working xD as the rest of its just a rick roll ....
source for that attached with my font
Also you cant use a font thats in archive only in ram <-- think this was said again just reiterating it as ram clears then having to resend a font at school stinks xD
also every time i put a letter to the screen with e^( i get a black box after the last character i put out
-
Qwerty, my suggestion would be switching to classic mode. Otherwise that may be an OS problem, because I have no issues.
Geekboy, as to the black box, make sure your font bitmap is EXACTLY 8 pixels wide, even if your characters are less than that.
EDIT: Goto beta builds for the bug fixed version
-
Wow facepalm on that last one ok next one
word wrap mode just crashes my calc...run program a you will see :/
EDIT:
WAIT does word wrap work with e^( or only ln( ?
-
My sprites show up right if I hard code it, but if I use a for loop, the sprites get corrupted. And I don't know how else to make a scrolling tile map display routine.
example:
Correlation on stuff
:int("BETAFONT //same as Qwerty attached I think
:For(A,0,11
:e^(0,A*8,"A
:End
:int("DD
Correlation off
could someone try this? I can't make a screenie right now. ;)
-
My sprites show up right if I hard code it, but if I use a for loop, the sprites get corrupted. And I don't know how else to make a scrolling tile map display routine.
example:
Correlation on stuff
:int("BETAFONT //same as Qwerty attached I think
:For(A,0,11
:e^(0,A*8,"A
:End
:int("DD
Correlation off
could someone try this? I can't make a screenie right now. ;)
Once again, I apologize and not to be rude, but I really must insist on having your .8xp files. I already have to spend hours a day bug-crunching, no kidding, so it's a time saver to have something to work with.
As for tilemaps, let's say you have a map 16 characters wide and 2 characters high, consisting entirely of As. Use this code:
Correlation on stuff
:int("BETAFONT //same as Qwerty attached I think
:16->ThetaStep
:int("FF
:int("M3 ;Turns on Map Mode
:e^(0,0, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
:int("DD
Correlation off
-
ah, okay, thanks, I think I forgot the map mode part. ;)
also, for the 8xps, I can't upload them at school, so I'll probably just type out the part thats glitchy, or you can wait til weekends to fix bugs I encounter. ;) No pressure.
-
ah, okay, thanks, I think I forgot the map mode part. ;)
also, for the 8xps, I can't upload them at school, so I'll probably just type out the part thats glitchy, or you can wait til weekends to fix bugs I encounter. ;) No pressure.
Oh, okay. I actually should be fine, and thanks for explaining. What are your starting and ending character numbers? I'm asking because you and Qwerty.55 use the same bitmap, but when I use Qwerty's font I get an "ERR:OUT OF RANGE"
-
ok another word wrap bug which can be fixed easily by appending a line of spaces as the last line in your text blob but that takes space
issue with any body of text that doesn't fit evenly on the screen it chops the lower half of the letters off requesting that correlation check to see if there are enough pixels left for the whole font to fit on screen
<random> yay i love bug crunching thanks for the fast response time hotdog </random>
-
ok another word wrap bug which can be fixed easily by appending a line of spaces as the last line in your text blob but that takes space
issue with any body of text that doesn't fit evenly on the screen it chops the lower half of the letters off requesting that correlation check to see if there are enough pixels left for the whole font to fit on screen
<random> yay i love bug crunching thanks for the fast response time hotdog </random>
Any chance you can post some screenies? I'm afraid I have no idea what you're talking about. However, I do know that I've got more work to do on word wrap than I thought ;)
-
yeah give me like
10 minutes as im "doing Homework" after dinner ill poke you on irc when i edit this post with them ^_^
EDIT: (http://img.removedfromgame.com/imgs/ww1.gif)
look threw out the screenie at the bottom row i think its visible
-
ah, okay, thanks, I think I forgot the map mode part. ;)
also, for the 8xps, I can't upload them at school, so I'll probably just type out the part thats glitchy, or you can wait til weekends to fix bugs I encounter. ;) No pressure.
Oh, okay. I actually should be fine, and thanks for explaining. What are your starting and ending character numbers? I'm asking because you and Qwerty.55 use the same bitmap, but when I use Qwerty's font I get an "ERR:OUT OF RANGE"
oh, he used a messed up version (I think) that started at 41, since he thought it was decimal. ;)
-
Yunhua98, I'm having trouble duplicating the bug. Is your font archived? If so, it's probably a RARE bug that I know about and have yet to fix.
In the meantime, I'm really sorry for any inconviences, but since I'm not having the same bug, I can't help out with fixing it
-
Scrolling bug fixed only ones i see atm are the APD issues and the support for lower case letters ^_^ and what has already been stated
so far with word wrap all i see is that you require a space as the last letter on a line any way you can check to see if its would be a space and truncate that space??? would make it a bit cleaner i think ^_^ (more of a feature so no rush on it atm ^_^ )
also on word wrap lines larger than supported (words larger than screen) just make it so nothing is displayed at all....
-
Thanks geekboy. Okay, so savescreen one should be an easy fix. Thanks for testing the long word one.
Also, is the extra space required before "and theta?"
By the way geekboy, when you work on this project, any letters that you want to be lowercase, make uppercase. It will not be hard to turn them to lowercase later.
-
i should have some time later tonight ill doctor up a screen shot to show what i meen looking back on that it was a bad wording of what i meant so ill just use a picture <3
as for now its a rpg so im still hammering out the maps and stuff and how im storing every thing ill make a topic for it later as well yay
-
as for now its a rpg so im still hammering out the maps and stuff and how im storing every thing ill make a topic for it later as well yay
Please do make a topic! I'm looking forward to this RPG!
-
one where should i post it T.T
and 2 doctoring that screenie now gimme 5 minutes maybe 10?
-
one where should i post it T.T
and 2 doctoring that screenie now gimme 5 minutes maybe 10?
Feel free to put it under Our Projects/Correlation
-
awesome any way
(http://img.removedfromgame.com/imgs/ww2.PNG)
if you look on the first image there is a lot of white space in which some smaller words do fit as shown on the left one because its looking like the space must fit in the line pixel wise instead of allowing the space to be cliped
i hope this makes more sense
-
okay, I'm gonna hand copy this. ;) As for the font, use this: http://img.removedfromgame.com/imgs/Font1.bmp
starts at 65 ends at 78 in decimal.
Why doesn't this display a 12x8 map?
:1:Asm(prgmCORELATE
:ClrHome
:ClrDraw
:12->ThetaStep
:0->ThetaMin
:94->ThetaMax
:0->Tmin
:62->Tmax
:int(FF
:int(M3
:int("BETAFONT
:"BBBBBBBBBBBBBAAAAAAAAAABBAAAAAAAAAABBAAAAAAAAAABBAAAAAAAAAABBAAAAAAAAAABBAAAAAAAAAABBBBBBBBBBBBB->Str1
:e^(0,0,Str1
:int("DD
:
:0->K
:
:Repeat K=45
:getkey->K
:End
:
:0:Asm(prgmCORELATE
-
@geekboy okay, I see what you mean. I'm guessing it will be an easier fix, but no promises. It will, however, be fixed. In the meantime, it certainly doesn't hinder your progress, I hope ;D
@yunhua98 All int( commands require quotes. For example, int("FF and int("M3. Otherwise they just return integers!
Also, maps must be at least 16 tiles wide. Sorry.
-
Progress hindering nope annoying cause theres less on the screen yes ;) hmm if i run into any thing else ill let you know still have to test wordwrap in windows ;)
-
you know still have to test wordwrap in windows ;)
Yeah, I should "retest" it, but I don't think that it's in bad shape right now.
-
eh, I had quotes, didn't copy them correctly. :P changing it to 16 and adding more characters makes the map look like a map, but the font is wrong when I do that...
I have a sprite that looks like this:
00111000
01000100
10100010
10000110
01000100
00111000
00111000
01111100
but this is showing up in place of that:
00000000
00000101
00000010
00000000
00111000
01000100
10100010
10000110
basically the top half of the sprite with the bottom half of the sprite assigned before it above it.
-
Ugh, okay I'll have a look.
So, no error when you did 12->Theta Step? That's wierd
-
There was an error, at first it was because of a lack of quotes, it gave window range error.
also, the bug mentioned in my last post disappeared when I put everything into a repeat loop.
EDIT: Actually, some of thse bugs may just be I'm not doing something right. :P The above mentioned code didn't do anything wrong after I corrected it, I just thought it did because the screen wasn't cleared, even though I had a clrdraw before my code. the only way I can clear the screen is press graph after the program finishes running with AxesOff
^might be my first real bug. XD
-
Well, if you're sure it's fixed. I know that sometimes a font moves around in RAM or archive and that messes things up. Are you sure that the problem was just not having the screen cleared?
As a temporary fix to your "REAL" bug, use ZoomRcl before ClrDraw.
-
Well, if you're sure it's fixed. I know that sometimes a font moves around in RAM or archive and that messes things up. Are you sure that the problem was just not having the screen cleared?
As a temporary fix to your "REAL" bug, use ZoomRcl before ClrDraw.
kk thanks. ;) If the "bug" pops up again, I'll probably say something, but for now, I think its good./me really needs to be more careful.
-
kk thanks. ;) If the "bug" pops up again, I'll probably say something, but for now, I think its good./me really needs to be more careful.
Just remember that you're testing a new language that has bugs. So don't bang your head against a wall. That isn't easy. I really appreciate your time and effort.
-
Bug crunching is going well, but tomorrow I won't be able to fix as many, since I need to fill out some forms and turn them in to my college. As there are no critical bugs to fix, please continue to work on your projects doing what you can until the "minor issues" are solved.
-
post font has uppper and lower letters gluck hotdog
source attached
edit ROFL sorry about the screen stretching xD
-
Okay, geekboy, (I'm joking of course) if you ask for one more feature in Word Wrap, I'm going to scream!
-
lol the only other thing i see in the future are issues with the window mode which i have yet to test and that dam APD bug ;)
other than that i think i may be good xD now i just need to get a parser going :/ time to go attack qwerty !!
-
I forgot, the APD bug was fixed
-
oh yay that makes me even happier xD
-
Wow seems like every time i touch correlation i'm finding something broken with it xD
any way bug in the new lowercase system
when you scroll up wards to a line that contains an (odd i think not to sure havent counted yet) number of asmprogs it flips case each time
(http://geekboy.57o9.org/ti/lwrbug.gif)
ill attach the producing source code in a minute
Edit: Attached
it uses the uplwrfnt.8xp i posted a few posts back as the font
-
Interesting...it's a side effect of a bug that I already know exists. (Which means it is not dependent on the number of lines.) I'll take care of that.
Btw, nice new avatar, and nice numbers in the font
-
lol yeah it needs some work the lower case letters are so unproportional (granted for the topic of the rpg it kinda fits....)
also thanks stole my bro's hat to make it xD
-
This was mentioned on IRC and I have been meaning to bring this up. You should make it so that running the App from the Apps menu either installs Correlate or it just exits.
call Install_Corelate
bcall(_JForceCmdNoChar )
That is all you need to add (6 bytes) to save a lot of headaches :P
-
I had a good reason for not doing an application install, but at least I can add something such as a splash screen that says "please install from a Ti-Basic program" and then exit
-
Yeah, I figured. Either way, it is good practice to let the app exit if it isn't supposed to do anything. You can still use the bcall which will exit an app automatically, without crashing. Usually if I download an app, I don't expect it to crash if I try to run it XD
-
Yeah, I figured. Either way, it is good practice to let the app exit if it isn't supposed to do anything.
I agree. I'll fix that in the next release
-
Thanks :) I keep using it on accident and it was just bugging me every time I cleared my RAM. I have gotten into the habit of selecting apps by number, but since Correlation was put on it, I keep forgetting the Graph3 and GrpTool are moved down the list XD
-
Thanks :) I keep using it on accident and it was just bugging me every time I cleared my RAM. I have gotten into the habit of selecting apps by number, but since Correlation was put on it, I keep forgetting the Graph3 and GrpTool are moved down the list XD
Ouch! I understand that it can be frustrating
-
I have a good reason for double posting.
Found two more bugs, possibly 3. MW mode causes calculation errors in Word Wrap, and Word Wrap makes text hard to read when the run indicator is on. The possible third one is the calculator crashing with an illegal font, rather than displaying "ERR: INVALID FONT."
-
For those of you writing games or converting games that use the homescreen, don't fret and think that you're doing something wrong. I found some bugs.
-
So I'm trying to make a 16x16 font to start testing animated tiles with, but the font I get is just weird. It offsets the sprite, so it doesn't show up correctly, instead it essentially swaps the two halves of the sprite. Also, I tried to make a simple animation program with the odd font, but nothing seemed to happen. The sprite doesn't seem to change frames. Am I doing something wrong, or would this be another bug?
Also, my font starts with A.
-
So I'm trying to make a 16x16 font to start testing animated tiles with, but the font I get is just weird. It offsets the sprite, so it doesn't show up correctly, instead it essentially swaps the two halves of the sprite. Also, I tried to make a simple animation program with the odd font, but nothing seemed to happen. The sprite doesn't seem to change frames. Am I doing something wrong, or would this be another bug?
Also, my font starts with A.
If your font is in RAM, I'm pretty sure that I JUST fixed the sprite flipping bug, though I don't know yet (sorry, no download yet :()
As for your animation, your first tile must start with Radian. Be sure you have these two commands:
1. det({3} ;Tells Correlation that the animation takes 3 frames
2. int("DD ;Tells Correlation to move to the next frame of animation
-
So I switched the started token to Radian and it seems to work, except for the flipping, which happens when I have the font both archived and unarchived.
-
So I switched the started token to Radian and it seems to work, except for the flipping, which happens when I have the font both archived and unarchived.
Okay, I'll look into the flipping
-
I hope you can manage to solve all the issues without too much hassle. :)
-
I hope you can manage to solve all the issues without too much hassle. :)
Well some, like the flipping issue, are easy to fix. Others, such as word wrap fixes, are more difficult. (I almost tore my hair out at the fixes I had to make to word wrap.) But I'm having fun :D
I'd have to say the most difficult part is keeping features to a minimum so that Correlation can be released in a timely manner. Unfortunately I thought of a cool "Quick Map Mode" feature which will require more code, as well as placing Map Mode in a seperate chapter of the manual.