AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   FakeClients (https://forums.alliedmods.net/showthread.php?t=38563)

L. Duke 07-01-2005 00:58

FakeClients
 
Obsolete

Remember OLO's FakeFull for MetaMod?
Quote:

Fakefull 1.3 (downloads: 25781) is a small Metamod plugin which makes fake traffic on your server. It creates fakeclients in spectator mode (so they don't affect the gameplay) who join and leave server to keep always some number of players. Maybe it's a bit unfair but there is a lot of ppl who are only looking for full servers. With this stuff you should have your server faster filled and frequently visited.
FakeClients is FakeFull:Source for MetaMod:Source. I wrote this plugin as a favor for SoopaFlyYT at PAF and thought I'd share in case anyone else was interested.

Requires Metamod:Source 1.2 or above

Quote:

FakeClients 1.2.3
Released: 29 Jan 2006
- Added interface search
- Fixed last character of name getting cut off on Linux

FakeClients 1.2.0
Released: 5 Jan 2006
- Compiled against MM:S 1.2

FakeClients 1.1.1
Released: 21 Oct 2005
- Updated for CS:S update
- Updated for DOD:S

FakeClients 1.1.0
Released: 21 Oct 2005
- Compiled against MM:S 1.1
- Added delay after map change before bots join to allow existing players time to connect
- Rewrote CSS specific code to improve compatibility with other HL2 mods
- Added support for Plan of Attack (POA uses PlayerInfoManager interface 001 instead of 002)

FakeClients 1.0.4b
Released: 16 Jul 2005
- Added Linux version of 1.0.4

FakeClients 1.0.4
- Fixes plugin turning off and leaving fake clients on server when fakeclients_starthour/fakeclients_stophour are changed from console

FakeClients 1.0.3
- Randomizes first fake name to join server each round
- Added command fakeclients_time - Displays system time in in Coordinated Universal Time (UTC).
- Added command fakeclients_starthour and fakeclients_stophour to set FakeClients to only run at certain times of the day

FakeClients 1.0.2
- Fixed bug with bots joining/leaving server when a new player connected

FakeClients 1.0.1
Released: Jun 2005
Download from PunkAssFraggers.com

Obsolete

sniper_strike 07-01-2005 15:22

when you go to view server info it says connection time -1s can u fix that?

and player list - cpu player but i dont think u could fix that

that was when i was on PAFS server

SoopaFlyYT 07-02-2005 15:01

Yeah Duke, thasnks for making this for me.

I used Fake Full on all of my servers before Source and it does help bring people in.

I haven't had any problems with this at all. Good work on it!!

Soopa

peagle 07-02-2005 18:56

Any way to stop it spamming "xxxxx is joining the server" just for the fake people?

Thanks.

L. Duke 07-06-2005 17:32

No way to stop it, but the plugin had a bug where it kicked all bots when someone joined, then all except one would rejoin.

I posted an update (Version 1.0.2) that fixes this issue. You will have fewer "xxxx joining" messages now.

sniper_strike 07-07-2005 18:27

how can i make it so like this only runs on my server from 2am to 6am?

imported_mug 07-07-2005 20:27

<edit>

ktrain 07-08-2005 12:33

excellent job, i have been waiting for this forever

one request, can we get it to randomize the fakeclients names from the list, so its not always the first two in the list(i only use two)?

thanks, your work is greatly appreciated

hotdrop 07-09-2005 16:58

I got this crash today where it said failed loading name null. If I get it again ill post it in its entirity.

Yeah it happend again, I get a crash window box (that keeps the server from rebooting till i hit ok) and a whole bunch of faild loading name null. This only happens on map change

imported_mug 07-10-2005 01:20

No luck with my system.

Fedora Core 4
glibc-2.3.5-10
SourceMM 1.00-RC2 (Linux, glibc-2.3.4)

Metamod loads fine.

meta list says:

meta list
-Id- Name Version Author Status
[01] - - - ERROR

I know it sees the plugin because if I change the location in metaplugins.ini, it says "NOFILE".

I can provide more info, if you tell me what to look for.

maou2025 07-10-2005 05:49

i have the same one ...

maou2025 07-10-2005 06:09

i have found the problem for linux users

juste type addons/metamod/bin/fakeclients_mm

instead of addons\metamod\bin\fakeclients_mm

and it will work fine :p

imported_mug 07-10-2005 12:57

Yes, I did that. By changing that, the meta list changed from NOFILE to ERROR so I believe it is seeing the file. I checked all file permissions and everything seems correct.

What version of glibc are you using? I think that may be the incompatiblity...

maou2025 07-10-2005 16:38

the old one, the newest doesn't work (i'm talking about the metamod)

L. Duke 07-10-2005 20:27

My Linux test box (posting from it right now) has GLIBC 2.3.2 on it and the SourceMM compiled for GLIBC 2.3.3 and everything works fine on it.

For those of you with problems, try downloading the SourceMM for 2.3.3. Is the meta command working before you try to install fakeclients?

And of course, on Linux, the path/filename is different in the metaplugins.ini:
Code:

addons/metamod/bin/fakeclients_mm_i486.so

imported_mug 07-11-2005 03:20

Still no luck. SourceMM for 2.3.3 won't run on my box.

With SourceMM 2.3.4 (which seems to work fine) I try to reload the fakeclients plugin and get this error:

"libstdc++.so.5: cannot open shared object file"

My box has libstdc++.so.6 and glibc-2.3.5-10.

I tried making a simlink to fake a .so.5 to point at .so.6 but this crashes the game server when trying to load fakeclients. I didn't think that would work, but it was worth a shot.

sslice 07-11-2005 04:22

Will SourceMM plugins need to be compiled with both glibc versions, and not just the SourceMM binary?

L. Duke 07-11-2005 11:30

.

If you can't get the Linux version working and you have access to your Linux server, try compiling it yourself.



Download fakeclients_mm_make.tar.gz and unpack the files somewhere.

Start a shell prompt and go to the ....../sourcemm/sourcemm/fakeclients_mm directory.

All the required headers/files should be included in the download except the dedicated server binaries. Open the Makefile and edit the path for SRCDS to point to your source dedicated server main directory.
Code:

HL2SDK = ./hl2sdk
SMM_ROOT = ../..
SRCDS = ../../../../srcds

for example
Code:

SRCDS = /home/myname/srcds_l
Type make

Check the ....../sourcemm/sourcemm/fakeclients_mm/Release directory for fakeclients_mm_i486.so and try that file with your working SourceMM.


If it works, please PM me the file and I will add it to the downloads section of the first post.

imported_mug 07-11-2005 12:42

Thanks for the help.

I was able to compile it and didn't see any significant error messages.

meta list now shows a fakeclients status of "RUN", but no fake players are joining the server....

In the meantime, I was able to make this run on an older box I had laying around (glibc-2.3.3). I'd still like to make this work on my main machine (glibc-2.3.5-10) though.

All configuration files are the same on both servers, so I'm quite sure the problem is elsewhere.

L. Duke 07-11-2005 16:08

Do you see the fakeclients names and the number of players you set it to in the console/server logs?

What do you get if you type fakeclients_players at server console?

imported_mug 07-11-2005 17:58

Nope. There were no fakeclient names in the console.

I typed fakeclients_players in the console and it didn't show anything.

I tried compiling it again and got a much smaller output. (I had just installed gcc, etc).

Here is my compile log:

Code:

ln -sf /home/ndz/games/hlds_l-source/bin/vstdlib_i486.so vstdlib_i486.so
ln -sf /home/ndz/games/hlds_l-source/bin/tier0_i486.so tier0_i486.so
make sourcemm
make[1]: Entering directory `/home/ndz/games/hlds_l-source/cstrike/sourcemm/sourcemm/fakeclients_mm'
g++ -I. -I./hl2sdk/public -I./hl2sdk/public/dlls -I./hl2sdk/public/engine -I./hl2sdk/public/tier0 -I./hl2sdk/public/tier1 -I./hl2sdk/public/vstdlib -I./hl2sdk/tier1 -I../.. -I../../sourcehook -I../../sourcemm -O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -fPIC -Wno-deprecated Release/SamplePlugin.o Release/cvars.o Release/convar.o vstdlib_i486.so tier0_i486.so -shared -ldl -lm -oRelease/fakeclients_mm_i486.so
make[1]: Leaving directory `/home/ndz/games/hlds_l-source/cstrike/sourcemm/sourcemm/fakeclients_mm'

In any case, the plugin loads, but no fakeclients join and no feedback is shown when I type fakeclients_players in console. It seems like I'm close, but still no cigar.

imported_mug 07-11-2005 18:01

Just to recap, this is my system:

Fedora Core 4
kernel-2.6.12-1.1390_FC4
glibc-2.3.5-10

SourceMM 1.00-RC2 (Linux, glibc-2.3.4)

Maybe the problem is the glibc versions... it's supposed to be backward compatible though..

If I get time, I'll also try recompiling SourceMM I suppose. Although this currently appears to be working.

L. Duke 07-13-2005 14:37

FakeClients 1.0.3 released. Linux version will be updated tomorrow.

Quote:

FakeClients 1.0.3
Released: 13 Jul 2005
- Randomizes first fake name to join server each round
- Added command fakeclients_time - Displays system time in in Coordinated Universal Time (UTC).
- Added command fakeclients_starthour and fakeclients_stophour to set FakeClients to only run at certain times of the day

jpublic 07-14-2005 01:22

Beware, don't do as I do.

I successfully installed Metamod on my Fedora FC3 system and was able to use the meta commands. I then tried to install the fakeclients and made the necessary corrections to the pathing. However, I still received an error referring to a missing libstdc++.so.5.

I tried a symoblic link like the previous poster and also just crashed on startup.

After a few googles I tried to yum install the following:
compat-gcc
compat-gcc-c++
compat-libstdc++

Then the Counter Strike Source process would crash on startup, so I removed fakeclients but it still crashed. So I had to remove metamod as well :-(

I'm too much of a linux wimp to know why but I thought I'd share...

Too bad, I'd love to have the fakeclients to try and boost players. Please come play! lol

michel21 07-15-2005 09:53

hi !

i don't find the link ?? where i can download this plugin ??

sniper_strike 07-15-2005 10:45

Quote:

Originally Posted by michel21
hi !

i don't find the link ?? where i can download this plugin ??

on first page, first post of this thread u must be logged to these forums

imported_Kronos 07-15-2005 14:52

where do i have to copy the files from the second dl link?

imported_mug 07-18-2005 22:30

FYI:

The latest linux version (1.04b) still does not work with the following system:

Fedora Core 4
kernel-2.6.12-1.1390_FC4
glibc-2.3.5-10

SourceMM 1.00-RC2 (Linux, glibc-2.3.4)

Same error as the previous version:
Error reloading plugin: libstdc++.so.5: cannot open shared object file: No such file or directory

L.Duke- Do you have a download link for this version so we can try compiling it ourselves again? Thanks.

L. Duke 07-21-2005 16:34

Quote:

Originally Posted by mug
"libstdc++.so.5: cannot open shared object file"

My box has libstdc++.so.6 and glibc-2.3.5-10.

I think I've managed a working plugin linked using libstdcc++.so.6 Check the first post for a version linked against libstdc++.so.6 I haven't been able to test it on my machine since it has libstdc++.so.5

imported_mug 07-21-2005 23:51

It appears to be working. I will test it more later. Thanks Duke.

http://www.tall-people.co.uk/newsite...t/mtboss_1.jpg

Hotstepper13 07-23-2005 17:24

Thx m8..

i will give it a try

peagle 08-01-2005 20:06

Is there any way to not have any fakeclients join until the second round of a map, or until the map is a couple minutes in? There seems to be a slightly annoying issue where if the server changes map (in particular to a custom map people have to d/l) that all empy slots will fill up with fakeclients, and new players cannot join until the players from the previous round are all in the server thus causing the fakeclients to leave.

Hope that makes sense!

L. Duke 08-02-2005 11:35

That's a good idea.

I won't be able to look at that for a while as I'm going to be on vacation; however, I've added a "to do" list in the first post with that as the first entry.

lex_talionis 08-06-2005 10:54

Hey gang,

First post, just got this off Dukes website and I'm using his Valve Default admin skins on my server.

I can't get fakeclients to work on my Windows box. When I extracted the zip it didn't have a bin folder and didn't have an ini file. So I created them, and modified paths in config files etc. tried to get it to work, but with no success.

Has anyone gotten the windows version to work?

Thanks,
Lex

sniper_strike 08-07-2005 02:33

Quote:

Originally Posted by lex_talionis
Hey gang,

First post, just got this off Dukes website and I'm using his Valve Default admin skins on my server.

I can't get fakeclients to work on my Windows box. When I extracted the zip it didn't have a bin folder and didn't have an ini file. So I created them, and modified paths in config files etc. tried to get it to work, but with no success.

Has anyone gotten the windows version to work?

Thanks,
Lex

yes i have it works perfect

peagle 08-10-2005 11:25

Quote:

Originally Posted by L. Duke
That's a good idea.

I won't be able to look at that for a while as I'm going to be on vacation; however, I've added a "to do" list in the first post with that as the first entry.

Bitchin' thanks Duke.

nuclear 08-16-2005 15:12

Unless I'm just really blind, it seems as if the plugin cuts off the last char of every name regardless of the length.

made in china 08-20-2005 17:48

can i have a download link for this plugin..

jaydennison 08-21-2005 09:33

im also havin problems with the windows version duke, its sayin in meta list that the plugin is running, and when i list the cvars it says that only the cvar "fakeclients_version" is active.

when i type "fakeclients_players" nothing happens, the plugin and the .cfg file are in the right place according to the readme instructions, so is this a bug or have i missed something? :?

jaydennison 08-21-2005 11:48

I think i might know why now, the cvar "fakeclients_players" still doesnt work and it also doesnt say "command unknown" either, but if you play with some bots as well as fakeclients and u have set your fakeclients.cfg with the configuration of "fakeclients_players 3" then u will never see the fakeclients until u kick the bots.

Because it believes the bots are users aswell as the human players, so i had to increase my configuration to a higher number to see them.

So quite an easy fix to be honest, totally by chance tho that i stumbled across that answer tho while scripting a better bot managing plugin.


All times are GMT -4. The time now is 04:58.

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