Page 181 of 198 FirstFirst ... 81 131 171 179 180 181 182 183 191 ... LastLast
Results 1,801 to 1,810 of 1974

Thread: Character Info Toolbox

  1. #1801
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    696

    Default

    Calll the file chit_brickTracker.ash
    Originally Posted by Bale View Post
    It is done. Nothing new (yet) but this will make it easier to update. thanks.

  2. #1802
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,225

    Default

    Why did you leave a vestigial bakeTracker() in the main program?

    Code:
    // Tracker brick created by ckb
    void bakeTracker() {
    	buffer result = buildTracker(imagePath);
    	
    	if(length(result) > 184) { // 184 is the size of an empty table
    		chitBricks["tracker"] = result;
    		chitTools["tracker"] = "Tracker|tracker.png";
    	}
    
    }
    It seems you could have just moved that to chit_brickTracker, but I assume you had a reason? Though I see why you would have made it bakeTracker(imagePath).
    Last edited by Bale; 04-18-2016 at 10:32 PM.

  3. #1803
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,225

    Default

    Thinking a little bit more, if I am going to move other bricks out into their own files, I'd be wise to make a chit_global.ash which holds all the global variables and globally used functions for other bricks to make us of.

    Edit: I just did that. Enjoy.
    Last edited by Bale; 04-18-2016 at 10:44 PM.

  4. #1804
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    696

    Default

    Why did you leave a vestigial bakeTracker() in the main program?
    Originally Posted by Bale View Post
    chitBricks[] and chitTools[] are global variables unavailable to the imported chit_brickTracker (also the reason I had to pass imagePath). I thought a function that returned the whole brick buffer result was the cleanest way to hand this.
    Now with the new global relocation, this is not so necessary... but maybe good for now to keep all the baked bricks visible in charpane.ash
    Last edited by ckb; 04-18-2016 at 11:21 PM.

  5. #1805
    Senior Member
    Join Date
    Aug 2015
    Posts
    145

    Default

    I am observing that the reported functionality of the "The Source" link appears to only be half-working. Regardless of my enlightenment status, it only ever takes me to The Oracle.

  6. #1806
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,225

    Default

    That is correct. That is what I said.

    Click on your enlightenment points if you want to spend them at the phone.

  7. #1807
    Senior Member
    Join Date
    Aug 2015
    Posts
    145

    Default

    The name of your path "The Source" is a link to the Oracle. When you have Enlightenment it is a link to the telephone in the manor.
    I took that to mean that the only link was the path name. I did not realize you meant to refer to an additional link. It made sense to me that you would not need to be able to go to the oracle if you had enlightenment to spend, and that you would not need to go to the phone if you didn't have enlightenment to spend.

  8. #1808
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,225

    Default

    I could have definitely written that with greater clarity.

  9. #1809
    Senior Member
    Join Date
    Feb 2010
    Posts
    840

    Default

    Three cheers for release notes!

    Thank you for the new currency tracking option. For the sake of being all encompassing I suppose CHiT should support all currencies in this fashion but some are, probably, pointless. I'd keep it to ones that you can still earn.

  10. #1810
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,225

    Default

    Thank you for the response to my latest release notes.

Similar Threads

  1. Bug - Fixed Bad Spoiler Info
    By Bale in forum Bug Reports
    Replies: 1
    Last Post: 05-30-2014, 08:39 AM
  2. Daily Info
    By icon315 in forum Relay Override Scripts
    Replies: 66
    Last Post: 06-19-2013, 01:42 PM
  3. Feature More monster info
    By ckb in forum Bug Reports
    Replies: 19
    Last Post: 05-06-2013, 10:07 PM
  4. Replies: 0
    Last Post: 02-08-2011, 02:30 PM
  5. MMG toolbox
    By Veracity in forum Scripting Discussion
    Replies: 12
    Last Post: 08-10-2009, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •