AlliedModders
XFactor Servers

[EXTENSION] Viper


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
theY4Kman
yak
Join Date: Jun 2007
Location: Yak
Old 01-03-2010 , 05:57   [EXTENSION] Viper
Reply With Quote #1

News
(3/21/2010): Fixed client-side concommands. It seems I never actually hooked OnClientCommand. It's all better now -- at least on Windows. Still working on Linux ;)

(2/8/2010): 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.

(2/3/2010): 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.

(1/13/2010): I have almost fixed the Windows version, and it should be available for release in the near future!

(1/03/2010): 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 they4kman@gmail.com

Viper
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
Documentation is available online at http://y4kstudios.com/sourcemod/viper/docs/

Issues?
File a bug at the AlliedModders Bugzilla: https://bugs.alliedmods.net/enter_bug.cgi?product=Viper

Download!
Linux: http://y4kstudios.com/sourcemod/viper/Viper.tar.gz ( v0.8 ) ( Works for Ep1 games, such as CS:S )
Windows: http://y4kstudios.com/sourcemod/viper/Viper.zip ( v0.8.1 ) ( Works for Ep1 (CS:S), OB (mods), OBv (TF2), L4D, and L4D2. )
Source: http://github.com/theY4Kman/viper/

Installation
Just extract the archive into your game folder!



Last edited by theY4Kman; 03-22-2010 at 06:14. Reason: Version 0.8.1 released
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 01-03-2010 , 06:07   Re: [EXTENSION] Viper
Reply With Quote #2

Impressive.
__________________
Greyscale is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 01-03-2010 , 12:24   Re: [EXTENSION] Viper
Reply With Quote #3

Very cool. Your Yak is insanely large.
__________________
Nut - STEAM_0:0:682374


toazron1 is offline
Send a message via AIM to toazron1
psychonic
Join Date: May 2008
Old 01-03-2010 , 13:42   Re: [EXTENSION] Viper
Reply With Quote #4

Nice to see a released version of that. Your Yak is not insanely large enough.
__________________
HLstatsX:CE - http://hlxce.com
Free stats package supporting many HL1/HL2 games and mods - Free stats hosting offer
-----------------------------
Fistful of Frags - Fun western shooter on Source
psychonic is offline
DrGamez
Member
Join Date: Jan 2005
Location: SF Bay Area
Old 01-03-2010 , 15:45   Re: [EXTENSION] Viper
Reply With Quote #5

Dumb question: This is only for ep1 engine, so using it for writing TF2 plugins on orange box right now is a no-no, or just doesn't work; right?

I'm super excited to see this project, it's like all my dreams come true.
__________________
DrGamez is offline
Send a message via ICQ to DrGamez Send a message via AIM to DrGamez Send a message via Yahoo to DrGamez
theY4Kman
yak
Join Date: Jun 2007
Location: Yak
Old 01-03-2010 , 15:55   Re: [EXTENSION] Viper
Reply With Quote #6

Yes, that is correct, DrGamez. I apologize for having such a limited release.
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
pRED*
Join Date: Dec 2006
Old 01-03-2010 , 17:34   Re: [EXTENSION] Viper
Reply With Quote #7

My what large yak you have
pRED* is offline
Hipster
SourceMod Donor
Join Date: Jun 2009
Location: Florida
Old 01-04-2010 , 17:48   Re: [EXTENSION] Viper
Reply With Quote #8

Quote:
Originally Posted by DrGamez View Post
I'm super excited to see this project, it's like all my dreams come true.
Couldn't have said it better myself.

Are there any plans of updating the extension to work with Python 2.6.4, or maybe even Py3k?
__________________
Hipster is offline
theY4Kman
yak
Join Date: Jun 2007
Location: Yak
Old 01-04-2010 , 20:20   Re: [EXTENSION] Viper
Reply With Quote #9

Quote:
Originally Posted by Hipster View Post
Couldn't have said it better myself.

Are there any plans of updating the extension to work with Python 2.6.4, or maybe even Py3k?
Yes, eventually I plan to update to Python 2.6. In fact, I hear devicenull has already compiled against 2.6. As for Py3K, never. I think the changes made to the language make it harder to learn, and that's not what I want on Viper. Even though they did make a lot of changes to the C API that would really help me, I still feel it's a bad idea to release Viper with it. But you're welcome to compile against it
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
Downtown1
SourceMod Plugin Approver
Join Date: Mar 2004
Old 01-04-2010 , 23:03   Re: [EXTENSION] Viper
Reply With Quote #10

Very cool, shame about not using Python 3k though .

CPython has reference counted GC right? So you won't freeze the game server in the middle of a GC and lag everyone?
Downtown1 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 05:37.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies