NextEraGaming Posted November 22, 2010 Author Share Posted November 22, 2010 Hello.When I try to compile the client.vbp, it gives me a "Sub or function not defined" for this line of code:```Private Sub cmdAAnim_Click() If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then AddText "You need to be a high enough staff member to do this!", AlertColor Exit Sub End If SendRequestEditAnimationEnd Sub```And this one also:```Private Sub cmdLevel_Click() If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then AddText "You need to be a high enough staff member to do this!", AlertColor Exit Sub End If SendRequestLevelUpEnd Sub```And this one also:```Private Sub lblTrainStat_Click(Index As Integer) If GetPlayerPOINTS(MyIndex) = 0 Then Exit Sub SendTrainStat IndexEnd Sub```All of these are found in "frm_MainGame"Any suggestions? Link to comment Share on other sites More sharing options...
Robin Posted November 22, 2010 Share Posted November 22, 2010 Open the vb6 project properly, not just a single form. Link to comment Share on other sites More sharing options...
NextEraGaming Posted November 22, 2010 Author Share Posted November 22, 2010 I've opened it two ways:through the client.vbp and through the VB6 file explorer…still the same error. Link to comment Share on other sites More sharing options...
Robin Posted November 23, 2010 Share Posted November 23, 2010 Open client.vbp. Screenshot your entire screen when you get the error. Link to comment Share on other sites More sharing options...
NextEraGaming Posted November 23, 2010 Author Share Posted November 23, 2010 [![](http://www.freemmorpgmaker.com/files/imagehost/pics/1acd5470ef26175cb2b553c489143349.png)](http://www.freemmorpgmaker.com/files/imagehost/#1acd5470ef26175cb2b553c489143349.png) Link to comment Share on other sites More sharing options...
Robin Posted November 23, 2010 Share Posted November 23, 2010 Open the project explorer. Link to comment Share on other sites More sharing options...
NextEraGaming Posted November 23, 2010 Author Share Posted November 23, 2010 [![](http://www.freemmorpgmaker.com/files/imagehost/pics/4b01a8af02398958357df00f970873ec.png)](http://www.freemmorpgmaker.com/files/imagehost/#4b01a8af02398958357df00f970873ec.png) Link to comment Share on other sites More sharing options...
Robin Posted November 23, 2010 Share Posted November 23, 2010 Your IDE setup makes me cry. Link to comment Share on other sites More sharing options...
NextEraGaming Posted November 23, 2010 Author Share Posted November 23, 2010 How do I modify my IDE setup to fit your standards? Link to comment Share on other sites More sharing options...
Robin Posted November 23, 2010 Share Posted November 23, 2010 It's not about meeting my standards but being able to see the project explorer as well as the programming area. As for your problem, the only reason that'll be appearing is if it can't find the procedures, and so it should only error when you haven't opened the project properly. I don't see why it'd be throwing that error at you unless you've removed those procedures from the project.Try re-downloading the source code. Link to comment Share on other sites More sharing options...
NextEraGaming Posted November 23, 2010 Author Share Posted November 23, 2010 Would my Win7 security settings have anything to do with this? Like the whole annoying "Run as Admin" and "This program doesn't have the permission" crap? Link to comment Share on other sites More sharing options...
Robin Posted November 23, 2010 Share Posted November 23, 2010 No idea. Personally I've been running it on Win7 x64 perfectly since it was released. Then again, I've turned off all those horrible security measures.Unless your Win7 install is restricting access to the other files within the project, I don't see how it could cause this error.Make your Project Explorer much thinner and place it to the right of your vb6 so you can edit the project and see the files at the same time.Press Ctrl + F to load up the search tool then do a **full project** search for GetPlayerAccess. Link to comment Share on other sites More sharing options...
Devogen Posted November 23, 2010 Share Posted November 23, 2010 Turn off windows UAC. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now