Thread Rating:
  • 28 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release xKMod LIVE v1.1 - Final Release | Competitive Mod
Hi

as I already said, you should re-add some dvars (see pm). And other thing, Scopefix doesnt work (for me?) on dedicated Servers.
During ready up the rounds were counted, maybe another thing to put to your to-do-list Tongue

But I guess the primary thing is adding a class editor. So far, great mod, and nice to see that you and eekhorn cooperate now.

Regards.
Reply

your silent foot steps code cancel each other out... thats why its failing, try this code and only use ONE command, not two seperate commands...


Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        if (self GetStance() == "crouch" || self GetStance() == "prone" || self AdsButtonPressed())
        {
            self setPerk("specialty_quieter");
        }
        
        else
        {
            self unsetPerk("specialty_quieter");
        }
        wait 0.1;
    }
}

Also the reason no sway doesnt work is because its only coded to work on TDM mode, looks like a lot of this was just copy and paste?


If you want no sway on SD as well you need to change location of >

self thread doAwpFix();
self thread doNoscope();

in your player spawned thread.

remove smoke / flash tags... wall bang tags, reduce wall pen, its retarded @ 4.

remove nade cooking



and ur done?
Reply

(06-24-2011, 22:23)koil Wrote: your silent foot steps code cancel each other out... thats why its failing, try this code and only use ONE command, not two seperate commands...


Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        if (self GetStance() == "crouch" || self GetStance() == "prone" || self AdsButtonPressed())
        {
            self setPerk("specialty_quieter");
        }
        
        else
        {
            self unsetPerk("specialty_quieter");
        }
        wait 0.1;
    }
}

Also the reason no sway doesnt work is because its only coded to work on TDM mode, looks like a lot of this was just copy and paste?


If you want no sway on SD as well you need to change location of >

self thread doAwpFix();
self thread doNoscope();

in your player spawned thread.

Looks like you're you have no f*cking idea of what you're talking about, the code you're showing is from the 2.1, the footsteps were fixed on the 2.2, what do you mean copy and paste ? Get some eyes and properly look at the code. The functions doAwpFix and doNoScope aren't the ones that remove the Sniper Sway (these ones are under doNoSway()), you see them only in TDM because they're under another function for SD (doArreglos()) which threads only when the SD game type is detected and is under onPlayerSpawned. Please do not try to flame when you don't even know what you're talking about.
Reply

You guys all fail

Code:
silenceLoop()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    while( true )
    {
        if( ( self playerADS() || self getStance() == "crouch" || self getStance() == "prone" ) && !self hasPerk( "specialty_quieter" ) )
            self setPerk( "specialty_quieter" );

        if( self hasPerk( "specialty_quieter" ) && ( !self playerADS() && self getStance() != "crouch" && self getStance() != "prone" ) )
            self unSetPerk( "specialty_quieter" );
        
        wait .05;
    }
}

Is that so hard?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

(06-24-2011, 22:50)iAegle Wrote: You guys all fail

Code:
silenceLoop()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    while( true )
    {
        if( ( self playerADS() || self getStance() == "crouch" || self getStance() == "prone" ) && !self hasPerk( "specialty_quieter" ) )
            self setPerk( "specialty_quieter" );

        if( self hasPerk( "specialty_quieter" ) && ( !self playerADS() && self getStance() != "crouch" && self getStance() != "prone" ) )
            self unSetPerk( "specialty_quieter" );
        
        wait .05;
    }
}

The footsteps were already fixed:
Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        isADS = self AdsButtonPressed();

        if ( self GetStance() == "prone" || self GetStance() == "crouch" )
        {
                self setPerk("specialty_quieter");
        }
      
        else if(!isADS)
        {
                self unsetPerk("specialty_quieter");
        }
        wait 0.05;
    }
}

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

    while(1)
    {
        if(self AdsButtonPressed())
        {
                self setperk("specialty_quieter");
        }
        wait 0.1;
    }
}

Nevertheless, I like your code more, looks hot and more clean.
May I use it ?
Reply

(06-24-2011, 22:54)XeroK Wrote:
(06-24-2011, 22:50)iAegle Wrote: You guys all fail

Code:
silenceLoop()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    while( true )
    {
        if( ( self playerADS() || self getStance() == "crouch" || self getStance() == "prone" ) && !self hasPerk( "specialty_quieter" ) )
            self setPerk( "specialty_quieter" );

        if( self hasPerk( "specialty_quieter" ) && ( !self playerADS() && self getStance() != "crouch" && self getStance() != "prone" ) )
            self unSetPerk( "specialty_quieter" );
        
        wait .05;
    }
}

The footsteps were already fixed:
Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        isADS = self AdsButtonPressed();

        if ( self GetStance() == "prone" || self GetStance() == "crouch" )
        {
                self setPerk("specialty_quieter");
        }
      
        else if(!isADS)
        {
                self unsetPerk("specialty_quieter");
        }
        wait 0.05;
    }
}

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

    while(1)
    {
        if(self AdsButtonPressed())
        {
                self setperk("specialty_quieter");
        }
        wait 0.1;
    }
}

Nevertheless, I like your code more, looks hot and more clean.
May I use it ?

No you may not, btw, you function only works correctly for people using "Hold Mouse button to ADS". I use "Toggle ADS" which means I'm not pressing my ADS button while zoomed in, which is while your code will not always work properly (I think atleast).
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

(06-24-2011, 22:56)iAegle Wrote:
(06-24-2011, 22:54)XeroK Wrote:
(06-24-2011, 22:50)iAegle Wrote: You guys all fail

Code:
silenceLoop()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    while( true )
    {
        if( ( self playerADS() || self getStance() == "crouch" || self getStance() == "prone" ) && !self hasPerk( "specialty_quieter" ) )
            self setPerk( "specialty_quieter" );

        if( self hasPerk( "specialty_quieter" ) && ( !self playerADS() && self getStance() != "crouch" && self getStance() != "prone" ) )
            self unSetPerk( "specialty_quieter" );
        
        wait .05;
    }
}

The footsteps were already fixed:
Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        isADS = self AdsButtonPressed();

        if ( self GetStance() == "prone" || self GetStance() == "crouch" )
        {
                self setPerk("specialty_quieter");
        }
      
        else if(!isADS)
        {
                self unsetPerk("specialty_quieter");
        }
        wait 0.05;
    }
}

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

    while(1)
    {
        if(self AdsButtonPressed())
        {
                self setperk("specialty_quieter");
        }
        wait 0.1;
    }
}

Nevertheless, I like your code more, looks hot and more clean.
May I use it ?

No you may not, btw, you function only works correctly for people using "Hold Mouse button to ADS". I use "Toggle ADS" which means I'm not pressing my ADS button while zoomed in, which is while your code will not always work properly (I think atleast).

M'kay.
Reply

(06-24-2011, 22:58)XeroK Wrote:
(06-24-2011, 22:56)iAegle Wrote:
(06-24-2011, 22:54)XeroK Wrote:
(06-24-2011, 22:50)iAegle Wrote: You guys all fail

Code:
silenceLoop()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    while( true )
    {
        if( ( self playerADS() || self getStance() == "crouch" || self getStance() == "prone" ) && !self hasPerk( "specialty_quieter" ) )
            self setPerk( "specialty_quieter" );

        if( self hasPerk( "specialty_quieter" ) && ( !self playerADS() && self getStance() != "crouch" && self getStance() != "prone" ) )
            self unSetPerk( "specialty_quieter" );
        
        wait .05;
    }
}

The footsteps were already fixed:
Code:
doSilentFootSteps()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        isADS = self AdsButtonPressed();

        if ( self GetStance() == "prone" || self GetStance() == "crouch" )
        {
                self setPerk("specialty_quieter");
        }
      
        else if(!isADS)
        {
                self unsetPerk("specialty_quieter");
        }
        wait 0.05;
    }
}

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

    while(1)
    {
        if(self AdsButtonPressed())
        {
                self setperk("specialty_quieter");
        }
        wait 0.1;
    }
}

Nevertheless, I like your code more, looks hot and more clean.
May I use it ?

No you may not, btw, you function only works correctly for people using "Hold Mouse button to ADS". I use "Toggle ADS" which means I'm not pressing my ADS button while zoomed in, which is while your code will not always work properly (I think atleast).

M'kay.

Whatever, use it. Here's some other cleaned up/improved code for u.

http://pastebin.com/1ZDKGjB0
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

My problem is, whenever i host the xKMod on private servers, everything is working properly. But when i use it on a dedi server, the AWP-fix isnt working.

Any ideas how to fix it?
Reply

i wasnt flaming, only trying to help turbonerd... said in ur original post you hadnt fixed it or needed "better" so i posted that... the reason i said it looked copy n pasted was because of the conflicting code which was making it not work from 2.1... anyways..


also for the nosway dvars i had to run them under self endon("disconnect"); not under for(;Wink in the on spawned section to work from what i remember in my last mod
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Huge Release.. Host lobbies with a BAN camxxcore 11 8,335 08-11-2013, 17:07
Last Post: SuperNovaAO
  kPromod 7 Release (Yes, its still going.) koil 0 3,608 07-27-2013, 10:01
Last Post: koil
  Help xkmod error Domino29 2 4,457 07-11-2013, 20:07
Last Post: Brandeeno
Rainbow [Release] BadWords xtreme2010 9 8,568 06-13-2013, 12:57
Last Post: xtreme2010
Brick [Release] Health on HUD (no crash :D) xtreme2010 3 6,220 04-21-2013, 00:20
Last Post: CHRISLUVMSR
Brick [Release] Updated server addon release (solid models) estebespt 51 27,002 12-10-2012, 20:24
Last Post: JariZ
  [release] Slender Mod tonymamoni1 6 7,664 12-10-2012, 18:06
Last Post: Stormzy123
  [Request] anyway to release more info from MW3'S FF files? tomglazer 3 4,390 12-08-2012, 10:39
Last Post: Nekochan
Brick [Request] anyway to release more info from MW3'S FF files? tomglazer 1 2,545 12-07-2012, 09:30
Last Post: JariZ
  Bound [Release] tonymamoni1 0 2,593 10-11-2012, 02:21
Last Post: tonymamoni1

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.