Page 1 of 1

ALLMOVE and HOUSEICONS

Posted: Tue Jul 27, 2004 3:56 pm
by giwo
I did a no-no ;)

Code: Select all

function command_ALLMOVE( socket, cmdString )
{
	var pUser = socket.currentChar;
	var value = (cmdString == "ON");
	var sysMessage;

	pUser.allmove = value;
	pUser.Teleport();
	if( value )
		sysMessage = GetDictionaryEntry( 39, socket.Language );
	else
		sysMessage = GetDictionaryEntry( 40, socket.Language );
	socket.SysMessage( sysMessage );
}

change this line

Code: Select all

	var value = (cmdString == "ON");
to this

Code: Select all

	var value = (cmdString.toUpperCase() == "ON");
That should work properly (I believe, can't test it here).

Do the same thing with houseicons and they should work again. ;)

Posted: Tue Jul 27, 2004 4:07 pm
by Xuri
Yup, works =)