Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cap on the amount of remaining aps
#20
Kortestanov Wrote:They figured they could keep it 1 byte because when you code servers, you need to do some extra thinking. It's not like a regular program where you can use int types for things that can be 0 or 1 (yes i have seen people doing it). When programmers make servers they take some time thinking how to make the server act fast and need less space. One of the ways to do this is using the smallest variables possible for a specific target, which in this case was a single byte.

Why does nobody see I agree with this? I think the REASON why they decided they could go with one byte is because if somebody was to save up 255 AP they were probably just hacking, so none of the legit players they were coding for needed over 1 byte of it. If one byte could store only a few APs, they would use more bytes.

I don't think they only used one byte because it was a sort of hack gaurd. I think they used 1 byte because it was the most efficient. I was just stating WHY they thought it would be the most efficient. Redface
Reply


Messages In This Thread
Cap on the amount of remaining aps - by Csenger - 2009-07-03, 12:35 PM
Cap on the amount of remaining aps - by FrozNlite - 2009-07-03, 12:46 PM
Cap on the amount of remaining aps - by Kigaz - 2009-07-03, 12:46 PM
Cap on the amount of remaining aps - by Cancambo - 2009-07-03, 12:50 PM
Cap on the amount of remaining aps - by Csenger - 2009-07-03, 01:21 PM
Cap on the amount of remaining aps - by tzk221 - 2009-07-03, 02:02 PM
Cap on the amount of remaining aps - by tzk221 - 2009-07-03, 02:34 PM
Cap on the amount of remaining aps - by Kabanaw - 2009-07-03, 03:34 PM
Cap on the amount of remaining aps - by Morgana - 2009-07-03, 03:39 PM
Cap on the amount of remaining aps - by Pixie - 2009-07-03, 03:49 PM
Cap on the amount of remaining aps - by Cancambo - 2009-07-03, 04:40 PM
Cap on the amount of remaining aps - by Kabanaw - 2009-07-03, 04:43 PM
Cap on the amount of remaining aps - by Kabanaw - 2009-07-03, 05:42 PM
Cap on the amount of remaining aps - by Alloy - 2009-07-03, 05:58 PM
Cap on the amount of remaining aps - by MasPan - 2009-07-03, 07:40 PM
Cap on the amount of remaining aps - by Pauru - 2009-07-04, 03:09 AM
Cap on the amount of remaining aps - by MasPan - 2009-07-04, 03:13 AM
Cap on the amount of remaining aps - by Csenger - 2009-07-05, 12:02 PM
Cap on the amount of remaining aps - by Morgana - 2009-07-05, 01:01 PM
Cap on the amount of remaining aps - by Nikkey - 2009-07-05, 04:09 PM
Cap on the amount of remaining aps - by Milelke - 2009-07-05, 09:05 PM
Cap on the amount of remaining aps - by Stereo - 2009-07-05, 10:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)