Sign in to follow this  
dekela

Mag repack Ban-infiSTAR

9 posts in this topic

latest infiSTAR version 0077

when using mag repack, players get banned with following log (this was on my test server, with myself logged out of admin)

08.05.2017 22:36:06: dekela(7656xxxxxxxxxxxxx - 4) MenuBasedHack :: -1 :: 1601 (PLAYER IS ADMIN)

i have removed -1 from badIDDsToKick and added it to allowedIDDs as shown

Spoiler

/* badIDDsToKick will be checked before badIDDsToClose, badIDDsToClose will be checked before allowedIDDs */
/* badIDDsToKick: Forbidden Idds that will get you Kicked by the AH */
badIDDsToKick[] =
{
    -1338,-1337,-1341,17,19,30,32,45,56,59,62,64,69,71,110,125,
    132,133,155,156,165,166,167,312,313,
    1320,1321,1340,1341,1342,1343,1344,1345,1346,1347,
    2727,2928,2929,3030,316000,9899,0110,
    6900,552266
};

/* badIDDsToClose: Forbidden Idds that will get closed by the AH */
badIDDsToClose[] =
{
    2,3,7,17,19,25,26,27,28,29,30,31,32,37,40,41,43,44,45,51,52,53,56,74,85,
    106,126,127,132,146,147,150,151,152,153,154,155,159,162,164,262,
    314,632,1320,2121,148,163,129,169,157,69,156,165,166,167,312,1321,2727,
    -1341,1341
};

/* Use IDD White-List ? */ UDW = "true";
/* allowedIDDs: Insert IDDs here to prevent them from being closed! */
allowedIDDs[] =
{
    /* default idds */
    -1,0,4,5,6,8,12,18,24,49,54,55,70,101,160,174,177,999,131,63,602,301,

    /* exile idds */
    24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
    20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
    20020,24026,4002,4000,4001,4003,1500,

    24033,24030,24029,24028,24031,24034,

    4004,21000,    // Bounty system and MarXet
    8457,    // http://exile.majormittens.co.uk/topic/9040-xm8-apps/
    65431,    // r3f menu fix
    6666,    // Paintshop
    0711,    // Advanced Banking
    0720,    // Virtual Garage
    5501,5502,5503,5504,5505,5506,5507,    // BRAma Cookbook
    -1339,-1340,    // custom infiSTAR dialogs (some editor & a private chat menu)
    //my custom
    160,
    9990,9992,9993,99440,
    -1,-2,-3,-4,-5,-9,-10,-11,-12,-14,-15,-666,300,301,302,303,304,13377,
    2620,2629,2621,2622,2624,2625,2630,2631,2632,601,2520,2523,2522,
    2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2300,2400,2600,
    2650,2700,2800,2900,3000,3100,3500,7300,38200,38300,38400,38500,39400,

    /* main idd - never delete it */
    46
};

do i need to add 1601 to the allowedIDDs as well?

thanks

Share this post


Link to post
Share on other sites
Advertisement

mag repack has more functionality. can repack partial mags into full mags from any other mag with same ammo type. EG: repack 30rnd mags for MXC from other 30rnd mags, 100rnd SW mags and 200rnd mk200 belts. combine mags only does just that, combine the mags in your inventory so you still have the same amount of ammo.

Share this post


Link to post
Share on other sites
3 hours ago, dekela said:

mag repack has more functionality. can repack partial mags into full mags from any other mag with same ammo type. EG: repack 30rnd mags for MXC from other 30rnd mags, 100rnd SW mags and 200rnd mk200 belts. combine mags only does just that, combine the mags in your inventory so you still have the same amount of ammo.

and anti cheat problems ....

Share this post


Link to post
Share on other sites

So I was just having this battle myself... and I was able to solve it, and thought I would share my fix.
First I have the mod installed as scripts in my mpmission.
In the infistar help chat they suggested white-listing 1601 .. that did not work. Waiting for other help I attacked the script files myself.

In the mpmissions\Exile.Altis\outlw_magRepack\Configs folder are 3 files we will edit... 
MagRepack_Dialog_About.hpp , MagRepack_Dialog_Keybindings.hpp & MagRepack_Dialog_Main.hpp
towards the top of each is:
idd = -1;
change to:
idd = 1601;
I set it to 1601 because it was already whitelisted in my EXILE_AHAT_CONFIG.hpp file.

Repacked my mission, ran it and it works. No more kick & ban.

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.