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

[EO 2.0/3.0] Serial Number, Redeem Item or etc [Fixed]


PVJsquad
 Share

Recommended Posts

  • Replies 159
  • Created
  • Last Reply

Top Posters In This Topic

> Cara membuka untuk memasukan serial di dalam Client ( Bukan DEveloper )

satuin dulu antara devsuite dan client , patokannya client jadi kode yang ada di devsuite di pindahin ke client dan juga editor-editornya

kalo masalah mindahin tanya ke tetangga sebelah

saya rekomendasikan untuk pemula mending pakai ajja EO 2.0(EclipseVB) atau EO 3.0 mereka sama kok
Link to comment
Share on other sites

I've deleted some foreign gibberish from the topic. Please try to refrain from using any other language besides English in the main sections of the forum. If you must, try to use Google Translate, while not perfect it will at least get the point across more so than whichever language you speak.
Link to comment
Share on other sites

  • 2 months later...
Bump, have a error in this line

CopyMemory ByVal VarPtr(Serial(SerialNum)), ByVal VarPtr(**SerialData(0)**), SerialSize

in Serial Data, The subscript is out of range. How to fix this D: ?

–-------------- EDIT I FIX THIS **( Client & Server )**

Public this in ModConstants

```
Public Const SERIAL_LENGTH As Byte = 10 ' Change this value to max length you like in your codes

```
Now, go to modCode in **Public Type SerialRec **change this :

```

Name As String * NAME_LENGTH
```
to:

```

Name As String * SERIAL_LENGTH
```
**Client WORK**

Go to frmSerial and click the txtName

![](http://i58.servimg.com/u/f58/18/38/65/59/val210.png)

Change the MAX LENGTH to Public Const SERIAL_LENGTH As Byte = **10 **<- to your VALUE in SERIAL_LENGTH

![](http://i58.servimg.com/u/f58/18/38/65/59/val110.png)

Cya ~
Link to comment
Share on other sites

> Bump, have a error in this line
>
> CopyMemory ByVal VarPtr(Serial(SerialNum)), ByVal VarPtr(**SerialData(0)**), SerialSize
>
> in Serial Data, The subscript is out of range. How to fix this D: ?
>
>  
>
> –-------------- EDIT I FIX THIS **( Client & Server )**
>
> Public this in ModConstants
>
> ```
> Public Const SERIAL_LENGTH As Byte = 10 ' Change this value to max length you like in your codes
>
> ```
> Now, go to modCode in **Public Type SerialRec **change this :
>
>  
>
> ```
>
> Name As String * NAME_LENGTH
> ```
> to:
>
> ```
>
> Name As String * SERIAL_LENGTH
> ```
> **Client WORK**
>
>  
>
> Go to frmSerial and click the txtName
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val210.png)
>
>  
>
> Change the MAX LENGTH to Public Const SERIAL_LENGTH As Byte = **10 **<- to your VALUE in SERIAL_LENGTH
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val110.png)
>
>  
>
> Cya ~

Good Job , now i know why the server always out of range so thanks you for fix
Link to comment
Share on other sites

  • 1 month later...
> Error here in the Server
>
> HandleDataSub(CSaveSerial) = GetAddress(AddressOf HandleSaveSerial)
>
> I complet to tutorial from the server only copy and paste all tutorial and error >_<
>
> Run-Time error 9
>
> Subscript out of range
>
> Im using Super MMORPGMaker

Are you sure that you have 

```
'Serial
CSaveSerial
CRequestSerial
CRequestEditSerial
CSerialGift

```
above 

```
CMSG_COUNT

```
?
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...
> Bump, have a error in this line
>
> CopyMemory ByVal VarPtr(Serial(SerialNum)), ByVal VarPtr(**SerialData(0)**), SerialSize
>
> in Serial Data, The subscript is out of range. How to fix this D: ?
>
>  
>
> –-------------- EDIT I FIX THIS **( Client & Server )**
>
> Public this in ModConstants
>
> ```
> Public Const SERIAL_LENGTH As Byte = 10 ' Change this value to max length you like in your codes
>
> ```
> Now, go to modCode in **Public Type SerialRec **change this :
>
>  
>
> ```
>
> Name As String * NAME_LENGTH
> ```
> to:
>
> ```
>
> Name As String * SERIAL_LENGTH
> ```
> **Client WORK**
>
>  
>
> Go to frmSerial and click the txtName
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val210.png)
>
>  
>
> Change the MAX LENGTH to Public Const SERIAL_LENGTH As Byte = **10 **<- to your VALUE in SERIAL_LENGTH
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val110.png)
>
>  
>
> Cya ~

the above
Link to comment
Share on other sites

  • 2 weeks later...
I have a little problem at the end of this tutorial i try to compil the client and :

![](http://image.gilawhost.com/14/04/13/1tfzatn7.png)

Screenshots 2 :

![](http://image.gilawhost.com/14/04/13/dm7o696y.png)

**Someonone know my error?**

**Resolved by Matt on the shoutbox**

I have replace the code by this :

frmMain.picClaim.visible = true

Thanks one more time Matt
Link to comment
Share on other sites

  • 4 months later...
> Thank you for this tutorial! We'll be using this feature to give out promotional items at the next convention we go to. Is there any issue with making a form instead of a picturebox? It appears to work fine but I'm still new to vb6 so I can't be sure.

No just different code instead of pic whatever.visible it would be form whatever .show

Also you might have to do something like frm whatever.text for the place to enter code on serial box
Link to comment
Share on other sites

  • 2 weeks later...
i will make it simple for show some picturebox or many object in visual basic

**frmMain
.picClaim
.visible
= true**

**Red**
 = the form name (example: Form1, Form2, frmMain, frmMenu, frmEditor_Item, …)

**Orange**
= the object name (example: picClaim, picCover, picSprite, cmbClass, scrlStats, …)

**Yellow**  
= destination for showing object (example: caption, enable, BackColor, …)

**Green **
= True or False

so if you will make some object appear, type like that

```

frmMain.picClaim.visible = true
```
but if you want hide the object do it

```

frmMain.picClaim.visible = false
```
and if you want make toggle show/hide object do that

```

frmMain.picClaim.visible = not frmMain.picClaim.visible
```
Link to comment
Share on other sites

> Bump, have a error in this line
>
> CopyMemory ByVal VarPtr(Serial(SerialNum)), ByVal VarPtr(**SerialData(0)**), SerialSize
>
> in Serial Data, The subscript is out of range. How to fix this D: ?
>
>  
>
> –-------------- EDIT I FIX THIS **( Client & Server )**
>
> Public this in ModConstants
>
> ```
> Public Const SERIAL_LENGTH As Byte = 10 ' Change this value to max length you like in your codes
>
> ```
> Now, go to modCode in **Public Type SerialRec **change this :
>
>  
>
> ```
>
> Name As String * NAME_LENGTH
> ```
> to:
>
> ```
>
> Name As String * SERIAL_LENGTH
> ```
> **Client WORK**
>
>  
>
> Go to frmSerial and click the txtName
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val210.png)
>
>  
>
> Change the MAX LENGTH to Public Const SERIAL_LENGTH As Byte = **10 **<- to your VALUE in SERIAL_LENGTH
>
>  
>
> ![](http://i58.servimg.com/u/f58/18/38/65/59/val110.png)
>
>  
>
> Cya ~
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...