Search found 569 matches

by iPlayer
Tue Apr 25, 2017 9:19 am
Forum: Plugin Releases
Topic: [CS:GO/OrangeBox] Bad SetLocalAngles(...) fix
Replies: 17
Views: 18172

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

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

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

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

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

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

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

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

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

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/HL2DM] Map Cycle (+SPA support)
Replies: 30
Views: 46647

[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: 15
Views: 34886

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

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

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.
by iPlayer
Wed Apr 12, 2017 9:48 pm
Forum: Plugin Releases
Topic: [CS:GO] AdPurge
Replies: 3
Views: 5868

Re: [CS:GO] AdPurge

Updated to the latest Source.Python version
Latest release
by iPlayer
Wed Apr 12, 2017 5:06 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15645

Re: [Help] Way to see cause of crash ?

If you want to debug heroes as well - you might put such debug lines in heroes, too. You just have to know where to put it. But I thought that crash on player disconnect must be debugged first. See, I'm not a multi-task person in this matter :P
by iPlayer
Wed Apr 12, 2017 4:12 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15645

Re: [Help] Way to see cause of crash ?

I haven't been able to reproduce the crash so far (with bots and alt account), so I request you to enhance the _on_disconnect_save_data function in warcraft/players.py this way: @Event('player_disconnect') def _on_disconnect_save_data(event_data): print("[debug] In P...
by iPlayer
Wed Apr 12, 2017 3:12 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15645

Re: [Help] Way to see cause of crash ?

Okay, I'm looking into it
by iPlayer
Wed Apr 12, 2017 2:56 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15645

Re: [Help] Way to see cause of crash ?

Source.Python tries to prevent crashes and usually just raises Python exceptions. If there's any traceback, it should appear right before the crash.
What Warcraft mod do you use?

Go to advanced search