• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error admin.log

valivan601

New Member
Joined
Apr 13, 2011
Messages
365
Reaction score
1
Hello anyone can say what is this in my admins log this make server lag and crashes a lot REALLY NEED HELP!!!


Code:
[26/1/2012 11:46:32] (Error - void ServicePort::open(IPAddressList, uint16_t)) NETWORK: O endereço solicitado não é válido no contexto
[26/1/2012 11:53:35] (Error - void ServicePort::open(IPAddressList, uint16_t)) NETWORK: O endereço solicitado não é válido no contexto

maybe this help

server.cpp
Code:
void ServicePort::open(IPAddressList ips, uint16_t port)
{
	m_pendingStart = false;
	m_serverPort = port;

	bool error = false;
	IPAddressList pendingIps;
	for(IPAddressList::iterator it = ips.begin(); it != ips.end(); ++it)
	{
		try
		{
			Acceptor_ptr tmp(new boost::asio::ip::tcp::acceptor(m_io_service,
				boost::asio::ip::tcp::endpoint(*it, m_serverPort)));
			tmp->set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));

			accept(tmp);
			m_acceptors.push_back(tmp);
		}
		catch(std::exception& e)
		{
			if(m_logError)
			{
				LOG_MESSAGE(LOGTYPE_ERROR, e.what(), "NETWORK")
				pendingIps.push_back(*it);
				if(!error)
					error = true;
			}
		}
	}

	if(error)
	{
		m_logError = false;
		m_pendingStart = true;
		Scheduler::getInstance().addEvent(createSchedulerTask(5000, boost::bind(
			&ServicePort::services, boost::weak_ptr<ServicePort>(shared_from_this()), pendingIps, m_serverPort)));
	}
}
 
Last edited:
creio que nao seje do desenvolvedor pq existe muitas pessoas com o mesmo problema o cara ali de cima mesma esta com o mesmo problema na ultima rev eu coloquei o server.cpp se o problema continuar tenta edita o codigo fonte

to no aguardo para algum desenvolvedor do tfs se pronunciar a respeito
 
i found something interesting about this error

its a win socket error

WSAEADDRNOTAVAIL
10049
Cannot assign requested address.

The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local computer. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or port is not valid for a remote computer (for example, address or port 0).
 
OMG I FUCKING LOVE YOU!
Cara por favor, me passa sua conta bancaria pra te doar um dinheiro
@edit

i dont love you anymore :(

i need to put "hit" too?


certeza que os comando ta certo?
 
Last edited:
there are 3 ways to fix this problem

FIX WINSOCK
first download a new 'winsock.dll'
navigate to C:\Windows\System32
copy the new dll to this folder
now type start run cmd
Regsvr32 winsock.dll
reboot your system

RESET WINSOCK
open regedit make a backupfile from export
HKEY_LOCAL_MACHINE system CurrentControlSetServicesWinsock delete the winsock key
same for winsock2
reboot your system
go to my network places properties. Add and type c:windowsinf

REPAIR WINSOCK
start run cmd
netsh winsock reset
this msg should appear
Successfully reset the Winsock Catalog
then restart your system
 
Back
Top