damian666 Posted April 17, 2013 Share Posted April 17, 2013 you havent added```Private Type ClassRecName As String * NAME_LENGTHStat(1 To Stats.Stat_Count - 1) As ByteMaleSprite() As LongFemaleSprite() As LongFace As Long' For client useVital(1 To Vitals.Vital_Count - 1) As LongEnd Type```to client did you? Link to comment Share on other sites More sharing options...
troglodite Posted April 17, 2013 Author Share Posted April 17, 2013 I have that in Client Side```Private Type ClassRecName As String * NAME_LENGTHStat(1 To Stats.Stat_Count - 1) As ByteMaleSprite() As LongFemaleSprite() As LongFace As Long' For client useVital(1 To Vitals.Vital_Count - 1) As LongEnd Type```And that in Server Side```Private Type ClassRec Name As String * NAME_LENGTH Stat(1 To Stats.Stat_Count - 1) As Byte MaleSprite() As Long FemaleSprite() As Long startItemCount As Long StartItem() As Long StartValue() As Long startSpellCount As Long StartSpell() As Long StartMap As Long StartMapX As Long StartMapY As Long Face As LongEnd Type``` Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 oh my bad, forgot the = sign xd```.Face = Buffer.ReadLong``` Link to comment Share on other sites More sharing options...
troglodite Posted April 17, 2013 Author Share Posted April 17, 2013 ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Yeah apply!![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) But now:Run-time error "7": Out of memoryDebugged line:``` ReDim sBytes(sLength - 1)``` Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 sigh… so close xdgimme your source again ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)ill have to debug. Link to comment Share on other sites More sharing options...
troglodite Posted April 17, 2013 Author Share Posted April 17, 2013 Ok give me 5 mins ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)Thx Damian…! Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 np mate, we came close man ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
troglodite Posted April 17, 2013 Author Share Posted April 17, 2013 One question while Im uploading the sourceHow do you debug? Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 adding breakpoints, check everything server sends, then check how client recieves it. Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 k, done.turns out player class dont get send at startup O.o Link to comment Share on other sites More sharing options...
troglodite Posted April 17, 2013 Author Share Posted April 17, 2013 > k, done.> > turns out player class dont get send at startup O.oDint get what you means but it works so i´m happy ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) !!Solved!Thx everybody, specially Damian! Link to comment Share on other sites More sharing options...
damian666 Posted April 17, 2013 Share Posted April 17, 2013 ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now