mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 15:38:00 +02:00
don't incorrectly push the broadcast packet pointer
This commit is contained in:
parent
784fa5882a
commit
f9edfd3b83
2 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ int main(int argc, const char * argv[])
|
||||||
std::map<char, Agent *> newestSoloAgents;
|
std::map<char, Agent *> newestSoloAgents;
|
||||||
|
|
||||||
agentType = packetData[1];
|
agentType = packetData[1];
|
||||||
unpackSocket(&packetData[2], (sockaddr*) &agentLocalAddress);
|
unpackSocket(packetData + 2, (sockaddr*) &agentLocalAddress);
|
||||||
|
|
||||||
// check the agent public address
|
// check the agent public address
|
||||||
// if it matches our local address we're on the same box
|
// if it matches our local address we're on the same box
|
||||||
|
@ -125,7 +125,7 @@ int main(int argc, const char * argv[])
|
||||||
refreshedAgent->setWakeMicrostamp(usecTimestampNow());
|
refreshedAgent->setWakeMicrostamp(usecTimestampNow());
|
||||||
}
|
}
|
||||||
|
|
||||||
currentBufferPos = broadcastPacket + 2;
|
currentBufferPos = broadcastPacket + 1;
|
||||||
startPointer = currentBufferPos;
|
startPointer = currentBufferPos;
|
||||||
|
|
||||||
for (AgentList::iterator agent = agentList->begin(); agent != agentList->end(); agent++) {
|
for (AgentList::iterator agent = agentList->begin(); agent != agentList->end(); agent++) {
|
||||||
|
|
|
@ -31,7 +31,7 @@ const char SOLO_AGENT_TYPES[3] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
|
char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
|
||||||
char DOMAIN_IP[100] = ""; // IP Address will be re-set by lookup on startup
|
char DOMAIN_IP[100] = "192.168.1.47"; // IP Address will be re-set by lookup on startup
|
||||||
const int DOMAINSERVER_PORT = 40102;
|
const int DOMAINSERVER_PORT = 40102;
|
||||||
|
|
||||||
bool silentAgentThreadStopFlag = false;
|
bool silentAgentThreadStopFlag = false;
|
||||||
|
|
Loading…
Reference in a new issue