Author Topic: Bug Reports  (Read 452802 times)

0 Members and 3 Guests are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #165 on: April 27, 2010, 12:51:56 am »
Its because the expression isn't evaluated the way you think it is, right now it is this

((Z=54) Or Z) = 15

because expressions are evaluated left to right.  Try adding a single ( right here

Z=54 or (Z=15

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #166 on: April 27, 2010, 12:53:24 am »
I think you're just missing the parenthesis.  You need them for logic operators, at least on all the arguments after the first one.

Z=54 or (Z=15)

Edit: Ninja'd!  Unrelated: Why isn't there a delete post button?  I usually see them on other boards if your post is the last one in a topic.
« Last Edit: April 27, 2010, 12:55:27 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bug Reports
« Reply #167 on: April 27, 2010, 01:08:37 am »
Hmm, strange...I have a delete button, but then again I have one for every post. It mggt be a problem with this board's settings.
/e

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: Bug Reports
« Reply #168 on: April 27, 2010, 02:46:32 am »
I think you're just missing the parenthesis.  You need them for logic operators, at least on all the arguments after the first one.

Z=54 or (Z=15)

Edit: Ninja'd!  Unrelated: Why isn't there a delete post button?  I usually see them on other boards if your post is the last one in a topic.
oh thanks I forgot about parhentesises for that x.x

As for delete button I should look into that later. I think only staff can do it atm.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #169 on: April 27, 2010, 11:19:08 pm »
Just noticed that the signed routines are not working for any command where the unsigned version is auto-optimized.  Right now, its only //2, //128 and //256 I think.  I forgot that they need slightly different auto-optimizations.  Just wanted to report that in case anyone is having problems with this.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Bug Reports
« Reply #170 on: April 27, 2010, 11:40:31 pm »
Oooh ok, thanks for pointing out ^^

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #171 on: May 04, 2010, 12:40:14 pm »
I just noticed a really stupid mistake on my part.  I accidentally was checking for a right bracket "]" instead of a brace "}" for the pointers.  I just updated with the fixed file, so if you downloaded 0.2.2 before this post, you'll want to re-download it.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Bug Reports
« Reply #172 on: May 04, 2010, 02:13:23 pm »
hehe that happens x.x

I did not download it, though, I'Ll do it now and recompile my tunnel game. I wonder what'll be the size difference. I might re-check my code for more optimizations too.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Bug Reports
« Reply #173 on: May 04, 2010, 02:21:10 pm »
Also...

AXECOUNT no longer compiles. (ERR: BAD SYMBOL).
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Bug Reports
« Reply #174 on: May 04, 2010, 03:14:14 pm »
Same for my Axe Tunnel clone :/

ERR:BAD SYMBOL at random percentages (examples, first attempt 34%, 2nd 43, 3rd 67, etc. It's never the same everytime)

Program compiled perfectly under 0.2.1 and 0.2.1b:
Quote from: BASIC Code
:.DJTUNNEL Axe Parser Tunnel clone
:"vDJTUNNHS"→GDB1
:UnarchiveGDB1
:[80C0E0F0E0C08000→Pic1
:"AXE TUNNEL"→Str2
:"2010, by DJ Omnimaga"→Str3
:"SPEED:"→Str4
:0→D→P+1→S+1→Q→K
:5→J
:8→C+1→R
:29→I+1→A
:40→W→T
:Full
:DiagnosticOff
:ClrHome
:ClrDraw
:For(Z,9,21
:Line(0,Z,95,Z
:End
:Line(0,56,95,56
:StorePic
:ClrDraw
:For(Z,8,22
:Line(0,Z,95,Z
:End
:For(Z,56,63
:Line(0,Z,95,Z
:End
:DrawInv
:Fix 5
:Fix 1
:Text(20,12,Str2
:Fix 0
:Text(14,57,Str3
:Fix 3
:Text(5,35,Str4
:Repeat Z=54
:DS<(K,12)
:DispGraphr
:End
:DS<(J,11-(S*2))
:Pt-Change(I,35,Pic1)
:I+1→I
:If I=86
:29→I
:End
:End
:getKey→Z
:If Z=15
:1→S
:Goto GO
:End
:Z=3-(Z=2)+S→S
:If S=6
:5→S
:End
:!If S
:1→S
:End
:End
:ClrHome
:ClrDraw
:For(Z,10,50
:Line(0,Z,95,Z)
:End
:Repeat W=6 or getKey(15)
:P+S→P
:DS<(C,8)
:rand^2*2-1→D
:End
:R+D→R
:!If R
:1→R
:End
:If 62-W<R
:62-W→R
:End
:A-getKey(4)+getKey(1)→A
:Pt-Change(0,A,Pic1)
:Line(95,R,95,R+W)
:DS<(Q,S)
:DispGraph
:If pxl-Test(0,A) or pxl-Test(0,A+6)
:Goto GO
:End
:End
:Pt-Change(0,A,Pic1
:Horizontal-
:DS<(T,99)
:W-1→W
:End
:End
:Lbl GO
:getKey
:Fix 4
:Fix 2
:ClrHome
:If P
:Output(0,0,"Score:",P►Dec
:End
:GetCalc(GDB1)→M
:If M
:If P>{S*2+M-2}r
:P→{S*2+M-2}r
:End
:Else
:GetCalc(GDB1,10
:GetCalc(GDB1)→M
:P→{S*2+M-2}r
:End
:Output(0,1,"SPEED HIGHSCORE
:For(S,1,5
:Output(0,S+1,S►Dec,"     ",{S*2+M-2}r►Dec
:End
:Output(0,0
Generated by SourceCoder, © 2005 Cemetech
« Last Edit: May 04, 2010, 03:14:31 pm by DJ Omnimaga »

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Bug Reports
« Reply #175 on: May 04, 2010, 05:49:54 pm »
Is the BAD SYMBOL random? Is there a remedy for this kind of thing or am I too stupid to see the obvious?
I even redownloaded the AXECOUNT program and tried to recompile it.
It still failed.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Bug Reports
« Reply #176 on: May 04, 2010, 05:53:33 pm »
it's random. It happens every compiling attempt, just not at the same %
« Last Edit: May 04, 2010, 05:53:54 pm by DJ Omnimaga »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #177 on: May 04, 2010, 06:17:32 pm »
Hmm... I'll look into this.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Bug Reports
« Reply #178 on: May 04, 2010, 06:24:22 pm »
Quigibo, on a scale of 1 to 10, how solid is this engine?

10 being a hole-free engine and no spaghetti code. (Optimized doesn't matter.)
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #179 on: May 04, 2010, 06:27:47 pm »
I'd say maybe 6.  There are a few places I pull some messy tricks, and not everything is templated yet, but its much better than before for sure.

LOL! The bug was exactly the same as last time!  I found another place I was checking for a bracket instead of a brace.  I have to memorize which one is which x.x.  I'm re-uploading right now.  You'll have to re-download it again.  I'm sorry guys!

EDIT: Okay, try it now.
« Last Edit: May 04, 2010, 06:34:50 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!