Raised This Month: $ Target: $400
 0% 

Up plugin .amxx and virus code GameMenu.res in Cunter Strike CS 1.6 (Solved)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kitkat03
Member
Join Date: May 2015
Old 05-30-2015 , 23:55   Up plugin .amxx and virus code GameMenu.res in Cunter Strike CS 1.6 (Solved)
Reply With Quote #1

Hello everybody, i have problems:

I serch plugin add bot spectator . Uploaded file virus: 3bot.amxx
And all player Steam view this in console:
Serching not view in: /cstrike with Notepad++ and files: server.cfg and gamemenu.res

Code:
Server tried to send invalid command:"motdfile "resource/GameMenu.res"
"
Server tried to send invalid command:"motd_write "GameMenu" { "1" { "label" "NewGame" "command" "engine Connect cwserverbre.zapto.org:27015" "3" { "label" "#GameUI_GameMenu_ResumeGame" "command" "ResumeGame" "OnlyInGame" "1" } "4" { "label" "#GameUI_GameMenu_Disconnect" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "1" } "5" { "label" "#GameUI_GameMenu_PlayerList" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "9" { "label" "" "command" "" "OnlyInGame" "1" } } "11" { "label" "#GameUI_GameMenu_FindServers" "command" "engine Connect cwserverbre.zapto.org:27015" } "12" { "label" "#GameUI_GameMenu_Options" "command" "OpenOptionsDialog" } "13" { "label" "#GameUI_GameMenu_Quit" "command" "Quit" } }
"
Server tried to send invalid command:"motdfile "motd.txt"
"


2 Problem



All in this day, i have another plugin spectbot.sma and compiler to spectbot.amxx
Is good, but they only add one bot. I edited code, i don't know to add second...

Code:
Code:
/* Spect Bot v1.2

My Plugins: http://skape69ta.clan.su/load/11
My Profile: http://amxmodx.su/forum/memberlist.php?mode=viewprofile&u=455
My Skype: SKAJIbnEJIb619

Light version fakefull_original

Cvars:
Имя бота
sbot_name "Spect Bot"

Бота не смогут кикнуть/забанить админы
sbot_immunity "1"

Автоматически убирать бота, если сервер полон
sbot_auto "1"
*/

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <cstrike>

new const Plugin[] = "Spect Bot"
new const Version[] = "1.2"
new const Author[] = "SKAJIbnEJIb & Bos93"

new g_BotName, g_Immunity, g_Auto
new g_Bot

public plugin_init()
{
    register_plugin(Plugin, Version, Author)

    g_BotName = register_cvar("sbot_name","PlayerN1")
    g_Auto = register_cvar("sbot_auto","1")
    g_Immunity = register_cvar("sbot_immunity","1")

    set_task(10.0, "ServerStatus", 777, _, _, "b")
}



public createBot()
{
    new BotName[32]

    get_pcvar_string(g_BotName, BotName, charsmax(BotName))
    g_Bot = engfunc(EngFunc_CreateFakeClient, BotName)

    if (g_Bot > 0) 
    {
        dllfunc(MetaFunc_CallGameEntity, "player", g_Bot)
        set_pev(g_Bot, pev_flags, FL_FAKECLIENT)

        set_pev(g_Bot, pev_model, "")
        set_pev(g_Bot, pev_viewmodel2, "")
        set_pev(g_Bot, pev_modelindex, 0)

        set_pev(g_Bot, pev_renderfx, kRenderFxNone)
        set_pev(g_Bot, pev_rendermode, kRenderTransAlpha)
        set_pev(g_Bot, pev_renderamt, 0.0)

        set_team(g_Bot)
        if (get_pcvar_num(g_Immunity))
            set_user_flags(g_Bot, ADMIN_IMMUNITY)
    }
    else
        log_amx ("[Spect Bot] Error!")

    return PLUGIN_CONTINUE
}

public removeBot(Bot)
{
    server_cmd("kick #%d", get_user_userid(Bot))
    g_Bot = 0
}

public set_team(Bot)
{
    if (cstrike_running()) {
        cs_set_user_team(Bot, CS_TEAM_UNASSIGNED)
    }
}

public ServerStatus()
{
    if (get_pcvar_num(g_Auto)) 
    {
        if(is_user_connected(g_Bot))
        {
            if(get_playersnum(1) > (get_maxplayers() - 2)) 
                removeBot(g_Bot)
        }
        else
        {
            if(get_playersnum(1)+1 < get_maxplayers()) 
                createBot()
        }
    }
    else
    {
        if(is_user_connected(g_Bot))
            createBot()
    }

    if(is_user_connected(g_Bot))
    {
        set_team(g_Bot)

        if (get_user_team(g_Bot) > 0) {
            server_cmd("kick #%d", get_user_userid(g_Bot))
            createBot()
        }
    }
}
Thanks a lot.

Last edited by kitkat03; 05-31-2015 at 12:22.
kitkat03 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-31-2015 , 07:47   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #2

It is no longer possible to modify that client files on a Steam-client, we also do not support these kind of plugins.
__________________
Kia is offline
kitkat03
Member
Join Date: May 2015
Old 05-31-2015 , 09:57   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #3

Thank for reply, sorry for my english. I traducter now:

I downloaded a plugin with .amxx extension to upload, I have infectao my server.

I deleted the plugin. But still it infected, so that every time a player enters the server cs 1.6 the following code will appear on the console:


Code:
Server tried to send invalid command:"motdfile "resource/GameMenu.res" " Server tried to send invalid command:"motd_write "GameMenu" { "1" { "label" "NewGame" "command" "engine Connect cwserverbre.zapto.org:27015" "3" { "label" "#GameUI_GameMenu_ResumeGame" "command" "ResumeGame" "OnlyInGame" "1" } "4" { "label" "#GameUI_GameMenu_Disconnect" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "1" } "5" { "label" "#GameUI_GameMenu_PlayerList" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "9" { "label" "" "command" "" "OnlyInGame" "1" } } "11" { "label" "#GameUI_GameMenu_FindServers" "command" "engine Connect cwserverbre.zapto.org:27015" } "12" { "label" "#GameUI_GameMenu_Options" "command" "OpenOptionsDialog" } "13" { "label" "#GameUI_GameMenu_Quit" "command" "Quit" } } " Server tried to send invalid command:"motdfile "motd.txt" "

Last edited by kitkat03; 05-31-2015 at 09:58.
kitkat03 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-31-2015 , 11:03   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #4

Then you did not properly remove the plugin from your server.
Show us the output of the following commands

rcon version
rcon meta version
rcon meta list
rcon amxx version
rcon amxx plugins
rcon status
__________________

Last edited by Kia; 05-31-2015 at 11:04.
Kia is offline
kitkat03
Member
Join Date: May 2015
Old 05-31-2015 , 11:31   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #5

Is perfect, this is:

rcon version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)


rcon meta version
Metamod v1.21-am 2013-03-15 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Mar 15 2013, 150:22 -0500 (optimized)


rcon meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 2] dproto_EF RUN - dproto_i386.so v0.9.364 ini Start Never
[ 3] POD-Bot mm RUN - podbot_mm_i386.s vV3B22 ini Chlvl ANY
[ 4] Fun RUN - fun_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 5] CStrike RUN - cstrike_amxx_i38 v1.8.2 pl1 ANY ANY
[ 6] CSX RUN - csx_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl1 ANY ANY
[ 8] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl1 ANY ANY
[ 9] Engine RUN - engine_amxx_i386 v1.8.2 pl1 ANY ANY
9 plugins, 9 running


rcon amxx version
AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:55:09
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32


rcon amxx plugins
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.8.2 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running

[ 15] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.8.2 AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 21] StatsX 1.8.2 AMXX Dev Team statsx.amxx running
[ 22] xREDIRECT 1.0.3.4[Mo x0R + ~UN!CORN~ xredirect.amxx running
[ 23] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 24] Back Weapons 1.87 AlexandeRR backweapons.amx running
[ 25] Admin Chat Colors 2.0 Arion admin_chat_colo running
[ 26] AFK Bomb Transfer 0.4 VEN afkbombtransfer running
[ 27] Parachute 1.3 KRoT@L/JTP10181 parachute.amxx running
[ 28] Auto Restart vl 1.4 vato loco [GE-S] auto_restart.am running
[ 29] Ryu_GrenadeDrop 0.2 CZ*Ryu GrenadeDrop.amx running

[ 30] Knife Duel 1.0 Alka knife_duel.amxx running
[ 31] Reset Score 1.0 Silenttt resetscore.amxx running
[ 32] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 33] RockTheVote 1.8 DA rockthevote_cus running
[ 34] c4 timer 1.1 cheap_suit c4timer.amxx running
[ 35] Advanced Bullet Damage 1.0 Sn!ff3r amx_damage.amxx running
[ 36] GameMenu changer 1.3.3.7 Unknown amx_destroy.amx running
[ 37] Spect Bot 1.2 SKAJIbnEJIb & Bo spectbot.amxx running
37 plugins, 37 running






This plugin is actually , good, not virus:
[ 37] Spect Bot 1.2 SKAJIbnEJIb & Bo spectbot.amxx running





Thanks a lot.

Last edited by kitkat03; 05-31-2015 at 12:21.
kitkat03 is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 05-31-2015 , 11:42   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #6

no-steam = no support
remove dproto and your problem is fixed
__________________

Mordekay is offline
kitkat03
Member
Join Date: May 2015
Old 05-31-2015 , 11:46   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #7

Thanks for reply. I have Steam Original.
And remove dproto is possyble clean this modifcated code, game menu ?

I don`t view anywhere archive virus to remove..
kitkat03 is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 05-31-2015 , 11:56   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #8

Someone is using dproto to write files on your server. Removing dproto removes this problem.

If you have cs1.6 steam original or not is not the question. The server allows no-steam users to connect. This is not supported here.
__________________

Mordekay is offline
kitkat03
Member
Join Date: May 2015
Old 05-31-2015 , 12:17   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #9

I REALLY, AWESOME.

SOLUTION!

THANK A LOT ALLIEDMODDERS USERS.


YESTERDAY ADDED PLUGIN:

3bot.amxx
and later remove



spectbot.amxx
i supose not virus

amx_destroy.amxx
i supose not virus



and....

erase two plugin and line code plugins.ini
and virus removed....



THANKS A LOT.
kitkat03 is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 06-01-2015 , 09:40   Re: Up file 3bot.amxx and virus my server Cs 1.6
Reply With Quote #10

  • Dproto is not supported here (even if some server providers install it by default and people may ignore it) because it has the ability to open some portals for no-steam illegal clients (aliens) to join steam servers.
  • Also, it opens other portals for hackers (predators) to join your world, which is not supported too.
Quote:
Originally Posted by kitkat03 View Post
i supose not virus
You suppose ? are you using plugins without any source code ?
Code:
"I have a Bad feeling"        "spk \'barney/badfeeling\'"        "cd"    "u"
__________________
ANTICHRISTUS 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 20:18.


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