Coming back to this yet again.

Just threw together a list of ore amounts, ran the old program vs the new program, and verified that the values between the two are correct. I now need to integrate the above code snippet KermM was so kind to provide, and integrate this back into the main project.

Hooray for a much better way of getting these scores!

Edit:

Tried KermM's code suggestion, but it didn't work out so well:



And now for the new UI being showcased:

compared to

Thoughts?
I made an error, clearly; the following is fixed. I accidentally reversed the latter two arguments to sub().


Code:
{1,4,4,8,4,5,7,7,9->L1
For(X,1,8
{BLACK,ORANGE,RED,YELLOW,BLUE,LTBLUE,GREEN,BLACK
TextColor(Ans(X
cumSum(L1
sub("COALIRONRE\DSTONEGOLDLAPISDIAMONDEMERALDARTIFACTS",Ans(X),L1(X+1
If X<8:Ans+" ORE
Text(21+13*X,0,Ans+":
End
(Note that the backslash is only for SourceCoder / Tokens, not typing into the real calculator.)
I am liking that new UI tifreak. Looks like it will be a lot faster to punch in the scores of Abba matches. Though, in order to truly be useful, we need to get a few matches going in the near future.
Thanks, River! And we're supposed to have one this evening, got to prod Alex some more. If you want, I can throw this latest file your way.
That would be awesome. As for the event tonight, keep me posted. If anything, ping me in IRC and if I am available I will certainly join on in.
We had our first abba match in ages, which means I got to run a solid test on my abba calc program.

Have to say, I was able to calculate the scores of 6 people in the time it would have taken to do 1 with the old version. I'll be getting this update pushed to the public very soon. Smile


So, got this mostly worked out, just needs integrating into the main project.

Also, working on this showed a few bugs that I didn't catch in the color version, and those bugs have been patched. Glad I hadn't uploaded it, yet.
After ages of kind of putting this project off, they are completed!

84+ Version: http://www.cemetech.net/programs/index.php?mode=file&path=/83plus/basic/programs/abba84p.zip

84+ CSE/CE version: http://www.cemetech.net/programs/index.php?mode=file&path=/84pce/basic/programs/abbace.zip

This -should- be the last update needed to these projects, unless in the future we get new ores in Minecraft for this to be updated.
It occurred to me that Abba Calc needs an update, as we (several versions ago) got a newer ore type, Copper. I will probably treat this as coal ore, with a value of 0 as default, and allow players to adjust it to where they want it.

Need to dig up my code, probably buried on my flash drive, and see what I can do about getting some updates going..
I'm glad to see you resurrecting this project, tifreak8x, and I hope that means we'll have some matches on the Cemetech Minecraft server soon.
I've spent some time getting a bit familiar with the code for the CE/CSE version. I've managed to get the UI aspect updated to display the newer ore type and adjusting the text to be more efficient with space. I think all that's left is to get it to properly adjust values where needed, and begin looking at what I can do for the monochrome version.

And yes, getting this going is partial motivation to get some form of abba adventure in the works soon.
Bit of an update. I've got most of the code updated, but for whatever reason, I can't seem to get the total score to update and display when running the calculations. I also have an issue where text from the settings screen sometimes displays, might be related, just haven't been able to chase down the issue yet.
With Kerm's help, managed to track down the last of the errors in the CE edition's code. Now tackling the 84p edition, and it's requiring some shuffling around of things, as the screen space was a bit tighter with it. I've also found an issue I missed before (and was never reported) where if you set your scoring differently from default, it would reset to default when trying to run the calculations. Whoops.

Starting to recognize code and syntaxes a bit better now, so that's a plus. Always good to work back into projects with simpler things lol
Finally had some time to dig through the code for the monochrome version of this program and cut out the bugs. I'll be trying to upload the new files sometime this evening once I can get home and things repackaged.

Edit:

Files approved and in the Cemetech archives!

84p version: https://www.cemetech.net/downloads/files/1392/x3264

84CE version: https://www.cemetech.net/downloads/files/1360/x3263
I'm glad you updated this program, so we can actually play some more Abba matches on Cemetech's Minecraft server! It has been far too long.
I have an embarkation room stored in main world under spawn to copy over to an abba world. Might poke around with some seeds on a separate world so we can set something up.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 3 of 3
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement