Search found 475 matches

by iPlayer
Wed Apr 26, 2017 9:10 am
Forum: Plugin Development Support
Topic: Creating Player Hat
Replies: 3
Views: 43

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

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

[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: 1185

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

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: 6
Views: 60

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

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

[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: 22

[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: 34

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

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

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

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

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

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...
by iPlayer
Wed Apr 19, 2017 3:06 pm
Forum: Code examples / Cookbook
Topic: Controlling player's view (camera)
Replies: 0
Views: 40

Controlling player's view (camera)

This snippet allows you to detach player's camera from him and make the player see the map from your desired location. You can also tie player's camera to another entity. from entities.entity import Entity from entities.helpers import baseentity_from_index from events import Event from players.dicti...
by iPlayer
Wed Apr 19, 2017 8:44 am
Forum: Plugin Releases
Topic: [CS:S/CS:GO] Map Cycle
Replies: 8
Views: 1156

[CS:S/CS:GO] Map Cycle

Map Cycle 2.1 release

https://github.com/KirillMysnik/sp-map-cycle/releases/tag/v2.1.0-beta

Performed a full refactor, also adapted for CS:GO. The plugin is still in beta though, might crash the server occasionally.
by iPlayer
Tue Apr 18, 2017 6:20 pm
Forum: Plugin Releases
Topic: [CS:S/CS:GO] iPlayer's Killstreaker
Replies: 14
Views: 1225

Re: [CS:S/CS:GO] iPlayer's Killstreaker

Killstreaker v2.1.0 released Full refactor Base name changed from ip_killstreaker to killstreaker Adapted for CS:GO Removed dependency on Advanced TranslationStrings custom package Now depends on ControlledCvars custom package All config cvars are renamed Lastest release: https://github.com/KirillM...
by iPlayer
Thu Apr 13, 2017 5:55 pm
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 150

Re: [CSGO New Sp] Error on tick listener

Update your addons/source-python/packages/source-python/listeners/tick.py with this version: https://github.com/Source-Python-Dev-Team/Source.Python/blob/406dcbdb5ee93f1b4b1d3b5299e26af862c5a707/addons/source-python/packages/source-python/listeners/tick.py This version replaces GameThread class with...
by iPlayer
Thu Apr 13, 2017 2:19 pm
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 150

Re: [CSGO New Sp] Error on tick listener

This error occurred with the latest build, with this correction :/

It's impossible. We have completely removed

Syntax: Select all

self._register_if_empty()

But it's in your traceback.

Go to advanced search