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

[CS:DE] to [EO] Conversation system V1.1


RyokuHasu
 Share

Recommended Posts

Hehe, Nevermind my last post peeps!

I figured out that I needed to change the Properties of the MAP and that's where I can tell it which NPC's we'll be available on the map… So that's that... I got multiple NPCS on screen!

Now I have one last outstanding problem, the picChat box remains on screen longer than expected... If you click an option until you no longer have options to the end of the conversation the chat box just remains there...

Is there a way to click on it and make it dissapear, or just have it dissapear on its own after a few seconds? if I click Ctrl again can I make the chatbox dissapear?

Because it sometimes goes away, and often times it does not, you have to talk to the NPC again and maybe it will dissapear.

Is this expected behaviour?
Link to comment
Share on other sites

  • Replies 170
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
Everything seemed to work out fine

Until I tried editing/creating a conv but the conv command button under the admin panel didn't open the Editor form.

I placed the form under both the client and src folders.

EDIT! So disregard the top portion of this reply.

I found out that I didn't add the forms into the project file.. ( I also added the modConv where it should be and added it to the server project file as well.)

HOWEVER! I still haven't managed to open the Conv Editor though the Conv Command button.
Link to comment
Share on other sites

@Exvayate:

> HOWEVER! I still haven't managed to open the Conv Editor though the Conv Command button.

How about this:
```
If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then
    MsgBox "You need to be a high enough staff member to do this!"
    Exit Sub
End If

SendRequestEditConv
```
Link to comment
Share on other sites

@Erwin:

> How about this:
> ```
> If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then
>     MsgBox "You need to be a high enough staff member to do this!"
>     Exit Sub
> End If
>
> SendRequestEditConv
> ```

Yup I didn't skip out on that part of the tutorial. I still haven't got it to open the Editor Window.
Link to comment
Share on other sites

  • 1 month later...
but something needs to change, so it can accept the quests in Conversation System.
Someone could help. Thanks in advance.

Client~~
frmEditor_Conv
cmbEvent add "Start Quest" in (list), and

```
Case 4 ' give quest
            'set max values
            scrlData1.Max = MAX_QUESTS
            ' hide / unhide
            scrlData1.Visible = True
            scrlData2.Visible = False
            scrlData3.Visible = False
            lblData1.Visible = True
            lblData2.Visible = False
            lblData3.Visible = False
            ' set strings
            lblData1.Caption = "Quest: None"
```

in scrlData1
```
Case 4 ' Quest
            If scrlData1.Value > 0 Then
                lblData1.Caption = "Quest: " & Trim$(Quest(scrlData1.Value).Name)
            Else
                lblData1.Caption = "Quest: None"
            End If
```
Server~~
modConv -> Public Sub sendChat

```
Case 4 ' Give quest
                    If Conv(convNum).Conv(curChat).Data1 > 0 Then
                        CanStartQuest index, Conv(convNum).Conv(curChat).Data1
```
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
Hi everybody,

I have respect the code and my server told me an error 9 who is :

_In Sub UpdateMapLogic_
```
If MapNpc(mapNum).Npc(x).SpellTimer(i) + (Spell(Npc(npcNum).Spell(i)).CastTime * 1000) < GetTickCount Then
```
When i put my mouse on "CasTime", i don't have nothing, so i think it's the problem but how can i resolve this.

I have search in the topic if anybody would have the same problem but unfortunately it's not the case.

Can you help me please ?

Thank you
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...
  • 4 months later...

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...