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

[EO] - sending data to client


iSKweek
 Share

Recommended Posts

Hi there! Yet another question from me :P
I am making a quest system and I am trying to send the description of a quest to the client to a label.

I have had a look around and I think I know what happens, but I need some clarification. Do I basically creat a new Enumeration (CQuestDesc for example) then under a handle for it have```

    Dim QDesc as String (taken from the sub that calls this)
    Dim QType as String (same as QDesc)

    Dim Buffer As clsBuffer
    Set Buffer = New clsBuffer

    Buffer.WriteLong CQuestDesc
    Buffer.WriteString QDesc
    Buffer.WriteString QType
    SendDataTo index, Buffer.ToArray

    Set Buffer = Nothing
```
Any help is, as always, appreciated.

Thanks, Skweek.

EDIT: Never mind, I got it all sorted out.
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...