Search found 1413 matches
- Sun Jan 31, 2021 4:53 pm
- Forum: Plugin Development Support
- Topic: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
- Replies: 7
- Views: 4884
Re: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
The other keys are already accessible using the WeaponClass instance directly. But I noticed we didn't do that for the cost and item_definition_index, so I just added those attributes as well: https://github.com/Source-Python-Dev-Team/Source.Python/commit/970c8b554469e8a026b418f410f83ba60465c4df Aft...
- Sat Jan 30, 2021 10:38 am
- Forum: Plugin Releases
- Topic: [CS:S/CSGO] Zombie
- Replies: 21
- Views: 33799
Re: [Cs:s] Zombie
Hey, I saw you are instantiating the Player class quite often, but you are not reusing it. This is not how you are supposed to use classes in Python. So, I would like to give you a little hint. The good thing is that SP is caching the player classes, so misusing the Player class doesn't result in a ...
- Sat Jan 30, 2021 10:04 am
- Forum: Plugin Requests
- Topic: [REQUEST]Hide Radar
- Replies: 21
- Views: 14728
Re: Hide Radar (toggleable)
Alternativley, you could also add pages to your popup to make it a little bit smaller.
- Sat Jan 30, 2021 10:02 am
- Forum: Development Status Updates
- Topic: Development status update (January 2021)
- Replies: 0
- Views: 13643
Development status update (January 2021)
It's time for another development status update! ⋅ Fixes: ⋅ Fixed some issues with weapon restrictions on games other than CS:S/CS:GO. ⋅ Fixed issue #315. ⋅ Additions: ⋅ Added CEnvProjectedTexture data. ⋅ Added KeyValues.load_from_buffe...
- Tue Jan 26, 2021 3:20 pm
- Forum: Plugin Releases
- Topic: [ANY] Weapon Zoom
- Replies: 27
- Views: 35266
Re: [ANY] Weapon Zoom
That looks great!! I would like to have one as well! :D
- Fri Jan 22, 2021 6:53 am
- Forum: Plugin Releases
- Topic: [ANY] Weapon Zoom
- Replies: 27
- Views: 35266
Re: [ANY] Weapon Zoom
No you are right you can use zoom for any weapon you want, that's why I linked to the buttons. I need to look into this on the weekend. Not sure if you can set buttons via name directly (like real life name of the button) or if you have to use the PlayerButtons. No, that's not possible. The client ...
- Fri Jan 15, 2021 12:27 pm
- Forum: Plugin Releases
- Topic: Grenades noblock
- Replies: 3
- Views: 4144
Re: Grenades noblock
Beside shortening the code, you can also speed it up and make it more readable. from listeners import OnNetworkedEntityCreated from weapons.manager import weapon_manager from entities.constants import CollisionGroup @OnNetworkedEntityCreated def on_entity_created(entity): if entity.classname...
- Tue Jan 12, 2021 7:11 am
- Forum: Whatever
- Topic: Server is hibernating. [CS:S]
- Replies: 8
- Views: 17224
Re: Server is hibernating. [CS:S]
There is a variable, but I'm not sure whether or not it is for CSS:
viewtopic.php?f=20&t=664&p=3642&hilit=Hibernate#p3642
viewtopic.php?f=20&t=664&p=3642&hilit=Hibernate#p3642
- Wed Dec 30, 2020 10:01 pm
- Forum: Development Status Updates
- Topic: Development status update (December 2020)
- Replies: 1
- Views: 12336
Development status update (December 2020)
It's time for another development status update! ⋅ Fixes: ⋅ Fixed undefined symbols for CSendProxyRecipients. ⋅ Fixed server file not using the same encoding. ⋅ Fixed a problem with dangling references around ExtractPointer (issues #334, #372, #373). ⋅...
- Sat Dec 12, 2020 1:48 pm
- Forum: General Discussion
- Topic: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
- Replies: 7
- Views: 6036
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
Please have some patience. We will get this fixed.
- Fri Dec 11, 2020 11:43 pm
- Forum: General Discussion
- Topic: Admin Plugin can't load
- Replies: 7
- Views: 5929
Re: Admin Plugin can't load
Yes, sorry, it's generated when SP is loaded the very first time. But then it defaults to english, so you must have changed that setting at some point.
Are those the full exceptions? They somehow seem to be truncated.
Are those the full exceptions? They somehow seem to be truncated.
- Fri Dec 11, 2020 10:24 pm
- Forum: General Discussion
- Topic: Admin Plugin can't load
- Replies: 7
- Views: 5929
Re: Admin Plugin can't load
core_settings.ini is located in your cfg/source-python folder. But you don't need to switch back the language as you applied the actual fix. As you can see the plugin loads fine now. There are just three deprecation warnings, but can safely ignore them. With the next start of the server they won't a...
- Fri Dec 11, 2020 8:44 pm
- Forum: Development Status Updates
- Topic: Development status update (November 2020)
- Replies: 0
- Views: 12467
Development status update (November 2020)
It's time for another development status update! ⋅ Fixes: ⋅ Additions: ⋅ Exposed CSendProxyRecipients. ⋅ Exposed ArrayLengthProxyFn and added SendProp.array_length_proxy_function(). ⋅ Removals: ⋅ Changes: ⋅ Added proxy function...
- Fri Dec 11, 2020 7:41 pm
- Forum: General Discussion
- Topic: Admin Plugin can't load
- Replies: 7
- Views: 5929
Re: Admin Plugin can't load
It's an error in SP when using unicode characters in configuration files. In your case it happens if you change SP's language to Russian and try to load the SP Admin plugin. I just fixed the error: https://github.com/Source-Python-Dev-Team/Source.Python/commit/040295a5177ff0c30aefac5f6fd9db4740d9833...
- Wed Dec 09, 2020 7:33 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Custom Admin plugin log gives errors
- Replies: 4
- Views: 3788
- Wed Dec 09, 2020 6:38 pm
- Forum: General Discussion
- Topic: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
- Replies: 7
- Views: 6036
Re: How/where can I get an old version of source-python. Some TF2 plugins cause seg faults
If you start your server with the -debug option, it should create a debug.log upon crashing. That log should contain a little bit more information.
Also, are you able to reproduce the crash or does it seem to happen randomly?
Also, are you able to reproduce the crash or does it seem to happen randomly?
- Wed Dec 09, 2020 6:26 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Custom Admin plugin log gives errors
- Replies: 4
- Views: 3788
Re: [Cs:s] Custom Admin plugin log gives errors
Try opening your file with utf-8 encoding in line 1267 of your admin plugin.
Btw. it's recommended to use the with-statement for opening files. It ensures that your file will be closed in any case (error or success).
Btw. it's recommended to use the with-statement for opening files. It ensures that your file will be closed in any case (error or success).
- Mon Nov 23, 2020 7:34 pm
- Forum: Whatever
- Topic: Assignment of different substring variants to defined table columns with python
- Replies: 2
- Views: 11471
- Sun Nov 15, 2020 4:44 pm
- Forum: Development Status Updates
- Topic: Development status update (October 2020)
- Replies: 0
- Views: 11868
Development status update (October 2020)
It's time for another development status update! ⋅ Fixes: ⋅ Fixed CS:GO assists. ⋅ Fixed issue #357. ⋅ Fixed CS:GO mvps, score and clan_tag. ⋅ Fixed GlobalEntityList.remove_listener. ⋅ Fixed PluginHasBuiltInName not being raised in all...
- Fri Oct 30, 2020 3:49 pm
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7819
Re: [Cs:s] chat command to change map
What's the output of "sp info". It might be a conflict with another server plugin.