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

Compiling Bug First Items

chiitus

Member
Joined
Jun 1, 2009
Messages
206
Reaction score
12
Hey people, i take the tfs of Cyko (The Forgotten Server 0.3.6 (Crying Damson) V7) with autostack items and other stuffs...

But now when i create a character and log, the all first items drop in the ground :/

Anyone can help me please ? i really need
 
Can you put items in your inventory? if not try to use another distro I had the same problem so I used hell cores distro works fine now :)

When you make a quest without backpack the items drop on the ground, but is just this, i "resolve" put off the firstitems function and make quests, but in the first (catch backpack) he drops ground, and after the items go to backpack :D - It's a way for less :P

This distro is that what you talking about ?
http://otland.net/f18/8-60-hell-core-1-0-based-0-3-6pl1-war-shields-168735/
 
it's the distro who's bugged. You can either wait for the following v.8 and hope for the bugg to be fixed or download another distro.
 
it's the distro who's bugged. You can either wait for the following v.8 and hope for the bugg to be fixed or download another distro.

Hey thanks by the help!
Now you can help me to fix this, is about this max magic level, on my distro don't pass of 37 :/
i was searching and found this on player.cpp:

Code:
void Player::addManaSpent(uint64_t amount, bool useMultiplier/* = true*/)
{
	if(!amount)
		return;

	uint64_t currReqMana = vocation->getReqMana(magLevel), nextReqMana = vocation->getReqMana(magLevel + 1);
	if(currReqMana > nextReqMana) //player has reached max magic level
		return;

	if(useMultiplier)
		amount = uint64_t((double)amount * rates[SKILL__MAGLEVEL] * g_config.getDouble(ConfigManager::RATE_MAGIC));

	bool advance = false;
	while(manaSpent + amount >= nextReqMana)
	{
		amount -= nextReqMana - manaSpent;
		manaSpent = 0;
		magLevel++;

		char advMsg[50];
		sprintf(advMsg, "You advanced to magic level %d.", magLevel);
		sendTextMessage(MSG_EVENT_ADVANCE, advMsg);

		advance = true;
		CreatureEventList advanceEvents = getCreatureEvents(CREATURE_EVENT_ADVANCE);
		for(CreatureEventList::iterator it = advanceEvents.begin(); it != advanceEvents.end(); ++it)
			(*it)->executeAdvance(this, SKILL__MAGLEVEL, (magLevel - 1), magLevel);

		currReqMana = nextReqMana;
		nextReqMana = vocation->getReqMana(magLevel + 1);
		if(currReqMana > nextReqMana)
		{
			amount = 0;
			break;
		}
	}

	if(amount)
		manaSpent += amount;

	uint32_t newPercent = Player::getPercentLevel(manaSpent, nextReqMana);
	if(magLevelPercent != newPercent)
	{
		magLevelPercent = newPercent;
		sendStats();
	}
	else if(advance)
		sendStats();
}

You can help me to fix ? i try but when i login the tfs close :/
 
Back
Top