Search found 19 matches
- Wed Oct 21, 2020 6:06 am
- Forum: General Discussion
- Topic: Help with DynamicHooks
- Replies: 0
- Views: 7168
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...
- Thu Apr 30, 2020 1:28 am
- Forum: Plugin Releases
- Topic: [CSS/CSGO] Warcraft: Source
- Replies: 107
- Views: 965655
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...
- Wed Apr 29, 2020 10:53 am
- Forum: Plugin Releases
- Topic: [CSS/CSGO] Warcraft: Source
- Replies: 107
- Views: 965655
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...
- Mon Dec 28, 2015 3:30 am
- Forum: Plugin Development Support
- Topic: PreEvent player_jump
- Replies: 6
- Views: 10708
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...
- Sat Dec 26, 2015 9:59 pm
- Forum: Plugin Development Support
- Topic: Copy of player object
- Replies: 6
- Views: 7458
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...
- Sat Dec 26, 2015 9:42 pm
- Forum: Plugin Development Support
- Topic: Copy of player object
- Replies: 6
- Views: 7458
- Sat Dec 26, 2015 8:51 pm
- Forum: Plugin Development Support
- Topic: Copy of player object
- Replies: 6
- Views: 7458
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...
- Thu Dec 24, 2015 11:17 am
- Forum: Plugin Development Support
- Topic: Hooking OnPlayerRunCmd
- Replies: 4
- Views: 6349
- Thu Dec 24, 2015 10:09 am
- Forum: Plugin Development Support
- Topic: Hooking OnPlayerRunCmd
- Replies: 4
- Views: 6349
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...
- Mon Dec 21, 2015 8:06 am
- Forum: Plugin Releases
- Topic: Parachute v0.03!
- Replies: 44
- Views: 283855
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.
The gist is here: https://gist.github.com/roflmuffin/9f38ee7967fb7934312b and you will find the full zip attached.
- Mon Dec 21, 2015 4:00 am
- Forum: General Discussion
- Topic: Source.Python & SourceMod clashing
- Replies: 5
- Views: 9128
- Sat Dec 19, 2015 5:26 am
- Forum: General Discussion
- Topic: Source.Python & SourceMod clashing
- Replies: 5
- Views: 9128
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...
- Sun Dec 06, 2015 4:36 am
- Forum: Plugin Development Support
- Topic: SourceMod Access
- Replies: 4
- Views: 9751
In particular I am looking for the natives exposed by KZTimer here: https://github.com/1NutWunDeR/KZTimerOffical/blob/master/addons/sourcemod/scripting/include/KZTimer.inc
- Sun Dec 06, 2015 4:10 am
- Forum: Plugin Development Support
- Topic: SourceMod Access
- Replies: 4
- Views: 9751
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...
- Mon Nov 09, 2015 8:47 am
- Forum: Plugin Development Support
- Topic: Hooking UserMessages (CSGO)
- Replies: 4
- Views: 7566
- Sun Nov 08, 2015 12:13 am
- Forum: Plugin Development Support
- Topic: Hooking UserMessages (CSGO)
- Replies: 4
- Views: 7566
- Sun Nov 08, 2015 12:01 am
- Forum: Plugin Development Support
- Topic: Hooking UserMessages (CSGO)
- Replies: 4
- Views: 7566
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...
- Sat Nov 07, 2015 10:55 am
- Forum: Plugin Development Support
- Topic: Hook an entity output
- Replies: 2
- Views: 4378
- Sat Nov 07, 2015 7:50 am
- Forum: Plugin Development Support
- Topic: Hook an entity output
- Replies: 2
- Views: 4378
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.
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.