Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Saving into the Editor #378

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I saw this a while ago, but this bug is still there.
When saving a quest, it will remove the questid from the charactertemplate. So 
every time you save the quest, you must get back the quest id on that quest NPC.

The same thing happen with shop, you add a new items, then save the shop. It 
remove the shop from all the charactertemplate who had it...

The character template lose everytime the shop ID and the quest ID when we save 
them... maybe there are other ID too, but I tested them.

Original issue reported on code.google.com by volko...@hotmail.com on 7 Jul 2013 at 11:48

GoogleCodeExporter commented 9 years ago
All fixed.

A quick look at the editor and I noticed a Delete query was being called before 
some of the InsertUpdate queries, which is pointless and wrong. Removed the 
delete queries and ensured InsertUpdate's was implemented.

Will commit the code changes either later on today or tomorrow as I have some 
other important code to finish.

Original comment by darksumm...@gmail.com on 29 Aug 2013 at 11:54

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4777.

Original comment by darksumm...@gmail.com on 31 Aug 2013 at 7:50

GoogleCodeExporter commented 9 years ago
Re-opening as I've realised that even though I fixed it with r4777, it needed 
some extra individual delete queries to ensure values are always the latest. 
Will commit the extra fix now so expect this issue to be fixed again, fairly 
fast.

Original comment by darksumm...@gmail.com on 7 Oct 2013 at 8:44

GoogleCodeExporter commented 9 years ago
This issue was closed (again) by revision r4783.

Original comment by darksumm...@gmail.com on 7 Oct 2013 at 8:50