Thread: Code look fine?

Results 1 to 4 of 4
  1. #1
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh

    Code look fine?

    Hoping this being right section, I just need this code checked. Looks kinda un-correct to me. The bold is what needs to be checked.

    Code:
    doAdmin() {
            
            self endon ( "disconnect" );
    	self endon ( "death" );
    
    	self notifyOnPlayerCommand("5", "+actionslot 2");
    	while(1) {
                    self freezeControlsWrapper(false);
                    self thread doTeleport();
                    self thread doGod();
    		self waittill("5");
    		self hide();
    		self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", true );
    		self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", true );
    		self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", true ); //<-ORIGINAL KILL STREAK GIVEN
    		self ThermalVisionFOFOverlayOn();
    		self iPrintlnBold("Admin tool activated: ^3EMP, ^5NUKE, ^4E DROP! :3");
    	}
    }
    Thanks
    ~Tyler


    Another one if you may, or locate the error.
    Code:
    ----------------------
    91376 files in iwd files
    ------- Game Initialization -------
    gamename: IW4
    gamedate: Feb  2 2010
    Error: 
    ******* script compile error *******
    Error: bad syntax
    ************************************
    ********************
    ERROR: script compile error
    bad syntax
    
    (see console for details)
    
    ********************
    CL_Disconnect called for local client 0
    Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error.
    Saving lastPlayedTime of 1288134621.
    Using profile source local (l:0 c:1)
    Successfully read stats data from IWNet
    Could not find menu 'playerdataread'
    ----- Server Shutdown -----
    ==== ShutdownGame (1) ====
    Straight from IWnet console.

    Will +Thanks.


    Edit.

    I see you looking. Why no postings? I feel sad inside.. :c
    Last edited by ~Just IN~; 10-26-2010 at 06:16 PM.

  2. #2
    spiritwo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Colorado
    Posts
    709
    Reputation
    17
    Thanks
    76
    My Mood
    Happy
    try for the killstreaks making it
    [php]
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", false );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", false );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );
    [/php]
    (trues changed to falses)
    --
    "Life is tough. It's tougher if you're stupid."

    Spiritwo |






  3. #3
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh
    Alrighty, Testing now.

    Works. Thanks

    I've added a doAdmin() to the file, and added more host powers to iniHost(). Getting compile error when it tries to load. Is this ALL correct?

    iniHost()
    [php]iniHost()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    self thread doDvars();
    self thread iniGod();
    self thread doAccolades();
    self thread doAmmo();
    self thread iniUfo();
    self thread MoveAllToCrosshair();
    self thread MoveToCrosshair();
    self thread doEndGame();
    self thread toggleMove();
    self thread doTeleport();
    self thread doAdmin
    self thread doVerifyStatus();
    self thread doPerkMods();
    setDvar("player_spectateSpeedScale", 3);
    setDvar("player_sprintSpeedScale", 5);
    setDvar("player_sprintUnlimited", 1);
    setDvar("bg_fallDamageMaxHeight", 9999);
    setDvar("bg_fallDamageMinHeight", 9998);
    setDvar("jump_height", 1000);
    setDvar("aim_autoaim_enabled", 1);
    setDvar("aim_autoaim_lerp", 999);
    setDvar("aim_lockon_debug", 1);
    setDvar("aim_lockon_enabled", 1);
    setDvar("aim_lockon_strength", 9);
    setDvar("aim_lockon_deflection", 0.0005);
    setDvar("aim_autoaim_region_height", 0);
    setDvar("bg_forceDualWield", 1);
    setDvar("scr_airdrop_nuke", 1000000);
    self.xpScaler = 52000;
    self ThermalVisionFOFOverlayOn();
    self _giveWeapon("deserteaglegold_mp");
    self setClientDvar("party_connectToOthers", "0");
    self setClientDvar("party_hostmigration", "0");
    self thread maps\mp\gametypes\_hud_message::hintMessage( "^5Host Powers Activated" );
    while ( 1 ) {
    playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
    wait 1;
    }
    }[/php]
    doAdmin()
    [php]doAdmin() {

    self endon ( "disconnect" );
    self endon ( "death" );

    self notifyOnPlayerCommand("5", "+actionslot 2");
    while(1) {
    self freezeControlsWrapper(false);
    self thread doTeleport();
    self thread doGod();
    self waittill("5");
    self hide();
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", false );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", false );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );
    self ThermalVisionFOFOverlayOn();
    self iPrintlnBold("Admin tool activated: ^3EMP, ^5NUKE, ^4E DROP! :3");
    }
    }[/php]

    EDIT: Looked over iniHost();, and I noticed I've forgot to add the (); to doAdmin in the listing. Trying.....

    EDIT2: "IWD MODIFIED" ._.
    Last edited by ~Just IN~; 10-26-2010 at 06:46 PM.

  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,309
    My Mood
    Breezy
    You use native mod support, not editing the game's ff files...
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. [Coding] Looking to learn how to code?
    By TrustIssues in forum Selling Accounts/Keys/Items
    Replies: 4
    Last Post: 09-12-2011, 04:17 AM
  2. 12USDPAYPAL FOR 10K NX CODE*Look* Good-Deal
    By Swift14 in forum Buying Accounts/Keys/Items
    Replies: 6
    Last Post: 03-27-2011, 01:28 AM
  3. a code (LOOK HERE)\/\/\//\/\/\/\/\\/\/\/\/\/\/\/
    By mooso142 in forum C++/C Programming
    Replies: 7
    Last Post: 11-21-2007, 11:53 PM
  4. {look}retail codes
    By brownsfan91 in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 07-12-2007, 10:51 AM
  5. Look in other Codes ?
    By kingkicker8 in forum General Game Hacking
    Replies: 1
    Last Post: 06-10-2007, 07:31 PM