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

Free Account Beds

bncplix

www.MythiaRPG.com
Joined
Mar 30, 2008
Messages
41
Reaction score
0
Well im trying to make beds work for free accounts. And please dont tell me to enable free premium for everybody, that will befor something else.

I went to beds.cpp and changed this:
Code:
bool BedItem::canUse(Player* player)
{
	if((player == NULL) || (house == NULL))
		return false;

	if(partner == NULL)
		return findPartner();
return player->isPremium();
}

To:
Code:
bool BedItem::canUse(Player* player)
{
	if((player == NULL) || (house == NULL))
		return false;

	if(partner == NULL)
		return findPartner();
return true;
}

But when people try to sleep it just makes it look like theres some1 in the bed, when you click look it says nobody is sleeping there, and you cant kick them back out.

Any ideas? Using latest TFS Trunk
 
Back
Top