mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
add randomization of eve's listening port on launch
This commit is contained in:
parent
2b7095925d
commit
a4244da27e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ int main(int argc, const char* argv[]) {
|
||||||
srand(time(0));
|
srand(time(0));
|
||||||
|
|
||||||
// create an AgentList instance to handle communication with other agents
|
// create an AgentList instance to handle communication with other agents
|
||||||
AgentList* agentList = AgentList::createInstance(AGENT_TYPE_AVATAR, 55441);
|
AgentList* agentList = AgentList::createInstance(AGENT_TYPE_AVATAR, randIntInRange(1500, 65000));
|
||||||
|
|
||||||
// start telling the domain server that we are alive
|
// start telling the domain server that we are alive
|
||||||
agentList->startDomainServerCheckInThread();
|
agentList->startDomainServerCheckInThread();
|
||||||
|
|
Loading…
Reference in a new issue