Jump to content

How to disable ITEM_PRISM - 71113


Recommended Posts

just change?:

const TItemTable* pTable = ITEM_MANAGER::instance().GetTable(ITEM_PRISM);


if (NULL != pTable)
{
if (3==processReturn) //±łČŻÁß
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("»çżëÇŇĽö ľř˝Ŕ´Ď´Ů."), pTable->szLocaleName);
else
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%sŔĚ ÇĘżäÇŐ´Ď´Ů."), pTable->szLocaleName);

}
const TItemTable* pTable = ITEM_MANAGER::instance().GetTable(ITEM_PRISM);

		if (NULL != pTable)
		{
			if (0==processReturn) //±łČŻÁß
				ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("»çżëÇŇĽö ľř˝Ŕ´Ď´Ů."), pTable->szLocaleName);
			else
				ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%sŔĚ ÇĘżäÇŐ´Ď´Ů."), pTable->szLocaleName);
						
		}
 
Link to comment
Share on other sites

 

No, I don't said this. 0 mean everything okay, the player can send the message. In the ProcessTextTag function set return 0 to here or just delete and always return 0:

if (nPrismCount < hyperlinks)

 

Ok, thanks, I'll check it

 

@edit

 

doesn't work :/

if (nPrismCount < hyperlinks)
			return 0;
	}
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.