vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Mon May 20, 2013 10:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Ugh, Map Editor
PostPosted: Mon Jun 30, 2008 11:03 am 
=^.^= Kitty =^.^=

Joined: Tue Sep 05, 2006 4:00 pm
Posts: 964
Location: Oregon
Image

This has happened to about 50% of my maps now. Only the top 4 rows render and then half of the next. When I close the editor while on one of these maps it tells me "Operation is not allowed when object is open" and highlights

Code:
    DB_RS.Open "SELECT id FROM npcs ORDER BY id DESC LIMIT 1", DB_Conn, adOpenStatic, adLockOptimistic


The database is not already open, nothing is accessing it. It is a completely stock editor with a completely stock database, the only difference is that there are more entries, but there are no syntax errors anywhere or alterations to any of the tables.

It seems to make my map's lifespans around 2 months until they get this issue and then never return to the living. Which is highly annoying, because if I don't find a solution I'll be remapping around a hundred maps eventually.

I can't find the solution and it's driving me crazy.


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Mon Jun 30, 2008 11:23 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
Weird. From the screenshot it looks like all the tiles after a certain point arent being loaded.... Not sure though.


The error seems weird. Missing a DB_RS.Close somewhere? *shrugs*


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Mon Jun 30, 2008 11:29 am 
=^.^= Kitty =^.^=

Joined: Tue Sep 05, 2006 4:00 pm
Posts: 964
Location: Oregon
If I am, then it's missing from every vbGore map editor since 1.0, which are all the ones i've had to test.


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Sat Jul 05, 2008 7:46 am 
Source Code Swashbuckler

Joined: Tue Aug 28, 2007 8:38 am
Posts: 40
Location: United Kingdom
that would suggest its something in the database rather than the engine?

especially if its highlights the line in all of them to 1.00?


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Sun Jul 06, 2008 6:35 am 
Site Admin

Joined: Sun Jul 30, 2006 4:00 pm
Posts: 1230
this happens when an npc that's on that map gets deleted from the database. simple solution to get your map back: pad the database with default npc info so the map editor has at least something to work with.


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Sun Jul 06, 2008 12:04 pm 
=^.^= Kitty =^.^=

Joined: Tue Sep 05, 2006 4:00 pm
Posts: 964
Location: Oregon
I've tried both methods, nothing seems to have worked.


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Mon Jul 07, 2008 7:51 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
If it's not a problem, could you post a dump of the npc table here?


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Sat Jun 27, 2009 5:53 pm 
=^.^= Kitty =^.^=

Joined: Tue Sep 05, 2006 4:00 pm
Posts: 964
Location: Oregon
I'm having this issue once again. I have no idea what the issue could be. :x


Top
 Profile  
 
 Post subject: Re: Ugh, Map Editor
PostPosted: Sat Jun 27, 2009 9:22 pm 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Darkfrost wrote:
If it's not a problem, could you post a dump of the npc table here?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group