vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Fri May 24, 2013 9:25 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 8:19 am 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
everytime i want to change something in the server i get this error when i try to make the exp or just run the server. says Sub or Function not defined. then has MakeSureDirectoryPathExists highlighted but i have never touched those lines of code or deleated any code on the server just added some


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 8:21 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
Strange, go into fileio.bas, and at the top, in the declarations, add
Code:
Public Declare Function MakeSureDirectoryPathExists Lib "imagehlp.dll" (ByVal lpPath As String) As Long


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 8:27 am 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
well that fixed that now i have something saying:
Variable not Defined and CodeTracker is highlighted.

I dont like how i didnt touch these dumb things and they are giving me problems


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 8:43 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
Sounds like you've tried to remove the logging but screwed up badly.


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 6:53 pm 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
i didnt even touch that code ugggg any ideas how to fix it?


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Sun Jul 19, 2009 7:51 pm 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
Either finish removing all the logging code, or put it back in


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Mon Jul 20, 2009 6:44 am 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
ok i dont know what i took out as i have never deleated anything in the server so how would i "put it back in"?


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Mon Jul 20, 2009 7:16 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
Easiest way would be to run some code comparision software, and check your version of vbgore against the original, and add lines that are missing back in.

If you don't have any backups of your code that is, if you do, use those / check against those.

I'd really recommend setting up a local svn on your machine and then just committing your code to that every now and then, use it as a backup system. It's incredibly useful when you mess something up.


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Mon Jul 20, 2009 7:41 am 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
whats a good code comparason softwear


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Mon Jul 20, 2009 7:50 am 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
WinMerge


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Mon Jul 20, 2009 6:31 pm 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
so i used that program it found one thing in the reference area fixed that and now its saying the same thing when i go to make the exe but in another area of the code also the when i just run the code it works fine its just when i go to make the exe

its in the Data_User_RequestMakeChar


Top
 Profile  
 
 Post subject: Re: MakeSureDirectoryPathExists problem
PostPosted: Tue Jul 21, 2009 7:13 pm 
+3 Gloves of Agility

Joined: Sat Feb 02, 2008 6:44 am
Posts: 168
THAT PROGRAM ROCKS!!!!! i compared it to the most recent version and found the missing code and it now works. The main problem was my older version of vbgore was not working with the newer updates. so now its all good thanks for the help dark and spodi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 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