Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Still getting the plains error.

 

Think the problem with this is that you're getting 'plains' as your zonecode and then trying to plug it into the database. globals.areas.database in explorationregions.gd lists the zonecode as being called 'prairie' instead.

so as a quick fix could just slap this under your zonecode at line 2210

if zonecode == 'plains':
zonecode = 'prairie'

That’s what was boggling me. Where is plains pulling from to begin with? It’s supposed to be only pulling zonecodes but I haven’t seen one called plains anywhere in the exploration regions. I have no clue where the “plains” are supposed to be originating from. I’ll try that fix, but any idea where  prairie is showing it’s code as plains?

(1 edit)

Doing a quick findall in the files the only place i see 'plains' listed is your outskirtsarray in expansion.gd where you define it as 

Line 77: var outskirtsarray = ['wimbornoutskirts','forest','plains','gornoutskirts','amberguardforest','frostfordoutskirts','shaliq','umbra']

otherwise it exists nowhere else in your code or in the main game code. So must be migrating from there to globals.state.offscreennpcs somehow.

And that's what I appreciates about ya! I definitely missed that and think I figured out how it was traveling to NPC codes now. Thanks!