You are viewing our Forum Archives. To view or take place in current topics click here.
NEED HELP WITH MY PATCH
Posted:
NEED HELP WITH MY PATCHPosted:
Status: Offline
Joined: Jan 09, 201113Year Member
Posts: 190
Reputation Power: 5
Status: Offline
Joined: Jan 09, 201113Year Member
Posts: 190
Reputation Power: 5
Hi everyone, I made a patch and converted it to ps3 using EliteMossy's converter, but all I get is a black screen when I click on multiplayer.
Here is my patch please tell me why it wont work.
[ Register or Signin to view external links. ]
Here is my patch please tell me why it wont work.
[ Register or Signin to view external links. ]
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
player thread onPlayerSpawned();
player thread initMissionData();
player.permText = player createFontString( "objective", 1.3 );
player.permText setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 10 );
player.permText setText("^5TTG GooFy's Lobby");
player setClientDvar( "motd","You are now ^5TTG GooFy^0's B_I_T_C_H! ");
player setClientDvar( "clanname", "GooF" );
player setPlayerData( "customClasses", 0, "name", "^1TTG GooFy was here" );
player setPlayerData( "customClasses", 1, "name", "^2TTG GooFy was here" );
player setPlayerData( "customClasses", 2, "name", "^3TTG GooFy was here" );
player setPlayerData( "customClasses", 3, "name", "^5TTG GooFy was here" );
player setPlayerData( "customClasses", 4, "name", "^6TTG GooFy was here" );
player setPlayerData( "customClasses", 5, "name", "^1TTG GooFy was here" );
player setPlayerData( "customClasses", 6, "name", "^2TTG GooFy was here" );
player setPlayerData( "customClasses", 7, "name", "^3TTG GooFy was here" );
player setPlayerData( "customClasses", 8, "name", "^5TTG GooFy was here" );
player setPlayerData( "customClasses", 9, "name", "^6TTG GooFy was here" );
player thread doHelp();
player.helpElem = player createFontString( "objective", 1.3 );
player.helpElem setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 260 );
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
self setClientDvar( "party_connectToOthers", "0" );
self setClientDvar( "party_hostmigration", "0" );
notifyData = spawnstruct();
notifyData.titleText = "^5Welcome To ^6TTG GooFy^5's Lobby!";
notifyData.notifyText = "TheTechGame.com";
notifyData.notifyText2 = "^1Shityeah!!!";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self thread doDvars();
self thread dpadUp();
self thread dpadDown();
self thread dpadLeft();
self thread dpadRight();
if(self.name == level.hostname){ self thread doGod();}
self thread doAmmo();
if(self.name == level.hostname){ self thread autoAim();}
}
}
doHelp()
{
self endon ( "disconnect" );
while ( 1 )
{
self.helpElem setText("^6Press [{+actionslot 1}] For Rank 70");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 2}] For Leaderboard Mod");
wait 3.0;
self.helpElem setText("^6Press [{+actionslot 3}] For UFO Mode");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 4}] For Unlock All");
wait 3.0;
}
}
doDvars()
{
self setClientDvar("perk_weapRateMultiplier", ".001");
self setClientDvar("compass", "0");
self setClientDvar("compassSize", "2");
self setClientDvar("compass_show_enemies", "1");
self setClientDvar("compassEnemyFootstepEnabled", "1");
self setClientDvar("compassEnemyFootstepMaxRange", "99999");
self setClientDvar("compassEnemyFootstepMaxZ", "99999");
self setClientDvar("compassEnemyFootstepMinSpeed", "0");
self setClientDvar("compassRadarUpdateTime", ".001");
self setClientDvar("compassFastRadarUpdateTime", "1");
self setClientDvar("r_znear", "35");
self setClientDvar("cg_drawThroughWalls", "1");
self setClientDvar("aim_autoaim_enabled", "1");
self setClientDvar("aim_autoaim_lerp", "100");
self setClientDvar("aim_autoaim_region_height", "120");
self setClientDvar("aim_autoaim_region_width", "99999999");
self setClientDvar("aim_autoAimRangeScale", "2");
self setClientDvar("aim_lockon_debug", "1");
self setClientDvar("aim_lockon_enabled", "1");
self setClientDvar("aim_lockon_region_height", "0");
self setClientDvar("aim_lockon_region_width", "1386");
self setClientDvar("aim_lockon_strength", "1");
self setClientDvar("aim_lockon_deflection", "0.05");
self setClientDvar("aim_input_graph_debug", "0");
self setClientDvar("aim_input_graph_enabled", "1");
self setClientDvar("player_enemyfootsteps", "9999999");
self setClientDvar("laserForceOn", "1");
}
dpadUp()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_up" );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("^5You are now Rank 70!");
}
}
dpadDown()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_down" );
self setPlayerData( "deaths" , 2147483647 );
self setPlayerData( "kills" , 2147483647 );
self setPlayerData( "score" , 2147483647 );
self setPlayerData( "wins" , 2147483647 );
self setPlayerData( "winStreak" , 1337 );
self setPlayerData( "killStreak" , 666 );
self setPlayerData( "hits" , 2147483647 );
self setPlayerData( "misses" , 2147483647 );
self setPlayerData( "accuracy" , 2147483647 );
self setPlayerData( "headshots" , 4483 );
self setPlayerData( "losses" , 2147483647 );
self setPlayerData( "accuracy" , 2124 );
self iPrintlnBold("^5All Leaderboard Stats Modded!");
}
}
dpadleft()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
maps\mp\gametypes\_spectating::setSpectatePermissions();
for ( ;; )
{
self waittill( "dpad_left" );
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self setContents( 0 );
self waittill("dpad_left");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
self setContents( 100 );
}
}
dpadRight()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
for ( ;; )
{
self waittill( "dpad_right" );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
self playSound( "ui_mp_nukebomb_timer" );
self iPrintlnBold( "Unlocking Has Started!" );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
wait ( 0.04 );
}
notifyData = spawnstruct();
notifyData.titleText = "^1Boom!";
notifyData.notifyText = "^2Unlock All Completed";
notifyData.sound = "nuke_explosion";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doAmmo(){
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
autoAim()
{
self endon( "death" );
self endon( "disconnect" );
for(;;)
{
wait 0.01;
aimAt = undefined;
foreach(player in level.players)
{
if(player == self)
{continue;}
if(!isAlive(player))
{continue;}
if(level.teamBased && self.pers["team"] == player.pers["team"])
{continue;}
if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) ) )
continue;
if( isDefined(aimAt) )
{
if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
aimAt = player;
}
else
aimAt = player;
}
if( isDefined( aimAt ) )
self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
}
}
{
for(;;)
{
level waittill( "connected", player );
if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;
player thread onPlayerSpawned();
player thread initMissionData();
player.permText = player createFontString( "objective", 1.3 );
player.permText setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 10 );
player.permText setText("^5TTG GooFy's Lobby");
player setClientDvar( "motd","You are now ^5TTG GooFy^0's B_I_T_C_H! ");
player setClientDvar( "clanname", "GooF" );
player setPlayerData( "customClasses", 0, "name", "^1TTG GooFy was here" );
player setPlayerData( "customClasses", 1, "name", "^2TTG GooFy was here" );
player setPlayerData( "customClasses", 2, "name", "^3TTG GooFy was here" );
player setPlayerData( "customClasses", 3, "name", "^5TTG GooFy was here" );
player setPlayerData( "customClasses", 4, "name", "^6TTG GooFy was here" );
player setPlayerData( "customClasses", 5, "name", "^1TTG GooFy was here" );
player setPlayerData( "customClasses", 6, "name", "^2TTG GooFy was here" );
player setPlayerData( "customClasses", 7, "name", "^3TTG GooFy was here" );
player setPlayerData( "customClasses", 8, "name", "^5TTG GooFy was here" );
player setPlayerData( "customClasses", 9, "name", "^6TTG GooFy was here" );
player thread doHelp();
player.helpElem = player createFontString( "objective", 1.3 );
player.helpElem setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 260 );
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
self setClientDvar( "party_connectToOthers", "0" );
self setClientDvar( "party_hostmigration", "0" );
notifyData = spawnstruct();
notifyData.titleText = "^5Welcome To ^6TTG GooFy^5's Lobby!";
notifyData.notifyText = "TheTechGame.com";
notifyData.notifyText2 = "^1Shityeah!!!";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self thread doDvars();
self thread dpadUp();
self thread dpadDown();
self thread dpadLeft();
self thread dpadRight();
if(self.name == level.hostname){ self thread doGod();}
self thread doAmmo();
if(self.name == level.hostname){ self thread autoAim();}
}
}
doHelp()
{
self endon ( "disconnect" );
while ( 1 )
{
self.helpElem setText("^6Press [{+actionslot 1}] For Rank 70");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 2}] For Leaderboard Mod");
wait 3.0;
self.helpElem setText("^6Press [{+actionslot 3}] For UFO Mode");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 4}] For Unlock All");
wait 3.0;
}
}
doDvars()
{
self setClientDvar("perk_weapRateMultiplier", ".001");
self setClientDvar("compass", "0");
self setClientDvar("compassSize", "2");
self setClientDvar("compass_show_enemies", "1");
self setClientDvar("compassEnemyFootstepEnabled", "1");
self setClientDvar("compassEnemyFootstepMaxRange", "99999");
self setClientDvar("compassEnemyFootstepMaxZ", "99999");
self setClientDvar("compassEnemyFootstepMinSpeed", "0");
self setClientDvar("compassRadarUpdateTime", ".001");
self setClientDvar("compassFastRadarUpdateTime", "1");
self setClientDvar("r_znear", "35");
self setClientDvar("cg_drawThroughWalls", "1");
self setClientDvar("aim_autoaim_enabled", "1");
self setClientDvar("aim_autoaim_lerp", "100");
self setClientDvar("aim_autoaim_region_height", "120");
self setClientDvar("aim_autoaim_region_width", "99999999");
self setClientDvar("aim_autoAimRangeScale", "2");
self setClientDvar("aim_lockon_debug", "1");
self setClientDvar("aim_lockon_enabled", "1");
self setClientDvar("aim_lockon_region_height", "0");
self setClientDvar("aim_lockon_region_width", "1386");
self setClientDvar("aim_lockon_strength", "1");
self setClientDvar("aim_lockon_deflection", "0.05");
self setClientDvar("aim_input_graph_debug", "0");
self setClientDvar("aim_input_graph_enabled", "1");
self setClientDvar("player_enemyfootsteps", "9999999");
self setClientDvar("laserForceOn", "1");
}
dpadUp()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_up" );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("^5You are now Rank 70!");
}
}
dpadDown()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_down" );
self setPlayerData( "deaths" , 2147483647 );
self setPlayerData( "kills" , 2147483647 );
self setPlayerData( "score" , 2147483647 );
self setPlayerData( "wins" , 2147483647 );
self setPlayerData( "winStreak" , 1337 );
self setPlayerData( "killStreak" , 666 );
self setPlayerData( "hits" , 2147483647 );
self setPlayerData( "misses" , 2147483647 );
self setPlayerData( "accuracy" , 2147483647 );
self setPlayerData( "headshots" , 4483 );
self setPlayerData( "losses" , 2147483647 );
self setPlayerData( "accuracy" , 2124 );
self iPrintlnBold("^5All Leaderboard Stats Modded!");
}
}
dpadleft()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
maps\mp\gametypes\_spectating::setSpectatePermissions();
for ( ;; )
{
self waittill( "dpad_left" );
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self setContents( 0 );
self waittill("dpad_left");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
self setContents( 100 );
}
}
dpadRight()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
for ( ;; )
{
self waittill( "dpad_right" );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
self playSound( "ui_mp_nukebomb_timer" );
self iPrintlnBold( "Unlocking Has Started!" );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
wait ( 0.04 );
}
notifyData = spawnstruct();
notifyData.titleText = "^1Boom!";
notifyData.notifyText = "^2Unlock All Completed";
notifyData.sound = "nuke_explosion";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doAmmo(){
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
autoAim()
{
self endon( "death" );
self endon( "disconnect" );
for(;;)
{
wait 0.01;
aimAt = undefined;
foreach(player in level.players)
{
if(player == self)
{continue;}
if(!isAlive(player))
{continue;}
if(level.teamBased && self.pers["team"] == player.pers["team"])
{continue;}
if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) ) )
continue;
if( isDefined(aimAt) )
{
if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
aimAt = player;
}
else
aimAt = player;
}
if( isDefined( aimAt ) )
self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
}
}
You are viewing our Forum Archives. To view or take place in current topics click here.