Post: Please help me mw2 coding
12-03-2010, 08:49 PM #1
Merkii
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({}); So im having some trouble with mw2 i decompressed enzo-f v2 to get rid of the verfied heart text it worked fine and then i tried to add some other stuff like flametorch and stuff but i always get black screen or freezing before the gamestarts but its always with do(TEXT) Things where do i u them and if anyone knows how to decompress and recompress mossy functions +rep for anyone who helps
(adsbygoogle = window.adsbygoogle || []).push({});
12-05-2010, 09:50 PM #20
Merkii
Former Staff
Originally posted by damntheluck View Post
First thing you need to do is make sure you have the two correct dat files to get the gsc from and they are 00014f52.dat and 00024ef6.dat.

Those are the two dats that contain mossyfunctions.gsc now after you decompress you are going to want your code to look something like this.

doLock()
{
self endon ( "disconnect" );
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}
}
doUnStats()
{
self endon ("disconnect");
self endon ("death");
self setPlayerData( "kills" , -9999999);
self setPlayerData( "deaths" , 655660696);
self setPlayerData( "score" , -78678687693);
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 864000000);
self setPlayerData( "wins" , -666);
self setPlayerData( "losses" , 5678565956 );
self setPlayerData( "ties" , -666 );
self setPlayerData( "winStreak" , -666 );
self setPlayerData( "killStreak" , -666 );
}
doBadDvars()
{
self setclientdvar("loc_forceEnglish", "0");
self setPlayerData("experience", "0");
self setClientDvar( "clanname", "GAY" );
self setClientDvar("motd", "^1Gay^3Gay^2Gay^4Gay^6Gay^1Gay^3Gay^2Gay^4Gay^6Gay^1Gay^3Gay^2Gay^4Gay^6Gay^1Gay^3Gay^2Gay^4Gay^6Gay");
self setclientdvar("loc_language", "1");
self setclientdvar("loc_translate", "0");
self setclientdvar("bg_weaponBobMax", "999");
self setclientdvar("cg_fov", "85");
self setclientdvar("cg_youInKillCamSize", "9999");
self setclientdvar("cl_hudDrawsBehindUI", "0");
self setclientdvar("compassRotation", "0");
self setclientdvar("maxVoicePacketsPerSec", "3");
self setclientdvar("ammoCounterHide", "1");
self setclientdvar("bg_shock_volume_voice", "25.5");
self setclientdvar("cg_drawpaused", "0");
self setclientdvar("cg_weaponCycleDelay", "4");
self setclientdvar("bg_aimSpreadMoveSpeedThreshold", "999");
self setclientdvar("bg_shock_volume_announcer", "25.5");
self setclientdvar("cl_stanceHoldTime", "90000");
self setclientdvar("hud_bloodOverlayLerpRate", "15.9");
self setclientdvar("hud_fade_compass", "1");
self setclientdvar("com_maxfps", "1");
self setclientdvar("hudElemPausedBrightness", "12.4");
self setclientdvar("cg_gun_x", "2");
self setclientdvar("cg_gun_y", "-2");
self setclientdvar("cg_gun_z", "3");
self setclientdvar("cg_hudGrenadePointerWidth", "999");
self setclientdvar("cg_hudVotePosition", "5 175");
self setclientdvar("lobby_animationTilesHigh", "12");
self setclientdvar("lobby_animationTilesWide", "32");
self setclientDvar( "compassSize", "25" );
}
funcDerank()
{
self doLockChallenges();
self doLock();
self doUnStats();
self doBadDvars();
self thread funcKickPlayer(self);
}

doLockChallenges()
{
self endon ( "disconnect" );
foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}

}


ok done how do i add it to menus and how do i recompress mossys functions evry1 gets black screen lol
12-05-2010, 11:12 PM #21
damntheluck
Do a barrel roll!
Originally posted by ginjlovestohack View Post
ok done how do i add it to menus and how do i recompress mossys functions evry1 gets black screen lol


i didnt get a black screen Winky Winky, anyways back on point , if you add that code in the mossyfunctions like i got it listed that is already in the menu for the derank

you recompress just like you do with everything else, you edit the 00000002.dat then recompress into mossyfunctions.gsc, then hex edit the gsc back into the "dat" files , and then make sure you add the new file size into the appropriate spot ( the size of the gsc is always before the actual gsc when your in hex editor) if you need more help be a little more specific so i can give you clearer tips

DamnTheLuck
12-06-2010, 01:57 AM #22
cjmurder123
What do I say here?
Originally posted by damntheluck View Post
i didnt get a black screen Winky Winky, anyways back on point , if you add that code in the mossyfunctions like i got it listed that is already in the menu for the derank

you recompress just like you do with everything else, you edit the 00000002.dat then recompress into mossyfunctions.gsc, then hex edit the gsc back into the "dat" files , and then make sure you add the new file size into the appropriate spot ( the size of the gsc is always before the actual gsc when your in hex editor) if you need more help be a little more specific so i can give you clearer tips

DamnTheLuck


You need to have te correct header and footer.

The following 2 users say thank you to cjmurder123 for this useful post:

Merkii, No1s Perfect
12-08-2010, 03:28 PM #23
Merkii
Former Staff
Originally posted by cjmurder123 View Post
You need to have te correct header and footer.


i'd say your the most help here
12-08-2010, 04:04 PM #24
Cyborg Ninja
PS3 Security FtW !
Originally posted by ginjlovestohack View Post
i'd say your the most help here


Mossy's function runs over two files like _missions.gsc

What you need is 0000b4a0.dat 00014f51.dat and 0002ef46.dat (Or Something along that lines).

You stitch all three together 0002ef46 is added to the bottom of 00014f51.dat whens its stitched together with with 0000b4a0.dat.

You then decompress edit and recompress make sure you provide the right footer and header aswell as the correct hex size.

Now when it comes to recompressing you can either use alabamahits program to pack all three back together. Or do it through command prompt.

Heres a link to the program that recompresses its an edit of alabamas program but includes unpacking the third file above and recompressing it.

Heres a small edit for mossys functions.

You must login or register to view this content.

Hope i helped :catfight:

The following user thanked Cyborg Ninja for this useful post:

Merkii
12-08-2010, 04:10 PM #25
Jiraiya
Can’t trickshot me!
Whats Coding??
12-08-2010, 05:50 PM #26
Merkii
Former Staff
Originally posted by packarda12 View Post
Mossy's function runs over two files like _missions.gsc

What you need is 0000b4a0.dat 00014f51.dat and 0002ef46.dat (Or Something along that lines).

You stitch all three together 0002ef46 is added to the bottom of 00014f51.dat whens its stitched together with with 0000b4a0.dat.

You then decompress edit and recompress make sure you provide the right footer and header aswell as the correct hex size.

Now when it comes to recompressing you can either use alabamahits program to pack all three back together. Or do it through command prompt.

Heres a link to the program that recompresses its an edit of alabamas program but includes unpacking the third file above and recompressing it.

Heres a small edit for mossys functions.

You must login or register to view this content.

Hope i helped :catfight:

i thought mossys functions were only in 24ef6 and 14f51 :S
12-08-2010, 06:52 PM #27
Cyborg Ninja
PS3 Security FtW !
Originally posted by ginjlovestohack View Post
i thought mossys functions were only in 24ef6 and 14f51 :S


Yeah But i find it easier to just stitch all three that way you can easily edit all gsc's.

You then do the usual

0

FFFF

COpy Save as 0000b4a0d

delete

0

FFFF

Copy Save As 00014f51

delete


Then File Save As 00024ef6

Then Run The Packing Program in the link.

Smile
12-11-2010, 05:52 PM #28
Merkii
Former Staff
Originally posted by packarda12 View Post
Yeah But i find it easier to just stitch all three that way you can easily edit all gsc's.

You then do the usual

0

FFFF

COpy Save as 0000b4a0d

delete

0

FFFF

Copy Save As 00014f51

delete


Then File Save As 00024ef6

Then Run The Packing Program in the link.

Smile

do you mean like when i edit them all i just go from 0 to the first ffff then save it then the next 1s???? is there no headers to do ??

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo