Search found 1700 matches

by satoon101
Tue May 05, 2020 11:23 pm
Forum: Plugin Releases
Topic: ProjectileTrails v1.0.0
Replies: 14
Views: 14830

Re: ProjectileTrails v1.0.0

I will take a look at that when I have time. Unfortunately, right now I don't have a lot of extra time, so it might be a couple weeks.
by satoon101
Fri May 01, 2020 10:21 am
Forum: Plugin Releases
Topic: ProjectileTrails v1.0.0
Replies: 14
Views: 14830

Re: ProjectileTrails v1.0.0

Good catch, L'In20Cible. I will fix that when I get a chance.

It should support HL2MP, though, so I am not sure why it's even getting that error. I tested locally when Painkiller first reported the error, and it loaded just fine for me.
by satoon101
Wed Apr 22, 2020 2:19 pm
Forum: Plugin Requests
Topic: [HL2:DM] Longjump Modul
Replies: 22
Views: 9832

Re: [HL2:DM] Longjump Modul

I am not sure why you are so upset about someone requesting a plugin in the "Plugin Requests" forum. Once someone provides the plugin, the code for it will be in this thread, free for ANYONE to use, not just the requester. This has been a thing since forever, and a similar forum existed on...
by satoon101
Fri Apr 17, 2020 2:55 pm
Forum: Plugin Requests
Topic: [HL2:DM] Crossbow
Replies: 44
Views: 29463

Re: [HL2:DM] Crossbow

For future reference in regards to default arguments in Python:
https://docs.quantifiedcode.com/python- ... ument.html
by satoon101
Thu Apr 16, 2020 6:10 pm
Forum: General Discussion
Topic: [Q] Global variable for all plugins, scripts, etc.
Replies: 6
Views: 10522

Re: [Q] Global variable for all plugins, scripts, etc.

You mean like:

Syntax: Select all

from plugin1 import plugin1

print(plugin1.tmp)
by satoon101
Wed Apr 15, 2020 12:51 pm
Forum: Plugin Releases
Topic: ProjectileTrails v1.0.0
Replies: 14
Views: 14830

Re: ProjectileTrails v1.0.0

Ok, so you will have 2 issues in total. If you are hitting that erroring line of code, that means the game isn't supported. Which game are you using this for that caused the error? For the error itself, did you add translations? The only language currently supported by the plugin itself is 'en'. It ...
by satoon101
Wed Apr 08, 2020 2:29 pm
Forum: Plugin Development Support
Topic: Strip Color Codes (HEX) from TranslationStrings
Replies: 4
Views: 12485

Re: Strip Color Codes (HEX) from TranslationStrings

If you do that, you will always send the default language translation to every user, which makes using translations useless. It's been a while since I have done anything SP related, but my guess is that instead of doing that, it might be easier to add translations that don't have the color codes in ...
by satoon101
Tue Mar 03, 2020 12:24 pm
Forum: General Discussion
Topic: SourcePython conflicts with Sourcemod plugins
Replies: 18
Views: 26442

Re: SourcePython conflicts with Sourcemod plugins

My guess is that you still have it in your server.cfg. Make sure to remove it from there so it only loads via the autoexec.cfg.
by satoon101
Tue Jan 21, 2020 4:17 am
Forum: Plugin Development Support
Topic: m_vecAbsVelocity
Replies: 2
Views: 7270

Re: m_vecAbsVelocity

I think that's a datamap property, so use set_datamap_property_vector.
by satoon101
Tue Dec 31, 2019 3:57 pm
Forum: Code examples / Cookbook
Topic: Perfect PlayerDictionary and Player
Replies: 4
Views: 14229

Re: Perfect PlayerDictionary and Player

I'm honestly not sure why you think this is better than the current implementation. Removing all the functionality of Entity seems like a horrible idea to me... Adding get_spectators to the dictionary and having to pass a specific Player to the method doesn't make sense. If you want to deal with 1 s...
by satoon101
Fri Dec 27, 2019 6:02 pm
Forum: API Design
Topic: My thoughts, questions and wishes
Replies: 25
Views: 37515

Re: My thoughts, questions and wishes

Yeah, i thought about it too, but there must be reasons for Ayuto in preference of Python instead Lua. Source.Python started as EventScripts 3, but since we were abandoning backwards compatibility, we changed the name to Source.Python. At the time, the lead C++ developer was your-name-here, who als...
by satoon101
Fri Dec 27, 2019 1:34 pm
Forum: API Design
Topic: My thoughts, questions and wishes
Replies: 25
Views: 37515

Re: My thoughts, questions and wishes

For many of these items, you are more than welcome to create a Pull Request for each individually. Even though I haven't been very involved in SP for a while now, I'll try to respond to a few of these. 1. You can already do that fairly easily by creating your own iteration class: from entities.helpe...
by satoon101
Wed Oct 02, 2019 12:00 am
Forum: Plugin Development Support
Topic: [C-Strike:Source] Change Weapon Model
Replies: 11
Views: 3597

Re: [C-Strike:Source] Change Weapon Model

I don't think your get_predicted_viewmodel will work the way you're intending. It will currently return the last predicted_viewmodel entity every time. You should either break or return once you have found the correct one: def get_predicted_viewmodel(player): # Go through all 'predicted_...
by satoon101
Thu Jun 20, 2019 8:24 pm
Forum: Plugin Development Support
Topic: [solved] Loading plugin fails (built-in module name)
Replies: 7
Views: 4682

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

That message will be printed if the following conditional is met: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-python/plugins/manager.py#L181 Add some debug messages in there before the 'raise' statement to see what the values of 'spec', 's...
by satoon101
Wed May 29, 2019 7:45 pm
Forum: Plugin Requests
Topic: killstreaks for hl2dm
Replies: 8
Views: 10124

Re: killstreaks for hl2dm

That still doesn't fully take suicides into account. I can't remember which cases happen when, but the attacker can be either 0 or the same as the victim when the death is a suicide. Not taking that into account can lead to setting a victim to 0 kills in the kill_dict, but then incrementing it by 1....
by satoon101
Tue May 28, 2019 11:22 pm
Forum: Plugin Requests
Topic: [HL2:DM] Headshot Help
Replies: 64
Views: 44528

Re: [HL2:DM] Headshot Help

That Traceback does match the script in the linked post. I'm not sure in what situation the attacker equals the inflictor and it is not a player. It's either a weird HL2:DM issue or I believe you mentioned you have custom weapons on your server, which could be causing this. If you would, try this ou...
by satoon101
Tue May 28, 2019 7:10 pm
Forum: Plugin Requests
Topic: [HL2:DM] Headshot Help
Replies: 64
Views: 44528

Re: [HL2:DM] Headshot Help

Also, there are 3 different plugins represented in your Tracebacks: blood, headshot, explosive

It would help if you only post the ones relevant to this thread.
by satoon101
Tue May 21, 2019 8:22 pm
Forum: Plugin Requests
Topic: RPG Explosion Smoke Ring
Replies: 7
Views: 7735

Re: RPG Explosion Smoke Ring

For Python code tags, use [python]your code here[/python]
by satoon101
Tue May 21, 2019 7:59 pm
Forum: Plugin Development Support
Topic: source-python
Replies: 4
Views: 2823

Re: source-python

I'm thinking that may have just been a copy/paste issue, because that error wouldn't occur due to that. The issue is that the script that creates a Delay object is not using args/kwargs correctly. Though, at first glance, I don't see any issues with the code that was linked to in your other thread. ...
by satoon101
Tue May 21, 2019 7:45 pm
Forum: Plugin Development Support
Topic: source-python
Replies: 4
Views: 2823

Re: source-python

Did you edit the server's ../addons/source-python/packages/source-python/listeners/tick.py file? That line from your Traceback looks incorrect. It should be: https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-python/listeners/tick.py#L161 Not sur...

Go to advanced search