Jump to content

Block exp on map source


Recommended Posts

1 hour ago, ds_aim said:

 


// FUCKING START
{
    LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID);
	if (ch->GetMapIndex == 111) {
        if(ch->GetLevel() => 90) {
            return;
        }
    }
}
// FUCKING END

Add this in char_item   case POINT_EXP

PS: Don't tested.

char.cpp:3198: error: 'dwPID' was not declared in this scope
char.cpp:3199: error: invalid use of member (did you forget the '&' ?)
char.cpp:3200: error: expected primary-expression before '>' token

 

 

LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID);
                if (ch->GetMapIndex == 73) {
                    if(ch->GetLevel() => 95) {
                        return;
                    }
                }
            }

Link to comment
Share on other sites

45 minutes ago, ds_aim said:

edited. :

char.cpp:3199: error: 'dwPID' was not declared in this scope
char.cpp:3201: error: invalid use of member (did you forget the '&' ?)

 

{
                LPCHARACTER ch;
                dwPID = ch->GetPlayerID();
                LPCHARACTER MM = CHARACTER_MANAGER::instance().FindByPID(dwPID);
                if (MM->GetMapIndex == 73) {
                    if(MM->GetLevel() >= 95) {
                        return;
                    }
                }
            }

Link to comment
Share on other sites

 

 

// FUCKING START
				{
					DWORD dwPID;
					LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID);
					if (ch->GetMapIndex() == 111) {
						if(ch->GetLevel() >= 90) {
							return;
						}
					}
				}
// FUCKING END
2 minutes ago, avertuss said:

char.cpp:3199: error: 'dwPID' was not declared in this scope
char.cpp:3201: error: invalid use of member (did you forget the '&' ?)

 

{
                LPCHARACTER ch;
                dwPID = ch->GetPlayerID();
                LPCHARACTER MM = CHARACTER_MANAGER::instance().FindByPID(dwPID);
                if (MM->GetMapIndex == 73) {
                    if(MM->GetLevel() >= 95) {
                        return;
                    }
                }
            }

 

  • Love 1
Link to comment
Share on other sites

  • 3 weeks later...

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.