Wednesday, April 30, 2025

Guild Vendor and Combat Effects

So, I didn't get an awful lot of time this evening, but I did manage to knock over a slow-down effect much quicker than I thought it would take, so complete win there.

So, one of the thing that was irking me, was that if you didn't engage in combat, you could effectively just keep running past things, and they might get a hit in, more so if they had ranged attacks, but it was basically very easy to simply leg it past anything. So, I've changed things up, so that when you get hit by something outside of combat, it slows you down for a moment, basically trips you up. Consecutive hits will impact this more significantly. The idea is, you can probably leg it past one or two creatures without TOO much hassle, but trying to make it past a crowded cave corridor? Not a great idea.

Amusingly, that got to working exactly as I wanted really quickly, so I then whipped up some more items, and Floren now has a Guild Vendor, where new characters will be able to use their initial guild chits to pick up a good bit of armor, or a handy weapon of their choice. There's gear there for each class, and I'll put a few more spell and prayer books up there so that mages and clerics will have more options to start with too, before they collect some further equipment later on.

Tuesday, April 29, 2025

Item Binding Done and Dusted!

Somewhere along the way, I looked at implementing items that will Bind to a character, either when equipped, or when picked up - and although I needed to implement these, I needed to update so many tables and locations that I've just pushed it to the back ever since.

First off, why have these items? Well, sometimes, you just need to earn things for yourself is the shortest, simplest answer. If there's a quest series with a really cool reward at the end, I'd hope players want to complete that for themselves, and not just buy the item from an auction house, from some other player that finished that quest series a long time ago. Secondly, if there's a quest to gather something off a creature nearby, the purpose of that quest is to go hunt those creatures - not find someone else selling those items on an auction house.

Now, some items that are great items, will simply be a rare drop off a particular creature. No issue there, you will be able to trade those, but again, I think that really good items will bind once they are equipped.

Right, so with all the reasoning out of the way, the good news is, that it's all done! The various confirmation dialogues, the changes in the editor, the multitude of changes to database tables, both on my development machine, and on the server for player-data. It's been quite a few evenings of solid, and sometimes very tedious work. But It's done.

It also means, that I can now give each starting character a token from their starting class guild - where you'll be able to trade that in for a choice of weapons or armor fit for that class. Something decent to get each character started!

Also, I've said auction house, as the plan is to completely have one. Eventually. It's just not there yet. But it will be. Eventually!

Saturday, April 26, 2025

Event-Driven Spawns (Cool stuff!)

I was really surprised that I hadn't done it already when I went to implement it... but I didn't have the ability to spawn a particular creature based on party events - or, speaking like a normal person - I didn't have a way to spawn quest-specific creatures when you were on that quest.

Super short version.  I do now.

Slightly longer version, I went through, tweaked the editor code to allow that, then tweaked the app to behave based on either "Spawn When" or "Don't Spawn When" conditions. Super good to have.

Building on what I'd done in the last few days, I used a "junk" spawn from bandits, modified the item to trigger a quest for a wanted bandit, picked up the quest with my party, tracked him down, finished off the quest and collected my reward.

Now, the really cool thing about this being event driven is that it's been my plan to drop events into the players list based on certain world events. Night time? Drop in a night-time event. Day time? Drop in a day time event. It's raining? Rain event. With this new functionality, I can really drive a better narrative with certain things, such as "This place is only dangerous at night" and so on, or have them linked to weather effects and so on.

Here's the screenshot I grabbed with the bandit Chester, as I was hunting him down for the local guards.

Wednesday, April 23, 2025

Items can Initiate Quests Now!

In an awesome ongoing surge through things I've wanted to get done for ages, I modified my editor to let items start quests, then brought it nicely into the app menu and use systems.

Not a lot more to say really, it's been a to-do for ages, and now it's moved into the "Done" quadrant.

Huzzah!

Token Purchases Finally Functioning

Given how nicely and quickly I managed to implement characters starting with gear yesterday, I really thought I'd have a chance of getting tokens implemented yesterday. Alas, it was a lesson in hubris, and towards the end of the day, I thought I was within reach - after having upgraded my editor to handle these things, then making changes to the app in how items are read, then changes to how some adapters process things, then a whole bunch of stuff what happens in the app when checking if a purchase can be made, then finally working out what needs to be passed to the server and eventually getting it passed there.... to realize that unless I made significant changes to much of what I'd just coded, that the server would need to do most of it all over again - and that was not going to be efficient. So this morning I managed to get stuck straight into it as I've got the day off (I've actually had the last few off, hence the dive into bigger things) and made the needed changes, passed all the extra information to the server.... and finally...

Characters can now make purchases using tokens instead of money when a vendor allows it. This means a multitude of things. Firstly, I can now give mages some tokens when they are created, so you'll be able to pick and choose the spells you have to start with. Same for other classes to get a nice bit of armor, or a nicer weapon etc. Brilliant. Secondly, it means that I'll be able to have some quests reward you with a token that you'll be able to trade for what you want, rather than just a single item from the NPC. Again much better. And lastly, it also opens up the potential to have a form of barter in certain places, or with certain vendors which is quite intriguing from a story point of view.

Tuesday, April 22, 2025

New Characters.... Start with Stuff!

So, I've made a few starter items, and tweaked some code. New characters will now start with some super basic equipment, but equipment nonetheless. It's also equipped when the character is created, so it should make it easier for super new players to not have to work out that they need to buy stuff, then equip it etc etc.

It's only early in my day, and I'm not working today, so hopefully I can throw in some more stuff before the day is out.

I don't want to give myself too large a target, but while looking at this starting equipment, I was thinking that having some starting tokens, that you can trade at a starting location for things might be handy too. I've given folks some basic clothes and a rudimentary knife, but for mages... they're not going to start with any spells - as all spells need a skill... what if I give you a fire scroll, but you want to be a death mage.... do I need to give you eight starting spells? It all seems a bit confusing. If I can get tokens working (which I do plan to do already for some quest rewards and the like) it would certainly make this easier.

That Bug... FInally Squashed!

So, for a good few months, one of the bugs that's been just getting past my ability to be resolved has been the one where the screen rendered goes completely janky when the device orientation is changed, but before the player moves. Once the player moves, it resolves, but that change did something. To a lesser degree, it was also present when the preferences were changed to render a new resolution. And it was, to a much lesser degree, also present when you walked into a house, or up or down stairs.

No more.

I finally hunkered down, sat there with the code for rendering, the other code sections that work around these actions and kept at it.

It's also one of those "it makes perfect sense" when I've spent the two days to work it out, and yes, it makes perfect sense of what's going on, and why it was doing that. And of course, as it always is, threads were involved. Not the only culprit, but involved. So amusingly, there were indeed to issues that were causing individual issues, one when the orientation changed, and a different bug when entering/exiting but they're both solved.

So, that's been an utter elation to finally have that fixed. The game just looks so much more finished with that no longer being a thing.

So, next things next.

I'm doing some testing on a tablet, to see how things look with a completely different screen, and aside from one random crash, the app seems to be stable and without issue so far.

So, next on the agenda. I need to tweak the code when new characters are created to give them some starting items. My band-aid solution for that was to simply start the party with some cash and drop a few cheap "starter" items on a vendor, but I think I need to do better than that. So, that's my goal for tomorrow. Create some "starting with..." items and to tweak the code that creates characters to add them automatically when a new character is created. Oh, and to add in a party trainer type NPC to the starting Inn.

As for the screenshot, I started a new party using my wife's tablet and created characters named after what she suggested.

Tuesday, April 15, 2025

It's all About Questing

It's been a fun few evenings of late. I've really been getting stuck into quests and conversations, and while I'd love to say it's purely that, as I am play-testing these things, I'm finding loads of various bugs - but I'm also fixing them at the same time, so that's an upside too.

 I've done loads of tweaks with the conversations code, getting the app to do everything that it was supposed to do. I've slightly expanded some of the possibilities that conversations have from what I originally meant them to do - as in things can "happen" when the NPC says something as well as when your reply with something and just little bug fixes so that the app knows what display in what event... and sometimes that's just going back and forth in the app and editor, talking to the NPC, seeing something I shouldn't see, going back to the editor, fixing that part of the conversation, and back again.... same for quests.

But. It's been a whole heap of fun running about and finally getting through a big quest series - I mean big for what I've made SO FAR (feel free to imagine that Simpsons Meme template for that statement). But, my party has some cool new gear, oh, and I fixed the map up in a bunch of places where it needed a little correction to let me get through where I should be able to get through. And I found a bit of the map that isn't finished. Oopsie.

Saturday, April 12, 2025

Quests and Conversations

I've had a lot of fun today writing dialogue and putting quests into place. I'm yet to release it all on the alpha testers, but I've found myself getting into a good development routine in the way that I make these. I've got tabs open creating placeholder quests - well, the actual quests, but just making it completely bare-bones and making sure the dialogue around it works the way it should. I can then go back and make sure that each quest has all the details and is set up in all the ways it needs to be later. This is giving me a much better frame of mind to get all the right connections in place, and set up the series nicely.

Anyhow. It's been grand. Today has been all about Fondenroth, son of Fondenroil, son of Thrombendrol of the mighty Hala Thrombrin! There's some cool stuff in that quest series that slowly starts to open up into the greater myth and lore of the world. I've been doing a bunch of nice, but also fluff quests, but this one starts to really get into the true stuff of the game.

Thursday, April 10, 2025

Questing and Conversationing

Just a quick update tonight, I've been writing a good bunch of conversations, quests and testing them out to make sure they work just the way they're supposed to. For the most part, it's getting better, though I am still working out the best sort of conversation structures to have when having multiple quests given by the same NPC and how to set it up properly in the editor. I think I'm getting better, but going back to slightly older conversations still gets me confused as I try to add more stuff in.

Oh, and I've been doing a lot of play-testing to make sure that these quests work properly. There's a few bugs and things that I can improve, which will hopefully be pretty easy fixes. One that stood out was when handing in items to an NPC for a quest, the "Deliver Items" button turned them in one by one, so I either need to put a label on it, or change it to hand in ALL the items at once at that vendor. Either way will work, though the second one is probably better.

Wednesday, April 9, 2025

The Pies of Floren Islands

I got some great work done this evening, mainly on some quests and conversations, building on the work I've done recently with the conversation editor, and also just building out some items and updating some item drops.

There's more than one quest where various vendors on the Islands really want to make sure that they have the best pies around, and therefore get the business. There's money to be made in helping them out.

That's as much as I'm giving away, but really, it's been rather fun putting together these quests, tying them into the right parts of the conversation trees for each NPC and slowly letting this story unfold. I'm also going through and testing each one out with my party, so I'm also seeing how long these take to get done, and how they should be balanced.

On a bugfix and tweak aspect, I think I solved the "spawns right after exiting combat" thing, but I'll test it some more to be certain.

Rumor Mill: This is Joe. He used to have the best pies in the Floren Islands. Will he have them again, or has he been bested?

Tuesday, April 8, 2025

Questing, Conversations, Bugs and Editor Fixes

There's been a lot happening in the evenings of late. I've not been keeping up to date with posting things as I should, so this is a bit of a combined update.

Boring stuff first. I tweaked a few bugs in the game and got them working properly. The biggest one was quest items sometimes dropping when they weren't supposed to, depending on how they were set up. Solved.

I also had to invest a bit of time giving the conversation editor I have written some extra interface features for myself. It's just been a bit too hard to get everything working the way it's supposed to without seeing this extra information in the interface I have to write the scripts, connect things to events, quests and so on. So that's done too.

Now the fun stuff. I've been writing a series of quests from the Knights guarding the bridge to Blighted Isle, and play testing them as I go. I've had to do a lot of tweaking to the conversations themselves (hence the need to upgrade my conversation editor) but I think I am slowly getting the hang of what and how to do to get the end experience I want for players.

So, in terms of quests, there's not a huge amount there, but I do think, slowly over time, I am getting to a half decent bunch that is enough to start progressing the party up a few levels nicely.

I do have a bunch of new to-do's from my last few evenings though, I need to delay new spawns for a brief moment after exiting combat, as the game is quite happily dropping something fresh on me split seconds after I finish up one combat, and I am getting locked into others too quickly. I do also feel that I need to tweak some creatures. Some are just too easy to kill for what and where they are, and others just don't do nearly enough damage to really threaten in the way they spawn.

Guild Vendor and Combat Effects

So, I didn't get an awful lot of time this evening, but I did manage to knock over a slow-down effect much quicker than I thought it wou...