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

Compile Error!


DarkScythe57
 Share

Recommended Posts

I did a few edits in my server using Visual basic 6 and when I try to compile everything together I get this    Compile Error: Fixed or Static data can't be larger then 64k. It is referring to to this codePrivate Type PlayerRec
    ' Account
    Login As String * ACCOUNT_LENGTH
    Password As String * NAME_LENGTH

    ' General
    Name As String * ACCOUNT_LENGTH
    Sex As Byte
    Class As Long
    Sprite As Long
    Level As Byte
    Hair As Long
    exp As Long
    Access As Byte
    PK As Byte

    ' Vitals
    Vital(1 To Vitals.Vital_Count - 1) As Long

    ' Stats
    Stat(1 To Stats.Stat_Count - 1) As Byte
    POINTS As Long

    ' Worn equipment
    Equipment(1 To Equipment.Equipment_Count - 1) As Long

    ' Inventory
    Inv(1 To MAX_INV) As PlayerInvRec
    Spell(1 To MAX_PLAYER_SPELLS) As Long

    ' Hotbar
    Hotbar(1 To MAX_HOTBAR) As HotbarRec

    ' Position
    Map As Long
    x As Byte
    y As Byte
    Dir As Byte

    'ALATAR
    PlayerQuest(1 To MAX_QUESTS) As PlayerQuestRec
    '/ALATAR
End Type
Please HELP ME! I AM USING EO AND VISUAL BASIC 6 ENTERPRISE EDITION
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...