Skip to content

Roe2

Members
  • Joined

  • Last visited

  • Trader rating

    N/A

Solutions

  1. Roe2's post in delevel command was marked as the answer   
    there must be another way to do this, but this one is simpler than I currently thought.
    try
    in UserExCommand.cpp
    Bind(L".delevel", UserExDelevelCommand); //add bind command

    //add function
    bool UserExDelevelCommand(User *pUser, wstring params)
    {
        guard;
            if(pUser->ValidUser()){
                
                pUser->SetLevel(40); //use setlevel for delevel.
                pUser->SocialAction(SocialActionLevelUp);
            }
        unguard;
        return false;
    }


    and UserExCommand.h
    bool UserExDelevelCommand(User *pUser, wstring params);


    for bypass  you can use the same paramter.

    EX:
     
    void CVIPSystem::OnDelevel(User *pUser)
    {
        guard;
        if(m_Enabled)
        {
            if(pUser->ValidUser())
            {
                pUser->SetLevel(40);
                pUser->SocialAction(SocialActionLevelUp);
            }
        }
        unguard;
    }

    added to bypass:
    else if(wBypass.find(L"user_delevel") == 0)
            {
                g_VIPSystem.OnDelevel(pUser);
                return true;
            }

    you can use this example for add to your bypass.
  2. Roe2's post in L2Off vanganth c6 pack sell/buy problem was marked as the answer   
    this problem happens after npserver restarts by itself.
    the npc disappear and come back, when they come back you can't interact with any of them.
    you should block port 2002 or the port you configured for your ncpserver.
    this is a bug.

    to make sure this happens, you should check the npserver log and see if the npcs are out of range.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.