Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Alatar's Quest System v1.2


Alatar
 Share

Recommended Posts

  • Replies 703
  • Created
  • Last Reply

Top Posters In This Topic

@Mortal:

> Compile error…
> Method or Data member not found

The obviously you are missing that. "Method or data member not found" means you didn't add it is the same thing as "variable not defined", i know you have at least have the ability to problem solve what you are missing.

This is the simplest error and can be solved by looking at the highlighted part then loiking back at the tut.

This isn't directed at Mortal Angel, It's directed to anyone asking for others to fix "variable not defined" or "Method or data member not found" ANYONE can fix these, you all are just to lazy to.
Link to comment
Share on other sites

What I posted had nothing to do with your issue.. I looked at ur project and ur combat sub was fine I think u messed up adding the packets cause after a couple mins of tryin to get the quest to start I got an error in write-bytes and it closed client ill look again when I get home but if u can I would redo the tutorial
Link to comment
Share on other sites

@hazeygaming:

> I have seen this question asked a few times, So I will add this here. Its really simple people who are having troubles…
>
> How to add the quest button with the others.
>
> Inside _Client.vbp_
>
> In **ModConstants** find:
>
> ```
> Public Const MAX_MAINBUTTONS As Long = 6
> ```
> Change to:
>
> ```
> Public Const MAX_MAINBUTTONS As Long = 7
> ```
> In **ModGeneral** find:
>
> ```
> ' main - party
>     With MainButton(6)
>         .fileName = "party"
>         .state = 0 ' normal
>     End With
> ```
> Below add this:
>
> ```
> ' main - quest
>     With MainButton(7)
>         .fileName = "quest"
>         .state = 0 ' normal
>     End With
> ```
> Inside **frmMain** copy and paste an existing button:
>
> Now change the properties to:
>
> ```
> Required button Properties
> Name: imgButton
> Index: 7
>
> ```
> Next in Sub **imgButton** **Click** find:
>
> ```
> Case 6
>             ' show the window
>             picCharacter.Visible = False
>             picInventory.Visible = False
>             picSpells.Visible = False
>             picOptions.Visible = False
>             picParty.Visible = True
>             picQuestLog.Visible = False
>             ' play sound
>             PlaySound Sound_ButtonClick
> ```
> Below it add:
>
> ```
> Case 7
>             If Not picQuestLog.Visible Then
>             ' show the window
>             picCharacter.Visible = False
>             picInventory.Visible = False
>             picSpells.Visible = False
>             picOptions.Visible = False
>             picParty.Visible = False
>             picQuestLog.Visible = True
>             ' play sound
>             PlaySound Sound_ButtonClick
>             End If
> ```
> Also add the below code to Cases 1,2,3,4,6 skipping 5
>
> ```
> picQuestLog.Visible = False
> ```
>
> Now simply create 3 buttons with the others using the name quest_norm, quest_hover, quest_click.
>
> If I forgot something let me know.

I just added this, and the three image files.

Now when I compile the client fully (Ctrl+F5), I get this error:

```
Run-time Error '5':
Invalid procedure or call argument
```
And the error is apparently this line from **modSound**:
```
Set Segment = Loader.LoadSegment(App.Path & MUSIC_PATH & fileName)
```
**I'm using VB 6.0 Enterprise with VB6 SP6.**
I have touched only the **ModConstants**, **ModGeneral**, and **frmMain**
Link to comment
Share on other sites

@Ryoku:

> … The error has nothing to do with adding the quest system, so something went VERY wrong and I have no Idea how that could have been affected.
>
> Did you make a back-up?

I have not started development on the game content yet, so it's all good.

Just trying to get a good basic source code with the features I need first until I can start dev'ing the game.

I used the version with Blank EO + QuestSystem v1.1\. After I added the codes for the Quest button, that error popped up e.e
Link to comment
Share on other sites

Can I put this to my existing game by moving the src files to mine? And also, I downloaded the complete thing and when go in, the menu has a white square that is for the quest but does somebody have the GUI for it that I can have a copy for?
Link to comment
Share on other sites

mmmm i have a problem….... i only use the first way (i mean download de EO modified with the quest script), and when i add another quest and set it to a new NPC it just doesnt do anything..... only the NPC called "Test" is able to give quests... i created the new NPC with the same caracteristics of the NPC called Test..... maybe is a stupid problem but i dont know what to do!!!! help please..
Link to comment
Share on other sites

Hello, Great Quest System!

~~I applied it after applying the Robin Convo System and all works well, except for one small detail, when I create new NPCs they get created, and I can edit them… They're saving because I stop and start the server and they're still there...

But I can't use them to populate the Maps...~~

Sorry, I'm a n00b and later on I figured that the spawning of NPCs gets fixed on  the Map's properties first.

However I do have one outstanding issue… it seems that when I talk to a NPC that has a quest nothing happens... :/ everything is in place, the quests are ediable and such, no errors during compile, the NPCs are alive and have Health, set on friendly... yet nothing happens when I walk up to them and hit the CRTL Key.

I have reviewed the tutorial twice... and still won't work...

Has anybody experienced this? Any help would be much appreciated! :)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...