Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

NPC Data Corruption

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Awful Waffle




Joined: 18 Jun 2003
Posts: 73
Location: Canada

PostPosted: Tue Sep 22, 2009 10:36 pm    Post subject: NPC Data Corruption Reply with quote

I'm not sure if this has been covered or not.

Several of my maps contain erroneous NPC data for seemingly random attributes in the NPC editor. It's making it very difficult to reliably work on my game and has cost me several sessions of time because when selecting an NPC to edit, or sometimes trying to append a new walkabout picture, I will crash without warning. I eventually have to identify which NPC's are corrupt and avoid editing/using them.

I'm using:
The O.H.R.RPG.C.E version xocolatl+2 (released April 3 2009)

downloaded from the Wiki site.
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Sep 23, 2009 7:58 am    Post subject: Reply with quote

Can you send me a copy of your file?

It would also help to know which maps and which NPCs are corrupted.

This sounds like a bug which was already fixed in the nightly builds, but I will have to test the file to make sure.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FnrrfYgmSchnish
Probably the Grand Poobah or something




Joined: 19 Jul 2003
Posts: 88
Location: Not here

PostPosted: Wed Sep 23, 2009 8:22 am    Post subject: Reply with quote

This sounds exactly like the NPC-corrupting bug I keep running into while working on Okédoké.

I'm using an older nightly version (can't remember how old off the top of my head), and while the crash part is fixed--Custom shows "invalid pushtype 2587" and things like that in the places where the data is screwed-up, instead of crashing--the corruption itself still happens.

If the whole thing's fixed in one of the more recent nightlies, though, I might just download that one. Especially with chain conditions already being added in now.
Back to top
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Sep 23, 2009 9:04 am    Post subject: Reply with quote

Dark Blubber wrote:

I'm using an older nightly version (can't remember how old off the top of my head), and while the crash part is fixed--Custom shows "invalid pushtype 2587" and things like that in the places where the data is screwed-up, instead of crashing--the corruption itself still happens.


Ooh! I didn't realize that the corruption was still happening. Still happens only after map resizing, right?

'' . bug_title('738') . ''
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Sep 23, 2009 12:02 pm    Post subject: Reply with quote

Actually, the evidence from the previous thread seems to suggest that map resizing has nothing to do with it.

Awful Waffle, Dark Blubber: it would be extremely helpful if you would report it whenever you discovered data corruption and have some idea of what you've done since the last point at which you know that the corruption was not there.

Awful Waffle: Download a nightly, they will no longer crash on corrupt NPC data. Also, a couple data corrupting bugs were fixed, but not the one Dark Blubber was experiencing.

Dark Blubber: No more map editor bugs have been fixed since, I'm afraid.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Awful Waffle




Joined: 18 Jun 2003
Posts: 73
Location: Canada

PostPosted: Wed Sep 23, 2009 12:24 pm    Post subject: Reply with quote

I grabbed the daily, and yes it does resolve the crash. When I select the NPC's which were causing crash, I can see that they have invalid data eg. Activation: Invalid UseType 36, etc. This is at least a workable bug for me, since I don't have to worry about losing work from crashing.

As for when it occurred, i'm not sure, however it occurred on at least 2 different maps. All of my maps have been resized at some point, if that matters.
Back to top
View user's profile Send private message
FnrrfYgmSchnish
Probably the Grand Poobah or something




Joined: 19 Jul 2003
Posts: 88
Location: Not here

PostPosted: Wed Sep 23, 2009 10:01 pm    Post subject: Reply with quote

Every time it's happened to me, I had done some tilemap work shortly before I noticed it. That's about the only thing that every case of NPC corruption I've had has in common.

I thought doors or resizing might have been involved before, but when working on the map of the optional area I got some screwy NPCs after nothing but tilemap work.

Also, one other thing I noticed--which could be a separate, unrelated glitch--Sometimes when I do a lot of tilemap work and then push Enter to show the full tileset and pick a new tile, one random tile from the tileset is duplicated in the wrong place. It covers up whichever tile it replaces, but then when I try to place that tile, it shows up as what it's supposed to be instead of the glitched tile. Leaving the map editor and re-opening the tileset it was using makes it go back to normal.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group