Search found 1411 matches

by Ayuto
Wed May 11, 2016 7:13 pm
Forum: General Discussion
Topic: Ammoprop & get_proprty_char
Replies: 2
Views: 3302

Re: Ammoprop & get_proprty_char

The issue should be fixed with version 329! :)
by Ayuto
Wed May 11, 2016 4:16 pm
Forum: General Discussion
Topic: Ammoprop & get_proprty_char
Replies: 2
Views: 3302

Re: Ammoprop & get_proprty_char

I guess this was meant to be ord() and not int(). I will check that later when I get home today.
by Ayuto
Sat May 07, 2016 10:51 pm
Forum: General Discussion
Topic: Failed to load addons/source-python
Replies: 23
Views: 22324

Re: Failed to load addons/source-python

Seems like you didn't grant write permissions to the logs directory.
by Ayuto
Fri May 06, 2016 7:01 pm
Forum: Plugin Development Support
Topic: Hooking FireBullets
Replies: 4
Views: 5562

Re: Hooking FireBullets

You might want to hook TE_HL2MPFireBullets. Then you don't even have to access the FireBulletsInfo_t struct. However, this is a more advanced example about how to reconstruct classes with Source.Python. from path import Path import memory from memory.manager import CustomType from memory.manager imp...
by Ayuto
Wed May 04, 2016 11:55 am
Forum: Plugin Releases
Topic: [CS:S] TripMines v0.2.2
Replies: 4
Views: 11868

Re: TripMines v0.2.2

Nice idea! :)
by Ayuto
Tue May 03, 2016 6:20 pm
Forum: Plugin Development Support
Topic: Getting and setting 'm_Collision.m_usSolidFlags'
Replies: 3
Views: 3280

Re: Getting and setting 'm_Collision.m_usSolidFlags'

Interesting, in CS:S and CS:GO that property is an integer. :D
by Ayuto
Tue May 03, 2016 4:48 pm
Forum: Development Status Updates
Topic: Development status update (April 2016)
Replies: 0
Views: 3775

Development status update (April 2016)

It's time for another development status update! :) ⋅ Fixes: ⋅  Fixed Player.view_vector. ⋅  Updated global pointer data for CS:GO/Windows. ⋅  Fixed not being able to use class methods for hook callbacks. ⋅  Fixed issue #119. Also fixed unloading wro...
by Ayuto
Tue May 03, 2016 4:33 pm
Forum: Plugin Development Support
Topic: Getting and setting 'm_Collision.m_usSolidFlags'
Replies: 3
Views: 3280

Re: Getting and setting 'm_Collision.m_usSolidFlags'

Thanks! I have added get/set_property_ushort(). On which game are you trying to get/set that property?
by Ayuto
Sat Apr 30, 2016 10:24 am
Forum: Plugin Development Support
Topic: Changing game description
Replies: 6
Views: 5719

Re: Changing game description

Yeah :D I didn't know that method exists.

However, getting this to work requires more work, because the ISteamGameServer header is missing (at least in CS:S). We should create a PR for that. For now the snippet should suffice. :P
by Ayuto
Sat Apr 30, 2016 10:04 am
Forum: Plugin Development Support
Topic: Changing game description
Replies: 6
Views: 5719

Re: Changing game description

With version 319 you will be able to use this little snippet. from memory import get_virtual_function from memory.hooks import PreHook from engines.server import server_game_dll @PreHook(get_virtual_function(server_game_dll, 'GetGameDescription')) def pre_get_game_description...
by Ayuto
Fri Apr 29, 2016 6:45 am
Forum: Plugin Development Support
Topic: Changing game description
Replies: 6
Views: 5719

Re: Changing game description

It requires a hook. For which game do you want this?
by Ayuto
Thu Apr 28, 2016 8:13 pm
Forum: API Design
Topic: Is it worth auto-loading custom packages?
Replies: 4
Views: 18864

Re: Is it worth auto-loading custom packages?

Thanks for the suggestion! But I don't think it's worth loading them. If you have a package that doesn't provide any objects that could be imported by plugins, it's not a package, but a plugin. [...] or even creating another directory for such packages? There is a directory for those packages. It's ...
by Ayuto
Mon Apr 25, 2016 4:59 pm
Forum: Whatever
Topic: using sendprop/sendtables
Replies: 4
Views: 5489

Re: using sendprop/sendtables

We haven't exposed the SendTable constructors. So, yes... you either need to copy an existing one and modify it or recreate it using memory.alloc() and the methods of the Pointer class (or you use the TypeManager).

But I'm really wondering what you are trying to do?!
by Ayuto
Mon Apr 25, 2016 4:44 pm
Forum: Plugin Development Support
Topic: setting player crosshair
Replies: 3
Views: 3003

Re: setting player crosshair

D3CEPTION wrote:so i guess, the engine module carries some unusable "left overs" from the sdk regarding source pythons' usage?

Yeah, we just exposed everything that the SDK provides and now slowly remove redundant functions. is_in_edit_mode() is probably a good candidate.
by Ayuto
Mon Apr 25, 2016 10:34 am
Forum: Whatever
Topic: using sendprop/sendtables
Replies: 4
Views: 5489

Re: using sendprop/sendtables

D3CEPTION wrote:"st" = ?? # class SendTable const * st // its a string??

I have never used that method before, but this one is clearly saying that it requires a SendTable object. :p
by Ayuto
Mon Apr 25, 2016 10:29 am
Forum: Plugin Development Support
Topic: setting player crosshair
Replies: 3
Views: 3003

Re: setting player crosshair

Just tried that method in CS:S and wasn't able to get it working neither. Do you want the player to look at something specific? If yes, the Player class has a few properties to do that (view_angle, view_coordinates, view_player and view_entity).
by Ayuto
Sun Apr 24, 2016 4:25 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9243

Re: SP does not work CS:GO

Not worth the effort, to be honest. And I'm not sure if that would even work very well. Btw. a Python disassembler disassembles Python byte code. What you mean is probably an x86 disassembler. Moreover, Boost.Python has nothing to do with the search mechanisms for signatures. It's our memory module ...
by Ayuto
Sun Apr 24, 2016 2:12 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9243

Re: SP does not work CS:GO

What's the point of decoding the opcode bytes? ASM code and opcode bytes is basically the same thing.

To answer you concern: There are Python libraries! E.g. diStorm
by Ayuto
Sun Apr 24, 2016 2:01 pm
Forum: General Discussion
Topic: CS:S Windows crash when trying to hook function with a class method
Replies: 3
Views: 3773

Re: CS:S Windows crash when trying to hook function with a class method

Thanks for reporting! I have fixed the issue: https://github.com/Source-Python-Dev-Team/Source.Python/commit/f34bcf52f78bf9e3945a49a422dec6c0856fc0e3 As you can see here we were using a little hack to get around that issue. :D https://github.com/Source-Python-Dev-Team/Source.Python/commit/f34bcf52f7...
by Ayuto
Sun Apr 24, 2016 1:08 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9243

Re: SP does not work CS:GO

as long as valve doesnt obsfuscate the byte structure, which wont happen [...] It happens when they update a function, use different compiler settings or the compiler itself decides to generate different bytes, because it has been updated, changed or whatever. That's exactly the reason why signatur...

Go to advanced search