Search found 200 matches

by Doldol
Fri Jul 04, 2014 3:38 pm
Forum: General Discussion
Topic: SP Load
Replies: 2
Views: 3394

I believe that I read that this was intended (but I can't find the post), and that you should write your own code to be able to do this.

However SP also provides a library called "plugins" for this; more info here.
by Doldol
Wed Jun 18, 2014 9:30 pm
Forum: General Discussion
Topic: Edit forum posts
Replies: 11
Views: 9335

Yeah, works for me.
by Doldol
Tue Jun 17, 2014 7:40 pm
Forum: API Design
Topic: Popuplib
Replies: 6
Views: 8203

satoon101 wrote:It is being worked on, but there is no timetable for when it will be added.


Thanks for the heads-up!
by Doldol
Tue Jun 17, 2014 12:29 pm
Forum: API Design
Topic: Popuplib
Replies: 6
Views: 8203

+1, Supported! I'd be great if there could be an official popuplib, as it's no fun to begin scripting with a random one, only to have support dropped for it later on. I do understand however that the core team might have other priorities atm, but I think for many people this is the major missing fea...
by Doldol
Wed May 14, 2014 8:14 pm
Forum: API Design
Topic: Popups & sound libary
Replies: 17
Views: 17239

I wrote my own popup library, working very well. https://svn.german-slaughterhouse.de/svn/k2tools/trunk/addons/source-python/packages/custom/k2tools/popup/ https://www.german-slaughterhouse.de/wiki/K2Tools:Popup.manager I think they changed the API a lot again, so it may need some tweaking though t...
by Doldol
Mon May 12, 2014 9:09 pm
Forum: Plugin Development Support
Topic: Player_death break before death message?
Replies: 3
Views: 4264

For Q2, couldn't you use this?

https://developer.valvesoftware.com/wiki/Steam_Web_API
There is a pre-made Python wrapper for it here: https://github.com/smiley/steamapi
by Doldol
Mon May 12, 2014 9:00 pm
Forum: News & Announcements
Topic: Syntax Highlighting is back!!!
Replies: 11
Views: 12099

Nice!! But It'd be awesome if tabs either had a width of 4 spaces or were converted into 4 spaces, currently tabs are 8 spaces wide (at least on my browser). I know this project prefers 4 tabs, but I personally really like tabbed indentation. Hehe. Converting a tab into 4 spaces would be better in c...
by Doldol
Mon May 12, 2014 8:42 pm
Forum: API Design
Topic: Popups & sound libary
Replies: 17
Views: 17239

Is there/will there be a way of streaming audio to a player, without having them download the file in advance? (I'm not talking about an motd with an embedded music player, I'm talking about doing this through the Engine's sound system.) Also a general popup/menu library would be nice, since plugins...
by Doldol
Sun May 04, 2014 7:55 pm
Forum: Plugin Development Support
Topic: Handling unicode characters
Replies: 7
Views: 6447

If the goal is to print, wouldn't this be what he's after then?

Syntax: Select all

data = pickle.load(open('playerdict.txt','rb'), encoding="bytes")


Preserve data as bytes instead of encoding to UTF-8 first? But I'm not an expert at this.
by Doldol
Sun Apr 20, 2014 12:42 am
Forum: General Discussion
Topic: gamethread
Replies: 7
Views: 6399

I originally thought about adding this, but never did. I cannot remember why I decided not to, though. It would be very easy to add in. Also, TickDelays is a dictionary object, so it is just as logical to use the current implementation. And, if we were to add in <instance>.cancel_delay(), we would ...
by Doldol
Fri Apr 18, 2014 5:15 pm
Forum: General Discussion
Topic: gamethread
Replies: 7
Views: 6399

A suggestion:
Wouldn't this be more logical?

Code: Select all

myDelay = TickDelays.delay(delay_time, callBack)

myDelay.cancel_delay()
#Or
myDelay.cancel()
by Doldol
Thu Apr 17, 2014 8:33 pm
Forum: Plugin Development Support
Topic: Values returning 'None' for variables
Replies: 6
Views: 5853

Yes, to clarify: __new__ returns a new instance of the class, while __init__ gets called on the initialisation of said instance.
by Doldol
Tue Apr 01, 2014 8:48 pm
Forum: General Discussion
Topic: Heads up
Replies: 11
Views: 10419

Okay, I can see the similarities between your and L'In20Cible's examples and SPE, however I noticed that there are signature files included (for CSGO) in the data files. Does this mean that this'll also be provided for hooks, or is it something which is meant for internal SP use? I haven't seen any ...
by Doldol
Sun Mar 30, 2014 6:05 pm
Forum: General Discussion
Topic: Heads up
Replies: 11
Views: 10419

Ayuto wrote:Yep, it's not documented and the memory_c docs are a little bit out-dated. I will update them when I get the chance. For now take a look at the source code. :P


Okay, wonderful!
by Doldol
Sun Mar 30, 2014 3:09 pm
Forum: General Discussion
Topic: Error: sourcepython.com
Replies: 3
Views: 4634

I also have this issue (in Opera Webkit and Opera Presto).

On every page but the home and chat pages.
by Doldol
Sun Mar 30, 2014 3:05 pm
Forum: General Discussion
Topic: Heads up
Replies: 11
Views: 10419

PreHook is not documented atm, right? (Nothing from "memory" is?)

I couldn't find it on the wiki. (As I've been searching for it for a while, hehe.)
by Doldol
Sat Mar 22, 2014 2:53 am
Forum: News & Announcements
Topic: Community help
Replies: 5
Views: 7516

On the is_player_authorized method, what would the auth permission argument be?
by Doldol
Thu Apr 18, 2013 2:01 pm
Forum: General Discussion
Topic: Section Francophone .
Replies: 2
Views: 3880

To be quite honest I think splitting this community up into different languages is a bad idea. There are many times when I'm searching something on the ES forums and some search results (sometimes even the only viable ones) turn up in, for example Russian, now we could use Google Translate or simila...
by Doldol
Sun Aug 19, 2012 2:43 pm
Forum: General Discussion
Topic: sp_load problem
Replies: 11
Views: 9337

When I tried it on my my client the game just crashed.
by Doldol
Sat Aug 04, 2012 6:09 pm
Forum: Plugin Development Support
Topic: Scripting questions :/
Replies: 12
Views: 11998

What about multiprocessing to solve the GIL issue?

I always wanted to use it in ES, but the module was introduced in py2.6, while ES was stuck on py2.5.

Go to advanced search