Search found 73 matches

by Sam
Wed Mar 25, 2020 3:13 pm
Forum: Custom Packages
Topic: [TF2 (Only Windows)] HitBoxManager
Replies: 1
Views: 2417

Re: [TF2 (Only Windows)] HitBoxManager

Package support stopped.
by Sam
Tue Mar 03, 2020 3:39 pm
Forum: Plugin Development Support
Topic: Hooking instruction by its signature via plugin
Replies: 8
Views: 1197

Re: Hooking instruction by its signature via plugin

Tetragromaton wrote:I need linux...

What prevents you from using module `ctypes`?
by Sam
Tue Mar 03, 2020 11:44 am
Forum: Plugin Development Support
Topic: Hooking instruction by its signature via plugin
Replies: 8
Views: 1197

Re: Hooking instruction by its signature via plugin

Do you want to modify instruction `cmp [ecx+0x0AB0], eax`. I'm not a Linux expert but I can say that you can use (for Windows): pywin32 + ctypes (WriteProcessMemory, ReadProcessMemory, and etc) import ctypesimport ctypes.wintypes as wintypesPROCESS_VM_READ = 0x0010BUF_SIZE = 64kernel32 = ctypes.win...
by Sam
Tue Mar 03, 2020 11:39 am
Forum: Plugin Development Support
Topic: Hooking instruction by its signature via plugin
Replies: 8
Views: 1197

Re: Hooking instruction by its signature via plugin

Do you want to modify instruction `cmp [ecx+0x0AB0], eax`. I'm not a Linux expert but I can say that you can use (for Windows): pywin32 + ctypes (WriteProcessMemory, ReadProcessMemory, and etc)
by Sam
Tue Feb 25, 2020 9:23 am
Forum: General Discussion
Topic: [Q/DEV] UserInfo method
Replies: 2
Views: 2147

Re: [Q/DEV] UserInfo method

Ayuto wrote:Just added the wrapper function:
https://github.com/Source-Python-Dev-Te ... f380543fa0


It's not bad. It's good!
by Sam
Sun Feb 23, 2020 5:42 pm
Forum: Custom Packages
Topic: [DEV] BIFF (Binary Interchange File Format)
Replies: 2
Views: 1876

Re: [DEV] BIFF (Binary Interchange File Format)

New version: 4.0.0
Added:
    1. FlagsBIFF
    2. ICE encryption (CryptICE)
    3. Compression (zlib, deflate)
by Sam
Sun Feb 16, 2020 7:30 pm
Forum: Custom Packages
Topic: [DEV] BIFF (Binary Interchange File Format)
Replies: 2
Views: 1876

Re: [DEV] BIFF (Binary Interchange File Format)

New version: 2.1.0
News:
    1. Removed restriction on name and description (Max bytes = 18446744073709551616)
    2. Added UUID
    3. Time has become accurate
by Sam
Tue Feb 11, 2020 7:04 pm
Forum: Custom Packages
Topic: [DEV] BIFF (Binary Interchange File Format)
Replies: 2
Views: 1876

[DEV] BIFF (Binary Interchange File Format)

BIFF Ver: 4.0.0 @Info It works almost like an RIFF. This module allows you to store multiple files (or data packets) in one file. @Warning You must additionally install `multimethod` ( PyPI ) Additional information in Example. @Example example.7z @Download BIFF.7z GitHub PyPI
by Sam
Wed Jan 29, 2020 7:17 am
Forum: Plugin Development Support
Topic: trigger_push, change push speed
Replies: 4
Views: 1270

Re: trigger_push, change push speed

Maybe?

Code: Select all

stack_data[0].set_float(0x74, 512.0)

http://wiki.sourcepython.com/developing ... .set_float
by Sam
Wed Jan 29, 2020 4:35 am
Forum: Code examples / Cookbook
Topic: [PHP+Python/(PortableServers)] Example #00
Replies: 0
Views: 2716

[PHP+Python/(PortableServers)] Example #00

<?phpfunction microtime_float(){    list($usec, $sec) = explode(" ", microtime());    return ((float)$usec + (float)$sec);}$src = 'Hello, World!';$t = microtime_float();$fp = stream_socket_client("udp://127.0.0.1:885", $errno, $errstr, 30);if (!$fp) {    print("$errstr ($errno)\n");} else {    fwri...
by Sam
Thu Jan 23, 2020 4:27 am
Forum: Plugin Development Support
Topic: Difference in float numbers.
Replies: 5
Views: 1552

Re: Difference in float numbers.

Loss of accuracy in Python float is inevitable. For this, there is module `decimal`
by Sam
Tue Jan 21, 2020 4:23 am
Forum: Plugin Development Support
Topic: m_vecAbsVelocity
Replies: 2
Views: 913

Re: m_vecAbsVelocity

How to set m_vecAbsVelocity? entity.set_network_property_vector('m_vecAbsVelocity', ...) ValueError: Unable to find property 'm_vecAbsVelocity'. I apologize for being rude, but should you climb here every time? xD I expected more from a person who knows how to work with the API and ...
by Sam
Mon Jan 20, 2020 11:30 am
Forum: General Discussion
Topic: [Q/DEV] UserInfo method
Replies: 2
Views: 2147

[Q/DEV] UserInfo method

Maybe you should add this? pl = Player(1)pl.get_convar_value("lol") # -> 2# It is important for me to add this function to the Player# It is important to add that this function is available when the player is fully loaded, otherwise the server will crash. from engines.server import engine_serverget_...
by Sam
Sun Jan 19, 2020 6:46 am
Forum: Plugin Development Support
Topic: Byte patch
Replies: 2
Views: 967

Re: Byte patch

InvisibleSoldiers wrote:Is it possible to bytepatch binary in-memory via Python and if yes what is the best way?


1. Yes
2. The best way. The one you like. (LLPL, API and etc)
by Sam
Tue Jan 14, 2020 12:56 am
Forum: Plugin Development Support
Topic: Server crash on @EntityPreHook
Replies: 10
Views: 2415

Re: Server crash on @EntityPreHook

Original plugin uses only it, without any conventions: _hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Vector, ThisPointer_CBaseEntity); Since it creates a hook using an offset/index in the vtable, it probably assumes THISCALL internally. There is always a convention, becau...
by Sam
Mon Jan 13, 2020 12:34 pm
Forum: Plugin Development Support
Topic: Server crash on @EntityPreHook
Replies: 10
Views: 2415

Re: Server crash on @EntityPreHook

InvisibleSoldiers wrote:Original plugin uses only it, without any conventions: _hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Vector, ThisPointer_CBaseEntity);


SourceMod - DHooks (Dynamic Hooks - Dev Preview)
You can look at the source code and find out what is there. :P
by Sam
Thu Jan 09, 2020 3:53 am
Forum: Code examples / Cookbook
Topic: [DEV] Algorithm for checking a point in a cube
Replies: 15
Views: 3346

Re: [DEV] Algorithm for checking a point in a cube

I had a problem in college, and I solved it, and posted the answer here. But nobody will find your solution. This forum is not for Python beginners and homework. If you're interest, you should visit this forum: https://python-forum.io/ If you speak German: https://python-forum.de Search bots will d...
by Sam
Tue Jan 07, 2020 8:00 pm
Forum: Custom Packages
Topic: [DEV] PortableServers (TCP,UDP;+Thread)
Replies: 1
Views: 1241

Re: [DEV] PortableServers (TCP,UDP;+Thread)

I know... It's like it https://forums.sourcepython.com/viewtopic.php?f=38&t=1344 But my plans were to make ready-made servers for Python in general. I didn't want to steal someone's idea. I just decided to write this package for myself, but due to good nature I decided to put a copy of it for ot...
by Sam
Tue Jan 07, 2020 7:51 pm
Forum: Custom Packages
Topic: [DEV] PortableServers (TCP,UDP;+Thread)
Replies: 1
Views: 1241

[DEV] PortableServers (TCP,UDP;+Thread)

PortableServers

Ver: 1.0.0


@Info

Portable servers that do not require much time to configure.


@Example

example.7z
(568 Bytes) Downloaded 181 times


@Download

PortableServers.7z
(865 Bytes) Downloaded 172 times
by Sam
Fri Jan 03, 2020 7:35 pm
Forum: Plugin Development Support
Topic: [ANY] Prevent user name changes
Replies: 10
Views: 1632

Re: [ANY] Prevent user name changes

"I have the disassemblers and source code on all computers with fast internet xD" There is a leaked version of the Source Engine 2007, public Source SDK released by Valve and reverse engineered versions of the Source SDK. I know, but my modem in the hills working badly xD I am not in the ...

Go to advanced search