Search found 153 matches

by Kami
Wed May 29, 2019 6:11 pm
Forum: Plugin Requests
Topic: killstreaks for hl2dm
Replies: 8
Views: 638

Re: killstreaks for hl2dm

The error happens when a player dies without an attacking player (suicide). The error should not be a problem but for cosmetic reasons try this: from events import Event from colors import Color from players.entity import Player from messages import HudMsg import core from listeners.tick import Dela...
by Kami
Thu May 23, 2019 6:48 pm
Forum: Plugin Requests
Topic: killstreaks for hl2dm
Replies: 8
Views: 638

Re: killstreaks for hl2dm

Thanks. (I would recognize my crappy coding everywhere ;D)
by Kami
Tue May 14, 2019 5:03 pm
Forum: Plugin Releases
Topic: [CSS/CSGO] Warcraft: Source
Replies: 73
Views: 9813

Re: [CSS/CSGO] Warcraft: Source

So, after talking to Pwned, I decided to delete my post, so he can take his time to make sure the commands work correctly instead of adding all of them untested.
by Kami
Tue Apr 30, 2019 3:30 pm
Forum: Plugin Development Support
Topic: [CS:GO] how to get the number of real people in the team
Replies: 3
Views: 352

Re: [CS:GO] how to get the number of real people in the team

Hey, this is how you could do it: def get_real_player_count(team_number): count = 0 for player in PlayerIter('human'): if player.team == team_number: count += 1 return count Available filters for PlayerIter should be: 'all', 'bot', 'human', 'alive', 'dead', 'un', 'spec', 't',...
by Kami
Sat Mar 30, 2019 7:59 pm
Forum: Plugin Requests
Topic: Last Man Standing
Replies: 14
Views: 1300

Re: Last Man Standing

And this plugin was written and tested on a HL2:DM server and it still loads fine there. I guess you made a mistake when copying it over.
by Kami
Sat Mar 30, 2019 7:56 pm
Forum: Plugin Requests
Topic: Last Man Standing
Replies: 14
Views: 1300

Re: Last Man Standing

Loads fine for me, not sure what your problem is. Try to copy the code again.
by Kami
Sat Mar 30, 2019 7:03 pm
Forum: Plugin Development Support
Topic: [HL2:DM] Mapchooser
Replies: 2
Views: 287

Re: [HL2:DM] Mapchooser

Code: Select all

FileNotFoundError: [Errno 2] No such file or directory: Path('../addons/source-python/plugins/supermod/cfg/mapconfigs/map_default.cfg')


map_default.cfg is missing.
by Kami
Sat Mar 30, 2019 7:01 pm
Forum: Plugin Requests
Topic: Last Man Standing
Replies: 14
Views: 1300

Re: Last Man Standing

from players.entity import Player from events import Event from events.hooks import PreEvent, EventAction from filters.players import PlayerIter from lms import config from messages import SayText2, HudMsg from listeners.tick import Delay,Repeat from commands.server import ServerCommand from comman...
by Kami
Thu Mar 28, 2019 12:13 pm
Forum: Plugin Requests
Topic: Last Man Standing
Replies: 14
Views: 1300

Re: Last Man Standing

Last Man Standing Plugin Config: points_per_kill - How many points you get per kill / Wieviele Punkte man pro Kill bekommt. points_third_place - How many points you get for third place / Wieviele Punkte der dritte Platz kriegt points_second_place - How many points you get for second place / Wieviele...
by Kami
Sun Mar 24, 2019 12:38 pm
Forum: Plugin Development Support
Topic: [TF2] Force start round in mp_tournament
Replies: 1
Views: 318

Re: [TF2] Force start round in mp_tournament

Hey, have you tried if those options even work? I did some tests and while the class limits work, most of the other things do not. Also, if you want to force the round to start, you can simply use mp_restartgame. Judging from the fact, that this command even triggers the same countdown as both teams...
by Kami
Fri Nov 16, 2018 6:13 pm
Forum: Plugin Development Support
Topic: [CS:GO] player.friction
Replies: 7
Views: 2607

Re: [CS:GO] player.friction

Hey, I'm not sure if this works the same way it does in Sourcemod but it seems they can send different values of the same convar to different players. I found Player.send_convar_value(cvar_name, value) in the documentation, so you could propably try and do: player.send_convar_value("sv_fric...
by Kami
Sat Oct 13, 2018 3:44 pm
Forum: Plugin Requests
Topic: A little es help
Replies: 7
Views: 3310

Re: A little es help

I did some testing and it seems that not the removing itself is the problem. I can change maps as often as I want without crashing when I'm not on it, but once I actually join the server after the map has been "cleaned" it crashes, even on boot_camp. I guess that there is some essential en...
by Kami
Fri Oct 12, 2018 6:58 pm
Forum: Plugin Requests
Topic: A little es help
Replies: 7
Views: 3310

Re: A little es help

Could you name a map that crashes? I tried dms_spookface1 which you mentioned in another post but it works fine on that map!
by Kami
Sat Oct 06, 2018 5:50 pm
Forum: General Discussion
Topic: Downloadables
Replies: 5
Views: 2516

Re: Downloadables

I'm not sure if that is what is causing your problem but I experienced similar behavior before when files were added to the Downloadables which did not exists on the server. The server told the client to download the files (hence the downloading every map) but since the server did not have the files...
by Kami
Wed Oct 03, 2018 7:16 pm
Forum: Plugin Requests
Topic: [HL2:DM] spawn effect
Replies: 7
Views: 2485

Re: [HL2:DM] spawn effect

# Valid effects: # EFFECT = 1 # EFFECT = 2 # EFFECT = 3 EFFECT = 2 EFFECT_TIME = 5 import es import gamethread import random def player_spawn(ev): userid = int(ev['userid']) if EFFECT == 1: effect1(userid) elif EFFECT == 2: effect2(userid) elif EFFECT == 3: e...
by Kami
Wed Oct 03, 2018 3:51 pm
Forum: Plugin Requests
Topic: [HL2:DM] spawn effect
Replies: 7
Views: 2485

Re: [HL2:DM] spawn effect

I tried it with the emulator in CS:S and it showed me the effect. Your version did not work because you were missing the import.
by Kami
Wed Oct 03, 2018 2:49 pm
Forum: Plugin Requests
Topic: [HL2:DM] spawn effect
Replies: 7
Views: 2485

Re: [HL2:DM] spawn effect

If you use Ayuto's EventScripts emulator this will just work fine. The only problem this has is that the import for random is missing. Try this with the emulator: # Valid effects: # EFFECT = 1 # EFFECT = 2 # EFFECT = 3 EFFECT = 3 EFFECT_TIME = 5 import es import gamethread import random def player_s...
by Kami
Fri Sep 14, 2018 4:44 pm
Forum: Plugin Development Support
Topic: Encoding problem with configs
Replies: 5
Views: 2178

Re: Encoding problem with configs

I did test it and I will create a pull request (once I figure out how :D) Thanks for your help guys!
by Kami
Thu Sep 13, 2018 4:45 pm
Forum: Plugin Development Support
Topic: Encoding problem with configs
Replies: 5
Views: 2178

Re: Encoding problem with configs

Okay, so this is what I did: # ../config/manager.py """Provides a way to create and execute configuration files.""" # ============================================================================= # >> IMPORTS # ===========================================================...
by Kami
Wed Sep 12, 2018 5:27 pm
Forum: Plugin Development Support
Topic: Encoding problem with configs
Replies: 5
Views: 2178

Encoding problem with configs

Hey guys, for WCS I use this code for my core config file: from config.manager import ConfigManager from core import SOURCE_ENGINE_BRANCH from paths import PLUGIN_DATA_PATH, GAME_PATH import os WCS_DATA_PATH = PLUGIN_DATA_PATH / 'wcs' if not WCS_DATA_PATH.exists(): WCS_DATA_PATH.make...

Go to advanced search