Search found 1803 matches

by satoon101
Mon Jul 30, 2012 4:05 am
Forum: General Discussion
Topic: Load problem
Replies: 2
Views: 8382

This plugin is not designed to work on CS:S servers, only for CS:GO. Eventually, we plan on supporting more games, but for the time being, it's just for CS:GO.

Satoon
by satoon101
Sun Jul 22, 2012 4:34 pm
Forum: General Discussion
Topic: Omission in latest update
Replies: 0
Views: 15313

Omission in latest update

Sorry, I forgot to document one change in the latest update. I updated the class name for the event decorator to "Event" (used to be "event"). If you have any scripts using this functionality, please make this change.

Satoon
by satoon101
Sun Jul 22, 2012 2:43 am
Forum: API Design
Topic: Some more unload/load suggestions/changes
Replies: 6
Views: 21302

I'm still thinking of how best to let the server know which Auth provider is being used, but that will partly depend on the final build of the Auth API. I don't think, at this point, that I want them to be "scripts". They should be within the Auth API, somewhere. I just am not sure how to load the o...
by satoon101
Sun Jul 22, 2012 2:37 am
Forum: API Design
Topic: Using __call__ to execute a command on server/client
Replies: 8
Views: 27412

For your given example, this does not sound like a good idea to me at all. We would have to store all available commands for each type within Source.Python itself. This is definitely something we are not willing to do. Player functionality, like that of playerlib, is something that has not even gott...
by satoon101
Sat Jul 21, 2012 1:01 am
Forum: API Design
Topic: Some more unload/load suggestions/changes
Replies: 6
Views: 21302

That is a good idea for the error, I'll look to adding that when I get the chance.

Thank you,
Satoon
by satoon101
Sat Jul 21, 2012 12:54 am
Forum: API Design
Topic: Configuration files
Replies: 4
Views: 14832

More than likely it will be added at some point. You don't need configobj to parse config files, though... cfglib only uses it for AddonINI implementation.

Satoon
by satoon101
Sat Jul 21, 2012 12:18 am
Forum: API Design
Topic: Event system discussion
Replies: 22
Views: 94665

Pretty sure explicitly getting a variable by using the correct method to get its correct type isn't against the nature of Python. This, in all honesty, is not up for discussion. It seems very code-lazy to me to expect to be able to use a dictionary type object to return the correct value. Simply use...
by satoon101
Sat Jul 21, 2012 12:14 am
Forum: Module/Package Submissions
Topic: Auth API
Replies: 10
Views: 399270

As with the logging, I will take a look at this when I actually get the chance. I would love to hear other opinions, though, so everyone feel free to post your thoughts.

Thank you,
Satoon
by satoon101
Sat Jul 21, 2012 12:13 am
Forum: API Design
Topic: Some more unload/load suggestions/changes
Replies: 6
Views: 21302

Correct, I have designed the load/unload section so that if a script wants to load its own subscript, it will need its own API to do so. This is the correct way to handle this, imo. I have noticed that import error issue, as well, since I can no longer use test as an addon. I'm not sure if we even p...
by satoon101
Sat Jul 21, 2012 12:09 am
Forum: API Design
Topic: Configuration files
Replies: 4
Views: 14832

It will be a module that will utilize some of the same functionality of cfglib. If you look at GunGame51's cfg structure, you will likely see many of those design concepts integrated as well: http://code.google.com/p/gungame51/source/browse/#svn%2Ftrunk%2Fcstrike%2Faddons%2Feventscripts%2Fgungame51%...
by satoon101
Sat Jul 21, 2012 12:07 am
Forum: Module/Package Submissions
Topic: Feature proposal: SP-wide logging -- the python logging module
Replies: 11
Views: 425357

I have not really had too much time, and I am also preparing for a week long trip I leave for on Monday. Once I do get the chance, I will let you know what I think.

Satoon
by satoon101
Thu Jul 19, 2012 3:57 am
Forum: Module/Package Submissions
Topic: Auth API
Replies: 10
Views: 399270

I'm up for you writing this API as well. I definitely want "one" overall system that encompasses everything and is easy to use on both ends. Give it a go, and show us what you can come up with :) . I do not have time right now to read over all your points, so I'll save any specific reply for when I ...
by satoon101
Thu Jul 19, 2012 3:43 am
Forum: API Design
Topic: Using __call__ to execute a command on server/client
Replies: 8
Views: 27412

Yup, they will be, just like the Event registering/unregistering. I'm actually working on the API for this already, but won't commit anything until we have actual functionality to go with it. I will also need an Auth API to go with this as well, but if it is not ready by the time this is able to be ...
by satoon101
Thu Jul 19, 2012 1:38 am
Forum: API Design
Topic: Using __call__ to execute a command on server/client
Replies: 8
Views: 27412

We do not want to clutter up the sp.py, so more than likely "nothing" will need directly imported from sp itself. Once we get more of this functionality wrapped, we'll look into setting up the Python API for it. We are still in discussions about this, but it could also use a decorator, whi...
by satoon101
Thu Jul 19, 2012 1:09 am
Forum: General Discussion
Topic: Load & Unload
Replies: 2
Views: 10078

This "should" be fixed in the newest build. Let me know if you find otherwise.

Thanks again for reporting this bug.

Satoon
by satoon101
Thu Jul 19, 2012 1:08 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 61592

I actually encountered this error when trying to fix this issue: http://www.sourcepython.com/forums/showthread.php?43-Load-amp-Unload Though, it required that the error occurred in load and then I reload the addon. You might try the new build (just update the addons folder) and see if you still enco...
by satoon101
Thu Jul 19, 2012 12:06 am
Forum: General Discussion
Topic: Load & Unload
Replies: 2
Views: 10078

I'll look into that. Thanks.

Satoon
by satoon101
Wed Jul 18, 2012 2:47 pm
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 61592

I honestly cannot replicate this issue. I have no idea why that is happening on your server. It does not make any sense... I get this error when using the wrong import name: sp_load newtest [SP] Loading "newtest"... [SP] caught an exception: Traceback (most recent call last): File "..\addons\source-...
by satoon101
Wed Jul 18, 2012 6:42 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 61592

Just updated mine, too. There was a crash that was occurring for some people, and the update for that included adding in 2 more files: http://code.google.com/p/source-python/source/detail?r=f7e51298b09e0073c075d36b2ff8407401ca7ab6 Copy those files from your source, and upload them to the same direct...
by satoon101
Wed Jul 18, 2012 6:34 am
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 55117

Meh, no big deal. The open beta will probably happen fairly soon anyway so all will have it!!

Satoon

Go to advanced search