Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: When installing libcod, nothing works!

  1. #11
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    I put waittillframeends is not a long time, so it was up to waittillframeends

  2. #12
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by Tally View Post
    It's a timing issue - remove all the waittillframeends.

    It's not a good idea to use any wait times while the game is loading and compiling.
    The waittillframeend is actually needed if you respawn a client with this method (or wait 0.05 or any wait at all), but you should NEVER call the playercommand() function after a wait for the buffer in it will have been altered, resulting in undefined behaviour

    As the waittillframeend is properly return;-d, i dont see much issues with it. However, as there is obviously an issue with the code (see OP), i'd advise to remove all code and just do a self clientcommand() in the callback, nothing else. See how that goes and add stuff from there, until it crashes again.

    tl;dr: debug using normal methods
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (11th August 2015)

  4. #13
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    I rewrote the code does not once, did conceived in different ways, sometimes it turns out error, when you start card, monitor or predict its occurrence is not possible

  5. #14
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by maxdamage99 View Post
    I rewrote the code does not once, did conceived in different ways, sometimes it turns out error, when you start card, monitor or predict its occurrence is not possible
    I know the words in this sentence but i cannot, at any rate, create a good story out of this


    Basically similar to this: http://funnyjunk.com/channel/4chan/U...+test/GeRBGTr/ but makes less sense even.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •