• 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!

Avesta 0.6.1 OUTPUTMESSAGE.CPP {ERROR}

Zell

Intermediate OT User
Joined
Oct 23, 2010
Messages
214
Reaction score
117
Hi guys, I have a problem..
I have "the outputmessage.cpp error" (line 208)
I'm using avesta 7.6 (0.6.1):

assert(outputmessage->getState() == OutputMessage::STATE_FREE);

This is the error, can anyone help me?
I need the fix file for my avesta :/

Code:
OutputMessage_ptr OutputMessagePool::getOutputMessage(Protocol* protocol, bool autosend /*= true*/)
{
	#ifdef __DEBUG_NET_DETAIL__
	std::cout << "request output message - auto = " << autosend << std::endl;
	#endif

	if(!m_isOpen){
		return OutputMessage_ptr();
	}

	boost::recursive_mutex::scoped_lock lockClass(m_outputPoolLock);

	if(protocol->getConnection() == NULL){
		return OutputMessage_ptr();
	}

	OutputMessage_ptr outputmessage;
	if(m_outputMessages.empty()) {
#ifdef __TRACK_NETWORK__
		if(m_allOutputMessages.size() >= 5000){
			std::cout << "High usage of outputmessages: " << std::endl;
			m_allOutputMessages.back()->PrintTrace();
		}
#endif
		outputmessage.reset(new OutputMessage,
			boost::bind(&OutputMessagePool::internalReleaseMessage, this, _1));

#ifdef __TRACK_NETWORK__
		m_allOutputMessages.push_back(outputmessage..get());
#endif
	} else {
		outputmessage.reset(m_outputMessages.back(),
			boost::bind(&OutputMessagePool::internalReleaseMessage, this, _1));
#ifdef __TRACK_NETWORK__
		// Print message trace
		if(outputmessage->getState() != OutputMessage::STATE_FREE) {
			std::cout << "Using allocated message, message trace:" << std::endl;
			outputmessage->PrintTrace();
		}
#else
		assert(outputmessage->getState() == OutputMessage::STATE_FREE);
#endif
		m_outputMessages.pop_back();
	}

	configureOutputMessage(outputmessage, protocol, autosend);
	return outputmessage;
}

Here is 168-215 lines.

Sry for my bad english.
THANKS.
 
Use latest avesta, if I remember it right you can easily crash those old avesta servers (wont share how due to obvious reasons)
 
I use/need this avesta version.
I check the last avesta(v4?) but, avesta.V4 have the same sources lol, the error is not fixed in this version :/

Anyone have the file fixed? >.<
 
Okey, if I run my ot with this Avesta then need the sources..
Can I dowload the sources? where? xD

EDIT:

I test it and....

"This server requires client version 7.72."
"This server requires client version 7.4."

This ots are 7.7 and 7.4 :/
Can I transform 7.7 to 7.6?
 
Last edited:
Hate this crashes, rly...

I'll try to use Avesta modified by shynzo, tryller and shenlong on 25 Ap, 2010...

Where I can find a stable distribution for my 7.6 ? :S I searched on Otland, google, etc. but only see Yurots(shit) distributions and avesta with crashes lol
 
Here is a version I released earlier, it's basic avesta with some modifications: online-list, server save in config, no double hit and some other things.

http://www.speedy*****malware.localhost/files/30930310/Releaser.rar
 
Back
Top