Raised This Month: $12 Target: $400
 3% 

[Deleted]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Elite Biker
Member
Join Date: Nov 2020
Location: The 13 Blessings
Old 04-03-2021 , 21:28   [Deleted]
Reply With Quote #1

[Removed] This post was removed.
__________________
*Bop*

Last edited by Elite Biker; 06-01-2021 at 09:10.
Elite Biker is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-04-2021 , 13:48   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #2

Install SRCDS using SteamCMD. It's free.

Last edited by Bacardi; 04-04-2021 at 13:48.
Bacardi is offline
Elite Biker
Member
Join Date: Nov 2020
Location: The 13 Blessings
Old 04-05-2021 , 06:58   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Install SRCDS using SteamCMD. It's free.
Yea, I know.
But i'm trying to find a plugin that supports Lan Server/Listen Server.

But thanks for the suggestion tho.
__________________
*Bop*
Elite Biker is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-05-2021 , 09:36   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #4

MM:S and SM not support listen server (server created in client game).
And you get more trouble by running addons+plugins from in-game, there are differences with srcds.exe and left4dead2.exe

What I try to tell,
next time when you have bug or problems with specific plugin blaa blaa blaa,
you should mention at first that you are running listen server and not source dedicated server.
Because there maybe not fix for that and we not need to guess how you run your LAN server.

I still suggest, use srcds.
Bacardi is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-05-2021 , 10:59   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #5

SRCDS is better, but most of plugins works in listen server (not recommended, but never find any incompatibility, unless has a hardcode check)
__________________

Last edited by Marttt; 04-05-2021 at 11:01.
Marttt is offline
dustinandband
Senior Member
Join Date: May 2015
Old 04-05-2021 , 22:15   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #6

Most plugins don't support lan / listen servers for the following reason (source):

Quote:
Supporting Listen Servers - Listen Servers are servers being hosted by a games client.
- Dedicated Servers are ALWAYS recommended over Listen servers.
- The index 0 on a Dedicated Server is the "World" entity. On Listen servers a clients index via console is also 0, which causes problems with commands used in the console.

- Executing commands from the console that expect a client to execute them will often cause errors.
- Some SourceMod functions do not support listen servers and expect the client index to be > 0. Another reason to use Dedicated Servers.
- Some features from SourceMod will also not work on Listen servers, for example SendConVarValue when I was testing.
- Simply put: Don't use Listen servers!
So most plugins you'll see stuff like

PHP Code:
public void OnPluginStart()
{
    
RegConsoleCmd("sm_testing"Command_DoSomething);
}

public 
Action Command_DoSomething(int clientint args)
{
    if (
client == 0)
    {
        
ReplyToCommand(client"[SM] in-game use only");
        return 
Plugin_Handled;
        
    }
    
    
// else do stuff

or

PHP Code:
// starting at 1, cause 0 = world entity 
for (int i 1<= MaxClientsi++)
{
    
// do something

tbh it just isn't worth the hassle of supporting listen servers either. You're talking about a casual environment that's dependent on the host's internet connection and turns off if the host decides to disconnect mid-game. I definitely would never bother with a large plugin request for a listen server.
dustinandband is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-05-2021 , 23:13   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #7

TL;DR: Dedicated > Listen
__________________
Psyk0tik is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-06-2021 , 00:13   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #8

Although, there are some workarounds that can be done to add more compatibility, just need some extra code.

Still 99% of things works and the other 1% probably you don't need or can be achieved through other ways.
__________________
Marttt is offline
Elite Biker
Member
Join Date: Nov 2020
Location: The 13 Blessings
Old 04-06-2021 , 12:35   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #9

Quote:
Originally Posted by dustinandband View Post
Most plugins don't support lan / listen servers for the following reason (source):

tbh it just isn't worth the hassle of supporting listen servers either. You're talking about a casual environment that's dependent on the host's internet connection and turns off if the host decides to disconnect mid-game. I definitely would never bother with a large plugin request for a listen server.
Okay, Thanks.

- All i wanted to know if it's possible to make a stats scanner that works in Lan/Listen Servers.

Quote:
Originally Posted by Bacardi View Post
MM:S and SM not support listen server (server created in client game).
And you get more trouble by running addons+plugins from in-game, there are differences with srcds.exe and left4dead2.exe

What I try to tell,
next time when you have bug or problems with specific plugin blaa blaa blaa,
you should mention at first that you are running listen server and not source dedicated server.
Because there maybe not fix for that and we not need to guess how you run your LAN server.

I still suggest, use srcds.
I'm just trying to test plugins to Lan/Listen Servers and see how it works that's all.
I know i need Dedicated server.

As well there is alot of plugins can support Lan/Listen Servers and of course there is alot of errors. but it can be ignored it doesn't effect any crashes if you do it right.




As well i need help how to setup mySQL in to the server. (I mean in a dedicated server)
If you have a link that explains how to do it it would be better too.
__________________
*Bop*

Last edited by Elite Biker; 04-06-2021 at 13:31.
Elite Biker is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-06-2021 , 14:58   Re: [Request] [L4D2] In-Game Player Stats
Reply With Quote #10

...I don't have dedicated server, I have used and host so called "UniServerZ", for MySQL testing.
There maybe better solutions.

*edit
It maybe have change name to "Uniform Server"

Last edited by Bacardi; 04-06-2021 at 14:59.
Bacardi is offline
Reply


Thread Tools
Display Modes

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 22:15.


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