eltony Posted June 1, 2012 Author Share Posted June 1, 2012 http://www.touchofdeathforums.com/smf/index.php/topic,76976.0.htmlWell i was adding this source to my project at very end i added the last thing which is this:in modDatabaseAdd this to the very bottom:```Function GetPlayerSex(ByVal Index As Long) As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler If Index > MAX_PLAYERS Then Exit Function GetPlayerSex = Player(Index).Sex ' Error handler Exit Functionerrorhandler: HandleError "GetPlayerPK", "modDatabase", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit FunctionEnd FunctionSub SetPlayerSex(ByVal Index As Long, ByVal Sex As Long) ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler If Index > MAX_PLAYERS Then Exit Sub Player(Index).Sex = Sex ' Error handler Exit Suberrorhandler: HandleError "SetPlayerPK", "modDatabase", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub ```so i did i added i try to compile and i get this error "Compile error: method or data member not found"so i debug it it and it takes me here. Link to comment Share on other sites More sharing options...
jcsnider Posted June 1, 2012 Share Posted June 1, 2012 Add or Re-Add Sex to the player rec. Link to comment Share on other sites More sharing options...
eltony Posted June 1, 2012 Author Share Posted June 1, 2012 well that worked now i get this… Link to comment Share on other sites More sharing options...
Stein Posted June 1, 2012 Share Posted June 1, 2012 You've been adding in tutorials without doing them completely haven't you? Or modding source at random without doing it properly.. :P Link to comment Share on other sites More sharing options...
eltony Posted June 1, 2012 Author Share Posted June 1, 2012 well i only added fog music fix, now this one thats all it worked fine when i added first part of it then i tried second it didnt work Link to comment Share on other sites More sharing options...
JohnPony Posted June 1, 2012 Share Posted June 1, 2012 Just re-add sex to the player rec. Link to comment Share on other sites More sharing options...
eltony Posted June 1, 2012 Author Share Posted June 1, 2012 @John:> Just re-add sex to the player rec.i did o.o it worked but then i got the Call DrawShadow error… Link to comment Share on other sites More sharing options...
JohnPony Posted June 1, 2012 Share Posted June 1, 2012 @Jerb:> i did o.o it worked but then i got the Call DrawShadow error…Do you have team viewer? Link to comment Share on other sites More sharing options...
eltony Posted June 1, 2012 Author Share Posted June 1, 2012 i do o.o but i decided not to use it lolthank you tho o.o Link to comment Share on other sites More sharing options...
The New World Posted June 1, 2012 Share Posted June 1, 2012 It just means you either deleted, commented out, or renamed the DrawShadow sub. Just look for it in modDirectx8 or get a vanilla copy of CS:DE and copy it out of there. Link to comment Share on other sites More sharing options...
eltony Posted June 1, 2012 Author Share Posted June 1, 2012 O.O lol i did delete a comment all i deleted was a ' <–- comment mark lolLol dude your amazing :p i'm doing all this to learn hehe 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