Search found 331 matches
- Sun Sep 20, 2020 6:15 am
- Forum: Plugin Releases
- Topic: [CSS/CSGO] Warcraft: Source
- Replies: 106
- Views: 313737
Re: [CSS/CSGO] Warcraft: Source
The exception you got doesn't appear to be from this plugin, but commandsx.py? [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/events/hooks.py", line 222, in _pre_game_event current_action = callback(game_event) File "....
- Sun Sep 20, 2020 6:03 am
- Forum: Plugin Development Support
- Topic: BaseHandle to Index conversion failure
- Replies: 3
- Views: 2897
Re: BaseHandle to Index conversion failure
I've been having the same problem with TakeDamageInfo.attacker as of late. I'm not sure what's causing it. Do keep in mind that you might get a non-Player index when accessing TakeDamageInfo.inflictor if the damage was done by a grenade/projectile. try: # Try to get a Player instance. player = Playe...
- Sun Sep 20, 2020 5:43 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
they all work, they just get spawned right on top of each other sometimes. I'll modify the spawning function tomorrow to lower (maybe even remove) the chance of that happening. some things you might not want to spawn is antlionguard, at least not right now,,when spawns,,he dont move till he sees yo...
- Sun Sep 20, 2020 5:35 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13235
Re: HL2:DM Npc points/score
physics does not yet count as kill (that means physicgun kills, saw blades, barrels) Do you want these to NOT count as kills? Because right now I'm getting notifications whenever I kill an NPC with a prop. - a line break of the current font (+3 points for killing the zombie) Example: How to proceed...
- Sat Sep 12, 2020 3:55 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13235
Re: HL2:DM Npc points/score
I'll try to finish your requests tomorrow if I have time, but I can't promise anything.
- Sat Sep 12, 2020 3:44 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
2020-09-11 22:05:10 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\listeners\tick.py", line 80, in _tick self.pop(0).execute() File "..\addons\source-python\packages\source-python\listeners\tick.py&qu...
- Fri Sep 11, 2020 4:19 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13235
Re: HL2:DM Npc points/score
With your changes I get this: https://i.imgur.com/7g1lIbp.png Since you used two colors in the code, I'm guessing you want to see this: https://media4.giphy.com/media/KxcRUZQ5pUCHhCsPOQ/giphy.gif To get that effect you need to change the effect value to 2 . If you still can't see the message, try ch...
- Fri Sep 11, 2020 3:44 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13235
Re: HL2:DM Npc points/score
Hi daren, try this for getting points from NPCs: # ../npc_points/npc_points.py # Source.Python from entities.entity import BaseEntity from events import Event from messages import HudMsg from players.entity import Player # Send a message to the player when they kill an NPC? (True/False) NOTI...
- Fri Sep 11, 2020 12:29 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
Here you go guys: # ../silent_hill/silent_hill.py (npc edition) # Python import random # Source.Python from colors import Color from commands.server import ServerCommand from core import PLATFORM, echo_console from engines.precache import Model from engines.server import server from engines....
- Wed Sep 09, 2020 12:26 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
manhack = super().create('npc_manhack') Would have the same result because super is super. :tongue: Whoops! I thought it would create a BaseEntity and not a Manhack instance. While I have you here L'In20Cible, any ideas as to why SetServerHibernation doesn't work on Linux? I...
- Wed Sep 09, 2020 12:12 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Crossbow
- Replies: 96
- Views: 89623
Re: [HL2:DM] Crossbow
Yeah, sadly that is one of the limitations of that TempEntity. You could try using the light_dynamic entity instead.
- Mon Sep 07, 2020 9:16 pm
- Forum: Plugin Development Support
- Topic: [CSGO/ANY] Firing an event to a specific client
- Replies: 4
- Views: 2736
Re: [CSGO/ANY] Firing an event to a specific client
Sweet. Thank you again for adding this so quickly!
- Mon Sep 07, 2020 9:04 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
I believe I know what the issue was: def _gather_data_think(self): for edict in PlayerGenerator(): player = PlayerSH(index_from_edict(edict)) # Is this player dead? if player.dead: return new_origin = player.origin + NPC_ORIGIN_OFFSET # Go through previously added spa...
- Mon Sep 07, 2020 8:52 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
As of #292 , BaseEntity.create is a classmethod so you could use super() directly. :smile: manhack = super().create('npc_manhack') Nice! Thanks for the tip. THANK YOU VinciT :cool: :cool: ........Its works great, Thank you Great job :smile: :smile: :smile: PS-- Could you add...
- Mon Sep 07, 2020 4:01 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
What could i do so the npc only spawn when the silent hill starts??. Is there another plugin you know of to do that, or some kind of a trigger that would make it work with your plugin?. stay cool :cool: and have a great weekend!!!. In the movies/games, when the sounds stops the silent hill bad guys...
- Sat Sep 05, 2020 5:50 pm
- Forum: Plugin Development Support
- Topic: [CSGO/ANY] Firing an event to a specific client
- Replies: 4
- Views: 2736
Re: [CSGO/ANY] Firing an event to a specific client
Awesome! Thank you so much L'In20Cible!
A note though - I noticed that in SM, people usually cancel/free the event after sending it to specific clients. It has something to do with the FireEventToClient() not freeing the event handle. I'm guessing we should do the same?
A note though - I noticed that in SM, people usually cancel/free the event after sending it to specific clients. It has something to do with the FireEventToClient() not freeing the event handle. I'm guessing we should do the same?
- Sat Sep 05, 2020 5:19 pm
- Forum: Plugin Development Support
- Topic: Information for hooks
- Replies: 6
- Views: 3998
Re: Information for hooks
I mostly work with HL2DM, CSS, and CSGO - so my go to when it comes to looking into how things work are the HL2SDK and the CSS Community Edition repos. From those two I can usually get enough information to get things working. If I get stuck - I search around on the SM and SP forums. If I'm still st...
- Sat Sep 05, 2020 4:46 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
I would like to give them access to my server so you can see for yourself. Sorry, was a bit busy the past couple of days. Feel free to PM me the server details and I'll see if I can sort this out. anyway works for me(ps) i made sure i was updated also,,but tryed it before the new update and worked ...
- Tue Sep 01, 2020 7:52 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
That is so strange.. From what I can tell, that shouldn't be happening. It's as if you're still using the old plugin. Either way, I've updated the code once again to include the pausing/resuming mechanic for the timer. Grab the latest plugin and tell me if it works. You could also try using lower va...
- Mon Aug 31, 2020 5:29 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 47592
Re: [HL2:DM] Little Silent Hill
I know it's an odd question, but are you sure the plugin was loaded?