This is an update to improve L4D, L4D2, TF2, and CS:S support. Please
try it out and let us know how it's working for you.
NEW Changes in v2.1.1.360:
New Features
* Added l4d2 build for Linux and Windows
* New EventScripts Classic engine (ESC alpha) is now the default
engine for L4D and L4D2
* Adding version resource for Windows DLLs -- you can now check the
DLL for its version instead of needing to load it
* Added support for auto-setting the IP variable to workaround the
Valve "wait" problem, set eventscripts_setipcmdline to 0 in
eventscripts_autoexec.cfg
* Added #darkgreen support for es_tell and es_msg
* weaponlib support for many, many Source games (Thanks to Satoon,
XE_ManUp, and SuperDave.)
* Added es.getCurrentEventVarString(), es.getCurrentEventVarInt(),
es.getCurrentEventVarFloat() for advanced scripts
Fixes
* All games should now have the right VDF files
* Various crash fixes
* Added support for ES scripts to set server variables like the
console would (e.g. "es" now sets them properly)
* On L4D+, changing es.regcmd() to support unregistering old
concommands before registering them if they were registered outside ES
* Removing unnecessary extra carriage return that seems to cause
periodic issues with "es" and other commands.
* Lookup*ByUserid() methods were wasting time (and sometimes crashing)
when looking for negative userids. Now they only seek if userid >= 1.
* Fixed bug with setting float to 0, so it sets it to 0.0
* Fixing problem with es.setInt() for a variable that doesn't exist.
We weren't passing the create flag. (Fix for ESC issue reported by
Chun.)
Download links and discussion for CS:S, TF2, L4D, and L4D2 can be
found via this tiny link:
http://ta.gd/es2
Thanks,
-Mattie
P.S. The EventScripts forums have recently been redesigned to make it
easier to get help for your problems. Let us know what you think.