Search found 201 matches
- Sat Jul 13, 2024 8:04 am
- Forum: General Discussion
- Topic: Can't install required libraries for SP on Ubuntu 22.
- Replies: 6
- Views: 76236
Re: Can't install required libraries for SP on Ubuntu 22.
Hello in case you're still looking I use this line in a docker container to fix dependencies for both the base server and SP, it may be outdated so if it doesn't outright work I hope it atleast points you in the right direction, the key is that your server isn't an x64 binary so you gotta get the 32...
- Tue Jan 18, 2022 7:08 pm
- Forum: Plugin Development Support
- Topic: Changing View Model
- Replies: 9
- Views: 23160
Re: Changing View Model
Predz wrote:Somehow missed looking at this for years, lol.
https://github.com/ThomasVieth/SP-Viewmodel-Changer
Dunno if this will still work but here was my approach from years ago.
uu cool ty! I'll take a look at it when I find the time
- Thu Jan 06, 2022 11:51 am
- Forum: Plugin Development Support
- Topic: Changing View Model
- Replies: 9
- Views: 23160
Re: Changing View Model
Kami wrote:I think I tried to remake the same plugin as you did :D Thank you for the link I will try the code!
Did you end up figuring this out? I've been recently getting interested in doing something like this again
- Fri Feb 26, 2021 1:29 pm
- Forum: Plugin Development Support
- Topic: Using engine server's get_player_info
- Replies: 3
- Views: 11396
Re: Using engine server's get_player_info
Thanks for the quick reply! I did find that for CS:S the offsets are wrong, I'm pretty sure either fakeplayer or ishltv got removed. I verified and customFiles has an offset of 112 (length is 4 instead of 16 too, I'm pretty sure it's 4*4 = 16) That should bring it to from engines.server import engin...
- Fri Feb 26, 2021 12:44 am
- Forum: Plugin Development Support
- Topic: Using engine server's get_player_info
- Replies: 3
- Views: 11396
Using engine server's get_player_info
First off I think I can use get_player_info to get the player_info_s/player_info_t structure Does Source Python define or provide helpers for this structure anywhere? If not how do I go about creating this in my plugin? It's been a while I've messed with the Source Engine, but this piqued my interes...
- Wed Nov 04, 2020 5:54 am
- Forum: General Discussion
- Topic: libffi6 on ubuntu 20.04
- Replies: 4
- Views: 22826
Re: libffi6 on ubuntu 20.04
Just ran into this problem myself, I think the smoothest way is to just install libffi6 in addition, as to not get unintended side effects. This 1 line should do the trick (adapted from https://stackoverflow.com/a/63329830) curl -OL http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2....
- Mon May 06, 2019 5:20 pm
- Forum: Plugin Releases
- Topic: Map Decal Painter
- Replies: 20
- Views: 69926
Re: Map Decal Painter
example better? Yes, that seems correct. Is there a way to adapt your plugin? Say this was your old file: "Positions" { "suicide" { "pos1" "-528.822815 -959.968750 -415.264404" "pos2" "-447.458313 553.347229 -479.968750" "pos3" &...
- Thu May 02, 2019 8:37 pm
- Forum: Plugin Releases
- Topic: Map Decal Painter
- Replies: 20
- Views: 69926
Re: Map Decal Painter
Okay I made a repo for it, since it's probably easier & updated it to the latest version I had.
I suspect the github version should work now, but make me aware if there are any issues.
Also pain, you're supposed to provide 1 vmt and 1 vtf per entry, not multiple pairs.
I suspect the github version should work now, but make me aware if there are any issues.
Also pain, you're supposed to provide 1 vmt and 1 vtf per entry, not multiple pairs.
- Thu May 02, 2019 8:09 pm
- Forum: Plugin Releases
- Topic: Map Decal Painter
- Replies: 20
- Views: 69926
Re: Map Decal Painter
I'm really busy right now outside of this project, I can try to look into it sometime when I'm free (earliest this weekend) but if someone wants to fix it up by all means go for it. :)
Edit: I just remembered I definitely have a more up-to-date version somewhere though, I'll search for it.
Edit: I just remembered I definitely have a more up-to-date version somewhere though, I'll search for it.
- Thu Aug 16, 2018 4:04 am
- Forum: Plugin Releases
- Topic: [CSGO] Floating Damage Numbers
- Replies: 22
- Views: 175037
Re: [CSGO] Floating Damage Numbers
That actually looks really neat
- Thu Aug 16, 2018 4:02 am
- Forum: Plugin Development Support
- Topic: box
- Replies: 17
- Views: 30648
Re: Bounding box
Nobody knows? Please tell if the issue is explained so it can be understood :/ Maybe you can accomplish what you want by parenting an entity to the player that has your desired dimensions/collision or maybe hook ontouch and push the grenade when it hits that entity or the player? (There are some ca...
- Thu Jul 19, 2018 11:22 pm
- Forum: Plugin Development Support
- Topic: How do I use engine_trace.enumerate_entities_in_box
- Replies: 5
- Views: 17818
Re: How do I use engine_trace.enumerate_entities_in_box
Question, is engine_trace.enumerate_entities_in_box guaranteed to return only after the enumerator is finished?
- Thu Jul 19, 2018 9:48 pm
- Forum: Plugin Development Support
- Topic: How do I use engine_trace.enumerate_entities_in_box
- Replies: 5
- Views: 17818
Re: How do I use engine_trace.enumerate_entities_in_box
Thanks got it to work Edit: have to return True in enum_entity from engines.trace import engine_trace from engines.trace import EntityEnumerator from commands.say import SayCommand from players.entity import Player from entities.entity import Entity from memory import make_object from entities impor...
- Thu Jul 19, 2018 2:25 am
- Forum: Plugin Development Support
- Topic: How do I use engine_trace.enumerate_entities_in_box
- Replies: 5
- Views: 17818
How do I use engine_trace.enumerate_entities_in_box
How do I use engine_trace.enumerate_entities_in_box?
- Wed Jun 27, 2018 9:45 pm
- Forum: Plugin Development Support
- Topic: Reliable player disconnect check
- Replies: 1
- Views: 8728
Re: Reliable player disconnect check
I'm going to try a hook on CBaseClient::Clear, it seems like that will work for my purposes
- Tue Jun 26, 2018 6:10 pm
- Forum: Plugin Development Support
- Topic: Reliable player disconnect check
- Replies: 1
- Views: 8728
Reliable player disconnect check
I'm trying to find some way to reliably listen for a player disconnecting from the server, and get either their SteamID or (base)client pointer. Every single way I've found so far has at least one issue, I'll list the ones I remember: OnClientDisconnect listener: Fires when the client deactivates (o...
- Sat May 19, 2018 5:26 am
- Forum: Plugin Development Support
- Topic: Some help with CustomType
- Replies: 3
- Views: 12977
Re: Some help with CustomType
Yes, that's the proper way. For m_iMapHasVIPSafetyZone you can also use manager.instance_attribute. Edit: The calling convenient is wrong. It's a THISCALL. Right now it will only work on Linux, because THISCALL and CDECL are the same on Linux. Okay thanks! It's only meant to work on linux anyway, t...
- Fri May 18, 2018 11:43 pm
- Forum: Plugin Development Support
- Topic: Some help with CustomType
- Replies: 3
- Views: 12977
Re: Some help with CustomType
class CCSGameRules(CustomType, metaclass=manager): _binary = "server" # 5 5 CCSGameRules::LevelInitPostEntity(void) LevelInitPostEntity = manager.virtual_function( 5 if PLATFORM == 'windows' else 5, [], DataType.VOID ) # void CCSGameRules::RestartRound(...
- Fri May 18, 2018 11:08 pm
- Forum: Plugin Development Support
- Topic: Some help with CustomType
- Replies: 3
- Views: 12977
Some help with CustomType
I have: if PLATFORM == 'windows': raise NotImplementedError("UNIX Only") class CCSGameRules(CustomType, metaclass=manager): # 5 5 void CCSGameRules::LevelInitPostEntity(void) LevelInitPostEntity = manager.virtual_function( 5 if PLATFORM == 'windows...
- Mon Mar 26, 2018 11:36 am
- Forum: General Discussion
- Topic: SP Threads?
- Replies: 8
- Views: 16744
Re: SP Threads?
You never had to do that when using GameThread as that was the whole purpose of that class. However, threading.Thread is now working fine, because SP always has a global tick listener registered: https://github.com/Source-Python-Dev-Team/Source.Python/blob/3391d929d8cba00bf3bfd53d84989ebd421b3524/a...