Stephen McQuay
67ad90d7a4
added logging line when using http profile info
I could never remember the url, so I print it out now.
6 years ago
Stephen McQuay
0959be2df2
updated for changes in bandwidth
6 years ago
Stephen McQuay
a932d24683
Added a memprofile dump flag and mechanism
6 years ago
Stephen McQuay
6fd4138740
added bw calcs
unfortunately there is an issue with how these are calculated, and they don't
decrease as things quiet down. Well, the bad numbers are their for your
consumption, and should Just Work TM when appropriate changes in
bitbucket.org/smcquay/bandwith land. And they will. But I'm tired now.
6 years ago
Stephen McQuay
ecc70606a9
missed some protoTalker conversions
7 years ago
Stephen McQuay
491d972a4b
added NewSpectator and NewPlayer funcs
7 years ago
Stephen McQuay
0bc1575f81
fixed bug in last commit
7 years ago
Stephen McQuay
5d9103f176
Pulled out common code from spectator and player
7 years ago
Stephen McQuay
b131b4bc53
Count bytes coming in/out of player
7 years ago
Stephen McQuay
ad9d6c1026
Switched to using json.Encoder and Decoder
7 years ago
Stephen McQuay
bc58ee9165
solved spectator disconnect issue
7 years ago
Stephen McQuay
eac39ad9d1
Changed the collision response from boolean to Collision
7 years ago
Stephen McQuay
0698f21a0f
Merge branch 'master' of ssh://bitbucket.org/hackerbots/botserv
7 years ago
Stephen McQuay
ff3f9a5137
changed the stats payload
As it turns out there are other citizens of this world, not just the botclient.
So I have properly labeled the payload with a type. This makes the web
front-end less breaky.
7 years ago
Fraser Graham
dce3f15c4c
self shots are still suicides
7 years ago
Stephen McQuay
7bb5ae59b3
send the client calculated values for stats
7 years ago
Stephen McQuay
c6c45ace51
cleaned up some logging
7 years ago
Stephen McQuay
d3070ad501
send the client max points for the game
7 years ago
Stephen McQuay
a57903d81c
added tests for last commit (ProbeResult.Type)
7 years ago
Stephen McQuay
714ea669d2
added probe result type
7 years ago
Stephen McQuay
a755d28688
parity to formatting
7 years ago
Stephen McQuay
7971198c17
Fixed collision detection in probes
This was a problem before when the probe hit an object that was further than
another object first. Now we traverse all objects all the time to find the
closest one. \o/
7 years ago
Fraser Graham
72d5a1a64c
stats stats stats stats
7 years ago
Fraser Graham
3fa53daadb
rewrite of the stats system
7 years ago
Fraser Graham
90b7731865
allow the control interface to specify game type
7 years ago
Fraser Graham
9583de2ffa
game types, deathmatch and melee
7 years ago
Stephen McQuay
845db00032
added file line numbers to the logs
7 years ago
Stephen McQuay
10373d06d2
update for api change in vector
7 years ago
Stephen McQuay
cf3c7e8629
Merge branch 'point-limit'
7 years ago
Stephen McQuay
3bb710dd9c
point limit parametrized
7 years ago
Fraser Graham
33aea792ed
allow probes while repairing and scanning
7 years ago
Fraser Graham
ffbd656bc7
stop firing
7 years ago
Fraser Graham
83f5d51bc4
min damage from collisions
7 years ago
Fraser Graham
f6c8399699
changes to collision response and player to player collision
7 years ago
Fraser Graham
34b8ec045f
start using new poly intersection against buildings
7 years ago
Fraser Graham
b702afeb3a
renaming rect to AABB
7 years ago
Fraser Graham
9ca442f10d
stop sending all data to dead robots
7 years ago
Stephen McQuay
4eb849a63f
fixed resetart error vis-a-vis obstacles
7 years ago
Fraser Graham
cacb8b547d
:( compile code before committing Fraser
7 years ago
Fraser Graham
4c4c0d4e67
objects have HP now, only direct hits hurt them
7 years ago
Fraser Graham
ae9d09596c
prevent flipping between scan and repair for infinite awesomeness
7 years ago
Fraser Graham
c9f0fb08bb
removing unused field in boardstate
7 years ago
Fraser Graham
58c084c7ab
bandwidth reduction, filtering explosions and sending objects as [4]int
7 years ago
Stephen McQuay
5a2651d0dd
allow object specification
7 years ago
Stephen McQuay
f6b3027ded
minor: changed some logging
7 years ago
Stephen McQuay
4e55fa8ebe
trim the hashes
I tried taking it down to 6, but it fails the tests consistently ...
7 years ago
Stephen McQuay
f8fb523a76
fixed some httpstatu.es
7 years ago
Stephen McQuay
50868809bd
revert me: default to allowing connecting players to start games
7 years ago
Stephen McQuay
2cbef76a37
cap healing health
7 years ago
Stephen McQuay
527042daa8
added logging for inability to kill
7 years ago