mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +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));
|
||||
|
||||
// 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
|
||||
agentList->startDomainServerCheckInThread();
|
||||
|
|
Loading…
Reference in a new issue