Search found 1776 matches

by satoon101
Sat Jul 21, 2012 12:14 am
Forum: Module/Package Submissions
Topic: Auth API
Replies: 10
Views: 28099

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: 7989

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: 6336

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: 28205

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: 28099

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: 9589

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: 9589

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: 4070

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: 20103

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: 4070

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: 20103

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: 20103

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: 14963

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

Satoon
by satoon101
Wed Jul 18, 2012 5:40 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20103

Are you using the version from the download or are you using TortoiseHG? I guess that "could" be an issue with the older version, which is in the download. To get the newest version, look at this wiki page: http://www.sourcepython.com/forums/showwiki.php?title=Source_Python:Building_from_source At t...
by satoon101
Wed Jul 18, 2012 5:35 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20103

That is why I asked if you could reupload. Using the same code you have, I get an error on sp_load. The error you get really makes no sense whatsoever. If the base file (<script>/<script>.py) doesn't exist, we call FileNotFoundError, which passes silently. If the file exists, but the addon fails on ...
by satoon101
Wed Jul 18, 2012 5:00 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20103

Also, I would like it if people would not use the arguments ev or event_var for this. Instead of a dictionary class being passed, an IGameEvent instance is passed. I mean, if you wish to use it, fine, but "try" to get used to the ideas of this plugin. I typically use GameEvent anymore (since we deci...
by satoon101
Wed Jul 18, 2012 4:58 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20103

No idea... I do not get that error. Try deleting your _libs folder and reuploading the _libs directory. And again, it's from events.decorator not from events.decorators

Satoon
by satoon101
Wed Jul 18, 2012 4:53 am
Forum: Plugin Development Support
Topic: Error: _LoadedAddon has no attribute 'globals'
Replies: 21
Views: 20103

I'm not sure how that would load anyway. You have to import event from events.decorator. Also, there is no need to import anything directly from the sp module as of yet. And eventname isn't a method/property/attribute of the GameEvent class (you should use GetName() instead).

Satoon
by satoon101
Tue Jul 17, 2012 11:50 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14963

Sure, sounds good.

Satoon
by satoon101
Tue Jul 17, 2012 11:40 pm
Forum: Whatever
Topic: Help appreciated :)
Replies: 16
Views: 14963

No problem :)

That is the only extra one I have, and I was wondering who to give it to. I didn't realize you didn't have the beta yet, so glad you posted about it.

Satoon

Go to advanced search