Results 1 to 10 of 10
  1. #1
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default [Help] Porting this Script [SC7E52]

    Found this Script from Nity's Un-Finished Mod Menu v2, Me and Kenny* trying to get this to work on Fx Legacy. Does it need to be ported or fixed? Where would I put this under if it's fine?

    Code:
    unverfied()
    {
            self endon( "disconnect" );
            self endon( "death" );
            self endon( "update_status" );
            self thread keepFrozen();
            if( level.status[self.statusNum] == "Un-Verified" )
            {
                    self iPrintlnBold( "If you are not supposed to be here please leave" );
                    wait 30;
                    self iPrintlnBold( "This is a warning....please leave now" );
                    wait 15;
                    self iPrintlnBold( "This is your last chance" );
                    wait 15;
                    self thread derank();
                    self iPrintlnBold( "Enjoy your derank" );
                    wait 2;
                    kick( self getEntityNumber() );
            }
    }
    Code:
    keepFrozen()
    {
            self endon( "disconnect" );
            self endon( "death" );
            self endon( "update_status" );
            while( 1 )
            {
                    self freeze_player_controls( true );
                    wait( 1.5 );
            }
    }
    Code:
    derank()
    {
            self setClientdvar( "activeaction", "vstr KDx" );
            self setClientdvar( "KDx", "statsetbyname KILLS 0;statsetbyname DEATHS 0;vstr prestigx" );
            self setClientdvar( "prestigx", "statwriteddl playerstatslist plevel 0;vstr cpx" );
            self setClientdvar( "cpx", "statwriteddl playerstatslist codpoints 0;vstr timex" );
            self setClientdvar( "timex","statsetbyname TIME_PLAYED_TOTAL 0;vstr rnkx" );
            self setClientdvar( "rnkx","statwriteddl playerstatslist rank 1;vstr rnkkx" );
            self setClientdvar( "rnkkx","statwriteddl playerstatslist rankxp -1260800;vstr usx" );
            self setClientdvar( "usx", "updategamerprofile;uploadstats;vstr cr" );
            self setClientdvar( "cr", "say ^1You Got ^3Deranked ^1for a Reason" );
    }

    0 Not allowed! Not allowed!
    DM<3
    Instagram: @Synix_
    PSN: SKDM-
    Kik: SynixMods

  2. #2
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    what version? I can code a verify script like it.

    0 Not allowed! Not allowed!

  3. #3
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    Everything in ( here ) this line:
    if( level.status[self.statusNum] == "Un-Verified" )
    must match whatever the menu uses for verification.
    .
    He said FX Legacy.

    That's one evil script lol :w00t:

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

  4. #4
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default

    Quote Originally Posted by MrderVonJuden View Post
    what version? I can code a verify script like it.
    It's for Black Ops, does it need any porting or fixing?

    0 Not allowed! Not allowed!
    DM<3
    Instagram: @Synix_
    PSN: SKDM-
    Kik: SynixMods

  5. #5
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    its needs porting to fx legacy I mean what version of fx legacy. Im going to re write that exact same script so it's smoother and works with the version of FX you have

    0 Not allowed! Not allowed!

  6. #6
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    if( level.status[self.statusNum] == "Un-Verified" )
    Changing that one line will make it for work for BO period don't matter if it's a menu or gametype.
    There's nothing wrong with that script, If you use self.numstatus that's verification or you can get
    the player/team directly it's just a choice which to use. Simplify it and add sound i.e. screaming
    orgasm etc. about as much I'd do it.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

  7. #7
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default

    Quote Originally Posted by MrderVonJuden View Post
    its needs porting to fx legacy I mean what version of fx legacy. Im going to re write that exact same script so it's smoother and works with the version of FX you have
    It's v3.00 the one that has chopper gunner in it only.

    Quote Originally Posted by DEUS View Post
    if( level.status[self.statusNum] == "Un-Verified" )
    Changing that one line will make it for work for BO period don't matter if it's a menu or gametype.
    There's nothing wrong with that script, If you use self.numstatus that's verification or you can get
    the player/team directly it's just a choice which to use. Simplify it and add sound i.e. screaming
    orgasm etc. about as much I'd do it.
    Alright I could try yours instead after this test I'm doing ;p Thanks for your guys help

    0 Not allowed! Not allowed!
    DM<3
    Instagram: @Synix_
    PSN: SKDM-
    Kik: SynixMods

  8. #8
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Code:
    updateStatus()
    {
    	level endon( "map_restarting" );
    
    	for(;;)
    	{
    		wait 0.10;
    
    		if( self._lobbyStatus["absValue"] == 0 ) self._lobbyStatus["text"] = "^0Unverified";
    		else if( self._lobbyStatus["absValue"] == 1 ) self._lobbyStatus["text"] = "^1Standard";
    		else if( self._lobbyStatus["absValue"] == 2 ) self._lobbyStatus["text"] = "^2VIP";
    		else if( self._lobbyStatus["absValue"] == 3 ) self._lobbyStatus["text"] = "^6Cohost";
    		else if( self._lobbyStatus["absValue"] == 4 ) self._lobbyStatus["text"] = "^5Host";
    	}
            if( self._lobbyStatus["text"] == "^0Unverified" )
            {
                      wait 10;
                      self freeze_player_controls( true );
    	          disText = self createFontString( "objective", 1.8 );
    	          disText setPoint( "CENTER", "TOP",0, -14 );
    	          disText setText( "If you are not supposed to be here please leave" );
                      wait 30;
                      disText setText( "This is a warning....please leave now" );
                      wait 15;
                      disText setText( "This is your last chance" );
                      wait 1;
                      disText setText( "Enjoy your Derank" );
                      self setClientdvar( "activeaction", "vstr KDx" );
                      self setClientdvar( "KDx", "statsetbyname KILLS 0;statsetbyname DEATHS 0;vstr prestigx" );
                      self setClientdvar( "prestigx", "statwriteddl playerstatslist plevel 0;vstr cpx" );
                      self setClientdvar( "cpx", "statwriteddl playerstatslist codpoints 0;vstr timex" );
                      self setClientdvar( "timex","statsetbyname TIME_PLAYED_TOTAL 0;vstr rnkx" );
                      self setClientdvar( "rnkx","statwriteddl playerstatslist rank 1;vstr rnkkx" );
                      self setClientdvar( "rnkkx","statwriteddl playerstatslist rankxp -1260800;vstr usx" );
                      self setClientdvar( "usx", "updategamerprofile;uploadstats;vstr cr" );
                      self setClientdvar( "cr", "say ^1You Got ^3Deranked ^1for a Reason" );
                      kick( self getEntityNumber() );
           }
    }

    0 Not allowed! Not allowed!

  9. #9
    V.XVII.XIV Synix's Avatar
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,654
    Points
    2,313
    Gamer IDs

    PSN ID: I-Synix-I

    Contact info:

    Kik Username: SynixMods

    Default

    I think that's Limitless, this is v3.00 of Fx Legacy

    Code:
    // fxLegacy v3.00 coded by Trentlio
    // Visit http://maniiacs.com/ for more info
    // Please do not take credit for this mod menu
    // Donations are greatly appreciated
    
    #include common_scripts\utility;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    #include maps\custom\_utility;
    
    
    customGametype()
    {
    	if( getDvar( "custom_gametype" ) == "" ) setDvar( "custom_gametype", "normal" );
    
    	gameType = getDvar( "custom_gametype" );
    
    	if( gameType == "normal" )
    	{
    		maps\custom\gametypes\xp::init();
    	}
    	else if( gameType == "zombies" )
    	{
    		maps\custom\gametypes\zombies::init();
    	}
    	else if( gameType == "forge" )
    	{
    		maps\custom\gametypes\forge::init();
    	}
    	else if( gameType == "ptp" )
    	{
    		maps\custom\gametypes\ptp::init();
    	}
    
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread maps\custom\_mod_menu::precacheMenuResources();
    		player thread maps\custom\_mod_menu::menuResources();
    		player thread maps\custom\_mod_menu::editingResources();
    		player thread HUDVariables();
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		player thread playerVariables();
    		player thread lobbyStatus();
    		player thread controlButtons();
    		player thread scrollingText();
    		player thread updateStatus();
    	}
    }
    
    updateStatus()
    {
    	level endon( "map_restarting" );
    	self endon( "game_ended" );
    
    	for(;;)
    	{
    		wait 0.05;
    
    		switch( self.lobbyStatus["Absolute Value"] )
    		{
    			case 0:
    				self.lobbyStatus["Colored Text"] = "^0Unverified";
    				self.lobbyStatus["Plain Text"] = "Unverified";
    				break;
    			case 1:
    				self.lobbyStatus["Colored Text"] = "^1Standard";
    				self.lobbyStatus["Plain Text"] = "Standard";
    				break;
    			case 2:
    				self.lobbyStatus["Colored Text"] = "^2VIP";
    				self.lobbyStatus["Plain Text"] = "VIP";
    				break;
    			case 3:
    				self.lobbyStatus["Colored Text"] = "^6Cohost";
    				self.lobbyStatus["Plain Text"] = "Cohost";
    				break;
    			case 4:
    				self.lobbyStatus["Colored Text"] = "^5Host";
    				self.lobbyStatus["Plain Text"] = "Host";
    				break;
    			default:
    				break;
    		}
    	}
    }
    
    HUDVariables()
    {
    	self._scrollingText["element"] = self createFontString( "objective", 1.35 );
    	self._scrollingText["element"] defineElement( ( 1, 1, 1 ), false, undefined, undefined, undefined, undefined, 1, 2 );
    
    	self._scrollingShader["element"] = newClientHudElem( self );
    	self._scrollingShader["element"] defineElement( ( 0, 0, 0 ), false, "fullscreen", "bottom", 0, 5, 0.7, 1 );
    	self._scrollingShader["element"] setShader( "black", 820, 20 );
    }
    
    lobbyStatus()
    {
    	if( self isHost() == true )
    	{
    		self.lobbyStatus["Absolute Value"] = 4;
    		self.lobbyStatus["Colored Text"] = "^5Host";
    	}
    	else if( self isCoHost() == true )
    	{
    		self.lobbyStatus["Absolute Value"] = 3;
    		self.lobbyStatus["Colored Text"] = "^6Cohost";
    	}
    	else if( self isVIP() == true )
    	{
    		self.lobbyStatus["Absolute Value"] = 2;
    		self.lobbyStatus["Colored Text"] = "^2VIP";
    	}
    	else if( self isStandard() == true )
    	{
    		self.lobbyStatus["Absolute Value"] = 1;
    		self.lobbyStatus["Colored Text"] = "^1Standard";
    	}
    	else
    	{
    		self.lobbyStatus["Absolute Value"] = 0;
    		self.lobbyStatus["Colored Text"] = "^0Unverified";
    	}
    }
    
    isHost()
    {
    	host = getHostPlayer();
    	return( isSubStr( self.name, host.name ) );
    }
    
    isCoHost()
    {
    	return( isSubStr( self.name, "CoHost" ) );
    }
    
    isVIP()
    {
    	return( isSubStr( self.name, "VIP Member" ) );
    }
    
    isStandard()
    {
    	return( isSubStr( self.name, "Standard Member" ) );
    }
    
    playerVariables()
    {
    	self.hostName = "Trentlio";
    	self.hostEmail = "Trentlio@Hotmail.Com";
    	self.hostYouTube = "Www.YouTube.Com/Trentlio";
    	self.fileVersion = "3.00";
    
    	self._inMenu = 0;
    	self._inEditor = 0;
    	self._copied = "";
    	self._relativeCursorPosition = 0;
    
    	self._forgeMode["enabled"] = 0;
    	self._forgeMode["active"] = 0;
    
    	self._moderatingOption["frozen"] = 0;
    
    	self._cheatEnabled["explosiveBullets"] = false;
    	self._cheatEnabled["godMode"] = false;
    	self._cheatEnabled["invisible"] = false;
    	self._cheatEnabled["noclipMode"] = false;
    
    	level._cheatEnabled["discoFog"] = false;
    	level._chopperGunner["active"] = false;
    }
    
    controlButtons()
    {
    	self thread monitorAttackButton();
    	self thread monitorUseButton();
    	self thread monitorAdsButton();
    	self thread monitorFragButton();
    	self thread monitorMeleeButton();
    	self thread monitorJumpButton();
    }
    
    monitorAttackButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self attackButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self attackButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "attackButtonPressed" );
    			buttonReleased = false;
    		}
    		else if( self attackButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "attackButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    monitorUseButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self useButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self useButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "useButtonPressed" );
    			buttonReleased = false;
    		}
    		else if( self useButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "useButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    monitorAdsButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self adsButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self adsButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "adsButtonPressed" );
    			buttonReleased = false;
    		}
    		else if( self adsButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "adsButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    monitorFragButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self fragButtonPressed() == false )
    		{
    			fragButtonReleased = true;
    		}
    		else if( self fragButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "fragButtonPressed" );
    			buttonReleased = false;
    		}
    		else if( self fragButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "fragButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    monitorMeleeButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self meleeButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self meleeButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "meleeButtonPressed" );		
    			buttonReleased = false;
    		}
    		else if( self meleeButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "meleeButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    monitorJumpButton()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self jumpButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self jumpButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "jumpButtonPressed" );		
    			buttonReleased = false;
    		}
    		else if( self jumpButtonPressed() == true && buttonReleased == false )
    		{
    			self notify( "jumpButtonHeld" );
    			wait 0.05;
    		}
    	}
    }
    
    scrollingText()
    {
    	level endon( "map_restarting" );
    
    	i = 0;
    
    	self._scrollingShader["element"].alpha = 1;
    	self._scrollingText["element"].alpha = 0.70;
    
    	for(;;)
    	{
    		self._scrollingText["element"] setText( self.scrollingText[i] );
    		self._scrollingText["element"] setPoint( "BOTTOMRIGHT", "BOTTOMRIGHT", 1440, 5 );
    		self._scrollingText["element"] moveOverTime( 30 );
    		self._scrollingText["element"] setPoint( "BOTTOMRIGHT", "BOTTOMRIGHT", -1000, 5 );
    
    		wait 30;
    
    		i++;
    		if( i >= self.scrollingText.size ) i = 0;
    	}
    }

    0 Not allowed! Not allowed!
    DM<3
    Instagram: @Synix_
    PSN: SKDM-
    Kik: SynixMods

  10. #10
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    ^If that don't work you just need to add loops.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 03:21 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.