Search found 480 matches

by iPlayer
Fri Apr 28, 2017 12:53 pm
Forum: Plugin Releases
Topic: [ANY] Entity AntiSpam
Replies: 0
Views: 22

[ANY] Entity AntiSpam

[ANY] Entity AntiSpam https://github.com/KirillMysnik/SP-Ent-AntiSpam Description This plugin measures average server framerate every 5 seconds (by default) and does some checks if it drops below a certain value. The checks it does is basically searching piles of physics collideables that might cau...
by iPlayer
Fri Apr 28, 2017 8:57 am
Forum: Plugin Development Support
Topic: Hook Player Weapon Equip
Replies: 4
Views: 44

Re: Hook Player Weapon Equip

If you crash in a post-hook but everything seems to work fine in a pre-hook, this might be related.
by iPlayer
Thu Apr 27, 2017 1:48 pm
Forum: Plugin Requests
Topic: [HL2:DM] sound
Replies: 7
Views: 86

Re: [HL2:DM] sound

Nope, sorry. Maybe somebody else.

But I'd recommend you to consult whoever wrote that plugin. Simply because reading somebody else's code is harder than reading your own code. You'd make things easier for everyone.
by iPlayer
Thu Apr 27, 2017 1:41 pm
Forum: Plugin Requests
Topic: [HL2:DM] sound
Replies: 7
Views: 86

Re: [HL2:DM] sound

Whoever wrote that line in the first place made a mistake. That line cannot be correct. https://github.com/Source-Python-Dev-Team/Source.Python/blob/0834c5811020b29b10238f1a6e230da3fd639df4/addons/source-python/packages/source-python/entities/_base.py#L691 The third argument should be iterable. Whil...
by iPlayer
Thu Apr 27, 2017 1:32 pm
Forum: Plugin Requests
Topic: [HL2:DM] sound
Replies: 7
Views: 86

Re: [HL2:DM] sound

Why do I feel like this line

Syntax: Select all

player.delay(duration, remove_overlay, (index))

should be raising exceptions?

Do you get exceptions?
by iPlayer
Wed Apr 26, 2017 9:10 am
Forum: Plugin Development Support
Topic: Creating Player Hat
Replies: 4
Views: 71

Re: Creating Player Hat

4. When parented to a player they should disappear when the player entity dies due to being parented. Is this not happening? Well, when an entity gets removed, its "children" get teleported to (0, 0, 0). But the thing is that the player entity is never removed (only when player disconnect...
by iPlayer
Tue Apr 25, 2017 8:56 pm
Forum: Plugin Releases
Topic: [TF2, linux] PLRBots
Replies: 1
Views: 56

Re: [TF2, linux] PLRBots

PLRBots update

The plugin now supports more accurate bot class balancing when a Class Limit plugin is available
by iPlayer
Tue Apr 25, 2017 8:48 pm
Forum: Plugin Releases
Topic: [TF2] Class Limit
Replies: 0
Views: 28

[TF2] Class Limit

[TF2] Class Limit https://github.com/KirillMysnik/sp-tf2-classlimit Description This plugin will help keep classes balanced by forbidding them from joining when they're full and switching extra players to other classes. Configuration Copy ../cfg/source-python/class_limit/limits/default.json to defa...
by iPlayer
Tue Apr 25, 2017 2:06 pm
Forum: Plugin Releases
Topic: [ANY] DeadChat
Replies: 14
Views: 1187

Re: [ANY] DeadChat

DeadChat update Works perfectly on bitbuf games and successfully crashes on CS:GO (see Source-Python-Dev-Team/Source.Python#194 ) Fixed a bug with dupe chat messages when HLTV is on the server (see Source-Python-Dev-Team/Source.Python#185 ) Dedicated separate files to signatures / offsets Updated s...
by iPlayer
Tue Apr 25, 2017 10:18 am
Forum: Plugin Releases
Topic: [ANY] Infinite Jumping (aka AutoBHop)
Replies: 6
Views: 879

Re: Infinite Jumping (aka AutoBHop)

Infinite Jumping v1.0.2
New style info
This plugin now sets sv_enablebunnyhopping 1 and sv_airaccelerate 9999 on its own - this decision is made because apparently these two cvars are protected (locked) in some games, so you can't set them via config files.
by iPlayer
Tue Apr 25, 2017 9:51 am
Forum: Plugin Development Support
Topic: Is current date between 2 dates
Replies: 9
Views: 98

Re: Is current date between 2 dates

My approach from time import struct_time def _build_struct(year, month, day, hour, minute, second): return struct_time((year, month, day, hour, minute, second, 0, 0, 0)) def build_yearless_struct(month, day, hour, minute, second): return _build_struct(0, month, da...
by iPlayer
Tue Apr 25, 2017 9:19 am
Forum: Plugin Releases
Topic: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
Replies: 14
Views: 1406

Re: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix

Works fine for me on CS:GO.

What game and system?
by iPlayer
Tue Apr 25, 2017 8:51 am
Forum: Plugin Releases
Topic: [TF2, linux] PLRBots
Replies: 1
Views: 56

[TF2, linux] PLRBots

[TF2, linux] PLRBots https://github.com/KirillMysnik/SP-PLRBots Description Huge thanks to L'In20Cible and Ayuto for helping me with the reverse-engineering stuff. Without them this plugin wouldn't be possible. This plugin makes TF2 bots work on PLR maps such as plr_pipeline (bots are officially no...
by iPlayer
Tue Apr 25, 2017 8:01 am
Forum: Plugin Releases
Topic: [ANY] Bot Damage
Replies: 0
Views: 24

[ANY] Bot Damage

[ANY] Bot Damage https://github.com/KirillMysnik/SP-BotDamage/releases/latest Description This simple plugin is me practicing the new settings module. Basically it allows players to specify how they want to play with bots. There're 2 player settings (damage dealt to and by the bots) with 3 options ...
by iPlayer
Mon Apr 24, 2017 11:26 am
Forum: Plugin Development Support
Topic: Custom convention support in TypeManager.create_type_from_dict
Replies: 2
Views: 39

Re: Custom convention support in TypeManager.create_type_from_dict

For now I will override TypeManager.function to replace convention in case it is Convention.CUSTOM and will define conventions I need as CUSTOM in the ini-file. This limits me to one custom convention per one TypeManager. Luckily I only need one. class PLRTypeManager(TypeManager): def functi...
by iPlayer
Mon Apr 24, 2017 10:54 am
Forum: Plugin Development Support
Topic: Custom convention support in TypeManager.create_type_from_dict
Replies: 2
Views: 39

Custom convention support in TypeManager.create_type_from_dict

Hey there, Is there any built-in mechanism to specify custom conventions that will be used when parsing data in TypeManager.create_type_from_dict/create_type_from_file ? Say, I've got the following file [function] # CTFGameRules::GetPayloadToBlock [[get_payload_to_block]] identifier_windows = identi...
by iPlayer
Sun Apr 23, 2017 5:25 am
Forum: Plugin Development Support
Topic: Need help hooking these functions
Replies: 5
Views: 116

Re: Need help hooking these functions

I forgot to return from PreHook to prevent original function from being called. This probably leads to my inthandle being overwritten by the original function call. I will test it shortly.
by iPlayer
Sun Apr 23, 2017 3:55 am
Forum: Plugin Development Support
Topic: Need help hooking these functions
Replies: 5
Views: 116

Re: Need help hooking these functions

Okay, thanks to Ayuto and Invincible, I make steps towards enabling bots on PLR maps. What I have learned is that CTFGameRules::GetPayloadToPush sets the payload inthandle to -1 on PLR maps. While on PL maps it's just a valid inthandle of the correspoing team_train_watcher entity. What I'm trying to...
by iPlayer
Fri Apr 21, 2017 2:06 pm
Forum: Plugin Development Support
Topic: Need help hooking these functions
Replies: 5
Views: 116

Re: Need help hooking these functions

Wait, what? I thought I did not forget them. Look at the declaration, CTFGameRules::GetPayloadToPush receives only two arguments, including this-pointer. And I declared two arguments.

EDIT: I just put IDA declarations in the comments. I know in the actual C++ code the this-pointer won't be explicit.
by iPlayer
Fri Apr 21, 2017 9:21 am
Forum: Plugin Development Support
Topic: Need help hooking these functions
Replies: 5
Views: 116

Need help hooking these functions

Hey there, My idea is to make stock TF2 bots work on PLR maps as they would on PL maps. They work perfectly on Payload maps, but on Payload Race maps they just stand still and do nothing. And it's official behavior, as bots are announced to not support PLR maps. On PL map, there's 1 bomb cart. One t...

Go to advanced search