Search found 1776 matches

by satoon101
Tue Jul 17, 2012 9:46 pm
Forum: Module/Package Submissions
Topic: Feature proposal: SP-wide logging -- the python logging module
Replies: 11
Views: 31197

Sounds good. Post either here or in the Module/Package Submissions forum when you have something working.

Thanks,
Satoon
by satoon101
Tue Jul 17, 2012 9:44 pm
Forum: Whatever
Topic: Good to see development!
Replies: 6
Views: 8113

Well, ESS will not be implemented, so those addons are completely out of the question. As far as Python-wise, changes to syntax will definitely be needed. Our API will be completely different than the ESP. So, many changes can (and will) be extensive.

Satoon
by satoon101
Tue Jul 17, 2012 3:54 am
Forum: Whatever
Topic: Good to see development!
Replies: 6
Views: 8113

Welcome, pil. I would like to add that we also hope to have some seriously well done documentation on what all is available for scripters to use. We will attempt to add as much to that as possible. However, we will also need the help of other forum members to help us keep up with all of the document...
by satoon101
Tue Jul 17, 2012 1:01 am
Forum: Module/Package Submissions
Topic: Feature proposal: SP-wide logging -- the python logging module
Replies: 11
Views: 31197

We will have to discuss this further internally at a later time. If you wish to work on an API for this on your own, and submit it, we have no issue with that. That would also help us get a better feel for whether or not it is something we would wish to implement. If we decide one way or the other i...
by satoon101
Tue Jul 17, 2012 12:15 am
Forum: API Design
Topic: Issues with __del__
Replies: 3
Views: 5868

Good point about no native method, don't know why I didn't remember that. I already figured out how to do this without using __del__, and those changes are forthcoming. I had been working on a few other things, but I will hold of on those and update this right now.

Satoon
by satoon101
Mon Jul 16, 2012 11:50 pm
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 203315

Updated main post with some more points.

Satoon
by satoon101
Mon Jul 16, 2012 1:05 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 203315

Updated main post. If anything is missing (which I am sure there is plenty missing), please feel free to mention it here.

Satoon
by satoon101
Mon Jul 16, 2012 12:41 am
Forum: General Discussion
Topic: Building from source (Linux) gives Python include error
Replies: 7
Views: 8452

He has not pushed this change yet. Wait until his next commit is pushed and you should be good to go.

Satoon
by satoon101
Mon Jul 16, 2012 12:13 am
Forum: API Design
Topic: Coding Style
Replies: 42
Views: 203315

Ok, since everyone else seems like they want this change, I'll work on updating the current version with these changes. I'll update the main post above when I get the chance. To be consistent, CamelCase will be used in the future.

Satoon
by satoon101
Sun Jul 15, 2012 10:58 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

The "name" of the event is player_say. Using @event prior to a function will cause that function to be registered for the event with the same name as it. Therefor, when using: from events.decorator import event @event def player_say(game_event): pass We are registering the "pl...
by satoon101
Sun Jul 15, 2012 9:10 pm
Forum: API Design
Topic: Issues with __del__
Replies: 3
Views: 5868

This doesn't seem as big a deal right now as you are trying to lead us to believe. If the object actually isn't removed from memory, that really isn't the fault of using __del__ to unregister for an event. If we don't call __del__, the object will still remain in memory anyway, and the event will no...
by satoon101
Sun Jul 15, 2012 9:00 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

Yeah, you register it the same way as the example i posted above.

Satoon
by satoon101
Sun Jul 15, 2012 8:04 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

Well, the addon system is still a work in progress. The error is being encountered, but no message is being sent. I'll look into why that is in a few. The error you are getting is that you are missing : at the end of your load and unload functions. Also, you might take a look again at this post: htt...
by satoon101
Sun Jul 15, 2012 7:32 pm
Forum: General Discussion
Topic: Site-packages
Replies: 1
Views: 3672

I agree, and I "hope" they finally get the "path" module updated to support Python3.3.

Satoon
by satoon101
Sun Jul 15, 2012 6:08 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

The "engines" folder houses all of the Python3.3 included modules. The "bin" folder houses the "core.dll" file. The "_libs" folder is where the API is going to be housed (currently already has addons and events base modules). The __pycache__ is a folder that Python creates when a Python module withi...
by satoon101
Sun Jul 15, 2012 6:03 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

Commands to load/unload/reload are: ⋅ sp_load <scriptname> ⋅ sp_unload <scriptname> ⋅ sp_reload <scriptname> Using sp_load without any scriptname will print out all addons that Source.Python has loaded on the server. The path to a script should be ../addons/source-pytho...
by satoon101
Sun Jul 15, 2012 5:52 pm
Forum: General Discussion
Topic: A few questions according for scripts
Replies: 19
Views: 17008

The script that imports es is broken. es is not a module within Source.Python. All of the events are definitely still available. Whenever the Engine itself calls an event, Source.Python calls the function within ../addons/source-python/sp.py called "event_fire". The API then uses this to c...
by satoon101
Sun Jul 15, 2012 4:22 pm
Forum: General Discussion
Topic: I can't seem to find installation files ? :/
Replies: 7
Views: 8784

This would have been an option when installing CMake. I'll add that to my quick tutorial.

Satoon
by satoon101
Sun Jul 15, 2012 3:31 pm
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 26156

I did not have a second client when I tested, so that is why I did not think it worked. Now that my backup account received the Beta, I can test locally with 2 clients. It still shows up in the server's console with the correct reason, but shows other clients the new one. However, this behavior is v...
by satoon101
Sun Jul 15, 2012 1:33 pm
Forum: General Discussion
Topic: I can't seem to find installation files ? :/
Replies: 7
Views: 8784

It looks like Omega has been working on a Wiki page for this, but it isn't finished yet. Here is a quick guide (with less info than the Wiki will end up having) that will hopefully get you up and going. If you have questions, feel free to ask: Install: ⋅  TortoiseHG ⋅  Microsoft ...

Go to advanced search