Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First thread
28th October

Had some small ideas:

- on flock/group/tag/overall griff searches, add a row of icons (25x25px, can fit 7) under the name. Up for stud/trade/sparring, in battle/on battlefield, warning of low health/energy/trust, hunger...

- status effects could persist after battle; being poisoned, for example, makes a griff very unhappy and lose 30% or more health per day. You'd need to find/brew an antidote potion.

- think about how to 'delete' dead/released creatures as much as possible. Maybe split the data more, so instead of all genes and personality and everything being in one mahoosive table now, have them separately.
When a creature is 'gone' only delete their rows in all those 'detail' tables, as their genes etc will never need looking up again. Just keep their record in the 'main' table, with the few little bits of info (name, breed, sex, birthday, mother, father, last Master, last age, status - what happened to them) so profiles can still look them up and say "oh Bob died" and stop there. If the status column is 1 (normal) then carry on and look in the detail tables.
Hmm, let's see...
- status 0 = egg, hasn't joined flock yet. It will have an entry in the genes table. If/when leaving nest and being moved to a flock, it'll get rows in other tables.
(useful to save space in case an egg dies during incubation - they do have health)
- status 1 = alive, normal.
- status 3 = died for whatever reason.
- status 4 = was released, given to NPC in an event, or sth.

New table structure:
- main = contains ALL creatures that ever existed, and their parents' IDs (so family trees will still work), never delete anything from this.
- heritable = genes, inbred %, personality traits. Everything the breeding and incubation scripts need.
- non heritable = griff's location, level, EXP, energy, hunger, if they have a Pack or other boost effects equipped, skills, biography, battle wins/losses, etc.

Wild-generated adult griffs can have entries in main and heritable tables, and only get added to non-h when they get caught (many players may fight them but not be able to catch them - they won't be killed when defeated).
They may start with some skills already? You might wanna catch a wild Pandion that's already good at flight and hunting, instead of training one up. Each breed will have min/max range to pick from, for each skill.

Yeah. Won't make these changes just yet, it'll be huge splitting all that data up... eek, might need to truncate/clear all griffs and start again! Confused
Let me finish the new trade and incubation systems first. Maybe add the skills too, and of course get battles all updated...

- just wondered about how wild griffs can be caught. Maybe a bit like Pokemon; there's a move or spell your griff can use while fighting them, called "Make Peace" or "Connect Mind" or something. If the roll is lucky, they'll stop fighting and calm down, magically understand your words, and join your flock.
Some breeds will be very receptive, others extremely hostile with minimal chance. Be careful not to get your griffin killed, repeatedly wasting turns negotiating!
Oh, and it could be influenced by your griff maybe? If they have a "charming" personality, or a high "negotiation" skill, it makes them better at catching wild ones?
It should be quite easy to code in the battle move functions... gotta finish all these normal moves first!

29th October

Scrying and creation is finished! It costs 3 MP per preview. Of course everything needs nicer design, CSS styling, but sod doing that yet...

Now uh, the new incubation page's JS has mysteriously broken, which is a bit shit, so guess I better hurry and finish that whole feature. >.>

Also cleaned up a few pages and classes, getting rid of old unused code. Did some more PHP reading, I understand more about OOP now. Still not quite ready to remake/remove the core framework, but I'll keep tinkering and inching further in x)
It's getting concerning, the huge number of 'AJAX scripts' that are outside the framework/templating engine. They're like a parallel game at this point, handling at least 60% of the gameplay, with their own plain-SQL functions etc.
It would be much neater to use the same classes everywhere... but first, I must learn exactly how the core and template stuff is linked.

10pm update: finished drawing a sheet of 20 pixel icons and have added them on flock page. Only 6 slots are being used right now; I can't think of any conditions left to cover, but am sure more stuff will fill the 7th slot later. Next, need to add them on searched griffs - the searches use those separate AJAX scripts mentioned above, so I have to recode all the griff checks in their different 'SQL style'. Sigh.

30th October

Finished the new Friends system completely. Lots of lovely AJAX to send/accept/delete requests, auto-refresh friend/request lists and whatnot. Yay!

For some reason my wild popup battles have stopped working, must fix that. And then start testing all these new moves/spells in the arena script.
Oh, no, suddenly they ARE working again? ... but at the end "Couldn't remove your griffin from fight". It did manage to end the fight though.

Fixed last few outdated arena queries and checks, and battle-starting works again. Now to carry on with the backend!
... whooo yeah this is complex.
... ooookay! All working. Much better than before. All re-structured neatly, includes critical hits/evasion, status effects kicking in at end of turns, and very flexible move formulae. I'll add more move options tomorrow, and think of the formulae.

Also: find out why the flock page pagination for Ungrouped griffs is suddenly returning 'no griffs found' after page 1. Sigh. Some wrong JS variable being sent...
Reply


Messages In This Thread
First thread - by GwynMil - 10-16-2017, 11:34 PM
RE: First thread - by Riverspell - 10-17-2017, 03:02 AM
RE: First thread - by GwynMil - 10-18-2017, 01:10 AM
RE: First thread - by GwynMil - 10-19-2017, 04:23 PM
RE: First thread - by GwynMil - 10-19-2017, 05:54 PM
RE: First thread - by GwynMil - 10-19-2017, 08:06 PM
RE: First thread - by GwynMil - 10-22-2017, 12:46 PM
RE: First thread - by GwynMil - 10-23-2017, 03:13 PM
RE: First thread - by Riverspell - 10-24-2017, 07:32 PM
RE: First thread - by GwynMil - 10-24-2017, 08:30 PM
RE: First thread - by Riverspell - 10-25-2017, 05:16 PM
RE: First thread - by GwynMil - 10-25-2017, 05:50 PM
RE: First thread - by Riverspell - 10-25-2017, 06:04 PM
RE: First thread - by GwynMil - 10-26-2017, 04:26 PM
RE: First thread - by GwynMil - 10-31-2017, 09:11 PM
RE: First thread - by GwynMil - 11-03-2017, 10:37 PM
RE: First thread - by Riverspell - 11-04-2017, 01:02 AM
RE: First thread - by GwynMil - 11-04-2017, 11:19 PM
RE: First thread - by Riverspell - 11-05-2017, 02:06 AM
RE: First thread - by Riverspell - 11-05-2017, 02:13 AM
RE: First thread - by Riverspell - 11-05-2017, 02:25 AM
RE: First thread - by GwynMil - 11-05-2017, 01:39 PM
RE: First thread - by GwynMil - 11-05-2017, 04:25 PM
RE: First thread - by GwynMil - 11-13-2017, 02:29 PM
RE: First thread - by GwynMil - 11-13-2017, 02:50 PM
RE: First thread - by Riverspell - 11-15-2017, 12:23 AM
RE: First thread - by GwynMil - 11-15-2017, 04:16 PM
RE: First thread - by GwynMil - 11-16-2017, 05:23 PM
RE: First thread - by GwynMil - 11-20-2017, 06:51 PM
RE: First thread - by GwynMil - 11-22-2017, 01:49 AM
RE: First thread - by GwynMil - 11-28-2017, 10:14 PM
RE: First thread - by GwynMil - 12-01-2017, 09:19 PM
RE: First thread - by GwynMil - 12-02-2017, 10:11 PM
RE: First thread - by GwynMil - 12-03-2017, 02:06 AM
RE: First thread - by GwynMil - 12-04-2017, 12:53 AM
RE: First thread - by Riverspell - 12-04-2017, 05:00 AM
RE: First thread - by GwynMil - 12-04-2017, 03:49 PM
RE: First thread - by Riverspell - 12-06-2017, 03:03 AM
RE: First thread - by GwynMil - 12-06-2017, 11:31 PM
RE: First thread - by GwynMil - 12-12-2017, 05:37 PM
RE: First thread - by GwynMil - 12-17-2017, 05:01 PM
RE: First thread - by GwynMil - 12-24-2017, 06:27 PM
RE: First thread - by GwynMil - 01-09-2018, 05:19 PM
RE: First thread - by GwynMil - 01-15-2018, 06:30 PM
RE: First thread - by GwynMil - 01-22-2018, 08:19 PM
RE: First thread - by GwynMil - 01-28-2018, 05:32 PM
RE: First thread - by GwynMil - 02-12-2018, 03:55 AM
RE: First thread - by GwynMil - 02-17-2018, 02:11 AM
RE: First thread - by GwynMil - 02-22-2018, 11:45 PM
RE: First thread - by GwynMil - 02-28-2018, 03:19 PM
RE: First thread - by GwynMil - 03-01-2018, 04:04 PM
RE: First thread - by GwynMil - 03-04-2018, 04:14 PM
RE: First thread - by GwynMil - 03-07-2018, 04:53 PM
RE: First thread - by GwynMil - 03-11-2018, 05:36 PM
RE: First thread - by GwynMil - 03-18-2018, 05:11 PM
RE: First thread - by GwynMil - 03-24-2018, 04:37 PM
RE: First thread - by GwynMil - 03-25-2018, 12:19 AM
RE: First thread - by GwynMil - 04-09-2018, 02:54 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-22-2018, 02:19 PM
RE: First thread - by GwynMil - 05-03-2018, 07:09 PM
RE: First thread - by GwynMil - 05-06-2018, 01:50 AM
RE: First thread - by GwynMil - 05-12-2018, 12:30 AM
RE: First thread - by GwynMil - 05-17-2018, 03:08 PM
RE: First thread - by GwynMil - 05-20-2018, 02:24 PM
RE: First thread - by GwynMil - 05-21-2018, 07:16 PM
RE: First thread - by GwynMil - 05-22-2018, 07:07 PM
RE: First thread - by GwynMil - 05-26-2018, 04:38 PM
RE: First thread - by GwynMil - 05-28-2018, 06:59 PM
RE: First thread - by GwynMil - 05-30-2018, 04:27 PM
RE: First thread - by GwynMil - 06-03-2018, 11:27 PM
RE: First thread - by GwynMil - 06-10-2018, 07:51 PM
RE: First thread - by GwynMil - 06-13-2018, 11:57 PM
RE: First thread - by GwynMil - 06-16-2018, 03:45 PM
RE: First thread - by GwynMil - 06-17-2018, 10:51 PM
RE: First thread - by GwynMil - 06-18-2018, 02:06 PM
RE: First thread - by GwynMil - 06-19-2018, 02:35 PM
RE: First thread - by GwynMil - 06-23-2018, 04:14 PM
RE: First thread - by GwynMil - 06-23-2018, 04:14 PM
RE: First thread - by GwynMil - 06-24-2018, 05:51 PM
RE: First thread - by GwynMil - 06-25-2018, 03:26 PM
RE: First thread - by GwynMil - 06-28-2018, 04:58 PM
RE: First thread - by GwynMil - 06-30-2018, 07:37 PM
RE: First thread - by GwynMil - 07-02-2018, 05:17 PM
RE: First thread - by GwynMil - 07-06-2018, 02:07 AM
RE: First thread - by GwynMil - 07-08-2018, 05:27 PM
RE: First thread - by GwynMil - 07-11-2018, 12:47 AM
RE: First thread - by GwynMil - 07-14-2018, 08:07 PM
RE: First thread - by GwynMil - 07-15-2018, 04:18 PM
RE: Dev thread - by GwynMil - 07-20-2018, 01:54 AM
RE: First thread - by GwynMil - 07-24-2018, 06:09 PM
RE: First thread - by GwynMil - 07-29-2018, 11:30 PM
RE: First thread - by GwynMil - 07-31-2018, 06:32 PM
RE: First thread - by GwynMil - 08-02-2018, 05:31 PM
RE: First thread - by GwynMil - 08-08-2018, 02:35 PM
RE: First thread - by GwynMil - 08-12-2018, 06:05 PM
RE: First thread - by GwynMil - 08-14-2018, 02:31 PM
RE: First thread - by GwynMil - 08-17-2018, 06:09 PM
RE: First thread - by GwynMil - 08-20-2018, 04:47 PM
RE: First thread - by GwynMil - 08-22-2018, 03:03 PM
RE: First thread - by GwynMil - 08-26-2018, 08:14 PM
RE: First thread - by GwynMil - 09-08-2018, 12:57 AM
RE: First thread - by GwynMil - 09-10-2018, 04:48 PM
RE: First thread - by GwynMil - 09-15-2018, 04:44 PM
RE: First thread - by GwynMil - 09-23-2018, 07:20 PM
RE: First thread - by GwynMil - 09-27-2018, 11:05 PM
RE: First thread - by GwynMil - 10-03-2018, 03:21 PM
RE: First thread - by GwynMil - 10-11-2018, 05:06 PM
RE: First thread - by GwynMil - 10-11-2018, 05:06 PM
RE: First thread - by GwynMil - 10-16-2018, 08:11 PM
RE: First thread - by GwynMil - 10-19-2018, 05:03 PM
RE: First thread - by GwynMil - 10-23-2018, 04:08 PM
RE: First thread - by GwynMil - 10-28-2018, 04:41 PM
RE: First thread - by GwynMil - 10-31-2018, 07:33 PM
RE: First thread - by GwynMil - 11-06-2018, 11:48 PM
RE: First thread - by GwynMil - 11-13-2018, 07:53 PM
RE: First thread - by GwynMil - 11-18-2018, 04:54 PM
RE: First thread - by GwynMil - 11-23-2018, 03:35 PM
RE: First thread - by GwynMil - 11-27-2018, 08:51 PM
RE: First thread - by GwynMil - 12-01-2018, 10:54 PM
RE: First thread - by GwynMil - 12-13-2018, 04:33 PM