Search found 156 matches

by Itesh
Mon Jul 03, 2023 5:28 am
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

The final problem with Autodraw: If you don't have thing you're trying to draw - eg, you've set it to dagger but you only have swords - you don't actually draw *anything*. So what we want to do is try and draw whatever you've set once and if it fails, default to just drawing whatever you can. First ...
by Itesh
Sun Jul 02, 2023 3:32 pm
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

I spend a fraught few minutes working out how to merge all the changes from the master branch into whatever branch I'm working from in VS code; this is something I periodically forget how to do, and frankly I think the terminology that Git uses for anything is *spectacularly* poorly chosen, so it's ...
by Itesh
Sun Jul 02, 2023 10:38 am
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

Part 2 of catching up with things. It's not going to be a good part, because I only have about 45 minutes before lunch with family, and the children are being awful - but there's time for some groundworl at least. I start VSC and immediately abandon it - it's been a while, so it's going to need to t...
by Itesh
Wed Jun 28, 2023 12:28 pm
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

Well, it seems like a long time since I did one of these - 9 months, enough time to gestate a child (not why I've been absent) - so now seems like a suitable time to somehow get back into it. In fact, this may not actually be a code blog at all, so much as a blog about attempting to get back into th...
by Itesh
Sun Sep 25, 2022 9:53 am
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

This is going to be one of those that I write partially in retrospect, since I didn't do it at the time. Extract Lights Feneon suggested to me that lights should just be deleted when they burn out, which seemed like a fantastic idea to me - who hates juggling burnt-out lanterns? ME. Then I learnt it...
by Itesh
Sun Sep 25, 2022 3:16 am
Forum: Announcements
Topic: Code Updates: Lights
Replies: 0
Views: 815

Code Updates: Lights

You know that annoying thing where you have eleventy billion burnt out lanterns and one that works and you have have to endlessly sort through your trash inventory like the crazy hoarder your mother always told you you'd become to get one that works? Well, no more! Now lights are just ditched from y...
by Itesh
Sat Sep 10, 2022 1:52 am
Forum: Announcements
Topic: Code Updates
Replies: 0
Views: 1115

Code Updates

As of reboot: 1: You should be able to see object stats for weapons, armour and trinks when you "examine" them. 2: when the MUD boots, it'll scour inactives off clan lists, de-council where appropriate and adjust ranks if people don't have the qps to maintain that rank (with a small buffer). Fair wa...
by Itesh
Fri Aug 05, 2022 7:17 am
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

The baby has just gone to sleep, and the Elder Spawn is at drama camp thing for the rest of the day, so today I'm going to be doing Housekeeping coding. Auto-Cleanup for Clan Lists First submitted in November 2020, this code automatically rank 0s players who haven't logged in for a set amount of tim...
by Itesh
Wed Aug 03, 2022 10:41 am
Forum: Player's Lounge
Topic: Itsy's Janky Code Blog
Replies: 47
Views: 13045

Re: Itsy's Janky Code Blog

What did I do today? Well. I'm glad you asked. When I added the stalking pointers to the memory structures of characters, I added them to a place that only actual PCs have, not mobs. And for this reason, I have spent time going through EVERY SINGLE use of the stalking code adding NPC checks to avoid...