Search found 124 matches

by your-name-here
Wed Aug 15, 2012 5:15 pm
Forum: Plugin Development Support
Topic: Distance between two points ?
Replies: 7
Views: 7811

As an FYI, there are MANY more vector operation functions we haven't wrapped yet. Once we get this implemented, it will virtually eliminate the need for a vecmath library. In addition, they will be orders of magnitude faster because a lot of the vector code uses SSE and SSE2 instruction sets in orde...
by your-name-here
Wed Aug 15, 2012 5:10 pm
Forum: Plugin Development Support
Topic: stripping a weapon?
Replies: 4
Views: 5881

Can't do that yet. There's a lot missing from SP right now because exposing and wrapping functionality is a time consuming process. I cannot stress this enough, SP is not a complete scripting plugin yet. When it is complete however, it will be extremely powerful (much more so than ES). We are consta...
by your-name-here
Mon Aug 13, 2012 3:21 pm
Forum: Plugin Development Support
Topic: Pointers needed
Replies: 7
Views: 7981

Command hooking is not implemented in the C++ core right now. It will be soon.
by your-name-here
Mon Aug 13, 2012 3:12 pm
Forum: Whatever
Topic: source python not load right
Replies: 8
Views: 9102

The issue you are reporting here is impossible. The concommands are initialized automatically when the core.dll file is loaded. If the core doesn't load, the server either errors out or crashes. Please send me your server ip and rcon password so I can investigate into this with HLSW.
by your-name-here
Mon Aug 06, 2012 3:59 pm
Forum: General Discussion
Topic: Installation of plugin = Server not starting
Replies: 7
Views: 7961

Nope, you should be able to just drop the plugin into your addons folder and it should load. I'm going to need some kind of log to help me out. Can you ask your hosting provider to add -condebug to your startup script? With this option enabled, when you launch SRCDS, it will create a console.log fil...
by your-name-here
Sun Aug 05, 2012 9:34 pm
Forum: General Discussion
Topic: Installation of plugin = Server not starting
Replies: 7
Views: 7961

Hi, I've tried to install the Source.Python plugin on my CS:GO server but after I transfer the files from the package, the server wont start. As I'm not sure what my host has installed on the server, I cannot say if python is available or not but I sent them a message to check. Have anyone else exp...
by your-name-here
Sat Aug 04, 2012 6:15 pm
Forum: Plugin Development Support
Topic: Scripting questions :/
Replies: 12
Views: 12010

What about multiprocessing to solve the GIL issue? I always wanted to use it in ES, but the module was introduced in py2.6, while ES was stuck on py2.5. I've personally never used it so I can't speak to its effectiveness. It does exist with in Source.Python however as it is compiled in the build pr...
by your-name-here
Sat Aug 04, 2012 4:23 pm
Forum: News & Announcements
Topic: New build posted!
Replies: 0
Views: 5113

New build posted!

Grab it here . Change list: ⋅ Renamed sp module to Source. ⋅ Added Shared and Cvar modules. ⋅ Exposed ICvar and ConVar interfaces. ⋅ Exposed bf_write interface (for user messages). ⋅ Added sp_engine_ver console variable. I've posted two in-depth arti...
by your-name-here
Sat Aug 04, 2012 3:51 pm
Forum: Plugin Development Support
Topic: Scripting questions :/
Replies: 12
Views: 12010

I'm in the making of a script that could iventually lag the server with effects / sql statements I've tried once before in CSS, to use Threads but apperently sql didnt like 2 statements executed on the same time, but since im pretty sure a lot of you people on here have more experience than me i wo...
by your-name-here
Fri Aug 03, 2012 12:52 am
Forum: News & Announcements
Topic: C++ developers wanted!
Replies: 0
Views: 4865

C++ developers wanted!

Source.Python is looking for developers! How would you like to put your C++ skills to use on an open source project? Does working with a team of developers to create an awesome plugin pique your interest? If so, please contact me via private message with a short description of why you are right for ...
by your-name-here
Tue Jul 24, 2012 3:37 pm
Forum: General Discussion
Topic: hi
Replies: 1
Views: 3750

hi, everyone. i just jumped into es2 today and i already love how well python works with modding source. i made a stats mod for cs:s back when the source sdk first popped up and ... it's like night and day. i'm very happy to see that i'll have something even better to use for cs:go in a month. awes...
by your-name-here
Fri Jul 20, 2012 10:21 pm
Forum: Whatever
Topic: General Python question
Replies: 2
Views: 4330

I am not sure. My guess is C++ will always be faster. Boost runs your code natively unlike a script which is run through the interpreter.
by your-name-here
Fri Jul 20, 2012 10:19 pm
Forum: General Discussion
Topic: Missing file export_shared.cpp in Rev d173c7625f36
Replies: 1
Views: 3631

Whoops, I guess I never added that file. Will check that in when I get back to my main machine.
I will add those paths to the repository too, but be aware that mercurial only adds folders that contain files, so I need to add a dont_delete.txt file to those.
by your-name-here
Fri Jul 20, 2012 10:14 pm
Forum: API Design
Topic: KeyValues
Replies: 1
Views: 4140

Omega_K2 wrote:A KeyValues parser is useful for parsing some of the valve files (and addon files that follow the same thing). Will there a be a pure python KV parser or something that wraps the Valve KV parser?

Yes, when I get to it, I will wrap IKeyValues and IFileSystem (which is required to parse keyvalues).
by your-name-here
Fri Jul 20, 2012 9:15 pm
Forum: API Design
Topic: Thinking of object orientation
Replies: 3
Views: 5630

Chrisber wrote:Oh, well. Then I totally misunderstood the idea of Source.Python. Sorry ;-)

All good :)

Yeah, it's a complete change from Eventscripts. Our goal is to maintain some similarities with ES, but we're largely going to redo python integration with Source.
by your-name-here
Fri Jul 20, 2012 5:39 pm
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 25978

...and bad at the same time. This design speaks against the - more or less - strict typing of python. It is against its nature and that makes me think about to solve this. @ynh: I know it's a lot of work, but where's the problem to parse the resource files? I've did the same in NativeTools and it w...
by your-name-here
Fri Jul 20, 2012 5:34 pm
Forum: General Discussion
Topic: Examples of script
Replies: 1
Views: 3695

Hi, Could we have more examples of script for CS:GO game ? Thanks. We plan to release a bunch of examples soon. We're still working on the core API right now so any scripts we post now would most likely break in the future. Give us some time to stabilize the core API and you'll get showered with ex...
by your-name-here
Fri Jul 20, 2012 3:07 pm
Forum: API Design
Topic: Thinking of object orientation
Replies: 3
Views: 5630

Hello everyone, I've seen that you are designing the core and the API. We all know how EventScripts worked - and of course we like it. But EventScripts was contaminated with the old EventScripts Shell language (this is not being ment negative). And now you have the chance to stop thinking of old be...
by your-name-here
Fri Jul 20, 2012 3:03 pm
Forum: API Design
Topic: Get/Set event variables
Replies: 6
Views: 8470

Well, object orientation is good. But why don't you allow a lot more intuitive design? [python]def player_connect(ev): ev["reason"] = ev["steamid"] + " left the game" # or ev.reason / ev.steamid[/python] Too much work. Implementing this means I have to parse the event file for types every time an e...
by your-name-here
Fri Jul 20, 2012 3:01 pm
Forum: API Design
Topic: Different execution contexts?
Replies: 1
Views: 3661

Hello, is Source.Python executing scripts currently in a seperated context? Or is it designed like EventScripts does this? If it's not the case, do you ever thought aber doing this? Chris Same context I think. I'm not creating separate interpreters for each script. That's too costly to deal with. W...

Go to advanced search