Search found 1725 matches

by satoon101
Fri Oct 30, 2020 1:14 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 502

Re: [Cs:s] chat command to change map

I'm not sure what your issue might be, but it worked fine for me. I used "!map de_dust" in chat and it told me it was changing the map in 3 seconds, and then it changed maps to de_dust.
by satoon101
Fri Oct 30, 2020 3:40 am
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 502

Re: [Cs:s] chat command to change map

Sorry for the double post, but I also noticed that you imported listdir. Since SP ships with the path package and all of the paths in our 'paths' package are path.Path instances, listing files in a directory are actually even easier. For instance, you can use the path.Path.files method to not only l...
by satoon101
Thu Oct 29, 2020 10:03 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 502

Re: [Cs:s] chat command to change map

I'm not sure you want the possible_maps logic. For instance, if you want to switch to de_dust, it will always give you that "Be more specific" message, because there's de_dust and de_dust2.
by satoon101
Thu Oct 29, 2020 3:55 pm
Forum: Plugin Requests
Topic: HL2DM color text
Replies: 7
Views: 352

Re: HL2DM color text

Don't call the plugin 'colors'. There's a package called 'colors' inside SP itself, which is what is imported and causing that error.
by satoon101
Thu Oct 29, 2020 3:01 pm
Forum: Plugin Requests
Topic: HL2DM color text
Replies: 7
Views: 352

Re: HL2DM color text

This might not be exactly what you're looking for, but it's at least a good start: from random import choice import colors from cvars import ConVar from listeners.tick import Delay from messages import SayText from messages.hooks import HookUserMessage from players.entity import Player CHAT_STRINGS ...
by satoon101
Tue Oct 13, 2020 3:44 pm
Forum: Plugin Requests
Topic: [HL2:DM] 3 Teams
Replies: 36
Views: 9202

Re: [HL2:DM] 3 Teams

What do you mean by "it will not compile"?
by satoon101
Sat Sep 05, 2020 6:12 pm
Forum: Plugin Development Support
Topic: Information for hooks
Replies: 6
Views: 614

Re: Information for hooks

Ok. If I have time tonight, I will run some tests to figure out what you want to use.
by satoon101
Sat Sep 05, 2020 5:53 pm
Forum: Plugin Development Support
Topic: Information for hooks
Replies: 6
Views: 614

Re: Information for hooks

I just reread your original post, and I noticed you said you can get an Entity instance using infected_hurt. If you print out the classname of that entity, you can then use that classname in your EntityPreHook. @EntityPreHook(EntityCondition.equals_entity_classname('<classname>')...
by satoon101
Sat Sep 05, 2020 5:36 pm
Forum: Plugin Development Support
Topic: Information for hooks
Replies: 6
Views: 614

Re: Information for hooks

Here is a list of all events for L4D2: http://wiki.sourcepython.com/developing/events/l4d2.html The infected_death might work better in this instance: http://wiki.sourcepython.com/developing/events/l4d2.html#infected-death Also, you might try to find what entity type infected are by using the dumpen...
by satoon101
Mon Aug 31, 2020 4:15 pm
Forum: General Discussion
Topic: [SP] Version: 700 for [BMS]
Replies: 12
Views: 1353

Re: [SP] Version: 700 for [BMS]

No, I wouldn't update it manually. We will need to do that in the SP code base and make sure updating doesn't cause us any issues. It's not a problem for a user to replace on his machine one dependency of source python and this won't affect your master. If it does not work -> users problem The warn...
by satoon101
Mon Aug 31, 2020 4:05 pm
Forum: General Discussion
Topic: [SP] Version: 700 for [BMS]
Replies: 12
Views: 1353

Re: [SP] Version: 700 for [BMS]

It seems like the server is crashing when SP is loaded and a player joins. If I remove SP, I am able to join the server just fine. My test that crashed was just SP loaded, no SP scripts themselves were loaded. We'll have to figure out what is causing the crash and get it fixed.
by satoon101
Sun Aug 30, 2020 6:17 pm
Forum: General Discussion
Topic: [SP] Version: 700 for [BMS]
Replies: 12
Views: 1353

Re: [SP] Version: 700 for [BMS]

No, I wouldn't update it manually. We will need to do that in the SP code base and make sure updating doesn't cause us any issues.
by satoon101
Sun Aug 30, 2020 5:29 pm
Forum: General Discussion
Topic: [SP] Version: 700 for [BMS]
Replies: 12
Views: 1353

Re: [SP] Version: 700 for [BMS]

That's just a warning, not an error, about something being deprecated in a 3rd-party package included with SP. Does something not work for you outside of this?
by satoon101
Tue Aug 25, 2020 6:21 pm
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.1

Map voting itself was left out of GunGameSP. I did plan on having it call a server command at a specific point that could be picked up by another map voting plugin, but that is currently not implemented. I know there was a map voting plugin written for SP, so I will try to figure out if that still w...
by satoon101
Sun Aug 23, 2020 3:50 pm
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.0

Another bug seems to be in sounds manager? File '../addons/source-python/plugins/gungame/core/sounds/manager.py', line 134: UserWarning Invalid sound "sound/mFc/winsongs/clickboom.mp3", sound does not exist This is happening only for win songs. I have tried with and without sound/ The bas...
by satoon101
Sun Aug 23, 2020 3:42 pm
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.1

GunGame Update! Version: 1.3.1 Version Notes: ⋅ Fixed a bug that allowed players to have the wrong weapon in TeamPlay when switching teams. ⋅ Added permissions for gg client commands. ⋅ Fixed ValueError when last human player would exit the server and cause all bots to...
by satoon101
Sun Aug 23, 2020 3:21 pm
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.0

Ok, that makes sense. If a player is respawned prior to the dissolve, it will cause this error. I will put a fix into place for the next release.
by satoon101
Sun Aug 23, 2020 3:05 pm
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.0

I found the issue for gravity. A fix will be in the next release. I'm still testing for your other issues.

For the dissolver, what is your setting for gg_dissolver_delay? Also, are you using deathmatch and, if so, what is your setting for gg_deathmatch_delay?
by satoon101
Sun Aug 23, 2020 11:34 am
Forum: Plugin Releases
Topic: GunGame v1.3.1
Replies: 44
Views: 16776

Re: GunGame v1.3.0

Which game are you using this for?
by satoon101
Fri Aug 21, 2020 1:17 am
Forum: Plugin Requests
Topic: Crowbar throw
Replies: 12
Views: 2283

Re: Crowbar throw

I tried to achieve this for my ThrowMelee plugin, but never could get any of the hl2dm melee weapons to work, iirc. Not saying it can't be done, though, but I did try a number of things to get it to work.

Go to advanced search