Search found 1418 matches

by Ayuto
Sat Apr 19, 2025 10:29 pm
Forum: News & Announcements
Topic: Python 3.13, site packages and other updates
Replies: 0
Views: 96

Python 3.13, site packages and other updates

Hello everyone, It's been some time since the last announcement, but due to recent events and changes, another one is due. First of all: Two months ago, a Valve update made Source.Python unusable for some games (CS:S, TF2, DOD:S). Actually, Source.Python should have just been recompiled after the SD...
by Ayuto
Wed Apr 16, 2025 10:43 pm
Forum: Development Status Updates
Topic: Development status update (December 2021)
Replies: 3
Views: 113464

Re: Development status update (December 2021)

An update is in progress! You will find more information here:
https://github.com/Source-Python-Dev-Te ... 2810959127
by Ayuto
Thu Feb 20, 2025 9:36 am
Forum: General Discussion
Topic: [CS:S/TF2/DOD:S] NEW UPDATE
Replies: 11
Views: 43851

Re: [CS:S/TF2/DOD:S] NEW UPDATE

I will have a look at it. Probably on Monday or Tuesday.
by Ayuto
Sat Nov 30, 2024 9:56 pm
Forum: Plugin Requests
Topic: [CS:S] ReplayBot
Replies: 1
Views: 66177

Re: [CS:S] ReplayBot

The ReplayBot plugins tracks your movement and allows you to spawn a bot that executes the same actions (moving, jumping, firing, etc.). And even then it's not 100% accurate due to environmental changes. That's why the plugins is making use of the teleport function to correct the location if the tra...
by Ayuto
Fri Nov 29, 2024 4:59 pm
Forum: Plugin Development Support
Topic: Making bots aim for the head
Replies: 29
Views: 224113

Re: Making bots aim for the head

On which game are you trying this? The code was made for CS:GO, which does not exist anymore.
by Ayuto
Fri Apr 05, 2024 5:22 am
Forum: General Discussion
Topic: [SourcePython] CS2 Support
Replies: 1
Views: 56928

Re: [SourcePython] CS2 Support

No, not at this moment.
by Ayuto
Sun Jul 16, 2023 2:00 pm
Forum: Plugin Development Support
Topic: [TF2] Make Bot Walk
Replies: 4
Views: 71155

Re: [TF2] Make Bot Walk

If you interested in creating your own bots, you might be interested in this: https://github.com/Ayuto/ReplayBot/blob/master/addons/source-python/plugins/replay_bot/replay_bot.py It's a plugin to capture your movements and actions (also firing). After capturing you can replay everything by creating ...
by Ayuto
Thu Jul 06, 2023 8:29 pm
Forum: General Discussion
Topic: Source 2, anybody?
Replies: 11
Views: 143120

Re: Source 2, anybody?

There ist already a PR which started the work on it:
https://github.com/alliedmodders/hl2sdk/pull/125

To help you will need a good understanding of C++, IDA Pro/Ghidra (or something similar) and how the compiler translates C++ code into machine code.
by Ayuto
Wed Jul 05, 2023 5:17 pm
Forum: Plugin Development Support
Topic: [CS:S] FX_FireBullets error
Replies: 1
Views: 56415

Re: [CS:S] FX_FireBullets error

The calling convention is not correct. It should be CDECL. Moreover, FX_FireBullets is just for creating the effect, but not for any damage. This has to be done manually e. g. by calling Player.take_damage.
by Ayuto
Thu May 11, 2023 3:45 pm
Forum: Plugin Development Support
Topic: Call AddLayeredSequence
Replies: 5
Views: 65418

Re: Call AddLayeredSequence

import memory from memory import Convention, DataType server = memory.find_binary('server') add_layered_sequence = server[b'\x55\x8B\xEC\x51\x53\xFF\x75\x0C'].make_function( Convention.THISCALL, [DataType.POINTER, DataType.INT, DataType.INT], DataType.INT ) add_layer...
by Ayuto
Tue Mar 28, 2023 4:42 pm
Forum: General Discussion
Topic: Source 2, anybody?
Replies: 11
Views: 143120

Re: Source 2, anybody?

Sorry for the late reply. I read it, but didn't have time to reply and then I forgot it :rolleyes: We haven't discussed that internally, yet. But I guess this will be a big thing due to the following points: ⋅ We need a new reverse engineered SDK. The guys at AlliedModders will probably be...
by Ayuto
Thu Dec 08, 2022 5:31 pm
Forum: Plugin Development Support
Topic: CSS: Moderator, connect/disconnect show
Replies: 5
Views: 26914

Re: CSS: Moderator, connect/disconnect show

Actually, a dictionary would also work, because the keys of the dictionary are checked. >>>moderator = {'[U:1:81936084]':'МЕДОЕД', 'uniqueid':'test'} >>>'[U:1:81936084]' in moderator True >>>'uniqueid' in moderator True >>>'something' in modera...
by Ayuto
Sat Oct 22, 2022 11:19 am
Forum: Plugin Development Support
Topic: [Cs:s] How to block kill command in console
Replies: 3
Views: 16318

Re: [Cs:s] How to block kill command in console

Just wanted to let you now that a new build is now available that includes get_command_index().
by Ayuto
Tue Sep 13, 2022 6:05 pm
Forum: General Discussion
Topic: Builds for older version
Replies: 1
Views: 10789

Re: Builds for older version

We only provide the latest version of Source.Python and don't support old/illegal game versions.
by Ayuto
Tue Sep 13, 2022 10:35 am
Forum: General Discussion
Topic: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?
Replies: 6
Views: 31599

Re: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?

As far as I understand, the performance improvements come from: ⋅ Improved frames ⋅ Improved function calls ⋅ Adaptive instructions The latter is explained in PEP659 . The interpreter will look for code with type stability during runtime and replaces the instructions wi...
by Ayuto
Mon Sep 12, 2022 3:04 pm
Forum: General Discussion
Topic: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?
Replies: 6
Views: 31599

Re: Python 3.6 has reached it's EOL. Any plans to shift to any recent version?

Hey khaimovmr! Yes, there are and were plans to upgrade. With the release of 3.8 and 3.10 I twice started an upgrade, but discarded it due to the lack of time. But we should definitely do the upgrade. I will try to focus this very soon! Edit: The question is just if we should wait for 3.11, which is...
by Ayuto
Sat Sep 10, 2022 5:08 pm
Forum: Plugin Development Support
Topic: OnPlayerRunCommand not fired in TF2
Replies: 7
Views: 30761

Re: OnPlayerRunCommand not fired in TF2

Okay, I figured there was an issue with data.sourcepython.com which didn't update properly and provided old data. If you restart your server, it should work fine now.
by Ayuto
Sat Sep 10, 2022 4:17 pm
Forum: Plugin Development Support
Topic: OnPlayerRunCommand not fired in TF2
Replies: 7
Views: 30761

Re: OnPlayerRunCommand not fired in TF2

Data seems to be up-to-date. Could you please set sp_logging_level to 4 in your core_settings.ini, restart your server, load your plugin and join your server. In your console log you should see the following entry if you join the server: [Source.Python] Initializing core hook (run_command)... [Sourc...
by Ayuto
Sat Sep 10, 2022 2:49 pm
Forum: Plugin Development Support
Topic: OnPlayerRunCommand not fired in TF2
Replies: 7
Views: 30761

Re: OnPlayerRunCommand not fired in TF2

Game data is automatically updated by SP itself if you haven't disabled it (it's taking the latest data from data.sourcepython.com). However, it could be that our data ist not up to date. I will check that later today.

Go to advanced search