Search found 876 matches

by Ayuto
Mon Jul 03, 2017 7:11 pm
Forum: Development Status Updates
Topic: Development status update (June 2017)
Replies: 2
Views: 129

Development status update (June 2017)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  Fixed issue #204. ⋅ Additions: ⋅  Added core.get_public_ip(). ⋅  Added server output hooks. ⋅  Added support for Garry's Mod. ⋅  Added log message when a functio...
by Ayuto
Sun Jul 02, 2017 11:50 am
Forum: Plugin Development Support
Topic: How can i print arg string
Replies: 2
Views: 61

Re: How can i print arg string

You can also just print the command: print(command)

It will print all args as a tuple.
by Ayuto
Sat Jul 01, 2017 11:31 am
Forum: Plugin Development Support
Topic: menus in CSGO
Replies: 11
Views: 158

Re: menus in CSGO

The server and engine binary would be a good place to start. I posted the second link, because you said you want to create a wiki.
by Ayuto
Sat Jul 01, 2017 11:21 am
Forum: Plugin Development Support
Topic: How to refresh auth's in game
Replies: 4
Views: 92

Re: How to refresh auth's in game

Actually, there is no need to switch the backend. Assuming your active backend is flatfile and you want to reload it, you just need to set it again.

Code: Select all

sp auth backend set flatfile

We might want to add more messages to that process. :grin:
by Ayuto
Sat Jul 01, 2017 8:00 am
Forum: Plugin Development Support
Topic: menus in CSGO
Replies: 11
Views: 158

Re: menus in CSGO

The following zip file contains two *.proto files. Those contain the structure of the user messages and net messages: http://media.steampowered.com/apps/csgo/dev/csgo_usermessages.zip This is only the initial version. Several new user messages have been added since then. Those need to be ripped out ...
by Ayuto
Fri Jun 30, 2017 3:03 pm
Forum: Plugin Development Support
Topic: menus in CSGO
Replies: 11
Views: 158

Re: menus in CSGO

No, there isn't, but SP implements only two menu types: radio and esc (escape). So, you can quickly test it. Beside those two you can also create menus using a MOTD. iPlayer created a cool library for that. If you want to ask for user input you can also try out messages.dialog. I don't know if those...
by Ayuto
Fri Jun 30, 2017 11:39 am
Forum: Plugin Development Support
Topic: Client Command ?
Replies: 3
Views: 91

Re: Client Command ?

You might also want to take a look at typed commands:
http://wiki.sourcepython.com/developing ... mands.html
by Ayuto
Fri Jun 30, 2017 6:03 am
Forum: Development Status Updates
Topic: Development status update (May 2017)
Replies: 4
Views: 187

Re: Development status update (May 2017)

Thank necavi. He brought it back. :smile:
by Ayuto
Thu Jun 29, 2017 7:53 am
Forum: Development Status Updates
Topic: Development status update (May 2017)
Replies: 4
Views: 187

Re: Development status update (May 2017)

Yes, unfortunately it's currently down. I have already contacted necavi. He's the one who administrates that server.

I will setup a temporary solution today.
by Ayuto
Mon Jun 26, 2017 8:52 pm
Forum: General Discussion
Topic: Installation process
Replies: 3
Views: 79

Re: Installation process

I will update our wiki soon. For the meantime here are the commands to run (Debian/Ubuntu): ImportError: libz.so.1: cannot open shared object file: No such file or directory 32bit: apt-get install zlib1g 64bit: apt-get install zlib1g:i386 (or lib32z1) ImportError: libffi.so.6: cannot open shared obj...
by Ayuto
Fri Jun 23, 2017 4:35 pm
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 484

Re: Python 3.6 support?

Actually, I have taken the source from the 3.6.1 release and not from the repository. Our build server also suffers from this problem. I hope necavi has some time to install the library very soon.
by Ayuto
Wed Jun 21, 2017 2:54 am
Forum: General Discussion
Topic: Python 3.6 support?
Replies: 13
Views: 484

Re: Python 3.6 support?

Our build server has the same issue. Note that you need to install the 32bit version.
by Ayuto
Mon Jun 19, 2017 6:39 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1051

Re: Dissolver v1.2

It depends on how the value of the inthandle is retrieved (int or unsigned int).

What's the output of print(inthandle) in the erroneous situation?
by Ayuto
Sat Jun 17, 2017 10:25 am
Forum: Plugin Development Support
Topic: [CSGO] Ammo problem
Replies: 8
Views: 229

Re: [CSGO] Ammo problem

Works fine for me. Could you please post tested code (copy and pastable) that reproduces this issue?

Edit:
Please also post the output of "sp info".
by Ayuto
Tue Jun 13, 2017 3:03 pm
Forum: Plugin Development Support
Topic: A problem with "set_prop_int"
Replies: 2
Views: 105

Re: A problem with "set_prop_int"

set_prop_int doesn't exist. It's called set_property_int.
by Ayuto
Mon Jun 12, 2017 6:32 pm
Forum: Plugin Development Support
Topic: Enums use
Replies: 1
Views: 82

Re: Enums use

You could use something like this: from enum import Enum class ColorSizes(tuple, Enum): SMALL = ('Small', '_small') BIG = ('Big', '_big') print(ColorSizes.SMALL) print(ColorSizes.SMALL.value) Output: ColorSizes.SMALL ('Small', '...
by Ayuto
Sat Jun 03, 2017 4:07 pm
Forum: Plugin Development Support
Topic: KeyValues 'Default' changes to 'default' in .as_dict()
Replies: 4
Views: 130

Re: KeyValues 'Default' changes to 'default' in .as_dict()

Why do you think I changed it? I just copied the code.

Though, using CS:GO I'm able to reproduce the issue.
by Ayuto
Sat Jun 03, 2017 3:00 pm
Forum: Plugin Development Support
Topic: KeyValues 'Default' changes to 'default' in .as_dict()
Replies: 4
Views: 130

Re: KeyValues 'Default' changes to 'default' in .as_dict()

Works fine for me. {'Default': {'Test 2 2': {'Test': 'test'}}, 'Test 1': {'Test 1 1': {'Test': 'test'}}} sp info Date : 2017-06-03 14:59:39.906326 OS : Windows-7-6.1.7601-SP1 Game : css SP version : unversioned Server plugins: 00: Source.Python, (C) 2012-2016, Source.Python Team. SP plugins: 00: tes...
by Ayuto
Thu Jun 01, 2017 7:58 pm
Forum: Development Status Updates
Topic: Development status update (May 2017)
Replies: 4
Views: 187

Development status update (May 2017)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  Fixed bug that did not properly create some weapons in CS:GO. ⋅ Additions: ⋅  Added setter for Player.active_weapon. ⋅  Added Player.is_bot(). ⋅  Added supported for recur...
by Ayuto
Tue May 30, 2017 7:33 pm
Forum: General Discussion
Topic: [CSGO] Crash in run_command since update
Replies: 12
Views: 462

Re: [CSGO] Crash in run_command since update

I just updated the data. Sorry for the delay.
https://github.com/Source-Python-Dev-Te ... 81e9fcbf28

Go to advanced search