Search found 19 matches

by roflmuffin
Wed Oct 21, 2020 6:06 am
Forum: General Discussion
Topic: Help with DynamicHooks
Replies: 0
Views: 3543

Help with DynamicHooks

Hi there, I wasn't sure of the best place to post this, so I figured General Discussion might suit. I am currently working on my own Valve Server Plugin and I was looking into using the wonderful Ayuto's DynamicHooks library. I ended up updating the library to use the latest version of AsmJit (mainl...
by roflmuffin
Thu Apr 30, 2020 1:28 am
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 106
Views: 269060

Re: [CSS/CSGO] Warcraft: Source

I seem to be having an issue that when a HudMsg is fired, my client crashes. It appears to only affect linux SRCDS though, because when I test locally on a window server I have no issues. When I then connect to my live server in Linux, sometimes when a HudMsg is printed (like undead scourge printin...
by roflmuffin
Wed Apr 29, 2020 10:53 am
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 106
Views: 269060

Re: [CSS/CSGO] Warcraft: Source

I seem to be having an issue that when a HudMsg is fired, my client crashes. It appears to only affect linux SRCDS though, because when I test locally on a window server I have no issues. When I then connect to my live server in Linux, sometimes when a HudMsg is printed (like undead scourge printing...
by roflmuffin
Mon Dec 28, 2015 3:30 am
Forum: Plugin Development Support
Topic: PreEvent player_jump
Replies: 6
Views: 5428

PreEvent player_jump

Hi there, I cannot seem to use the @PreEvent decorator to hook the 'player_jump' event in CSGO. When I use the below: @Event('player_jump') def jump_event(game_event): print('Jump') I receive 'Jump' in console everytime I jump, but this is of course a post hoo...
by roflmuffin
Sat Dec 26, 2015 9:59 pm
Forum: Plugin Development Support
Topic: Copy of player object
Replies: 6
Views: 4606

Did you already forget this thread? http://forums.sourcepython.com/showthread.php?1026 I think its technically a different issue? Just use a simple dictionary to do so. Check against the stored angle/location with the current values on the next frame, then update the stored values with the new ones...
by roflmuffin
Sat Dec 26, 2015 9:42 pm
Forum: Plugin Development Support
Topic: Copy of player object
Replies: 6
Views: 4606

I would like to know their eye angles/location, velocity & buttons to get information like turning direction. Basically to see if players just changed pressing buttons. But it looks like I will have to go with the approach I mentioned.
by roflmuffin
Sat Dec 26, 2015 8:51 pm
Forum: Plugin Development Support
Topic: Copy of player object
Replies: 6
Views: 4606

Copy of player object

Hi again, I need to be able to access the player object as at a previous frame in the engine. I assume something like this is not possible as the python bindings simply communicate with the server (which I cannot 'cache' so to speak). Would my best bet just be to create another class that has a cons...
by roflmuffin
Thu Dec 24, 2015 11:17 am
Forum: Plugin Development Support
Topic: Hooking OnPlayerRunCmd
Replies: 4
Views: 3763

Well don't I feel silly... Do you know when this was added? A quick glance at GitHub says August.
by roflmuffin
Thu Dec 24, 2015 10:09 am
Forum: Plugin Development Support
Topic: Hooking OnPlayerRunCmd
Replies: 4
Views: 3763

Hooking OnPlayerRunCmd

Hi there, I know you can use the OnTick listener and use playerinfo.get_last_user_command() to get the same sort of information as OnPlayerRunCmd, but these values are of course read only. I think it may involve some signature scanning, but I am totally new to Source.Python's memory module and tryin...
by roflmuffin
Mon Dec 21, 2015 8:06 am
Forum: Plugin Releases
Topic: Parachute v0.03!
Replies: 44
Views: 62200

I have updated the plugin to work with latest version (tested in v205). It was good practice for porting/understanding libraries so hopefully it should work fine.

The gist is here: https://gist.github.com/roflmuffin/9f38ee7967fb7934312b and you will find the full zip attached.
by roflmuffin
Mon Dec 21, 2015 4:00 am
Forum: General Discussion
Topic: Source.Python & SourceMod clashing
Replies: 5
Views: 5336

Linux Ubuntu 14.04 trusty, x86_64

Linux version 3.13.0-24-generic (buildd@panlong) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #46-Ubuntu

Thanks
by roflmuffin
Sat Dec 19, 2015 5:26 am
Forum: General Discussion
Topic: Source.Python & SourceMod clashing
Replies: 5
Views: 5336

Source.Python & SourceMod clashing

Hi there, I seem to be experiencing an issue where I receive this error: [libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: netmessages.proto [libprotobuf FATAL google/protobuf/descriptor.cc:954] CHECK failed: generated_database_->Add(encoded_file_descript...
by roflmuffin
Sun Dec 06, 2015 4:36 am
Forum: Plugin Development Support
Topic: SourceMod Access
Replies: 4
Views: 4986

by roflmuffin
Sun Dec 06, 2015 4:10 am
Forum: Plugin Development Support
Topic: SourceMod Access
Replies: 4
Views: 4986

SourceMod Access

Hi all, I am wondering if it is at all possible to interop with SourceMod plugins in any way. There are a few large SM plugins that I would still like to communicate with through natives etc. but obviously cannot as the plugin will be written in Source.Python. Does anyone know if it possible through...
by roflmuffin
Mon Nov 09, 2015 8:47 am
Forum: Plugin Development Support
Topic: Hooking UserMessages (CSGO)
Replies: 4
Views: 4597

Hi Ayuto,

This is exactly what I was looking for, amazing. Thanks for this!
by roflmuffin
Sun Nov 08, 2015 12:13 am
Forum: Plugin Development Support
Topic: Hooking UserMessages (CSGO)
Replies: 4
Views: 4597

Hi Ayuto,

There is a particular SourceMod plugin that will post things in individual players chat, and this information is catered to them based on that plugin. I am looking to find this information and associate it with that player. Does that make any sense?
by roflmuffin
Sun Nov 08, 2015 12:01 am
Forum: Plugin Development Support
Topic: Hooking UserMessages (CSGO)
Replies: 4
Views: 4597

Hooking UserMessages (CSGO)

Hi, I noticed it is possible to create your own UserMessages through the use of the messages package, but is there anyway to hook a particular message (or all of them) that is being sent to players? Something like what you would do in SourceMod: HookUserMessage(GetUserMessageId("TextMsg...
by roflmuffin
Sat Nov 07, 2015 10:55 am
Forum: Plugin Development Support
Topic: Hook an entity output
Replies: 2
Views: 2507

Thanks a bunch, can't believe I missed that
by roflmuffin
Sat Nov 07, 2015 7:50 am
Forum: Plugin Development Support
Topic: Hook an entity output
Replies: 2
Views: 2507

Hook an entity output

Hi there,

I'm looking to hook a buttons OnPressed output but I'm not too sure how this is done in Source Python. I already have the entity from using EntityIter, just need to know how to hook the thing.

Any advise would be appreciated.

Go to advanced search