Search found 1165 matches

by Ayuto
Sun Feb 10, 2019 10:24 pm
Forum: Plugin Requests
Topic: Command: Weapon Speed modifier
Replies: 7
Views: 730

Re: Command: Weapon Speed modifier

That looks good! I just have a few hints. First, you might want to use the OnPlayerRunCommand listener instead of hooking the function on your own. It should be a little bit faster and handles an exception in TF2. Second, this snippet could be changed as well. weapon.set_datamap_property_float( ...
by Ayuto
Sat Feb 09, 2019 12:18 pm
Forum: Development Status Updates
Topic: Development status update (January 2019)
Replies: 0
Views: 92

Development status update (January 2019)

It's time for another development status update! :smile: ⋅ Fixes: ⋅ Additions: ⋅  Added missing data for Garry's Mod. ⋅ Removals: ⋅ Changes: The full changelog can be found here: https://github.com/Source-Python-Dev-Team/Source.Python/compare/master@...
by Ayuto
Wed Feb 06, 2019 1:42 pm
Forum: Plugin Development Support
Topic: [BM:S] Jet
Replies: 5
Views: 209

Re: [BM:S] Jet

Your plugin tries to lookup data by a user ID, but the user ID does not exist in the dict has_jet. I can't tell you more without seeing the code.
by Ayuto
Tue Feb 05, 2019 5:55 pm
Forum: Plugin Development Support
Topic: [BM:S] Traceback (most recent call last):
Replies: 1
Views: 50

Re: [BM:S] Traceback (most recent call last):

Moved to a more appropriate forum. The Plugin Request forum is meant to request plugins. I have also moved all your other threads.

Regarding your problem: PluginInfo is not meant to be used (anymore). Remove that part from the plugin.
by Ayuto
Tue Feb 05, 2019 5:51 pm
Forum: General Discussion
Topic: [BM:S] ModuleNotFoundError: No module named 'geoip2'
Replies: 6
Views: 190

Re: [BM:S] ModuleNotFoundError: No module named 'geoip2'

Your plugins depends on a custom package (geoip). You need to install that package on your own.
by Ayuto
Thu Jan 31, 2019 9:17 pm
Forum: Plugin Development Support
Topic: [GMOD] CollisionGroup.DEBRIS_TRIGGER
Replies: 2
Views: 90

Re: [GMOD] CollisionGroup.DEBRIS_TRIGGER

Don't mix tabs and spaces.
by Ayuto
Sun Jan 27, 2019 11:46 am
Forum: Plugin Development Support
Topic: [CS:GO] json in the server start string
Replies: 2
Views: 154

Re: [CS:GO] json in the server start string

You can, but you won't be able to simply grab and use it, because sys.argv contains the following: [..., '-myvar', '{"key":', 'value', '}'] It's much easier to simply create a JSON file and pass the file name to the command line: ./srcds_run -game csgo -cons...
by Ayuto
Thu Jan 24, 2019 5:13 pm
Forum: General Discussion
Topic: Cannot install package zmq
Replies: 6
Views: 174

Re: Cannot install package zmq

Is your Python installation a 64 bit version? If so, pip installed the 64 bit version of zmq, but Source.Python requires it in 32 bit.
by Ayuto
Thu Jan 24, 2019 5:08 pm
Forum: General Discussion
Topic: [CS:S/CSGO/TF2] War3Source Skills Problem
Replies: 1
Views: 71

Re: [CS:S/CSGO/TF2] War3Source Skills Problem

You definitely asked on the right forum already: http://war3source.com/index.php?topic=2562.0 https://forums.alliedmods.net/showthread.php?t=313649 Source.Python has nothing to do with War3Source. It's a SourceMod plugin. Of course you are allowed to ask such questions here, but the chances are quit...
by Ayuto
Thu Jan 24, 2019 4:48 pm
Forum: General Discussion
Topic: [CS:S] WCS language & bot's race problem
Replies: 2
Views: 118

Re: [CS:S] WCS language & bot's race problem

I'm not a fan of spreading the same question over multiple forums. So, let's keep it in a single one: 1. http://warcraft-source.com/board/index.php?topic=17262.msg121881 2. http://warcraft-source.com/board/index.php?topic=17259.msg121859 By the way,I try to modify the trings.ini (addons\source-pytho...
by Ayuto
Wed Jan 23, 2019 4:23 pm
Forum: General Discussion
Topic: Cannot install package zmq
Replies: 6
Views: 174

Re: Cannot install package zmq

What's the output of pip install -t . zmq? Maybe it failed to build some of the cpython libraries.
by Ayuto
Sat Jan 19, 2019 10:31 am
Forum: Plugin Development Support
Topic: AttributeError: Attribute "on_take_damage" not found
Replies: 7
Views: 1124

Re: AttributeError: Attribute "on_take_damage" not found

Updated the data:
https://github.com/Source-Python-Dev-Te ... 93b9c03e4f

If you haven't changed the default data update settings, a restart of the server should be enough to fix the error.
by Ayuto
Sat Jan 19, 2019 10:30 am
Forum: General Discussion
Topic: Gmod Error
Replies: 2
Views: 1093

Re: Gmod Error

Should be fixed with the data update:
https://github.com/Source-Python-Dev-Te ... 93b9c03e4f
by Ayuto
Mon Jan 14, 2019 8:35 pm
Forum: Plugin Development Support
Topic: AttributeError: Attribute "on_take_damage" not found
Replies: 7
Views: 1124

Re: AttributeError: Attribute "on_take_damage" not found

Seems like we are missing the data for on_take_damage for Garry's Mod. I will add the data next weekend.
by Ayuto
Mon Jan 14, 2019 4:55 pm
Forum: Plugin Development Support
Topic: AttributeError: Attribute "on_take_damage" not found
Replies: 7
Views: 1124

Re: AttributeError: Attribute "on_take_damage" not found

Moved to the correct forum.

What's the output of sp info?.
by Ayuto
Sun Jan 13, 2019 5:46 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 1906

Re: SetTransmit on entities

You could use the effects module to draw a box around its corners.
by Ayuto
Sun Jan 13, 2019 1:46 pm
Forum: Plugin Development Support
Topic: SetTransmit on entities
Replies: 23
Views: 1906

Re: SetTransmit on entities

No progress has been made. Sorry!

clear_transmit_state() removes some flags from the edict:
https://github.com/alliedmodders/hl2sdk ... ict.h#L353
by Ayuto
Tue Jan 01, 2019 12:32 pm
Forum: Development Status Updates
Topic: Development status update (December 2018)
Replies: 0
Views: 991

Development status update (December 2018)

It's time for another development status update! :smile: ⋅ Fixes: ⋅  Fixed issue #205. ⋅ Additions: ⋅  Added entities.EventAction. ⋅  Added entities.EventActionGenerator and BaseEntity.get_output. ⋅  Added CommandInfo.reply. ⋅  Ad...

Go to advanced search