vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Wed Jun 19, 2013 8:19 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Important Runtime Error
PostPosted: Sat Apr 17, 2010 7:29 pm 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
For no reason, or no reason that i know of, i've been getting this Runtime Error for a while, everytime i Open the GameClient (after opening the GameServer)

Image


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sun Apr 18, 2010 10:24 am 
Wizard of Xor

Joined: Tue Mar 17, 2009 3:48 pm
Posts: 238
Run it from the IDE and tell what line is highlighted.


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sun Apr 18, 2010 10:58 am 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
IDE? <--- I'm a noob, but we all gotta learn some day.
So yeah i googled stuff on google and it said "Integrated Drive Electronics", where do i get that? and how do i figure out which line is wrong?


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sun Apr 18, 2010 11:45 am 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
IDE = Integrated Development Environment. In other worse, in the case of VB6, Microsoft Visual Basic/Studio 6.


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Thu Apr 22, 2010 6:52 pm 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
Okay so in VB6, how do i know which line is wrong?


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sat Apr 24, 2010 1:16 pm 
Wizard of Xor

Joined: Tue Mar 17, 2009 3:48 pm
Posts: 238
Run it through there, hit the little triangle that represents a play button, next to a "pause" and "stop" looking button. Then get to the point that it crashes, and tell us the error and the line that is highlighted.


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Thu Apr 29, 2010 3:55 pm 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
Error Code : (Error Line = Bold)

'Draw the sprite
If TextureNum > 0 Then
Sprite.Draw SurfaceDB(TextureNum), SrcRect, SpriteScaleVector, v2, Degrees, v3, Light
Else
Sprite.Draw Nothing, SrcRect, SpriteScaleVector, v2, 0, v3, Light
End If

End Sub

Image


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Thu Apr 29, 2010 4:43 pm 
Wizard of Xor

Joined: Tue Mar 17, 2009 3:48 pm
Posts: 238
Have you added any GRH's at all yet, or modified GRHRaw.txt? What features have you recently implemented?


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Fri Apr 30, 2010 5:15 am 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
Yeah i've added GRH's and the most recent thing i've added was a Shop NPC(i think) if not, a Furniture NPC. Oh and quests.


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Fri Apr 30, 2010 2:34 pm 
Wizard of Xor

Joined: Tue Mar 17, 2009 3:48 pm
Posts: 238
My assumption is that you screwed up somewhere while writing up the GRHRaw.txt. Try removing the new GRH's from the GRH directory, then restore the old GRHRaw.txt.


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sat May 01, 2010 8:28 am 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
K, i got it to work, thanks *thumbs up* :)


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Sun Sep 19, 2010 6:03 pm 
Newbie

Joined: Sat May 15, 2010 5:29 pm
Posts: 3
same problem cant figure out the code line problem im on vb2008 can aney ine uplode a link so i can check it?
also i have tried to upgrade to 2008 but every line has a problem :x


Top
 Profile  
 
 Post subject: Re: Important Runtime Error
PostPosted: Mon Sep 20, 2010 1:58 pm 
Bytewise Operator

Joined: Mon Mar 30, 2009 12:21 pm
Posts: 133
Location: Behind You.
run it in VB6 not VB8


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