Jump to content
metin2dev
Ekstasia2

Recommended Posts

Hi Vegas,

thank for the quest and the functions.

But there is one problem.

When u use the VIP Item, all works fine, u get the Bonus and the logo,

but if the time is expired the bonus will be removed but the logo is still there.

But the entry in common>gm_list is removed to.

€dit

After a reboot the logo will removed to.

Is there any possibility to remove the logo without a reboot?

 

Share this post


Link to post
Share on other sites

 

31 minutes ago, Core1911 said:

Edit:

After a reboot the logo will removed to.

Is there any possibility to remove the logo without a reboot?

 

Of course :D

		db_clientdesc->DBPacket(HEADER_GD_RELOAD_ADMIN, 0, NULL, 0); // big dick

// Replace function with this.

  • 	int pc_delete_vip(lua_State* L)
    	{	
    		char szQueryDeleteVip[QUERY_MAX_LEN];
    		snprintf(szQueryDeleteVip, sizeof(szQueryDeleteVip), "DELETE FROM common.gmlist WHERE mName = '%s'", CQuestManager::instance().GetCurrentCharacterPtr()->GetName());
    		std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szQueryDeleteVip));
    		db_clientdesc->DBPacket(HEADER_GD_RELOAD_ADMIN, 0, NULL, 0);
    		return 0;		
    	}

 

  • Like 3

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×