Remort snippet problems

Posted by Robert Powell on Tue 30 Dec 2003 11:09 PM — 1 posts, 8,556 views.

Australia #0
I have installed SMAUG Remort 1.2 By Xerves (Released December 28, 2002) and it all works fine with exception of 2 parts when you create a new char it displayes the remortable classes as well, i have set the tier on base classes to 0 and remort classes to 1 in the class files. Any ideas would be great.




Select a class, or type help [class] to learn more about that class.
[Mage Cleric Thief Warrior Vampire Druid Ranger Augurer PaladinSwordsmanRobber]
: robber
That's not a class.
What IS your class? pal


I put this in nanny

/*
	 * Take this out SHADDAI
	 */
	for ( iClass = 0; iClass < MAX_PC_CLASS; iClass++ )
	{
	    if ( class_table[iClass]->who_name &&
	    	 class_table[iClass]->who_name[0] != '\0' && !class_table[iClass]->remort_class)

this in get_new_class

if (!str_cmp(arg, "help"))
        {
        
	for ( iClass = 0; iClass < MAX_PC_CLASS; iClass++ )
	{
	  if ( class_table[iClass]->who_name &&
	       class_table[iClass]->who_name[0] != '\0' && !class_table[iClass]->remort_class)

***************************
write_to_buffer( d, "No such help topic.  Please choose a class: ", 0 );
	return;
	}

	for ( iClass = 0; iClass < MAX_PC_CLASS; iClass++ )
	{
	  if ( class_table[iClass]->who_name &&
	       class_table[iClass]->who_name[0] != '\0' && !class_table[iClass]->remort_class)
****************************
write_to_buffer( d, "\n\rYou may choose from the following races, or type help [race] to learn more:\n\r[", 0 );
	buf[0] = '\0';
	for ( iRace = 0; iRace < MAX_PC_RACE; iRace++ )
	{
	  if (iRace != RACE_VAMPIRE && !race_table[iRace]->remort_race