19th October
Blimey, that arena script was pretty old. Separated it into 'setting up battles' and 'actually battling' scripts, and cleaned up both.
Rearranged the battle stuff, now working on adding a big list of moves. Just physical for now, will move onto spells later.
Biggest thing so far: finally did the calculations/formulae for personality/physical traits and health affecting breed stats. That was SUCH a painful mind-bender, for me who's terrible at maths. D: So there's now a nice function that gets a griff ID and returns an array with their 6 individual stats, to use anywhere (battles, trials, NPCs...).
- speaking of Trials, eeek that stuff was done early in the year. Totally ancient, outdated now.
I must look at the whole system again, probably redo from scratch. Yay! ... but not right now lol.
- got a sudden temptation to clean up the Exchanges (get rid of the overly-complicated options like griff-for-item, and gifts being a separate thing).
Griffs can now be put up for sale for tokens, nothing else. And you should be able to propose a swap offer, if another Master is open to swaps.
Items can be put up for sale, or traded for qty of another item.
Hmm... maybe offers can be laid out so you don't need to view a separate page to accept an offer. List them in a table, with "Buy/Trade" button, and use AJAX to accept right there. Yeah!
20th October
Ended up veering wildly off course, and basically remaking 90% of the trade system. >.>
Worth it though. Totally AJAX-based, bringing up lists of offer types when/if you click those tabs, instead of loading them all when the page is visited.
Searching could be on the same page, too... but I'm not sure if multiple sets of pagination buttons would work on one page. :/ So for that reason, I'll keep it separate.
21st October
Blah. Feeling really ill today.
Worked a bit more on the trade backend, haven't 'hooked it up' to the page yet (the most annoying part - so many button and div names, ids, classes, variables sent either way)...
And started redoing Account page(s). Lots of old code there.
First, adding trade/message/battle-offer user preferences, to update with AJAX. Might put the email, password, profile editing stuff all on the same page too. Later though. *goes to sleep*
22nd October
The account preference updating is done. It should load the page with the current selected options highlighted.
- I'm sure I had a list of timezones nicely written out, too, and was gonna add it... but can't find it in my files, hmm.
Felt arty and lazy so started drawing another breed, the Brythonic dragon. Basically the Welsh one. Also got all the layers for Solvine? (sun deer) and Pegavo? (pea-peg) done. Need to save into folders and upload them all.
Blimey, that arena script was pretty old. Separated it into 'setting up battles' and 'actually battling' scripts, and cleaned up both.
Rearranged the battle stuff, now working on adding a big list of moves. Just physical for now, will move onto spells later.
Biggest thing so far: finally did the calculations/formulae for personality/physical traits and health affecting breed stats. That was SUCH a painful mind-bender, for me who's terrible at maths. D: So there's now a nice function that gets a griff ID and returns an array with their 6 individual stats, to use anywhere (battles, trials, NPCs...).
- speaking of Trials, eeek that stuff was done early in the year. Totally ancient, outdated now.
I must look at the whole system again, probably redo from scratch. Yay! ... but not right now lol.
- got a sudden temptation to clean up the Exchanges (get rid of the overly-complicated options like griff-for-item, and gifts being a separate thing).
Griffs can now be put up for sale for tokens, nothing else. And you should be able to propose a swap offer, if another Master is open to swaps.
Items can be put up for sale, or traded for qty of another item.
Hmm... maybe offers can be laid out so you don't need to view a separate page to accept an offer. List them in a table, with "Buy/Trade" button, and use AJAX to accept right there. Yeah!
20th October
Ended up veering wildly off course, and basically remaking 90% of the trade system. >.>
Worth it though. Totally AJAX-based, bringing up lists of offer types when/if you click those tabs, instead of loading them all when the page is visited.
Searching could be on the same page, too... but I'm not sure if multiple sets of pagination buttons would work on one page. :/ So for that reason, I'll keep it separate.
21st October
Blah. Feeling really ill today.
Worked a bit more on the trade backend, haven't 'hooked it up' to the page yet (the most annoying part - so many button and div names, ids, classes, variables sent either way)...
And started redoing Account page(s). Lots of old code there.
First, adding trade/message/battle-offer user preferences, to update with AJAX. Might put the email, password, profile editing stuff all on the same page too. Later though. *goes to sleep*
22nd October
The account preference updating is done. It should load the page with the current selected options highlighted.
- I'm sure I had a list of timezones nicely written out, too, and was gonna add it... but can't find it in my files, hmm.
Felt arty and lazy so started drawing another breed, the Brythonic dragon. Basically the Welsh one. Also got all the layers for Solvine? (sun deer) and Pegavo? (pea-peg) done. Need to save into folders and upload them all.

