Jump to content
SSForum.net is back!

Recommended Posts

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Who wrote that code? Using a char without specifying signed or unsigned is bad form. Any decent compiler should probably throw a warning.

 

 

Catid for that one. And it works. Funny part is that he used unsigned elsewhere.

 

bool CheckRange(unsigned long IP, unsigned long RangeStart, unsigned long RangeEnd)

 

I'm in the process of trying to get Altecs source.

Posted

Any sane programmer would use 'a' , 'A' , '0', and that kind of thing instead of integer values

 

Also note that any char value under 127 would be the same signed or not blum.gif

 

But yeah... that had nothing to do with the 'long name bug' thing... which is actually more related to the server/client protocol itself

Posted (edited)

what would happen if int i = 0?

 

Would people be able to sign on using a blank username? :)

Edited by Xog
Posted

Wouldn't you like be the lucky user who owns the blank username?

 

Nobody would ever be able to send me a private message if they didn't know what arena I was in!

Posted

Wouldn't you like be the lucky user who owns the blank username?

 

Nobody would ever be able to send me a private message if they didn't know what arena I was in!

But but but... how would they be able to ban you? :)

Posted

Wouldn't you like be the lucky user who owns the blank username?

 

Nobody would ever be able to send me a private message if they didn't know what arena I was in!

But but but... how would they be able to ban you? biggrin.gif

 

 

:-D

  • 2 weeks later...

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

×
×
  • Create New...