Search found 542 matches

by BackRaw
Sat May 02, 2020 12:14 am
Forum: Plugin Development Support
Topic: How to check if bullet flew through smoke?
Replies: 6
Views: 8946

Re: How to check if bullet flew through smoke?

Thank you!! That worked excellently! :D
by BackRaw
Sat Apr 25, 2020 10:00 pm
Forum: Plugin Development Support
Topic: How to check if bullet flew through smoke?
Replies: 6
Views: 8946

How to check if bullet flew through smoke?

Hi, what would be the best method to check whether a bullet flew through smoke on impact (let's say bullet_impact)? If there's a way to get the box of a smoke grenade's smoke, I could calculate whether it flew through the box or not. Can we get that box location? If not, is there a different/better ...
by BackRaw
Sun Apr 19, 2020 3:44 pm
Forum: API Design
Topic: Data properties and Valve updates
Replies: 7
Views: 29195

Re: Data properties and Valve updates

What are the ctx files you mentioned? They are the scripts for the weapons that are listed into the weapon_manifest.txt and stored into the ..scripts/* directory (usually packed in the pak files). Those files are parsed by weapon_parse.cpp which build the weapon info and store them in the weapon da...
by BackRaw
Sun Apr 19, 2020 12:36 am
Forum: API Design
Topic: Data properties and Valve updates
Replies: 7
Views: 29195

Re: Data properties and Valve updates

What are the ctx files you mentioned?
by BackRaw
Sun Apr 19, 2020 12:24 am
Forum: API Design
Topic: Data properties and Valve updates
Replies: 7
Views: 29195

Re: Data properties and Valve updates

Thanks for the info!! I'll keep an eye on it!
by BackRaw
Sat Apr 18, 2020 1:53 pm
Forum: API Design
Topic: Data properties and Valve updates
Replies: 7
Views: 29195

Re: Data properties and Valve updates

Well, why do we hardcode for example the clip and maxammo values for weapons then?
by BackRaw
Fri Apr 17, 2020 11:15 am
Forum: API Design
Topic: Data properties and Valve updates
Replies: 7
Views: 29195

Data properties and Valve updates

The current way of setting the data properties manually as INI files is generally fine. However, they are prone to errors when it comes to Valve updating the properties themselves. Can't we read the properties internally on the C++ side and translate them to the Python layer automatically, updating ...
by BackRaw
Thu Dec 12, 2019 12:52 pm
Forum: Development Status Updates
Topic: Development status update (August 2019)
Replies: 9
Views: 27205

Re: Development status update (August 2019)

So does this mean SP is feature complete (for now)? It really just means no development was done that month. But as far as SP being feature complete, I'd say so. I mean, you can pretty much do everything that is permitted server-side already. There might be bug fixes/optimizations or convenience mo...
by BackRaw
Sat Nov 23, 2019 8:10 pm
Forum: Development Status Updates
Topic: Development status update (August 2019)
Replies: 9
Views: 27205

Re: Development status update (August 2019)

So does this mean SP is feature complete (for now)?
by BackRaw
Mon Jul 15, 2019 12:08 am
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 106
Views: 269162

Re: [CSS/CSGO] Warcraft: Source

TPDerp wrote:
BackRaw wrote:How do I get/install the ES races?

You can find old-style races here and here as well as various other places. To install these races, you can follow this guide. Let me know if you have any other questions.

Alright, thanks. I'll look into it.
by BackRaw
Sat Jul 06, 2019 8:48 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 106
Views: 269162

Re: [CSS/CSGO] Warcraft: Source

How do I get/install the ES races?
by BackRaw
Fri Jul 05, 2019 3:09 pm
Forum: Plugin Development Support
Topic: [CS:GO] Prevent team switch event
Replies: 8
Views: 10126

Re: [CS:GO] Prevent team switch event

I think you meant team_choice = int(command[1]) instead of team_choice = int(client_command[1]) . However, I would simply compare it to strings instead of converting it to an integer, because otherwise a player could provoke an error using the client console. It wouldn't do any harm, but could be p...
by BackRaw
Sat Jun 29, 2019 8:54 pm
Forum: General Discussion
Topic: Can't run Source Python
Replies: 3
Views: 10589

Re: Can't run Source Python

https://centos.pkgs.org/6/centos-x86_64/

Try that maybe, don't know if it's the right one.
by BackRaw
Sat Jun 29, 2019 8:49 pm
Forum: Whatever
Topic: Donate to Source-Python - how?
Replies: 5
Views: 18129

Re: Donate to Source-Python - how?

Yeah, that's an awesome idea!
by BackRaw
Sat Jun 29, 2019 4:50 pm
Forum: Plugin Development Support
Topic: [CS:GO] Prevent team switch event
Replies: 8
Views: 10126

Re: [CS:GO] Prevent team switch event

from commands.client import ClientCommandFilter from players.entity import Player @ClientCommandFilter def client_command_filter(command, index): # Get the player entity player = Player(index) # Block 'jointeam' if commmand[0] == 'jointeam': # Get the team the player...
by BackRaw
Tue Jun 25, 2019 5:35 pm
Forum: Plugin Development Support
Topic: [solved] Loading plugin fails (built-in module name)
Replies: 7
Views: 11421

Re: Loading plugin fails (built-in module name)

I've added print(f'\n\nspec: {spec}\n\nplugin.file_path: {plugin.file_path}\n\n') to line 182 in plugins/manager.py and the output is: [SP] Unloading plugin 'udm'... [SP] Unable to unload plugin 'udm' as it is not currently loaded. [SP] Loading plugin 'udm'... spec: ModuleSpec(name='...
by BackRaw
Thu Jun 20, 2019 7:23 pm
Forum: Plugin Development Support
Topic: [solved] Loading plugin fails (built-in module name)
Replies: 7
Views: 11421

Re: Loading plugin fails (built-in module name)

Okay so I have created a plugin test with the following content: # ../addons/source-python/plugins/test/test.py import udm print(udm.__file__) The output: sp plugin reload test [SP] Unloading plugin 'test'... [SP] Successfully unloaded plugin 'test'. [SP] Loading plugin 'test'... Z:\srcds\Wi...
by BackRaw
Sun Jun 16, 2019 5:40 pm
Forum: Plugin Development Support
Topic: [solved] Loading plugin fails (built-in module name)
Replies: 7
Views: 11421

Re: Loading plugin fails (built-in module name)

Is there a quick way to find that out?

Go to advanced search