Search found 1256 matches
- Sun Sep 18, 2016 8:44 pm
- Forum: Plugin Development Support
- Topic: [CS:S] How is this thing called?.. How to disable it?
- Replies: 5
- Views: 4393
Re: [CS:S] How is this thing called?.. How to disable it?
https://github.com/Source-Python-Dev-Team/Source.Python/blob/79593cbf43dfd444d9484c5daaa355e5d82ef8ea/addons/source-python/data/source-python/entities/CBasePlayer.ini#L17 https://github.com/Source-Python-Dev-Team/Source.Python/blob/79593cbf43dfd444d9484c5daaa355e5d82ef8ea/addons/source-python/packag...
- Sat Sep 17, 2016 10:46 am
- Forum: Code examples / Cookbook
- Topic: Making certain entities invisible to certain players
- Replies: 9
- Views: 38938
- Fri Sep 16, 2016 8:27 am
- Forum: Plugin Development Support
- Topic: [CSGO] Get current map?
- Replies: 10
- Views: 7570
Re: [CSGO] Get current map?
Syntax: Select all
from engines.server import global_vars
print(global_vars.map_name)
- Wed Sep 14, 2016 3:07 pm
- Forum: Plugin Development Support
- Topic: RuntimeError
- Replies: 1
- Views: 2038
Re: RuntimeError
Fixed, thank you!
- Mon Sep 12, 2016 10:49 pm
- Forum: Plugin Development Support
- Topic: post json data lag
- Replies: 12
- Views: 8929
Re: post json data lag
No need to handle the tick listener yourself, simply inherit from GameThread.
- Mon Sep 12, 2016 12:01 pm
- Forum: Code examples / Cookbook
- Topic: Particle effects!
- Replies: 36
- Views: 89496
Re: Particle effects!
I tested on windows, and it was called using the "client" address. You may want to test on both and add a platform check if needed otherwise your plugin will work on one, but not on the other.
- Sun Sep 11, 2016 11:49 pm
- Forum: Code examples / Cookbook
- Topic: Particle effects!
- Replies: 36
- Views: 89496
Re: Particle effects!
The best solution I came with: from core import PLATFORM from listeners import OnClientFullyConnect from memory import Convention from memory import DataType from memory import get_object_pointer from memory import find_binary from memory.hooks import PreHook from players.entity import Player client...
- Sat Sep 10, 2016 1:47 pm
- Forum: Code examples / Cookbook
- Topic: Particle effects!
- Replies: 36
- Views: 89496
Re: Particle effects!
I have an idea that may work, but I need your files/code for further testing.
- Tue Sep 06, 2016 12:28 pm
- Forum: Plugin Development Support
- Topic: Listener / event fired when halftime starts (CS:GO)
- Replies: 1
- Views: 2130
Re: Listener / event fired when halftime starts (CS:GO)
from events import Event _round_status = False @Event('round_announce_last_round_half') def round_announce_last_round_half(game_event): global _round_status _round_status = True @Event('round_end') def round_end(game_event): if not _round_status: retu...
- Tue Sep 06, 2016 10:52 am
- Forum: Plugin Releases
- Topic: Hero Wars (Alpha)
- Replies: 35
- Views: 41897
Re: Hero Wars (Alpha)
temp_entities, ITempEntsSystem singleton, was wrapping the global CBaseTempEntity instances so you had to set all values before creation. The TempEntity class, is basically allocating a new object which copy the global one (mainly for its dispatch table) allowing you to change values without affecti...
- Tue Sep 06, 2016 10:04 am
- Forum: Plugin Releases
- Topic: Hero Wars (Alpha)
- Replies: 35
- Views: 41897
Re: Hero Wars (Alpha)
A bit off topic but, you could highly optimize by globalizing your TempEntity instance and simply update its location before the create() call. You could also place it in your class, for example: @Orc.skill class Chain_Lightning(Skill): 'You channel a lightning rod which ricochets from p...
- Fri Sep 02, 2016 2:19 pm
- Forum: Plugin Development Support
- Topic: How to get args using SayCommand?
- Replies: 9
- Views: 6297
Re: How to get args using SayCommand?
offtopic: whats the point of "Notifications"(Forums)? It doesnt notify me if someone posted on my thread You should see the number of notifications you have above the following icon: notifications.PNG If you click on that bell, you will be redirected to your notifications feed: http://for...
- Thu Sep 01, 2016 1:59 pm
- Forum: Plugin Development Support
- Topic: Edit Bot Object?
- Replies: 15
- Views: 9200
Re: Edit Bot Object?
edit: for example, you talk about CSSBot methods. but my idea and question is to disable the whole module, not every function manually. Like I said, there is no magic. The bots logic is embedded into the server process, disabling the whole thing means manually blocking/modifying (by hooking, mutati...
- Thu Sep 01, 2016 1:53 pm
- Forum: General Discussion
- Topic: Auto Loading Plugin
- Replies: 21
- Views: 13239
Re: Auto Loading Plugin
We could spend the day listing all the possibilities, but none of those has something to do with auto-loading plugins or not.
- Thu Sep 01, 2016 1:38 pm
- Forum: General Discussion
- Topic: Auto Loading Plugin
- Replies: 21
- Views: 13239
Re: Auto Loading Plugin
Indeed, there will always be a way to trick someone. But auto-loading plugins is like opening the door with a giant flashing sign that says welcome. Trolls would also need to trick them into executing that cfg, which is the same as tricking them by running the load command itself so that argument is...
- Thu Sep 01, 2016 1:31 pm
- Forum: Plugin Development Support
- Topic: Edit Bot Object?
- Replies: 15
- Views: 9200
Re: Edit Bot Object?
Well, if you prevent the bot from running its logic, how will it run the commands you copied from that said player? You don't want to "disable" the AI, you want to inject your own data - which is totally different. Disassemble engine/server.so files and search for CSSBot methods (probably ...
- Thu Sep 01, 2016 1:21 pm
- Forum: General Discussion
- Topic: Auto Loading Plugin
- Replies: 21
- Views: 13239
Re: Auto Loading Plugin
One of the main reason why I'm not for auto-loading plugins, along with all the reasons given above, is the fact that any trolls could pretend to ship something (like a custom map, or models, etc.) with some malicious plugin that get automatically loaded without the server's owner conscent. Let's no...
- Thu Sep 01, 2016 1:16 pm
- Forum: Plugin Development Support
- Topic: Edit Bot Object?
- Replies: 15
- Views: 9200
Re: Edit Bot Object?
I'm not too sure what you are trying to achieve exactly, could you elaborate with examples, description, etc?
- Thu Sep 01, 2016 1:13 pm
- Forum: General Discussion
- Topic: Auto Loading Plugin
- Replies: 21
- Views: 13239
Re: Auto Loading Plugin
We have also considered adding allowing plugins to be loaded as: ../addons/source-python/plugins/autoload/__init__.py I don't remember if we ever finished that discussion though. Does putting a .py file directly to the plugins folder (instead of making it a package) make the plugin load without sp ...
- Thu Sep 01, 2016 11:21 am
- Forum: Plugin Development Support
- Topic: Edit Bot Object?
- Replies: 15
- Views: 9200
Re: Edit Bot Object?
You may want to hook and block pre/post_think methods from being executed. This should prevent any logic to be performed on the specific entities.