Posts: 172
Threads: 14
Joined: Oct 2017
07-15-2018, 04:18 PM
(This post was last modified: 07-18-2018, 01:26 AM by GwynMil.)
15 July
Added the pearl coat effect to big griff images. It's ugly, just a single bokeh-ish texture using Imagick's colourdodge, but later it can be custom drawn for every breed's body shape, to properly highlight feathers etc. Oh, pearl needs to be added automatically to Obsidian griffs, and also made heritable.
Had some more ideas for features, namely a simpler version of jobs; 'immediate jobs'. Unlike the jobs which are contracts and will last X days and pay daily, these are instant. Anyone can browse the public noticeboard and if they have an eligible griff, hurry to enter them and get the reward before someone else does. They'll be based at different locations later.
Starting to set it up now...
... OK, going well! They're being generated with some variety, listed with correct grammar, and while looping, each one checks your flock to see if you have at least one eligible griff.
16 July
Aaargh. This bloody heatwave never ends. And now they say it'll continue through August?! No rain for months, everything's already parched. aghksflgh
- Cleaned up the Activity (dashboard/log) page a bit. Woo.
- Continuing the minijobs. AJAX is used to re-check and instantly generate a dropdown list of suitable griffs when you click a task, and now I'm adding the actual task stuff.
Not sure what rewards should be yet (items? list them upfront, or choose a surprise from a set array at end?) so just gonna give money and sometimes EXP for griffs.
17 July
- Cleaned up griff profiles a bit; quite fond of the scripture borders and 'misted-looking' glass bgs. Gonna have to think about this for the eventual proper site style...
- Added personality traits! Woo, finally. Ended up (sadly) discarding the 200+ old traits I wrote (short individual descriptions; griffs would have one each, chosen from categories) in favour of 8 scales, between trait pairs. There are 5 possible statements to describe each trait, depending on their percentages for each scale.
Agreeable / Quarrelsome
Wise / Witless
Social / Solitary
Controlled / Volatile
Considerate / Selfish
Adventurous / Conservative
Spontaneous / Strict
Bloodthirsty / Pacifist
Now it'll be a lot easier to change personalities with training etc; focus on a trait or two for each action/outcome.
And it can be more closely influenced by breeding now. Offspring will still get random traits, but the percentages will be weighted a bit closer to the parents' average.
For example, you cross two very peaceful griffs, average of 85%. The offspring could be anywhere from 0 to 100, but whatever it is, it'll shift 10% or so towards 85.
So you still can't specifically breed for personalities, but you can influence it a little, and that'll give a closer starting point to try training from. Better than nothing!
.. well, I'll add that breeding stuff tomorrow. Tired now.
.. oh, and must add it to the egg-generating nest too. Some breeds should be weighted in some traits; Rampants being very likely to be bloodthirsty, etc.
- Also now this is in place, can start the daily commands. Very simplified still - only added a few test bits, no real items/rewards/changes to energy etc. But different personality traits do lead down different paths.
For example, right now if your adult is a pacifist, they'll refuse to hunt, and look for other food. If they're quite social, it's likely they'll meet other griffs for that, else they'll do it alone. And if an unlucky number is rolled, they'll get attacked by another predator. The injury etc is random. (haven't added physical trait scales to check yet; soon!)
Not sure how the heck I can deal with dozens of locations x 5 times of day x all these different variables though! Hmm.
Def gotta store a lot of illus/text results in DB, for every location/time, and then fetch them randomly. But still gonna be tricky, arranging all the traits/what-ifs.
Oh yeah, physical traits. I had the idea of scrapping stat numbers entirely, and calculating griff ability with percentages for size, build etc.
A smaller creature would be more agile, a larger one slightly slower but stronger. Build is basically 'muscles or skinny' and would influence strength and defence.
Defence would be based on the breed; for example a Minoan is just a smooth skinny cat-like thing, with basically 0% protection, compared to an armour-covered Marlik, or the trilobite dragons I'm working on (don't ask...). The latter have, I dunno... 40% and 70% armour covering.
Adding equipment like armour to any breed would then give extra %. Er, I'd have to nullify that for already-armoured breeds, lol... just sth in the battle scripts that say "if this armour is on X or Y breeds, add nothing".
Also thought about skills/attacks. There could be a large range of battle moves to learn; different kinds of biting, scratching, screeching, horn jabbing, leaping, slamming, etc.
These would be available depending on the breed; all can do a simple Bite or Tackle, at the least.
Breeds with horns, like the Heramin, would have Horn Jab etc available. Breeds with big claws could Scratch. Equines could Kick. Bulky breeds could Squish or sth.
Then those griffs etc could learn more, after reaching certain levels.
So the Heramin learns Horn Stab, and then... Horn Twist?? Ouch. >.> The clawy ones could learn Slash/Slice etc. Equines could... Kick Harder? Capriole?!
And ofc the winged breeds could learn all sorts of aerial moves...
Posts: 172
Threads: 14
Joined: Oct 2017
07-20-2018, 01:54 AM
(This post was last modified: 07-24-2018, 12:44 AM by GwynMil.)
19 July
Mini-jobs are... sorta finished now? Still rather simple parameters (27 different tasks - there could be hundreds... I cba to add any colour gene stuff, or all the personality traits etc, in there). Many tasks will later give items, but there's just not much variety to choose from there, yet.
Griff-choosing and results-appearing are very smooth, I'm rather satisfied.
Also must give user money, add EXP to griffs, update level... delete task, and on page, fade it out and update user's counter... done!
After you've completed 10 tasks the page will clear til the next day. Task list is refilled whenever someone views the page.
21 July
... as ever, fuck endometriosis... will get back to work later.
22 July
... ookay. Started off with a nice easy AJAX/jQuery exercise: making a shoutbox. The page is /chatter. Needs nicer styling later, but whatevs.
Redid the achievement/avatar system. Much cleaner now, storing each one's name and description in a table and looping through all 30 as numbers, instead of individually checking for each one and writing certain info.
Will have to do the same thing with griffs' learned spells later... err... if we still use a spell system..??
Hmm, non-magic skills can be learnt, at least. And using 0/1 instead of 'locked' and 'unlocked' is much better for saving DB space! So, cleaning up this too.
Note to self: think about how to make a 'conversation' message system, instead of current one-message-at-time. Howrse manages it perfectly well.
I guess it's basically same as the forum, except 'threads' are not in an area, but between 2 users and can't be viewed by anyone else, except mods ofc.
Editing won't be allowed (should it?) and uh, I guess instead of reporting individual messages, a user could report the whole convo.
23 July
Oh my **** is this heatwave never going to end? This is awful. The green countryside has turned to dust and straw. It's a months-long dry oven. D:
Anyway... new 'conversation' page is going nicely. Stuff's loading and being fetched.
Decided to keep the normal message system, for single messages, but they'll only be sendable by the system or admins/mods, for example to officially warn a user about something, or personally reply to a bug report. These messages won't be reply-able or reportable, only deletable.
(Of course admins/mods could also create a normal conversation with the user, if it's something that should be reply-able to.)
I'm not sure how other games/apps handle convos between 2 users - are ALL messages between any pair of users bundled together? - but here, multiple convos can be created with the same users, own titles etc.
So you and friend could have a convo for roleplay, a separate one to discuss trade or breeding... etc.
Midnight update: woo! This is going surprisingly well. I expected it to be a daunting feature, but no, pretty much finished already!
Creating convos, replying and (re)loading is very smooth. Reporting and message-sending done too.
Later, add script somewhere that deletes all convos inactive for 30 days. And finish message deleting function.
Posts: 172
Threads: 14
Joined: Oct 2017
07-24-2018, 06:09 PM
(This post was last modified: 07-29-2018, 01:48 AM by GwynMil.)
24 July
Doing some planning for future features. And still scribbling breeds...
- Finally added the users' daily update. Every new day you visit the site (any page) you get +1 seniority and all your daily counters are reset to 0 (so you can pick up 5 new eggs, more junk, etc). Later should add MP replenishment here.
- Cleaned up the login page, online page. Added achievements to public showcase, so you can browse others' lists.
- Cleaned up user profile code a lot, whew. There was some old, messy stuff there. Decided to get rid of visitor messages again; maybe I can make another mini-shoutbox to go there. When all the Showcase sections are done (items, achievements, menagerie, visitable island) those will be linked to.
Should get rid of the Active Griff box, and make the About section nice and wide.
And now the custom backgrounds properly work! Just crappy textures for now, but later there'll be a nice range of illustrations etc for the sections.
- Noticed that 'unread' messages aren't becoming 'read', with the new system. Also, new convos or those with new messages should be marked as unread, along with normal messages... and, I guess, set them as read when AJAX loads them.
26 July
IT'S. STILL. SO. HOT. Tomorrow will be hotter, and may break the UK record. Ughhh.
Tackling the stats page right now. Added some rankings, most popular breeds/elements etc. Can't be arsed to style anything.
... aaaaaargh it's so hot. I'm practically fainting. This furnace never ends.
... OK. Did some stats-planning, and set up scales for Size, Build, Magic Aura and Fitness. Like the personalities, they're currently randomised for existing griffs.
Instead of individual numbers, every breed will have a set of fixed base-stats.
For example, Marlik breed might have 80 STR, 55 AGI, 15 RED, 40 NUL, 40 MAG, 25 RES. (I'll write about these soon)
Then individual Marlik griffs will have those numbers altered by their build, own magic aura, etc.
So a massive, bulky one could end up with 120 STR, slightly lowered AGI, 30 RED. NUL, MAG and RES aren't affected by physical size/build, but other things.
These physical 'modifier' traits would be heritable. Combined with a wide range of breeds, players could find lots of strategy here. Plus wearables that affect stats even more...
28 July
- planned a tutorial sequence. New players would be railroaded through exploring some maps, quickly raising a griffin with NPC, and maybe an easy battle or something.
Trying to implement the basic structure now... hm, works OK. Gonna take a while to draw and script the contents of each section.
- also thought about using separate usernames: official ones for login/account stuff, and 'display names' that would appear publicly on game.
Some other sites do this, for extra security; someone can't try to break into another's account if they don't know the secret username, only the display name.
- just decided the gene lab is ugly and could be much smoother to use. So, am redoing it all.
No more dropdowns (except to choose breed), instead lotsa divs popping up with palettes for each part, etc. Send genes by AJAX, popup div with new griff image.
Quite a challenging exercise... let's see how I do...
update: oh wow, it's going pretty smoothly! Also realised that instead of faffing around with adding more variety to beak/leg colour... I might as well just expand it to work exactly the same as the 6 body colours. Then the equines and dragons can get their lovely full mane palette... and griffs must be generated with preset limits (only rose, gold, slate etc) for non-obnoxious beak colours.
Tempted to have a mini generic-griff image that dynamically updates the layers (so inner flights turn Dark Pink if you click that, etc) before user is ready to click Preview and generate the proper coat (because Imagick can take a while).
Gonna require... uh lots of little image bits. 6 body parts saved in 100+ colours. Lovely. >.> But the results should be worth it? Very handy to have instant colour scheme preview.
Posts: 172
Threads: 14
Joined: Oct 2017
07-29-2018, 11:30 PM
(This post was last modified: 07-31-2018, 12:53 AM by GwynMil.)
29 July
Managed to avoid that hassle. Set up a series of rectangular (of course) divs whose background colours are changed to the colour you clicked (copying the CSS class from the palette).
On top of that, a little griff lineart in a very specific pose, to show off all the rectangles. It looked very angular and awkward, and you could see some rectangles' colours overlapping the lines, esp in the inner wings... but with strong shading, the edges are hidden, and now it looks more natural.
Edited the beak/leg genetics, and breeding and nest scripts. Seems to be working. Whew, that was more straightforward than expected!
Oh, and the pearl and and build/size/aura inheritance are done too. Just so I don't forget later.
30 July
Woohoo! Freakin' hell that was a headache. But finally managed to get the dynamic image to be refreshed on demand, with new genes.
It was loading the first time, then not changing because it was cached + url was same. So I had to mess with the image script's URL, for a new way of getting the username, and add a bit of extra nonsense at the end to make the url 'different'.
(Bizarrely, it doesn't work if the new url is generated in PHP, with mt_rand on the end. The random number has to be added in JS, after being sent back. Mysterious)
...
Oooookay, added most of the other options. It's working nicely.
(Never realised how pretty some of the mutations could be - Hypomelanism and Anerythrism on deep purples/reds both produce lovely different smoky colours)
No option to actually create griff yet; will need to add size/build/aura inputs, oh and the 8 personality traits... zzz.
Posts: 172
Threads: 14
Joined: Oct 2017
07-31-2018, 06:32 PM
(This post was last modified: 08-02-2018, 02:23 AM by GwynMil.)
31 July
Had a couple of small ideas, gonna try to add both tonight:
- little icon fixed in the corner. Click it for a list of your groups, and then a list of griffs in each one. Then a little box with info of the selected griff, and tiny thumbnail image. Buttons to do some things...
Basically a quick flock checker tool. Dunno if any other games have sth like this, but it might be handy compared to loading and searching the whole Flock page.
edit: whew, done! Few snags on the way but now works perfectly smoothly. Very convenient for instantly checking status, setting griffs as fightable/not, bringing them Home, making them the active griff, and opening a new tab with their perch page. Fieryjewel is already at Home so that button doesn't appear.
![[Image: flockcheck_by_bronzehalo-dciui2r.png]](https://orig00.deviantart.net/6c6c/f/2018/212/7/0/flockcheck_by_bronzehalo-dciui2r.png)
Might add stud yes/no options later, if users want that. Perhaps an option to withdraw griff from trade (but not to start a new trade; bit too complex for tiny box!).
Can't think of anything else...
- actually an old idea, but eh. A Library that holds all books/maps/manuscripts/letters etc you've collected, and you can browse them there.
Some will be useful/needed for NPC quests, others are just random short stories, lore etc.
(Some keen users could even be invited to submit 'books' with writing and illustrations about their game-based characters? Now that'd add some variety)
Probably gonna go with "get the thing as an item, then can Add to Library, or if uninterested/already got it, sell it or give it to a griff, to give them some relevant knowledge". The document could be about astronomy, science, healing etc and gives them some skill points in that area. Or just entertain them a bit.
1st August
Library done. Pretty simple. Not gonna make the books as items yet - need to decide some titles etc, and finish the inventory usage stuff.
Hmm. Bizarre problem when changing active griff using Flock Check. It works only if you pick a griff from the first dropdown (the default).
After choosing another group and picking a griff from that, the update just... doesn't happen. Script gives success message, but it didn't actually change. o_O
Very odd, must figure out what's going on...
Oookay, it wasn't sending the username properly, from the script to itself again. All fixed now!
Added breeding points and stud option, too. Now you could get a message from friend, or be following the shoutbox, instantly allow stud for someone, then close it again after the breeding point number reduces. No need to track down that male's perch.
Just had another small idea: remove eggs from flock, and hold in Incubator area instead. There's basically nothing you can do with eggs (except apply magic stones to try and change genes, sex) so it's just pointless clutter, including them in lists, and with own profiles etc too...
...
Oooh yeah!  More like OOTG where sibling eggs were actually grouped together in a nest, and with the gemstones visually there. Now that'd be possible here too. I'll go and do some quick planning scribbles...
..
OK, about 1/3 done I'd say. Test nests are being displayed, with eggs/chicks/juveniles in them, and appropriate options/info about each one.
When you visit a nest on a new day, everything in it grows a little.
Candling service can be purchased, which will reveal breeds of all eggs (in case it's not clear; many griff/dragon eggs will look similar later).
To do next:
- make rename, abandon, and insta-hatch options work. Latter will be a rare spell you can learn, but for now, I guess it can be a very expensive purchase (get a mage to do it for you).
- when breeding griffs, check if a nest already exists where these 2 parents are the parents. If so, add new eggs to that nest, else create new one. Let's say mother griffs are very organised and like to keep track of their eggs by parentage... or maybe fathers like to visit their eggs too.
So, if you bred the same pair 4 days in a row, you could get 4 to 12 eggs in the same nest. Different times but still siblings; some will hatch before others.
- make lotsa magic stone functions. There are 6 slots per nest, and each stone can change sth about a developing egg, like colours, sex, personality... or random...
You can't specify which egg to affect, or when. Every day, each stone loops through all eggs and there's a low % chance it will take effect.
So a stone might work on egg 2, day 1... or egg 5, day 3... or never do anything. Magic is unpredictable!
After a stone does its thing, it crumbles and turns to Crystal Dust (item already exists).
Then, uh... I guess you should be able to sweep up the Dust and insert a new stone.
Unused stones can also be taken out of nest at any time.
- actually display the egg sprites in nest. But what if there are loads?! Hmm. Could just use plain egg images, adding one each time, until the illustration shows a big cluster - no more than a dozen. Then the actual coloured egg images are down with each one's info?
- range of different backgrounds. Mothers of different breeds choose own locations to lay eggs; in a cliff alcove, in a hillside, in trees...
It's purely aesthetic. Also gives me an opportunity to draw various 'surrogate mothers' or guards nearby, who patrol this valley and check all nests daily. A bit of random variety.
Posts: 172
Threads: 14
Joined: Oct 2017
08-02-2018, 05:31 PM
(This post was last modified: 08-06-2018, 11:22 PM by GwynMil.)
2nd August
- Updated breeding script to generate nests and allocate sibling eggs in groups etc. Seems to work so far.
- Thinking of adding another buyable service, the 'nanny', a griff who comes and sits on eggs to heat and turn them etc. They'll hatch regardless, due to warm valley, but she can add an extra point per day and speed it up. Or he... I mean, male griffs can be fluffy and paternal too. x)
... done. At the moment it chooses a random adult griff of mine, but later it should choose a griff currently employed in the incubator-assistant role.
- Abandoning, nest-to-flock transfer and adoption done.
- Looping through stone variables, and outputting more variables with dynamic numbers... hmm...
OK, I've learned a new thing! Variable variables. Making new ones by adding bits of name together. Neat.
3rd August
... sooo I visit a nest and get a broken page. Fabulous. Love it when that happens >.>
Time to start troubleshooting.
- gah, it's the function I was trying to use. Got 6 stones to loop through, and each stone must loop through X number of eggs and maybe do something, depending on random chance and what's in the stone variable.
I thought an outside function, 'maybeStone' would be the best way to handle this. Give it the egg id, stone type, stone number (1-6).
Buuut it just doesn't want to work. :/ Oh well, we're already here in the middle of egg loop, with all the info, might as well do the stuff here then.
..
It's working! Turns out another function wouldn't make any difference; there's always gonna be a ginormous list of "if stone type is X, do THIS stuff" as there'll be many dozens of different stones with unique effects. Guess I'll tuck it away in a separate script and include it there.
..
OK, some test stones are done. Changing body part genes, randomising or removing paint markings. You receive 1 Crystal Dust and the stone slot is reset to 0.
Not gonna create them as items until decided what the names should be.
(it would be possible to create a point system, where they don't exist as items; you buy stones right there. But then they'd be lost if you overwrote them. And more pretty trinkets is always nice! You could give them to griffs as treasure, or use the items in other places too.)
...
Next... set up a panel of dropdowns where you choose the stone for each slot...
4th August
Panel is there, and jQuery updates the name/image of each stone slot you change. I'm undecided how to save the changes; use AJAX to update each stone as user changes the dropdown (could be very wasteful, if they're just previewing), or make them click Confirm button and reload page (less smooth but a bit easier?).
... or wait, use a button and AJAX, to do all 6 at once. Page doesn't need reloading and the names/images are already set. Duh, how'd I forget that?
... okay. Crap. I need to make stones as items, in order to check player's inventory and then apply stones to nest.
But I'm falling down the rabbit hole of gemstone and mineral stuff! Aaaahhh!
Holy shit, the possibilities are amazing. Apparently there are kinds of jasper with peacock/leopard/cheetah/other patterns... so maybe those could be used to influence marking genes later... and, and... aaargh.
I even started musing about a mineral system - you can mine large/small raw chunks and turn each one into certain items, charge them with magic, etc.
Midnight update: OH GOD WHERE DOES THIS RABBIT HOLE END
5th August
Crap crap crap. Mineral world. We're going there.
On the plus side, if I can't find appropriate nest functions for some of them, they can always be used for other stuff. The construction of the mineral breeds, or collected and traded with NPCs, or just given to griffs as treasure.
So, am hastily scribbling a zillion little temporary item images.
- Fullwing charm: sets both flight and covert colours, both dorsal and ventral. So inner may be scarlet, outer may be chocolate...
- Dorvert, Dorflight, Venvert, Venflight (what crappy names) : sets those particular feathers' colour.
- Round cut gem: sets base and additional colour.
- Pear/teardrop gem: sets only the additional colour. It's 'on top of' base colour, visually too (starts from back and reaches belly) so...
A few minerals can have particularly strong colour magic, so they colour the whole body? including beak etc.
This would make Citrine and Gold Beryl sufficiently different. Same with Carnelian, Garnet, Ruby...
Some can set horn colours/materials. A bit of rose gold specifically sets the horns to... Gold/Copper? or whatever that rose-looking combo it.
And some can set markings, like those jaspers.
And, and some can shift personality trait values...
aaaaaagh this is gonna get really complex isn't it
6th August
Heatwave... hot... aaargh... I drew a couple of osprey griffs, at least. Rather pleased with them! ... zzzz, too hot...
Posts: 172
Threads: 14
Joined: Oct 2017
08-08-2018, 02:35 PM
(This post was last modified: 08-11-2018, 10:33 PM by GwynMil.)
8th August
Hmm. Not sure what to work on.
Got bogged down with drawing these ospreys! After this, must rush through a load of mineral item images. Then can create the items and finish the incubation feature.
...
OK, gonna hop between shading (this is taking a while with so many feathers!) and writing a couple more guide pages, namely Mutations and Incubation.
9th August
BASE BASE BASE WOO. Also discovered that Imagick has composite_overlay, whew, so highlight layers are indeed possible, and colourdodge can be dropped.
(note, the breed is not added to game yet; I have done all 5 growth stages, but haven't coloured and uploaded all the separate body part layers)
10th August
Let's upload all these bits, and test some pandions as actual griffs... ooh, didn't realise all the Thracian bits are already done, too. So let's try both breeds!
... yup, all working. I only tested on one griff, with ugly colours, and can't be arsed to find any prettier examples to screenshot. x)
- added both to the designer, and found a small bug where the colour Mauve wasn't getting the right genotype, fixed.
- found some more scripts that need breed etc updating, and also the new beak/leg genes.
Next, uh. Should carry on quickly drawing those stone images.
11th August
Finally finishing the new message/convo system. Added read/unread status, deleting messages, separate page for mods to view/edit a conversation.
Slight bug with editing... after one edit, a bit of the jQuery stops working, visually. It correctly updates the info outside the edit box, but never the stuff IN it. o_O
Very strange, it works until the first 'submit' button press... but there's nothing in that function that could possibly change those HTML elements. Bah.
These freakin' minerals are getting annoying now. I am gonna draw these things and shove 'em in the nests AND THEY BETTER WORK.
All... hundred + of them. Oh man. And then I'll have to create page for mineral stuff. Lapidary workshop?
Well, it'll be more interesting and sensible than trying to wrangle with the craft system, to split large raw chunks/cut/polish/set in jewellery.
Posts: 172
Threads: 14
Joined: Oct 2017
08-12-2018, 06:05 PM
(This post was last modified: 08-14-2018, 02:32 PM by GwynMil.)
12th August
These flippin' stones... here's a preview of some. Not even close to full amount D:
That little charm in the corner, that's one of... 6? wing charms. Each of those will have a dozen or more versions, with different inset gems.
- fixing last few oversights with convo system. Top bar's unread count, adding notices to unread stuff.
Should try using jQuery to then remove that style and text, once message has been viewed... done.
And might as well add edit buttons, already done them on the separate mod-page... done.
(gah, same problem after editing once. What have I done wrong in my jQuery?! - buuut can get around it by just instantly reloading the convo, heh.)
Should add the fancy CK text editor here, but it has own flaws - doesn't add images (there's a button, it just doesn't work) and often leaves weird symbols in linebreaks. It's an editor issue, not mine. Maybe I can find a simpler editor somewhere - writing HTML in plain textarea is not fun.
13 Aug
Realised a couple of outdated queries were breaking the breeding and wild nest system. >.>
(also, got a random error page once, when hiring a nanny... but only once? Must try to reproduce it. I didn't change any code, it just worked afterwards.)
Now, uh, cleaning up Incubation pages a bit.
- adding insta-hatch service. Later it will cost you some MP, and need to be a spell you've learned. For now, just some money.
- adding some test backgrounds (thanks Pexels). They're currently randomised for every nest, from 1 to 15.
- added renaming option.
- elsewhere, cleaning up the griff trades a bit, and adding full search options. Every body part, every colour... aaaah... gonna have to continue it tomorrow.
Posts: 172
Threads: 14
Joined: Oct 2017
08-14-2018, 02:31 PM
(This post was last modified: 08-16-2018, 07:13 PM by GwynMil.)
14 Aug
Woohoo, arete is here, and providing lots of helpful reports about random broken stuff. Styx has also been very helpful.
Having testers is very good, it seems... it adds pressure lol, and gives me directions. I've been on a constant quest to fix/add/clean up every little thing they mention, in order.
- stud search was broken due to a missing AND in the query. No idea when that happened - has it been broken for weeks?! Anyway, all working now.
- when viewing a stud, there's a dropdown list of your females, and AJAX brings up their info before you choose one. Previously the system only used/checked your linked griff, forcing you to link with the right female etc, which was kinda silly.
- found small oversight with convo system: the username check wasn't case-sensitive, which meant messages could be received but couldn't be updated as Read.
- also forgot half of the Unread check on the inbox page. Now it checks for both sides >.< I'm so dim.
- updating griff profiles a bit, moving personality/physicality traits to own section, leaving Intro free for biography.
- added a count for the number of quick tasks a griff has done.
- cleaning up: moving personality trait texts to DB table for looking up. Though I think a few of the traits are unclear/redundant, and should be changed around a bit... well, the texts can be easily changed later.
- removing eggs, chicks from flock, trade lists, flockcheck, everywhere. They just don't show up, as they're meant to be in a nest.
- blocking their manage and profile pages too. There's no point loading heaps of stuff that isn't relevant yet. You only get a link to see them in their nest.
- also simplified the daily update on perch page. There was some old messy code there!
Now griffs will no longer automatically grow to Elder stage. You'll have to voluntarily promote them to that stage, somewhere later, if they meet requirements.
arete has pointed out the item trades are mostly-broken. I've decided to scrap most of the crappy old code (separate pages for creating offers? Even ONE extra page for creating offers?! Now I have the magic of AJAX, that's a horrible idea!) and after cooking dinner, will try a new layout later tonight.
Just had a better idea for handling backgrounds. They can still be collected as items, or maybe tracked in a table. But instead of applying them to griffs like items, do all this on a separate Backgrounds page. Pick a griff from dropdown, pick a thumbnail of a BG you have (like a gallery), and AJAX should apply it.
You could also buy more backgrounds there, if you don't have the ones you want.
... hmm yes. I'll need to go back and raid Pexels for a nice bunch of test bgs. xD And will plan how to set this feature up.
Also tempted to add the skills right now... some won't be used for a while yet (flight, lapidary, healing, scouting etc) but it'll be nice to have stuff set up, and on profiles.
15 Aug
It's my birthday... and the local Redwings horse sanctuary is closed. Aw, usually it's my annual treat, to go and look at some horsies. Maybe later in the month.
Otherwise, a normal day, no celebration. Gonna spend all afternoon coding (what else?).
- realised what a horrifying mess the friend list stuff was, and redid it. Much cleaner looking. Need to add a box where you can type in a username and instantly send a request (AJAX woo)...
- arete pointed out that nests need to be made inactive once they're empty. Done.
- my dimwitted mistake: griff and group counts were the same, so flock check wouldn't work for anyone with 0 groups. Fixed.
- aaah, this item trade (and the griff trade) stuff is messy!
Think I'll just set up a new area, and try to use AJAX as much as possible, for creating, deleting or accepting all offers.
16 Aug
Endooooo. Ugh. Still trying to get something done though, even minor tweaks.
- at arete's suggestion, added parents' names to the info when picking griffs before breeding. Now there's no way you could accidentally cross siblings.
Posts: 172
Threads: 14
Joined: Oct 2017
08-17-2018, 06:09 PM
(This post was last modified: 08-19-2018, 09:49 PM by GwynMil.)
17 Aug
- maybe finally fixed the issue with empty nests still showing up?
- gene lab is finished, for now. No markings on game yet, but all body part, horn and paint genes are there.
I prefer recycling (why create more griffs when there are heaps of ugly unwanted junk ones being abandoned?) so you have to pick an existing griff to be transformed into the 'dream' one.
18 Aug
- created wild battle system vs monsters. Working, just very basic. Like the arena, I can't make battles more complex until the new stat systems have been worked out... but monsters can still be designed for now. Gotta think of the areas each one can appear in, how much EXP and what items they can possibly drop, etc.
- arete pointed how how much of a slog it is, editing groups etc. Yeah, I'd love to have ALL that stuff - list of groups and tags, create/edit/delete options - in one easy popup div on flock page... will be a challenge though!
- finally brought the group, tag and flock searches up to the latest standard. The griffs link to their perches or profiles, depending if you're their Master or not.
Flock search now searches whole flock by default, instead of only Ungrouped griffs, and you'll have to choose that among the group options.
Now, never done anything with checkboxes before... buuuut yay, managed to add mass-grouping. Very convenient!
19 Aug
- ugh, the gene lab still had a few problems. Now finally done! All genes. Transformed some ugly spare griffs into gorgeous rampant boys.
- flock stats page had outdated queries.
- added colour/body part options to flock and other searches.
Also stud yes/no, fightable yes/no. Maybe should add location search later, too.
- need to plan how to remove all traces of usernames from DB tables, and only ever use user IDs instead. That way, can avoid having to look up 'login names' vs 'display names' everywhere, and name changes might be possible. This will need nearly every script in the game to be changed though... D: so uh, will tackle the whole thing at once, at at a later date.
|