This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Slowhack?


Post New Thread Reply   
 
Thread Tools Display Modes
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 05-24-2013 , 17:32   Re: Slowhack?
Reply With Quote #11

Quote:
Originally Posted by Jhob94 View Post
Well yes.
Or:
If you want, i copied this from my bazooka mod:
I dont want to use slowhack, so i will take your idea, or Kia's
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 05-24-2013 , 18:59   Re: Slowhack?
Reply With Quote #12

So this is ok?

PHP Code:
public settings_menu(id)  // Wenn Spieler spawnt
{
    if(
g_bAccepted[id])
        return 
PLUGIN_HANDLED
    
    
new menu menu_create("\wTo play on this server we need to change your settings.^n\yDo you agree?","settings_handler")
    
menu_additem(menu"\wYes","1",0);
    
menu_additem(menu"\rNo (You will not run fast)","2",0);
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
menu_display(idmenu0);
    return 
PLUGIN_HANDLED
}

public 
settings_handler(idmenuitem)
{
    if(
item == MENU_EXIT
        
settings_declined(id)
    
    new 
data[6], szName[64];
    new 
accesscallback;
    
menu_item_getinfo(menuitemaccessdata,charsmax(data), szName,charsmax(szName), callback);
    new 
key str_to_num(data);
    
    switch(
key)
    {
        case 
1:
        {
            
g_bAccepted[id] = true
            
            
if(is_user_connected(id) && is_user_alive(id)) // Wenn Spieler lebt
            
{
                
fm_strip_user_weapons(id// Usern ALLE Waffen nehmen
        
                
fm_give_item(id"weapon_knife")
        
                if(
cs_get_user_team(id) == CS_TEAM_T// und T ist
                
{
                    
set_task(0.1,"TStuff",id)    
                }
                else if(
cs_get_user_team(id) == CS_TEAM_CT// und CT ist
                
{
                    
set_task(0.1,"CTStuff",id)
                }
            }
        }
        case 
2:
        {
            
settings_declined(id)
        }
    }
}

public 
settings_declined(id)
{
    if(!
g_bAccepted[id])
    {
        
set_hudmessage(255255255, -0.50.506.012.00.1)
        
show_hudmessage(id"You declined to change your settings. ^nThe menu will be open again at your next spawn")
    }
}

public 
TStuff(id)
{
    
server_cmd("sv_maxspeed %i",get_pcvar_num(cvar_t_speed)) // Speedwerte setzen
    
client_cmd(id"cl_forwardspeed %i",get_pcvar_num(cvar_t_speed))
    
client_cmd(id"cl_sidespeed %i",get_pcvar_num(cvar_t_speed))
    
client_cmd(id"cl_backspeed %i",get_pcvar_num(cvar_t_speed))
}

public 
CTStuff(id)
{
    
client_cmd(id"cl_minmodels 0"// Models setzen
    
cs_set_user_model(id"antifurien")

__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-24-2013 , 19:18   Re: Slowhack?
Reply With Quote #13

Quote:
Originally Posted by Smatify View Post
server_cmd("sv_maxspeed %i",get_pcvar_num(cvar_t_speed)) // Speedwerte setzen
Remove that, it is a server cvar not client cvar
And the way you set model isnt good.
If i go in console and do: model "gign" i will have gign model
__________________
Jhob94 is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 05-24-2013 , 20:33   Re: Slowhack?
Reply With Quote #14

I think in the code is a mistake, isn't it?

Because when you spawn again the menu won't be open. Therefore the weapons won't be stript and not were settings between the teamchange.

Or am I wrong again?
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)

Last edited by Smatify; 05-24-2013 at 20:33.
Smatify is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-25-2013 , 10:28   Re: Slowhack?
Reply With Quote #15

Just use code i sent you, then you put if(cs_get_user_team(id) == CS_TEAM_CT) menuguns(id)
__________________
Jhob94 is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 05-27-2013 , 04:23   Re: Slowhack?
Reply With Quote #16

Console Variable: cl_ => it's mean client's setting then it's a slowhack!
TheDS1337 is online now
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 05-27-2013 , 04:47   AW: Re: Slowhack?
Reply With Quote #17

Quote:
Originally Posted by DeagLe.Studio View Post
Console Variable: cl_ => it's mean client's setting then it's a slowhack!
Yes but im asking the people before
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 05-27-2013 , 06:28   Re: AW: Re: Slowhack?
Reply With Quote #18

Quote:
Originally Posted by Smatify View Post
Yes but im asking the people before
But you fource slowhack -> if player disagress, he will be kick.
__________________
simanovich is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 05-27-2013 , 07:05   Re: Slowhack?
Reply With Quote #19

If you need to change some settings in order to get a gameplay as intended why you would refuse it? If you dislike the gameplay well then why are you playing on such a server?

However I dislike the current way of proceeding how everything is called 'slowhack'. You guys need to sort out between harmful and harmless changes. Alfred is also one guy who didn't got the point of modifying such stuff. It's pretty pathetic how they force the current solution.

I don't say that I like all kinds of slowhacking, I just say that sometimes it is required especially because Alfred will not add server variables that controls client vars like sv_maxupdaterate.
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015
Leon M. is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-27-2013 , 08:39   Re: Slowhack?
Reply With Quote #20

Do you know what the slowhacks did to steam users?
One time i played in one server, admin was a kid and didnt liked me, used one command and slowhacked all my keys and ruined my cz (needed to reinstall it), and some teams have noob coders that when learn use client_cmd, go hack client keys for pub them servers. Do you think that is something that users agree? And about redirect, some people force people auto redirects. Do you think that is also cool? Ofc not. Iam not 100% agree with Alfred, but i know he just did this for help users. (In steam exists more users then servers owners )
__________________
Jhob94 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode