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
Search found 1776 matches
- Sat Jul 21, 2012 12:14 am
- Forum: Module/Package Submissions
- Topic: Auth API
- Replies: 10
- Views: 28234
- Sat Jul 21, 2012 12:13 am
- Forum: API Design
- Topic: Some more unload/load suggestions/changes
- Replies: 6
- Views: 7995
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...
- Sat Jul 21, 2012 12:09 am
- Forum: API Design
- Topic: Configuration files
- Replies: 4
- Views: 6341
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%...
- Sat Jul 21, 2012 12:07 am
- Forum: Module/Package Submissions
- Topic: Feature proposal: SP-wide logging -- the python logging module
- Replies: 11
- Views: 28332
- Thu Jul 19, 2012 3:57 am
- Forum: Module/Package Submissions
- Topic: Auth API
- Replies: 10
- Views: 28234
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 ...
- Thu Jul 19, 2012 3:43 am
- Forum: API Design
- Topic: Using __call__ to execute a command on server/client
- Replies: 8
- Views: 9594
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 ...
- Thu Jul 19, 2012 1:38 am
- Forum: API Design
- Topic: Using __call__ to execute a command on server/client
- Replies: 8
- Views: 9594
- Thu Jul 19, 2012 1:09 am
- Forum: General Discussion
- Topic: Load & Unload
- Replies: 2
- Views: 4074
- Thu Jul 19, 2012 1:08 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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...
- Thu Jul 19, 2012 12:06 am
- Forum: General Discussion
- Topic: Load & Unload
- Replies: 2
- Views: 4074
- Wed Jul 18, 2012 2:47 pm
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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-...
- Wed Jul 18, 2012 6:42 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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...
- Wed Jul 18, 2012 6:34 am
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14998
- Wed Jul 18, 2012 5:40 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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...
- Wed Jul 18, 2012 5:35 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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 ...
- Wed Jul 18, 2012 5:00 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
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...
- Wed Jul 18, 2012 4:58 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
- Wed Jul 18, 2012 4:53 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20117
- Tue Jul 17, 2012 11:50 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14998
- Tue Jul 17, 2012 11:40 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14998