Added usermessages, bitbuffers, and SourcePawn native invocation. Fixed a bunch of bugs, thanks to Thraka. There's still a fair bit to complete (reading bitbuffers in hooked usermessages, byref variables in SourcePawn native invocation, and menus), but it's getting closer and closer to completion.
Also added is a testing plug-in and a Python header file output plug-in. The testing plug-in is a bunch of unit tests that help in determining some functionality (there are many untestable things). The header file output plug-in generates a bunch of Python files that contain method and class stubs for use with a Python IDE.
Fixed client-side concommands. It seems I never actually hooked OnClientCommand. It's all better now -- at least on Windows. Still working on Linux ;)
Fixed plug-in unloading when the plug-in uses multiple threads. This means you can now use the twisted library. Also, now the plugin_unload function will be called on plugin unload.
The Windows version is complete! I have written over 70 unit tests and compiled Viper for the ep1, ob, ob-valve, l4d, and l4d2 engines. GRAB IT WHILE IT'S HOT.
Unfortunately, the Linux version is still only available on Ep1.
I have almost fixed the Windows version, and it should be available for release in the near future!
Finally, Viper has limped all the way here. Don't get too excited, because most of his limbs have been torn off. All that he brought with him is a version compiled on Linux for the Episode 1 engine. So, until I can bring him to the operating room to compile the rest (and fix the Windows version), that's all you're going to get.
TL;DR: Viper is only available for Linux on the Ep1 engine for now
Feel free to send hatemail to [email protected]
Viper is a SourceMod extension that embeds the CPython interpreter, allowing you
to create plug-ins in Python. Its standard library is written completely in C++, so its performance is unrivaled.
Viper is compiled against CPython 2.5.4. A few non-standard modules have been included with Viper:
Documentation is available online at http://y4kstudios.com/sourcemod/viper/docs/
File a bug at the AlliedModders Bugzilla: https://bugs.alliedmods.net/enter_bug.cgi?product=Viper
( v0.8 ) ( Works for Ep1 games, such as CS:S )
( v0.8.5a ) ( Works for Ep1 (mods), OB (mods), OBv (TF2, CS:S), L4D, and L4D2. )
Just extract the archive into your game folder!