Jump to content

Premium System - Client Problem ?


blaxis

Recommended Posts

Hello. I added the premium system, everything works fine on the server side, it appears and works in the top left corner of the screen in-game. But it is not readable by the client and does not work. Therefore, it only returns "false" on the client side. What could be the reason for this?

AFF_PREMIUM works fine on the server and is appended to the character, but not on the client side. There isn't any syserr.

 

Example(InstanceBase.cpp):

BOOL CInstanceBase::IsPremium()
{
	if (m_kAffectFlagContainer.IsSet(AFF_PREMIUM) || m_kAffectFlagContainer.IsSet(AFFECT_PREMIUM))
		return 1;

	return 0;
}

This code only return 0.

But AFF_PREMIUM and AFFECT_PREMIUM is enabled in-game and on the server. And it appears and works in the top left corner of the screen in-game.

It also shows up as "AddAffect 724" in the syslog logs when entering the game. (724 = premium affect)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Activity

    1. 20

      Item ToolTip Width Fix

    2. 4

      Connection problem

    3. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    5. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    6. 1

      Sanii Switchbot problem

    7. 4

      Connection problem

    8. 1

      Maintenance System (For P2P)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.