Ryan Huffman
5154fbc8c5
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-16 12:23:26 -08:00
Stephen Birarda
8dcf245b74
Merge pull request #6395 from hyperlogic/tony/avatar-mixer-identity-fixes
...
AvatarMixer: remove redundant identity packet send
2015-11-16 10:35:42 -08:00
Anthony J. Thibault
7aefc5c9f7
AvatarMixer: remove redundant identity packet send
...
Removed AvatarClientData::checkAndSetHasReceivedFirstPackets boolean.
This is handled by the AvatarClientData::checkAndSetHasReceivedFirstPacketsFrom
set.
2015-11-16 10:14:28 -08:00
Clément Brisset
b795b66b35
Merge pull request #6365 from sethalves/rework-visual-physics-debug
...
grab fix + physics logging/debug changes
2015-11-16 09:06:05 -08:00
Seth Alves
89ed3751ae
Merge branch 'master' of github.com:highfidelity/hifi into rework-visual-physics-debug
2015-11-14 14:00:20 -08:00
Anthony J. Thibault
245150333b
Fix for missing avatars on entry
...
This should fix the issue where a persons avatar was occasionally not visible to others
for a long period of time. This was due to several factors:
1) When a new avatar was added to the simulation that identity packet was not broadcast to
other avatars on the server. This would rely on random logic to send the identity eventually.
This is fixed in this PR, by sending identity packets to all other clients when a new clients
arrive.
2) The random identity logic was not being executed if the sequence number check caused an update
to be skipped. This means the probability of sending a random packet was reduced significantly,
especially for clients that were loading geometry on entry. This was fixed by doing the random
check before sequence number check.
3) The 1/300 probably used in the check was too low, this was only a 63% chance of sending a identity
packet within 5 seconds. This was fixed by changing the probability to 1/187, which is a 80% chance
to send an identity packet within 5 seconds.
4) The randFloat() implementation slightly reduced the identity packet probability due to quantization errors.
This has been replaced by a C++ std random number generator.
2015-11-13 18:08:18 -08:00
Stephen Birarda
e263453acb
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-13 14:48:26 -08:00
Brad Hefta-Gaub
b6b5a5b1c2
add comment
2015-11-12 18:28:08 -08:00
Brad Hefta-Gaub
ecaa50c0ff
fix for infinite loop in erase entities special packet
2015-11-12 18:25:18 -08:00
Brad Hefta-Gaub
83e7eb58b9
add special packets and nack packets to outbound stats
2015-11-12 16:36:06 -08:00
Seth Alves
a78b1619be
Merge branch 'master' of github.com:highfidelity/hifi into rework-visual-physics-debug
2015-11-12 14:20:23 -08:00
Brad Hefta-Gaub
14a6e1fb6b
fix mac compiler error
2015-11-12 13:24:25 -08:00
Brad Hefta-Gaub
66a2b38f50
switch various status to use thread safe atomics
2015-11-12 13:09:51 -08:00
Stephen Birarda
ef778c554c
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-12 10:40:51 -08:00
Seth Alves
3519dd248b
Merge branch 'master' of github.com:highfidelity/hifi into rework-visual-physics-debug
2015-11-12 09:53:11 -08:00
Brad Davis
f521be10fe
Avatar recording work in progress
2015-11-12 00:33:38 -08:00
Brad Hefta-Gaub
80e15fb77d
reduce client to server to client entity edit latency
2015-11-11 17:03:21 -08:00
Seth Alves
be86748200
oops
2015-11-11 16:38:28 -08:00
Seth Alves
cffe4551dd
merge from upstream
2015-11-11 16:15:07 -08:00
Brad Hefta-Gaub
2f903a9513
CR feedback and some cleanup
2015-11-11 14:21:14 -08:00
Brad Hefta-Gaub
bdfe304f7a
remove some logging
2015-11-11 14:08:15 -08:00
Brad Hefta-Gaub
866116d285
more debugging
2015-11-11 12:13:47 -08:00
Brad Hefta-Gaub
006a1d60c8
keep some additional erase entities history and send to viewers
2015-11-10 15:31:51 -08:00
Seth Alves
5e4f30b2bb
improve terse entity logging. change how action data sending is triggered
2015-11-10 13:58:09 -08:00
Atlante45
6a53021818
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-09 13:23:31 -08:00
Howard Stearns
619746676b
Fix ScriptAvatar (ac agent), and provide a simple working example assignment client script.
2015-11-06 15:31:03 -08:00
Atlante45
55c6706f76
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-06 13:31:39 -08:00
Howard Stearns
aa1289bd7c
Update agent's outgoing avatar data packet with sequenceNumber as is now used in interface's MyAvatar.
2015-11-05 15:53:46 -08:00
Ryan Huffman
f4531759be
Merge branch 'master' of https://github.com/highfidelity/hifi into baseball
2015-11-02 12:27:08 -08:00
Ryan Huffman
7f4a8e9d7d
Merge branch 'master' of github.com:Atlante45/hifi into baseball
2015-11-02 12:25:51 -08:00
Anthony J. Thibault
f50e1a0977
Fix for rare crash in LogHandler::flushRepeatedMessages()
...
This can happen when LogHandler::flushRepetedMessages is called on
the main thread, while the application is printing messages on
a separate thread. The access to the _lastRepeatedMessage QHash was
not guarded.
I've added two mutexes to guard access to both the repeatedMessage
hashes/regexes and the onlyOnceMessages/regexes. This will unfortunately
incur a performance hit for frequent debug logging, but that's better
then crashing.
Also, I've added the ability to print threadIDs as well as Process ids.
This is helpful when debugging multi-threaded access to shared variables.
2015-10-30 17:18:37 -07:00
Brad Davis
49e7d42c2c
Merge remote-tracking branch 'upstream/master' into HEAD
2015-10-30 10:07:40 -07:00
Stephen Birarda
3fa4f7138a
add more sounds to the crowd, ping AssetServer from Agent
2015-10-27 10:58:31 -07:00
black plastick
d34fc35544
added AvatarList.avatarSessionChanged(sessionUUID, oldUUID) for AC scripts.
2015-10-27 08:11:20 -04:00
Stephen Birarda
f275d2678d
ping the AssetClient from the agent
2015-10-26 16:06:12 -07:00
Stephen Birarda
6080654d7e
zero out the pre-mix samples for each stream
2015-10-26 15:48:05 -07:00
black plastick
f5d12ee2c6
Added AvatarList script events for assigment client scripts:
...
AvatarList.avatarAddedEvent(sessionUUID);
AvatarList.avatarRemovedEvent(sessionUUID);
2015-10-26 17:46:08 -04:00
Stephen Birarda
ca60ce59f1
put Agent AssetClient on sep thread, cleanup
2015-10-26 12:06:28 -07:00
Stephen Birarda
014e62e25a
allow assignment client to use AssetClient for ATP downloads
2015-10-20 17:11:37 -07:00
Brad Davis
5bac1aae2d
Merge remote-tracking branch 'upstream/master' into HEAD
2015-10-16 17:23:30 -07:00
Stephen Birarda
e5825daa57
Merge pull request #6090 from ZappoMan/fixStat
...
Add some additional stats for debugging edit lags
2015-10-15 16:00:29 -07:00
Brad Hefta-Gaub
3718149157
include inbound queue PPS stats in server stats page
2015-10-15 15:49:12 -07:00
Brad Hefta-Gaub
e1570e3197
include inbound queue PPS stats in server stats page
2015-10-15 15:31:52 -07:00
Brad Hefta-Gaub
82a211174b
added packet recieved,lost,recovered stats to detailed server stats page
2015-10-15 15:23:12 -07:00
Andrew Meadows
3d17c57910
Merge pull request #6083 from sethalves/groundwork-for-hold-action-changes
...
Groundwork for hold action changes
2015-10-15 13:30:02 -07:00
Brad Davis
80c962a4cc
Merge remote-tracking branch 'upstream/master' into HEAD
2015-10-15 12:27:53 -07:00
Andrew Meadows
2ae62de84e
Merge pull request #6026 from birarda/qt-polling-env
...
set bearer poll timeout env for wlan scan in Qt 5.5
2015-10-15 09:58:32 -07:00
Brad Davis
10df0f2d8c
Fix broken assignment-client build
2015-10-14 17:07:10 -07:00
Seth Alves
9a2aa9a337
locking
2015-10-14 13:40:20 -07:00
Seth Alves
9a9e5b962e
make edit logging terse vs not a domain-server setting
2015-10-14 09:45:35 -07:00