Search found 725 matches

by Painkiller
Wed Jan 26, 2022 5:05 pm
Forum: Plugin Development Support
Topic: [HL2:DM] Remove Weapons on Spawn
Replies: 8
Views: 3989

[HL2:DM] Remove Weapons on Spawn

Hello Sp Team and Community, I have a plugin that should remove all weapons and ammunition from the server. Except for the 357 and crossbow. But it just does not work. Maybe someone can help from entities.hooks import EntityCondition, EntityPreHook from entities.helpers import index_from_pointer fro...
by Painkiller
Wed Jan 26, 2022 2:50 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

The same problem
by Painkiller
Wed Jan 26, 2022 1:16 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

Unfortunately the problem still exists

If I join the server alone and kill myself, I can't get out of the spectate.

178.63.54.240:28060 Irrenanstallt [Rocks] | Coop -> 18+ | FastDL
by Painkiller
Wed Jan 26, 2022 1:11 pm
Forum: Plugin Requests
Topic: [HL2DM] Remove Map Overlays, Map game_ext and Map Music
Replies: 25
Views: 27033

Re: [HL2DM] Remove Map Overlays, Map game_ext and Map Music

Would be great if someone could be found to this plugin to remove the game_text from the map and the map music
by Painkiller
Wed Jan 26, 2022 9:19 am
Forum: Plugin Requests
Topic: [HL2:DM] Random Sounds ES to SP
Replies: 1
Views: 1419

Re: [HL2:DM] Random Sounds ES to SP

Can no one be found?
by Painkiller
Wed Jan 26, 2022 9:18 am
Forum: Plugin Requests
Topic: [HL2:DM] NPC multiplier (NPC quantity number of players)
Replies: 1
Views: 1357

Re: [HL2:DM] NPC multiplier

Can no one be found?
by Painkiller
Wed Jan 26, 2022 9:18 am
Forum: Plugin Requests
Topic: [HL2:DM] NPC life display game_text
Replies: 1
Views: 1432

Re: [HL2:DM] NPC Health Indicator

Can no one be found?
by Painkiller
Wed Jan 26, 2022 9:14 am
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

Hello @cssbestrpg The plugin is on the link. but i like to send it here again too. config.py from config.manager import ConfigManager core_config = ConfigManager('lms_config') points_per_kill = core_config.cvar('points_per_kill', 5, "Wieviele Punkte kriegt ein Spiele...
by Painkiller
Wed Jan 26, 2022 7:17 am
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

I removed all bots from database.cfg The plugin loaded normally again. After the die came this error. 2022-01-26 08:14:06 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/events/listener.py", line 92, in fire...
by Painkiller
Tue Jan 25, 2022 5:21 pm
Forum: Plugin Requests
Topic: [HL2:DM] Let bodies drop something
Replies: 30
Views: 48711

Re: [HL2:DM] Let bodies drop something

I find a error in my weapon_drop plugin. can anybody help. 2022-01-25 18:16:39 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/events/listener.py", line 92, in fire_game_event callback(game_event) File "...
by Painkiller
Tue Jan 25, 2022 5:08 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

I think the error is still there. Maybe the plugin can't handle the bot names. Probably I should have entered this for each line. But the bot names change constantly 2022-01-25 18:03:59 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/p...
by Painkiller
Tue Jan 25, 2022 1:22 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

I have this in line 9.

Code: Select all

[BOT_bad comrade [CC]]
by Painkiller
Mon Jan 24, 2022 10:13 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

I find this.

Syntax: Select all

if not os.path.isdir(PLUGIN_DATA_PATH+"/lms"):
os.makedirs (PLUGIN_DATA_PATH+"/lms")
db_path = os.path.join(PLUGIN_DATA_PATH,'lms','database.ini')
database = ConfigObj(db_path)
by Painkiller
Sat Jan 22, 2022 3:50 pm
Forum: Plugin Development Support
Topic: [HL:2DM] Longjump
Replies: 0
Views: 2390

[HL:2DM] Longjump

This plugin was written by @Kami. Unfortunately, work on this plugin was discontinued at some point. Maybe @Kami or someone else can make this plugin run capable. Who has played HL1 or BMS knows the Longjump module. This is what the plugin should do. I am grateful for any help. Greetings Pain datacl...
by Painkiller
Sat Jan 22, 2022 3:15 pm
Forum: Plugin Requests
Topic: [HL2:DM] Crossbow
Replies: 96
Views: 85290

Re: [HL2:DM] Crossbow

HEllo @VinciT, I noticed that your plugin crashes in combination with my Battle Royal plugin. If you have time and could take a look at this that would be great. I could not find any errors. The server just crashes. # ../weapon_effects/weapon_effects.py # Source.Python from colors import Color from ...
by Painkiller
Sat Jan 22, 2022 2:35 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: configobj.ConfigObjError

It wouldn't be line 9 of the config.py file. There is a .ini file somewhere that it's reading where line 9 isn't valid. In your lms.py file, what is db_path set to? That path is the location of the .ini file that is causing the error. There was no one anywhere :( I set now in the info # ../addons/s...
by Painkiller
Sat Jan 22, 2022 1:11 pm
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

Re: ConfigObj file

ConfigObj works with config file somewhere. This file contains error. At line 9, to be exactly I think I've found the line. cfg = {'ppk': points_per_kill.get_int(), Can you tell me where there is a problem? and here the complete config.py: from config.manager import ConfigManager co...
by Painkiller
Fri Jan 21, 2022 2:43 pm
Forum: Plugin Requests
Topic: [HL2:DM] Random Sounds ES to SP
Replies: 1
Views: 1419

[HL2:DM] Random Sounds ES to SP

Can anybody port this to SP? music = [ 'music/hl1_song3.mp3', 'music/hl1_song5.mp3', 'music/hl1_song6.mp3', 'music/hl1_song9.mp3', 'music/hl1_song10.mp3', 'music/hl1_song11.mp3', 'music/hl1_song14.mp3', 'music/hl1_song15.mp3', 'musi...
by Painkiller
Fri Jan 21, 2022 11:29 am
Forum: Plugin Development Support
Topic: configobj.ConfigObjError
Replies: 21
Views: 21537

configobj.ConfigObjError

I get an error with a plugin. Could someone tell me how to fix this? Thanks in advance [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/plugins/command.py", line 164, in load_plugin plugin = self.manager.load(plugin_name) Fil...
by Painkiller
Fri Jan 21, 2022 9:52 am
Forum: Plugin Requests
Topic: [HL2:DM] NPC multiplier (NPC quantity number of players)
Replies: 1
Views: 1357

[HL2:DM] NPC multiplier (NPC quantity number of players)

Is there the possibility to create a plugin what:

The number of players takes and the NPC`s on it increases?

Bad example:

1 player 1 Npc
2 players 2 NPC

Greeting Painkiller

Go to advanced search