• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Snippet] Coupons Effects

Newbie Spellweaver
Joined
Nov 5, 2015
Messages
16
Reaction score
0
Code:
Enum CouponEfect
       {
       KETUPAT = 2,  
        BULLET_PROOF_VEST_METAL = 4,
        HOLLOW_POINT_AMMO_PLUS = 8,
        BULLET_PROOF_VEST_PLUS = 16,
        MEGA_HP5 = 32,
        JACKETED_HELLOW_POINT_AMMO = 64,
        INCREASE_GRENADE_SLOT = 128,
        C4_SPEED_KIT = 256,
        HOLLOW_POINT_AMMO = 512,
        FULLMETALJACKETAMMO = 1024,
        BULLET_PROOF_VEST = 2048,
        INCREASE_INVINCIBLE_TIME = 4096,
        MEGA_HP10 = 8192,
        QUICK_CHANGE_MAGAZINE = 16384,
        QUICK_CHANGE_WEAPON = 32768,
        RESPAWN_30 = 1048576,
        RESPAWN_50 = 2097152,
}

To use them you will need to modify or update SM_ROOM_SLOTINFO
I'll leave her Structure below:
Code:
WriteC(8); // Slot.State
WriteC(0); // Player.Rank
WriteD(0); // ClanId
WriteD(0); // ClanRole
WriteC(0); // Clan.Rank
WriteD(-1); // Clan.Mark
WriteC(0); // Player.Premium
WriteC(0); // Player.TournamentRank
WriteD(0); // Coupons
WriteS("", Clan.NAME_LENGTH);
WriteD(0); // ?
WriteC(0); // ClanNameColor

If you have any questions on the subject, ask questions on the topic itself, I will help without hesitation
Yours sincerely,
SmoLL
computer engineering
 
Last edited by a moderator:
Junior Spellweaver
Joined
May 19, 2014
Messages
188
Reaction score
29
Code:
Enum CouponEfect
       {
       KETUPAT = 2,  
        BULLET_PROOF_VEST_METAL = 4,
        HOLLOW_POINT_AMMO_PLUS = 8,
        BULLET_PROOF_VEST_PLUS = 16,
        MEGA_HP5 = 32,
        JACKETED_HELLOW_POINT_AMMO = 64,
        INCREASE_GRENADE_SLOT = 128,
        C4_SPEED_KIT = 256,
        HOLLOW_POINT_AMMO = 512,
        FULLMETALJACKETAMMO = 1024,
        BULLET_PROOF_VEST = 2048,
        INCREASE_INVINCIBLE_TIME = 4096,
        MEGA_HP10 = 8192,
        QUICK_CHANGE_MAGAZINE = 16384,
        QUICK_CHANGE_WEAPON = 32768,
        RESPAWN_30 = 1048576,
        RESPAWN_50 = 2097152,
}

To use them you will need to modify or update SM_ROOM_SLOTINFO
I'll leave her Structure below:
Code:
WriteC(8); // Slot.State
WriteC(0); // Player.Rank
WriteD(0); // ClanId
WriteD(0); // ClanRole
WriteC(0); // Clan.Rank
WriteD(-1); // Clan.Mark
WriteC(0); // Player.Premium
WriteC(0); // Player.TournamentRank
WriteD(0); // Coupons
WriteS("", Clan.NAME_LENGTH);
WriteD(0); // ?
WriteC(0); // ClanNameColor

If you have any questions on the subject, ask questions on the topic itself, I will help without hesitation
Yours sincerely,
SmoLL
computer engineering

What about +1 smoke / flashbang coupon ?
 
Initiate Mage
Joined
Aug 27, 2013
Messages
1
Reaction score
0
These values ​​are multiple of themselves , for example 1*1 = 2 KETUPAT and 2*2 = 4 BULLET_PROOF_VEST_METAL,
+1 smoke and flashbang Can be 1 or 2097152 * 2097152= 4194304.
 
Junior Spellweaver
Joined
May 19, 2014
Messages
188
Reaction score
29
These values ​​are multiple of themselves , for example 1*1 = 2 KETUPAT and 2*2 = 4 BULLET_PROOF_VEST_METAL,
+1 smoke and flashbang Can be 1 or 2097152 * 2097152= 4194304.
ok i see
but how we know the name string ?
BULLET_PROOF_VEST_METAL << where you can find this string ?
 
Back
Top