Search found 1426 matches

by Ayuto
Tue Jan 12, 2021 7:11 am
Forum: Whatever
Topic: Server is hibernating. [CS:S]
Replies: 8
Views: 92482

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
by Ayuto
Wed Dec 30, 2020 10:01 pm
Forum: Development Status Updates
Topic: Development status update (December 2020)
Replies: 1
Views: 61589

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). ⋅...
by Ayuto
Fri Dec 11, 2020 11:43 pm
Forum: General Discussion
Topic: Admin Plugin can't load
Replies: 7
Views: 18116

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.
by Ayuto
Fri Dec 11, 2020 10:24 pm
Forum: General Discussion
Topic: Admin Plugin can't load
Replies: 7
Views: 18116

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...
by Ayuto
Fri Dec 11, 2020 8:44 pm
Forum: Development Status Updates
Topic: Development status update (November 2020)
Replies: 0
Views: 57292

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...
by Ayuto
Fri Dec 11, 2020 7:41 pm
Forum: General Discussion
Topic: Admin Plugin can't load
Replies: 7
Views: 18116

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...
by Ayuto
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: 17098

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?
by Ayuto
Wed Dec 09, 2020 6:26 pm
Forum: Plugin Development Support
Topic: [Cs:s] Custom Admin plugin log gives errors
Replies: 4
Views: 10889

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).
by Ayuto
Sun Nov 15, 2020 4:44 pm
Forum: Development Status Updates
Topic: Development status update (October 2020)
Replies: 0
Views: 57374

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...
by Ayuto
Fri Oct 30, 2020 3:49 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 27468

Re: [Cs:s] chat command to change map

What's the output of "sp info". It might be a conflict with another server plugin.
by Ayuto
Fri Oct 30, 2020 8:23 am
Forum: Plugin Requests
Topic: HL2DM color text
Replies: 7
Views: 15936

Re: HL2DM color text

satoon101 wrote:Don't call the plugin 'colors'. There's a package called 'colors' inside SP itself, which is what is imported and causing that error.

I thought we would have a check for that in the plug-in loading logic :confused:
by Ayuto
Wed Oct 21, 2020 5:25 am
Forum: Plugin Requests
Topic: Can Anybody port SM Plugin to Source Python?
Replies: 19
Views: 58076

Re: Can Anybody port SM Plugin to Source Python?

That's actually not a lot :grin:
by Ayuto
Sat Oct 17, 2020 5:22 pm
Forum: Development Status Updates
Topic: Development status update (September 2020)
Replies: 0
Views: 58122

Development status update (September 2020)

It's time for another development status update! ⋅ Fixes: ⋅  Fixed issue #350. ⋅ Additions: ⋅  Added <BaseClient/Player>.fire_game_event. ⋅  Added CachedProperty.bind. ⋅  Added post_think offsets for CBasePlayer in TF2. ⋅  Added n...
by Ayuto
Sat Oct 17, 2020 5:16 pm
Forum: General Discussion
Topic: Unable to run ubuntu server with Source Python Ubuntu 16.04
Replies: 1
Views: 7144

Re: Unable to run ubuntu server with Source Python Ubuntu 16.04

You can add the following to your startup line:

Code: Select all

-condebug +developer 1
This should generate a console.log in your /home/csgo directory. It should provide a little bit more information.
by Ayuto
Fri Oct 02, 2020 6:24 am
Forum: Plugin Development Support
Topic: [HL2DM/ANY] Hooking VphysicsCollision
Replies: 13
Views: 28189

Re: [HL2DM/ANY] Hooking VphysicsCollision

Exactly! Btw. I don't think you need to register a converter. IIRC, you have to use the C++ class name (CBaseEntity in that case).
by Ayuto
Fri Sep 25, 2020 2:19 pm
Forum: General Discussion
Topic: SQL results to MS Teams using Python in table format
Replies: 7
Views: 69494

Re: SQL results to MS Teams using Python in table format

You can also try one of my old snippets (Python 2 - might need to be updated for Python 3): https://pastebin.com/aR6GqVBi There might be better libraries today (I haven't searched). You will use it like this: from ascii_table import AsciiTable table = AsciiTable('Column A', 'Column B...
by Ayuto
Sun Sep 20, 2020 3:29 pm
Forum: Plugin Development Support
Topic: BaseHandle to Index conversion failure
Replies: 3
Views: 7668

Re: BaseHandle to Index conversion failure

There were changes to the CTakeDamageInfo class which we haven't taken into account yet. This was a CSGO specific change.

Go to advanced search