Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSĐóng gópGiúp một tay và nhận Community PointsMởTrên MuADMINSLịch sự kiệnBlood Castle, Devil Square, các cuộc xâm lăng trên một lưới tuầnMở
← Tất cả giải pháp
Cài đặt serverIGCNS9, S12, S16, S17, S18

How do I give or extend VIP for an account with SQL on IGCN files (IGC_VipAdd, T_VIPList)?

MuADMINS biên soạn từ nguồnNot verified

IGCN keeps the active VIP in T_VIPList (AccountID, Date, Type); MEMB_INFO also has VipType, VipStart, VipDays.

The shipped procedure is IGC_VipAdd @szCharName, @DayAdd, @VipType. Despite the parameter name it compares with AccountID, so pass the ACCOUNT name:

EXEC IGC_VipAdd 'account1', 30, 1;
SELECT AccountID, Date, Type FROM T_VIPList WHERE AccountID = 'account1';

What it does: no row = new VIP until today + days; active VIP of a lower type = replaced by the new type from today; same type = days added to the current end date; expired = restarted from today.

The meaning of each Type number comes from the server's VIP configuration, not from the database. WebEngine (igcn.tables.php) reads the same table (_TBL_VIP_ = T_VIPList).

Source: IGCN Season 18 18.2.2.13 Database/1. Full Scripts/MuOnline/MuOnline_without_MD5.sql (IGC_VipAdd, T_VIPList, MEMB_INFO Vip columns); WebEngine 1.2.7 includes/config/igcn.tables.php.

Do MuADMINS biên soạn
Cách này có giúp được bạn không?

Vẫn còn vướng mắc? Tìm trên MuGPS Hỏi Trợ lý MU

MuADMINS Community Alpha: miễn phí, do cộng đồng xây dựng, đang được phát triển tích cực.