• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Request] House Guest Invitation Look Please.

Kungenn

Veteran OT User
Joined
Jun 10, 2007
Messages
1,625
Reaction score
283
Location
USA California
Since inviting "*" is causing the server to crash for everyone that runs windows.

Im looking for a script in talkaction that would work like alana sio or such..

Alana Sio "Kungenn

So it only works on people online.

If the command would be Aleta Sio.

Like this Aleta Sio "Kungen you would get message player is not online.


If this isnt possible, then if you could perhaps have it via homepage that you click on your character and your house gets loaded then you can open the houselist and invite whomever you want, however only a-z allowed. No numbers or symbols.
 
If your using 0.3.6, this is not possible via lua;
I have a small fix for it,
in houses.cpp find;
Code:
bool AccessList::parseList(const std::string& _list)
{
	playerList.clear();
	guildList.clear();

	expressionList.clear();
	regExList.clear();

	list = _list;
	if(_list.empty())
		return true;

	std::stringstream listStream(_list);
	std::string line;
	while(getline(listStream, line))
	{
		trimString(line);
		trim_left(line, "\t");

		trim_right(line, "\t");
		trimString(line);
		toLowerCaseString(line);
		if(line.substr(0, 1) == "#" || line.length() > 100)
			continue;

		if(line.find("@") != std::string::npos)
		{
			std::string::size_type pos = line.find("@");
			addGuild(line.substr(pos + 1), line.substr(0, pos));
		}
		else if(line.find("!") != std::string::npos || line.find("*") != std::string::npos || line.find("?") != std::string::npos)
			addExpression(line);
		else
			addPlayer(line);
	}

	return true;
}
replace with;
Code:
bool AccessList::parseList(const std::string& _list)
{
	playerList.clear();
	guildList.clear();

	expressionList.clear();
	regExList.clear();

	list = _list;
	if(_list.empty())
		return true;

	std::stringstream listStream(_list);
	std::string line;
	while(getline(listStream, line))
	{
		trimString(line);
		trim_left(line, "\t");

		trim_right(line, "\t");
		trimString(line);
		toLowerCaseString(line);
		if(line.substr(0, 1) == "#" || line.length() > 100)
			continue;

		if(line.find("@") != std::string::npos)
		{
			std::string::size_type pos = line.find("@");
			addGuild(line.substr(pos + 1), line.substr(0, pos));
		}
		else if(line.find("!") != std::string::npos || line.find("*") != std::string::npos || line.find("?") != std::string::npos)
			addPlayer(line);
		else
			addPlayer(line);
	}

	return true;
}
then compile (works for me)
 
Last edited:
I only meant WHAT DOES IT DO.. Like does it remove the function of * -

In Tibia if you invite star you allow every person on the server to enter your home.

I mean does whatever it is you wrote remove that so it doesnt crash the server because of that or why does it work with the part that you wrote..

Im not an rtard I understand what you mean aswell but you dont understand what I mean
 
Donated and lets see did it work? No

Still searching for a solution..


Xeon, the thing you posted does it prevent it from crash even if you spam stars in the aleta sio? Like *****************
 
Back
Top