Search found 149 matches

by Kami
Sat Mar 30, 2019 7:59 pm
Forum: Plugin Requests
Topic: Last Man Standing
Replies: 13
Views: 451

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: 13
Views: 451

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: 57

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: 13
Views: 451

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: 13
Views: 451

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: 118

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: 2210

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: 2726

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: 2726

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: 2203

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: 1925

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: 1925

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: 1925

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: 1727

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: 1727

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: 1727

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...
by Kami
Sat Sep 08, 2018 1:10 pm
Forum: Plugin Development Support
Topic: Giving player a weapon in cs:go
Replies: 2
Views: 1173

Re: Giving player a weapon in cs:go

Hey, I'm not sure why give_named_item does not work for you but this worked for me: from players.entity import Player from events import Event @Event('player_say') def _player_say(ev): player = Player.from_userid(ev['userid']) player.give_named_item("...
by Kami
Tue Sep 04, 2018 5:21 pm
Forum: Plugin Development Support
Topic: Clan Tag in CS:GO
Replies: 7
Views: 2598

Re: Clan Tag in CS:GO

Thank you very much, everything is working fine now :)
by Kami
Mon Sep 03, 2018 7:35 pm
Forum: Plugin Development Support
Topic: TF2 - Getting weapon names from event byte
Replies: 10
Views: 1775

Re: TF2 - Getting weapon names from event byte

Could you show us some code maybe? I tried to use player_shoot but it did not trigger when shooting a weapon.
Are there any other events that return bytes for weapons? I could onylf ind player_shoot
by Kami
Sun Sep 02, 2018 6:22 pm
Forum: Plugin Development Support
Topic: TF2 - Getting weapon names from event byte
Replies: 10
Views: 1775

Re: TF2 - Getting weapon names from event byte

Hey, wouldn't it work to just get the players active weapon on those events? In case of player_shoot the active_weapon would be the one he shoots with and I think every event that includes a weapon refers to the active weapon. @Event('player_shoot') def _player_shoot(ev): pla...

Go to advanced search