Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dustin

Pages: [1] 2 3 4
1
General / Dmg Bonus System
« on: January 03, 2020, 02:04:56 pm »
Does anyone know how the damage bonus system works for some Asian hard coop servers (e.g. this) ? Looking for which actions get rewarded (like skeeting a hunter, cutting a smoker's tongue, or leveling a charger) and amount of dmg bonus for each action. Also how quickly it's suppose to wear off.

Figuring asking here would be more convenient than making up some custom values, since it would take more time to test which values need to be nerf'd / buffered.

2
On the empty server list it would be neat if there was a drop down menu so players can specify a server group (sir please, luckylock, etc.).
Edit: maybe region too

3
Servers & Adminning / Re: #L4D2 need help for skill_detect compile
« on: September 27, 2019, 10:50:22 pm »
_: has the same meaning as "view_as<int>".

Need to get rid of the type cast for the enum declarations and replace every enum name with
Code: [Select]
view_as<int>(ENUM_NAME_HERE) or
Code: [Select]
_:ENUM_NAME_HERE
e.g. one on the right will compile just fine
https://www.diffchecker.com/wGjv9Ixy
https://pastebin.com/Qq3HdzNn

Could also try this but it wasn't working when i tried it
https://youtu.be/wsZfZrNrh4A?t=522

4
Left 4 Dead 3 / Re: B4B and L4D3 rumor train
« on: September 17, 2019, 12:33:53 am »
I hope Back 4 Blood will allow for community made content and mods as that alone increases the games replay value. It's safe to say that none of us would still be playing Left 4 Dead 2 if we didn't have Sourcemod and our configs.

That's so true. Do any modern games these days offer even half as many modding capabilities as source-based games?

We have sourcemod plugins, extensions for exposing certain events to plugins, custom maps, modeling, and other capabilities. Not to mention the valve developer wiki. I really hope Back 4 Blood offers SOMETHING in terms of modding capabilities.

5
great job NF, the only thing else that's needed is a "fun" config xD

and thus Battle Royal Mod was born

6
Left 4 Dead 2 / Re: Lets talk about glows!
« on: June 12, 2018, 02:39:10 am »
Kind of off-topic, But is addon-blocker like have to be enforced on a server always? or could it be like config based, with a competitive and non-comp split?

To be honest, the most active part of the game right now is just pugs, and it would be nice to just use some HUD's and Skyboxes, I really miss them.

Yes, with Left4Downtown 0.5.7 or newer you can use the "l4d2_addons_eclipse" cvar to toggle the enabling or disabling of addons - then need to reload the map. Nivy had his servers (and mine, under 'dustin's confogl') configured to ask users if they wanted to enable addons within the !match vote before the map was reloaded. Think sir originally came up with that.

7
Servers & Adminning / Re: Server/Client file consistency
« on: June 08, 2018, 02:11:23 pm »
I think this may have been patched by valve last year when some russian servers were forcing players to download .vpk that was rebinding their keys. lol

That was taken just yesterday and as you see at the end of the video, the vpk files where added into the addons folder. From 0:39 - 1:15 it looks like the files are being DL'ed from an external website.

8
Servers & Adminning / Re: Server/Client file consistency
« on: June 07, 2018, 11:14:23 pm »
For the record, some servers are able to force clients to download addon files. I thought custom file downloads where disabled in L4D2 but then I remembered joining a !build server linked to the Sourcemod Steam group, which still works to this day:
https://youtu.be/eWrRiMiQWzE

Best place to ask about this wis Alliedmodders. If you do find out how to do this please repost your findings here, as I'm curious as well.

Also personally I think a lot of people wouldn't like this, but if you cater to a casual community people probably wouldn't care. Like those Counter-Strike Source servers that have a lot of custom sounds and map files you have to DL to join. If someone wanted to do something mischievous they could probably do something like force a client to DL an addon which forces the sv_consistency, then later they join a SMAC protected server and get banned and not know why (tested this myself and it worked), which is partly why people don't want custom crap downloaded to their game.

9
Servers & Adminning / Re: Server sound problem
« on: April 23, 2018, 08:21:57 am »
I ran into the same sound issue a while back when using SMAC Anti-wallhack, though someone claims  the issue was fixed  (see post #13 https://forums.alliedmods.net/showthread.php?t=181642 ). Try disabling that plugin.

10
Left 4 Dead 2 / Re: Empty Server Auto Restart
« on: April 05, 2018, 01:42:31 am »
Modified the automated restart script for users who have multiple L4D2 servers on the same machine (can be any amount of servers).

Also someone cleaned up the code quite a bit from that alliedmodders post so I'd suggest just using that version of the plugin and not setting those cvars permanently.

auto-restart.sh
Code: [Select]
#!/bin/bash

#    ###############################
#    ##     ~About / How to use this~ #
#    ###############################
#
#    auto-restart.sh
#
#    This script is intended to be launched by a cronjob task every minute
#    to check for any offline L4D2 servers. The cronjob would look like this:
#        * * * * * /path/to/auto-restart.sh
#
#    (this script assumes every server has it's own startup script)
#
#    However many servers you put as "NUM_SERVERS" should also be equal to
#    the amount of screen names and start paths. Keep the naming consistant.
#
#    Example of single L4D2 server on a machine:
#
#        NUM_SERVERS=1
#        server1=screen_name
#        start_svr1=/path/to/start.sh
#
#    Example of 3 L4D2 servers on a single machine:
#
#        NUM_SERVERS=3
#
#        server1=screen_name
#        server2=screen_name
#        server3=screen_name
#
#        start_svr1=/path/to/start.sh
#        start_svr2=/path/to/start.sh
#        start_svr3=/path/to/start.sh
#
#
#    This script basically just loops through the amount of "NUM_SERVERS"
#    and changes certain numbers after each loop (e.g. start_svr2 on second loop,
#    start_svr3 on third loop). Obviously the screen names should all be unique
#    for each server.

#    You can add as many servers as you like. HOWEVER, keep the name the same
#    BEFORE the equal sign. e.g. server1, server2, server3. & start_svr1, start_svr2,
#    start_svr3.
#

#############################
# Customization starts HERE #
#############################

# How many L4D2 servers on your machine?
NUM_SERVERS=2

###########################################
# Edit your L4D2 server screen names HERE #
###########################################
#note: DON'T edit before the equal sign

server1=screen_name_here
server2=screen_name_here

#server3=  #screen name for server 3
#server4=  #screen name for server 4
#etc..

####################################
# Edit path to launch scripts HERE #
####################################
#note: DON'T edit before the equal sign

start_svr1=/path/to/start.sh
start_svr2=/path/to/start.sh

#start_svr3= #/path/to/start.sh for server 3
#start_svr4= #/path/to/start.sh for server 4
#etc..

###############################
# Customization ends HERE     #
###############################

# Don't edit this part:

i=1;
while [[ i -le ${NUM_SERVERS} ]] ;
do


var="server$i"
var2="start_svr$i"

echo ""
echo "--------------------------------"
echo ""
echo "Initiating check on server #${i}"
echo ""
sleep 1s

alive=`ps ux | grep "${!var}" | wc -l | awk '{ print $1 }'`
 
if [ $alive -lt 2 ]; then
        echo "Check #1: l4d2 server offline."
        sleep 3s
       
        alive2=`ps ux | grep "${!var}" | wc -l | awk '{ print $1 }'`
        if [ $alive2 -lt 2 ]; then
            echo "Check #2: l4d2 server still offline."
            sleep 3s
           
            alive3=`ps ux | grep "${!var}" | wc -l | awk '{ print $1 }'`
            if [ $alive3 -lt 2 ]; then
                echo "Check #3: Starting l4d2 server..."
                sleep 3s
                ${!var2}
            else
                echo "Third Check: L4D2 server already active. Terminating.."
                sleep 3s
            fi
        else
            echo "Second Check: L4D2 server already active. Terminating.."
            sleep 3s
        fi
   
else
    echo "First Check: L4D2 server already active. Terminating.."
    sleep 3s
fi

i=$((i+1));

echo ""
done

exit 

11
Left 4 Dead 2 / Re: Empty Server Auto Restart
« on: March 31, 2018, 07:34:07 pm »
Ok well this is the original plugin I use:
https://pastebin.com/WhEFna2p

But it requires these cvars be set in the server.cfg (so the server doesn't automatically change maps when all players DC):
Code: [Select]
// idle settings
sm_cvar director_afk_timeout 999999999999
sm_cvar mp_allowspectators 1
sm_cvar allow_all_bot_survivor_team 1
sm_cvar mp_autokick 0

If you don't want to set those cvars permamently in your server.cfg you could probably use this:
https://forums.alliedmods.net/showthread.php?t=306494
It's kind of hacky tho (every time a player DC's, it sets the AFK cvars briefly then sets them back if there's still human players on the server) but at least you won’t have to wait for the bots to die before the round ends.




Both of those plugins stop the screen / game session entirely. In linux you'd need to set up a cronjob to auto-reboot the server back up:

auto-restart.sh (l4d2 screen session name: 'left4dead2_server' )
Code: [Select]
#!/bin/bash

alive=`ps ux | grep 'left4dead2_server' | wc -l | awk '{ print $1 }'`

if [ $alive -lt 2 ]; then
        echo "First Check: l4d2 server offline."
        sleep 3s

alive2=`ps ux | grep 'left4dead2_server' | wc -l | awk '{ print $1 }'`
if [ $alive2 -lt 2 ]; then
echo "Second Check: l4d2 server still offline."
sleep 3s

alive3=`ps ux | grep 'left4dead2_server' | wc -l | awk '{ print $1 }'`
if [ $alive3 -lt 2 ]; then
echo "Third Check: Starting l4d2 server..."
sleep 2s
/root/start.sh
else
echo "Third Check: L4D2 server already active. Terminating.."
sleep 3s
fi
else
echo "Second Check: L4D2 server already active. Terminating.."
sleep 3s
fi

else
echo "First Check: L4D2 server already active. Terminating.."
sleep 3s
fi

Cronjob (crontab -e)
Code: [Select]
# Automatically reboot the server if it goes down
* * * * * ( sleep 10 ; /root/auto-restart.sh)


I never worked with windows servers before so I'm not sure if there's a way to automatically reboot the server every so often.

edit: modified auto-restart.sh to include some additional checks before launching the server.
edit2: Second link (got someone to clean up the code quite a bit and posted it to alliedmodders)

12
Left 4 Dead 2 / Re: Empty Server Auto Restart
« on: March 29, 2018, 10:49:27 pm »
I have a plugin that does this but it's kinda hacky - as in it needs some afk cvars set in the server.cfg so that the server can remain idle when all players leave the game. Also needs a cron job script to reboot the server (not sure if you're on linux or windows).

Sir probably has a more optimized server restarter plugin if you wanna ask him.

13
Hackers & Cheaters / Re: Multihack Whisperer Danne/salty
« on: May 19, 2017, 11:06:21 pm »
On a related note it would be extremely useful if someone in the community made a plugin which forces a client's m_hObserverTarget to 0. That way anyone using a cheat tool can't use the "spectate" feature which shows if anyone's spectating your screen (as well as who's spectating others).

14
Servers & Adminning / Re: Good VPS hosts outside of US locations
« on: May 08, 2017, 11:42:09 am »
Hmm been out of touch with promod but I've spectated some games on Japanese promod servers with stable ping. Maybe someone can put me in touch with one of the admins or ask them who they rent from. Would have a hard time believing they use  dedicated servers for a few instances of L4D2.

15
Servers & Adminning / Good VPS hosts outside of US locations
« on: May 08, 2017, 01:02:05 am »
Anyone know of any good server rental companies where hosts don't overload their servers and ping won't fluctuate?

Every company I've tried had bad ping fluctuations. I'm looking to purchase a VPS instead of a gameserver because we need the flexibility of a VPS to run our cron job scripts for our server config (server quits upon all players DC'ing + autoreboots, another one automatically checks workshop map collection for updates every 12 hrs).

There are the locations I am looking for:
  • Singapore
  • China
  • Hong Kong
  • Japan
or some location near those 4

Japan would be the most preferable our of the 4.
Edit: Though if anyone has suggestions for companies operating outside of these regions feel free to share - may eventually want to host in additional locations.

Any suggestions greatly appreciated. Thanks in advance!

Pages: [1] 2 3 4
A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.