Search found 288 matches
- Thu Nov 12, 2020 8:26 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Server crashes at newest build of source.python
- Replies: 4
- Views: 2644
[Cs:s] Server crashes at newest build of source.python
Hi, at newest build server crashes when try use this code. def damage(vic_index, dmg_amount, atk_index=None, wpn_index=None, dmg_type=32, dmg_hitgroup=3): try: Entity(vic_index).take_damage( damage=float(dmg_amount), damage_type=int(dmg_type), attacker_index=atk_i...
- Fri Oct 30, 2020 5:41 pm
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7806
Re: [Cs:s] chat command to change map
What's the output of "sp info". It might be a conflict with another server plugin. sp info IMPORTANT: Please copy the full output. -------------------------------------------------------- Checksum : c0141713e9220755875794d8c5fbc4ea Date : 2020-10-30 17:40:42.069789 OS : Windows-10-10.0.18...
- Fri Oct 30, 2020 1:48 pm
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7806
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. When i type !map de_dust nothing appears to chat or console even it loads fine, but no register the com...
- Fri Oct 30, 2020 6:07 am
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7806
Re: [Cs:s] chat command to change map
Listing files from the maps directory can be inaccurate though, since they can also be found into custom or even packed in vpk. It would be best to just ask the engine whether the map is valid or not: from commands.typed import TypedSayCommand from engines.server import engine_server from engines.s...
- Thu Oct 29, 2020 6:44 pm
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7806
[Cs:s] chat command to change map
Hi, can some one make a plugin that changes map?
like !map <name>, then it changes map to name has typed for map
like !map <name>, then it changes map to name has typed for map
- Tue Sep 29, 2020 9:32 am
- Forum: Plugin Development Support
- Topic: [Cs:s] OnTakeDamage
- Replies: 7
- Views: 3984
Re: [Cs:s] OnTakeDamage
This is the skill code that set m_iDamage SKILL_DETERIORA_PERCENT = 2.0 @Event('rpg_playerspawn') def rpg_playerspawn(args): set_damage(args.get_int('userid')) @Event('rpg_skillupgrade') def rpg_skillupgrade(args): if args.get_s...
- Sun Sep 27, 2020 6:38 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] OnTakeDamage
- Replies: 7
- Views: 3984
Re: [Cs:s] OnTakeDamage
This is current code now i use #========================= # OnTakeDamage #========================= @EntityPreHook(EntityCondition.is_human_player, 'on_take_damage_alive')# on_take_damage @EntityPreHook(EntityCondition.is_bot_player, 'on_take_damage_alive') def pre_da...
- Sun Sep 27, 2020 6:29 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] OnTakeDamage
- Replies: 7
- Views: 3984
Re: [Cs:s] OnTakeDamage
I'm pretty sure changing damage should work in the on_take_damage_alive hook. That's usually how I modify damage. # ../on_take_damage/on_take_damage.py # Source.Python from entities import TakeDamageInfo from entities.hooks import EntityPreHook, EntityCondition @EntityPreHook(EntityCondition.is...
- Sun Sep 27, 2020 3:32 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] OnTakeDamage
- Replies: 7
- Views: 3984
Re: [Cs:s] OnTakeDamage
At on_take_damage_alive no work at all, now even the damage doesn't change
- Sun Sep 27, 2020 1:18 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] OnTakeDamage
- Replies: 7
- Views: 3984
[Cs:s] OnTakeDamage
Hi, i have small issue OnTakeDamage code @EntityPreHook(EntityCondition.is_human_player, 'on_take_damage') @EntityPreHook(EntityCondition.is_bot_player, 'on_take_damage') def pre_damage(args): index = index_from_pointer(args[0]) info = make_object(...
- Fri Sep 25, 2020 1:29 pm
- Forum: Plugin Development Support
- Topic: Css bombplant site get
- Replies: 4
- Views: 2859
Re: Css bombplant site get
Thanks L'In20Cible, the code you gave works perfectly
- Fri Sep 25, 2020 9:55 am
- Forum: Plugin Development Support
- Topic: Css bombplant site get
- Replies: 4
- Views: 2859
Re: Css bombplant site get
Oh, i thought it would show bombsite where bomb is planted, like if plants A bombsite it would show its A the bombsite
- Thu Sep 24, 2020 4:58 pm
- Forum: Plugin Development Support
- Topic: Css bombplant site get
- Replies: 4
- Views: 2859
Css bombplant site get
Hi Some reason i can't get bombsite show at bombplant event Console just spamms this: [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 "..\addons...
- Wed Sep 02, 2020 12:35 pm
- Forum: Plugin Releases
- Topic: Round_end_sound
- Replies: 6
- Views: 5342
Re: Round_end_sound
Updated the code use shorter add download stuff. Thanks VinciT i even didn't know of that function
- Sun Aug 30, 2020 6:47 am
- Forum: Plugin Releases
- Topic: Round_end_sound
- Replies: 6
- Views: 5342
Re: Round_end_sound
I updated now the code, it doesn't anymore have if lines when sound, instead it get the from list
- Fri Aug 07, 2020 9:27 am
- Forum: Plugin Requests
- Topic: [Cs:s] Grenades Buy limit
- Replies: 3
- Views: 3011
Re: [Cs:s] Grenades Buy limit
Thanks VinciT it works perfectly
- Thu Aug 06, 2020 8:37 am
- Forum: Plugin Requests
- Topic: [Cs:s] Grenades Buy limit
- Replies: 3
- Views: 3011
[Cs:s] Grenades Buy limit
Hi, as the title say can some one make grenades buy limit, when reach the limit it wouldn't let buy anymore grenades even not with f2
- Fri Jul 24, 2020 12:00 pm
- Forum: Plugin Development Support
- Topic: Csgo OnTakeDamage
- Replies: 2
- Views: 3349
Csgo OnTakeDamage
Hi, after csgo newest update, the damage code hasn't work for me anymore. Console keep spamming [2020-07-24 14:44:02]: [SP] Caught an Exception:[2020-07-24 14:44:02]: Traceback (most recent call last):[2020-07-24 14:44:02]: File "../addons/source-python/plugins/rpg/rpg.py", line 1319, in p...
- Thu Jun 11, 2020 6:27 pm
- Forum: Plugin Requests
- Topic: (HL2DM) zombies
- Replies: 14
- Views: 9394
Re: (HL2DM) zombies
2020-06-10 11:36:05 - sp - MESSAGE [SP] Loading plugin 'zombie_waves'... 2020-06-10 11:36:05 - sp - EXCEPTION [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.manag...
- Thu Jun 11, 2020 6:19 pm
- Forum: Plugin Requests
- Topic: (HL2DM) zombies
- Replies: 14
- Views: 9394
Re: (HL2DM) zombies
2020-06-10 11:43:39 - sp - MESSAGE [SP] Plugin 'zombie_waves' was unable to be loaded. 2020-06-10 11:43:39 - sp - MESSAGE [SP] Loading plugin 'zombie_waves_editor'... 2020-06-10 11:43:39 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python...