• Search
  • Register
  • Log in
  • Ace of Spades Game Forums » Help
  • Note: This forum is merely an archive. It is no longer possible to login or register. - StackOverflow
    New Ace of Spades Forums: http://buildandshoot.com/
  • Faulty protocol - Caplimit screwup (Ben, fix this)
  •  

    Hey again Ben. I was having some weird issues with the protocol, and then I realized that with the new caplimit variable introduced, you forgot that the "team flag taken" flags take 2 bits from the 4th byte in the initial player data, which you are now also using for the caplimit variable (which is 7 bits). A byte is 8 bits - not 9 bits.

    This means that if the green flag is taken, it will set the last bit in the caplimit variable, effectively making it a lot higher than it actually is. Also, if you set your caplimit variable to 127, it will overwrite the green flag taken bit, and the green players will not have a flag.

    Fix this, Ben.

    :-)

    #14413
    mat^2
    pyspades developer
    Posted 13 years ago
     

    Bumpity bump.

    #14416
    bildramer
    Member
    Posted 13 years ago
     

    this explains why my server's caplimit mysteriously increases itself to 74 even though i set it to 10 in the config

    #14418
    izzy
    Moderator
    Posted 13 years ago
     

    As izzy said, 10 | 64 (the position of the 'green flag taken bit') = 74, so this is an actual problem.

    #14420
    mat^2
    pyspades developer
    Posted 13 years ago
     

    Bumppium

    #14441
    Monsteri
    Minion
    Posted 13 years ago
     

    bump

    #14661
    Enari
    Contributor
    Posted 13 years ago
     

    Man, that sucks.
    I wondered why people would choose such obscure numbers..
    Certainly need a fix.

    #14799
    TheGrandmaster
    Moderator
    Posted 13 years ago
     

    Sucks... To be blue. XD

    #14815
    Sagumi
    Member
    Posted 13 years ago
     

    Thanks, just fixed it. Look for another release this week... I'll credit you in the changelog matpow.

    #14819
    bcoolface
    Key Master
    Posted 13 years ago
     

    YAY thanks Ben!

    Now I can get all 250 servers online :)

    PS, START UP COMMANDS! Ty

    #14822
    Jackster
    Member
    Posted 13 years ago
     

    Sure, I'll work on command args too.

    #14823
    bcoolface
    Key Master
    Posted 13 years ago
     

    Ah, great! :)
    Mat^2 has done alot so far, he's kept us all very well updated in the IRC channel ( http://www.aceofspadeswiki.com/index.php?title=IRC ) which has actually been pretty inspirational to follow.
    Can't wait to see the next update.

    #14824
    TheGrandmaster
    Moderator
    Posted 13 years ago
    RSS feed for this topic  

    Reply

    You must log in to post.

  • Tags
  •   No tags yet.
     
    Ace of Spades Game Forums is proudly powered by bbPress.   //   Theme by Mike Lothar  
    [ Time : 0.060s | 13 Queries ]