2013-02-26

Fixed the buffer overflow error in alServ2020

This was caused by the HP Regen plugin.
Used the same splitting trick as described earlier.

Enabled Points again & AFK Manager

Seems that I have found a workaround.
Points are enabled again.

And I have installed a AFK Manager on alServ2018 and alServ2019
Hope it works.

Points system deactivated again

Splitting the files was only half the solution.
The splitted cfg files are not read atm.
So still some work to do.

Points system activated again

Points system activated again on alServ2018 and alServ2019
I found a quick solution.
I had to split the point system cfg file in 10 parts (yeah right 10 parts).
Then the buffer overflow error disappeared.

Feedback would be nice if alServ2018 and alServ2019 are running fine so far.

Point system problems

Had to disable point system on alServ2018 and alServ2019.
It causes buffer overflows in the console.
Other plugins get not configured correctly therefore.
Working on a solution.

2013-02-24

Coop with !buy, Knife, Adverts, MOTD

alServ2018 and alServ2019 are now Coop servers with a !buy system.

Knife animation and sound should work now on all L4D2 servers (at least after the next restart I hope)

I have adjusted the advertisements on all servers. Now the same messages on all servers should be shown and only one easy the remember URL is displayed to the players. So it should be easier to find the portal page where all other information is linked (Homepage, Forum, HLstatsX, SourceBans, Left4Maps2000)

We have deployed a new MOTD page to be displayed in the game. It offers links to the portal page, the HLstatsX and the SourceBans page.

2013-02-18

Alternative to multislots plugin

The multislots plugin had problems on both L4D1 and L4D2.
On L4D1 the player sometimes spawned without even pistols.
Really crazy when you have to run around with just pills in your hand^^
I tried bebop plugin instead of multislots.
This one had other problems.
(Maybe I will add the problems here later^^: Some bots stayed in the map, "Join team" dialog on screen, ...)
I tried to improve it with using the "sappy fix" plugin.
But it did not help.
Then I tried "Bots control in coop" plugin also with "sappy fix" plugin.
This one seems to work really fine.
New players spawn right at the team, not in some rescue location.
Bot spawn and remove seems to work.
"/afk" and rejoin with just left mouse click works fine too.

So I tested it on L4D2 too (currently only on alServ2019. I hope it was 27019^^. Will have a look.)
It seems to work fine too for L4D2.
Better than the multislots plugin.
The multislots always gave on player a Magnum and another good second tier weapon.
This problem seems to be gone now with using "Bots control in coop" and "sappy fix" plugin.

2013-02-17

Updated plugin: Add Player Country to Name

I have updated the plugin "Add Player Country to Name" on all L4D1 and L4D2 servers.
With the fixed version this kind of error in the SourceMod logs should be gone now:


L 02/17/2013 - 12:12:39: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/17/2013 - 12:12:39: [SM] Displaying call stack trace for plugin "PlayerAddCountryTag - No Cities.smx":
L 02/17/2013 - 12:12:39: [SM]   [0]  Line 100, /home/groups/alliedmodders/forums/files/7/3/6/8/7/63785.attach::OnClientPostAdminCheck()


Updated "Defi in Saferoom" plugin

I have improved the "Defi in Saferoom" plugin.
Previously it only replaced a Medikit at map start (OnMapStart).
If the maps was restarted because all died no replacement was made because OnMapStart was not called.
Now it listens to "round_start" too.
Still in some custom maps the replacement does not work properly.
The debug says, that a medikit was replaced but maybe it replaced a medikit somewhere else in the map and not at the starting point.
Maybe I will have a look for some other possibility to ensure some defibs on our Realism servers.

2013-02-15

Back to 7 players on L4D1

I have enabled multislots and now 7 players can play at once.
But there is still a bug with missings pistols sometimes.

r0r Realism removed and set max players to 4

r0r Realism:

I have removed the Realism setting from alServ1013.
Some things are not working as expected.
E.g all informative strings like r0r special ammo, other r0r hints and even our own advertisements are not shown anymore.
Actually too much of the HUD is missing.
Also without defibs in L4D1 we should have some rescue possibility.
We need to test and tweak more before bringing it back online.
Until then the normal r0r Legacy is running.

Multislots on L4D1:

Because multislots are not working correctly on all L4D1 servers I have set max clients to 4.
We have to test and figure out whats wrong there.
It is seems that more than 4 could connect but only as spectators.
They were not able to join.
So this was not the intention.
We will set it back to 7 after solving the problem.
 

2013-02-12

Defibs

Since there is no rescue closet for survivors in Realism mode it can be annoying when you die early in a map.

Very often there is no defib available and you may have to watch the until the map is finished or restarted.

Some time ago I tested an "item spawning" plugin but it seems that it caused some problems (download things from server to client or so).
And it was far to powerful (to big etc) for the intended purpose.

So yesterday I did some digging again and found a nice small plugin which could help achieving my desired goal.
The plugin converts all the Medikits to Pills at the map start in Versus game mode only.
Well not exactly what I wanted so I had a look at the source code.

First I changed the game mode detection from "versus" to "realism" in plugin start.
But this did not help.
Why?
I saw an error message in the SourceMod log file:

[SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running

Hm?
It seems that the plugin was acting to early.
It hooked to "round_start".
So I searched for some "later" event here.
I came up with "OnMapStart"

Now it seems to work fine.
All Medikits were replaced by Pills at map start.

Ok. But I want to have a Defib instead of replacing Medikits with Pills.
Some some more changes are needed.
I exchanged "weapon_pain_pills_spawn" with "weapon_defibrillator_spawn"

One step closer^^
Now all Medikits were replaced by Defibs.

So the last step now.
Let the plugin exchange only one Medikit with a Defib so that the survivors will get 3 Mefikits and 1 Defib at each map start.
So I just break the loop in the plugin after one replacement.

Nice.
Seems to work.
So after some testing I may install the plugin on all Realism servers.

And remember then:
Always take a defib with you.

Tell me what you think about this modification.

Update:
Early beta version of the plugin is installed on alServ2019 now (connect 85.214.222.39:27019)

Update 2:
I did a proper coding now and have installed the plugin on all Realism servers (but not on the Survival server)

2013-02-10

Buffer overflow

We had some errors in the server console of all Realism servers during server startup.
It was something like this:

...
Cbuf_AddText: buffer overflow
Cbuf_AddText: buffer overflow
Cbuf_AddText: buffer overflow
...

This caused that some plugin configurations were not loaded correctly.
Using "sm plugins reload [pluginname]" loaded the config correctly then.

After some searching I found a solution which seems to work.

The problem was that we had to many cvars defined in the server.cfg file itself.
This caused the buffer overflow messages and prevented some plugin cvar settings to be set correctly.

The solution was simple.
Move a whole bunch of cvars from the bottom of the server.cfg to a new file server2.cfg
Add the call "exec server2.cfg" at the end of the server.cfg to execute the cvar settings now from the new server2.cfg file.

So the buffer errors were gone and the plugins cvar configuration worked fine again.

I hope this problem is solved now.

Tell me if something is still not working properly.

2013-02-08

Plugins synced

I have synced nearly all plugins to all L4D2 servers.
So the nice things like "Pipebomb shove" etc should be available on all L4D2 servers now.

Keep Laser Sights & Health regeneration

I have installed "Keep Laser Sights" on all L4D2 servers.
I have disabled the "Health Regeneration" because it did not work as expected (was installed only on alServ27019 anyway)
And alServ27016 has the Pipe/Molotov/Bile shove plugin now too.

2013-02-05

Advertisements updated

I have updated the advertisement strings shown in the games chat area.

Player progress & Survival update

The "Player Progress" graph in HLstatsX is now visible.
I had to fix some access right in linux file system to get this working.

The Survival server now has its own category in HLstatsX.
This is to prevent mixing the survival stats with the normal Realism stats.
And maybe we will have another survival server in the future so a separate category is fine then.

2013-02-03

Some maps on "alServ2020 Survival - Realism" (85.214.222.39:27020)

Resident Evil Nevada Desert v3.0
Last Stand L4D2
White Prison
-Helms Deep- Reborn
Now a name checker is running on all servers.
If you get banned (5 minutes) check SourceBans to see why.
If it is because of your name, the change your name.
You can also protest the ban if you think your name is fine.
We will check it then.