Search found 221 matches

by Omega_K2
Thu Sep 12, 2013 3:23 pm
Forum: News & Announcements
Topic: Update!!!
Replies: 4
Views: 6787

I've updated the folder layout on the wiki (note I actually made this it's own subpage in the wiki, for easier reference): http://www.sourcepython.com/showwiki.php?title=Wiki:Folder+Layout Edit: Also updated the other tutorials, it should refer to GIT repo properly (plus instructios updated), might ...
by Omega_K2
Thu Sep 12, 2013 3:04 pm
Forum: Plugin Releases
Topic: k2tools - General purpose library package [WIP] [SVN]
Replies: 9
Views: 12040

Updated for latest SP, untested though =P

Use Rev <25 for the HG Source.Python and latest for the latest GIT Source.Python.

I'll attach a zip from the SVN later when I tested some things :P
by Omega_K2
Wed Sep 11, 2013 8:56 am
Forum: General Discussion
Topic: slow developement
Replies: 9
Views: 7713

And sometimes a example would nice. And an example in a normal code box is better then nothing. This is true, however, currently it's not that easy to include examples and keep them up to date. The API is still undergoing a lot of changes, and provding examples now also means they need to be adjust...
by Omega_K2
Wed Sep 11, 2013 8:46 am
Forum: General Discussion
Topic: IRC Channel #sourcepython unregistered
Replies: 3
Views: 4643

In the meantime I actually registered the channel (#sourcepython) the way the applet uses the name too
by Omega_K2
Fri Sep 06, 2013 5:13 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

I doubt "python4" is coming anytime soon, unless they are going to change their naming scheme.
by Omega_K2
Fri Sep 06, 2013 2:29 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

The loadable sub-addons is still not going to happen :P . However, I have been planning adding a built-in system designed to help do that job for plugins. More details on that once I have gotten at least some of that coded. Satoon It's not that hard implement, but overkill if you don't want any ext...
by Omega_K2
Fri Sep 06, 2013 2:16 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

That could get ugly when multiple translators try to work for a different language at the same time, one of them will have to start over. I really, really like how SourceMod arranges their language files, specially their dev area for translators. It is genius. http://www.sourcemod.net/translator/?g...
by Omega_K2
Fri Sep 06, 2013 1:58 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

The above structure still leaves out the Python core as well as site-packages. I'm still not 100% sure where to put them and what to call them at this point. Also, I really think that custom packages should have their own section in our download manager (once we have one of those). Those packages s...
by Omega_K2
Fri Sep 06, 2013 1:53 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

@Muerte: As I said it makes sense to mirror the directory structure within, so it should not be data/myfile, especially not if you have more then one file in which the addon uses. To maintain consistency. Also the current implemenation only uses a single language file (like es, with en=,de=,whaterve...
by Omega_K2
Fri Sep 06, 2013 12:28 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

The issue of removing addons should be none if you have centralized folders you'll know where anything addon related is. Plus, for approved addon I'm sure I've read there is an es_install and es_uninsall equivalent planned, which can take care of removing/adding files for you.
by Omega_K2
Thu Sep 05, 2013 11:08 pm
Forum: Plugin Releases
Topic: [d&d 3.5][wip]
Replies: 13
Views: 14639

Find offset or signature, then call it by using that and give the appropinate parameters (I bet you can also fetch it from sourcemod gamedata files so you don't have to do the work ;) ) UTIL_TraceLine( const Vector& vecAbsStart, const Vector& vecAbsEnd, unsigned int mask, const IHandleEntity *ignore...
by Omega_K2
Thu Sep 05, 2013 10:51 pm
Forum: General Discussion
Topic: slow developement
Replies: 9
Views: 7713

I agree with open documentation, but I think it's coming a later point in development. What is wrong with the wiki in it's current state, mister-man? Obviously there is still some undocumented stuff, but it's not that much actually (and you can always look in the cpp or py files). Though I'd love to...
by Omega_K2
Thu Sep 05, 2013 10:44 pm
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

I don't think it's good to place the data in the plugin directory, the point of having centralized directories is that you don't have to search everywhere for files. Plus, if you use FTP/access priviledges for other people, you can easily give access to certain files but not the entire script, in pr...
by Omega_K2
Thu Sep 05, 2013 4:16 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

yeah, I'm finished editing :P I'm definetly for moving site-packages out of the python directory. But I'm not so sure about /packages/python because after all python isn't exactly a package, but the core distribution of python including several binaries for windows and linux. Though I'd feel better ...
by Omega_K2
Thu Sep 05, 2013 3:40 am
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 30763

I'd settle with plugins. I think it describes the nature of source-python plugins the best. Some thoughts in general: What about renaming some of the other directories and moving some contents? Eventually removing the underscores too? ie- _core to _bin, and also place the loader in there, so it cont...
by Omega_K2
Wed Sep 04, 2013 3:12 am
Forum: General Discussion
Topic: slow developement
Replies: 9
Views: 7713

Sounds like a good move to me; still I'd like to see this sooner rather then later. Any chance you'll be posting a public roadmap or a list of planned features? Or will you just use GIT for that, i.e. keep track of feedback and suggested features there.
by Omega_K2
Mon Sep 02, 2013 9:46 pm
Forum: Plugin Development Support
Topic: Showmenu Binary Slots
Replies: 3
Views: 4073

No slots is just 0
by Omega_K2
Mon Sep 02, 2013 8:42 pm
Forum: General Discussion
Topic: slow developement
Replies: 9
Views: 7713

slow developement

Any chance that it will speed up?

I'd really like to see it take off at some point, but that's not gonna happen if some of the python libraries are outdated and some things won't work on the C side (or don't exist or have bugs).
by Omega_K2
Mon Sep 02, 2013 1:37 am
Forum: Plugin Development Support
Topic: CmdManager and say commands
Replies: 8
Views: 7807

I cannot seem to reproduce this. Does this error always occur or just sometimes? Is the server Linux or Windows? Satoon It's random. Though it might be more likely to happen if you pass it to other functions a bunch of timesm. I read on the web it has something with variable going out of scope in p...
by Omega_K2
Sat Aug 31, 2013 7:45 pm
Forum: Plugin Development Support
Topic: CmdManager and say commands
Replies: 8
Views: 7807

This an odd error I've been getting too. Try replaceing
index_from_playerinfo
with
player.get_edict().get_index()

Go to advanced search