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

Error "6"


adif1
 Share

Recommended Posts

hello i have big problem…
![](http://img249.imageshack.us/img249/4269/beztytuuoyo.png)

my class

>! [INIT]
MaxClasses=2
>! [CLASS1]
Name=Wojownik
MaleSprite=5
FemaleSprite=6
Str=6
End=5
Vit=4
Will=3
Int=2
Spr=4
StartItem1=1
StartValue1=1
StartItem2=2
StartValue2=1
StartItem3=0
StartValue3=0
StartItem4=0
StartValue4=0
StartItem5=0
StartValue5=0
>! [CLASS2]
Name=Ninja
MaleSprite=7
FemaleSprite=8
Str=4
End=6
Vit=5
Will=4
Int=4
Spr=4
StartItem1=1
StartValue1=1
StartItem2=2
StartValue2=1
StartItem3=0
StartValue3=0
StartItem4=0
StartValue4=0
StartItem5=0
StartValue5=0
Link to comment
Share on other sites

@adif1:

> hello I have big problem…

Delete your account.

@Sekaru:

> *Shrug* Dunno, maybe you had another server application open?

[http://www.touchofdeathforums.com/smf/index.php/topic,51559.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,51559.0.html)
Link to comment
Share on other sites

  • 3 weeks later...
An overflow comes from when a variable has data it cannot support or handle.  An example would be taking a byte variable and trying to set it equal to 256.

Dim x as Byte  (byte supports from 0-255)

x = 256 (overflow because x value is now higher then the data field.)

This can happen with combo boxes and lists which use arrays.  For example you might have a list with 5 items in it,

INDEX
0
1
2
3
4

Now if you use a code to select Index 5 or 6 it will over flow because there is no index 5 or 6.

If you can find out where in the code the overflow is occuring it will be very easy to fix.  If deleting the account doesnt work then run the server in test mode by opening its source and hitting F5.  Once the bug occurs it will highlight it in yellow for you.
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...