Search found 1073 matches

by L'In20Cible
Sun Sep 20, 2020 12:08 am
Forum: Plugin Development Support
Topic: SQLAlchemy and PyMySQL
Replies: 3
Views: 68

Re: SQLAlchemy and PyMySQL

I am trying to use these to make connections and update a database. While I'm on the same network as my database, they work with no issue. But when they exist on different networks, PyMySQL tries to make use of the Cryptography package. Normally I'd just `pip install cryptography` and be on my way....
by L'In20Cible
Sat Sep 12, 2020 4:05 pm
Forum: General Discussion
Topic: Unable to load Source-Python on CSGO DS
Replies: 4
Views: 166

Re: Unable to load Source-Python on CSGO DS

arawra wrote:

Code: Select all

Unable to load plugin "addons/source-python"

Sounds like a read permission issue to me. Make sure that at the very least addons, cfg, logs, resource and sounds directories have the read, write and exec permissions (chmod 777).
by L'In20Cible
Wed Sep 09, 2020 3:48 am
Forum: Plugin Requests
Topic: [HL2:DM] Little Silent Hill
Replies: 45
Views: 1584

Re: [HL2:DM] Little Silent Hill

VinciT wrote:While I have you here L'In20Cible, any ideas as to why SetServerHibernation doesn't work on Linux?

Maybe hibernation is disabled on their servers? Other than that; no idea.
by L'In20Cible
Tue Sep 08, 2020 3:07 am
Forum: Plugin Requests
Topic: [HL2:DM] Little Silent Hill
Replies: 45
Views: 1584

Re: [HL2:DM] Little Silent Hill

Nice! Thanks for the tip. When you do this: manhack = cls(super().create('npc_manhack').index) You are effectively doing: manhack = Manhack(Manhack(BaseEntity.create('npc_manhack').index).index) The following: manhack = super()...
by L'In20Cible
Mon Sep 07, 2020 11:01 am
Forum: Plugin Requests
Topic: [HL2:DM] Little Silent Hill
Replies: 45
Views: 1584

Re: [HL2:DM] Little Silent Hill

@classmethod def create(cls, origin): """Creates an 'npc_manhack' entity at the specified origin.""" manhack = cls(BaseEntity.create('npc_manhack').index) As of #292 , BaseEntity.create is a classmethod so you could use super() d...
by L'In20Cible
Sat Sep 05, 2020 10:14 pm
Forum: Plugin Development Support
Topic: Information for hooks
Replies: 6
Views: 202

Re: Information for hooks

arawra wrote:

Syntax: Select all

infected = EntityCondition.equals_datamap_classname('infected')


Should be:

Syntax: Select all

infected = EntityCondition.equals_entity_classname('infected')

The datamap classname would be the value of Entity.datamap.class_name which would be something like CInfected.
by L'In20Cible
Sat Sep 05, 2020 10:08 pm
Forum: Plugin Development Support
Topic: [CSGO/ANY] Firing an event to a specific client
Replies: 4
Views: 237

Re: [CSGO/ANY] Firing an event to a specific client

Awesome! Thank you so much L'In20Cible! A note though - I noticed that in SM, people usually cancel/free the event after sending it to specific clients. It has something to do with the FireEventToClient() not freeing the event handle. I'm guessing we should do the same? Ran some tests just now and ...
by L'In20Cible
Thu Sep 03, 2020 12:38 am
Forum: Plugin Development Support
Topic: [CSGO/ANY] Firing an event to a specific client
Replies: 4
Views: 237

Re: [CSGO/ANY] Firing an event to a specific client

from events.manager import game_event_manager from memory import get_function_info from players.entity import Player pl = Player(1) game_event = game_event_manager.create_event('player_death', True) game_event.set_int('userid', pl.userid) pl.base_client.make_...
by L'In20Cible
Wed Sep 02, 2020 11:50 pm
Forum: General Discussion
Topic: [SP] Version: 700 for [BMS]
Replies: 12
Views: 460

Re: [SP] Version: 700 for [BMS]

It seems like the server is crashing when SP is loaded and a player joins. If I remove SP, I am able to join the server just fine. My test that crashed was just SP loaded, no SP scripts themselves were loaded. We'll have to figure out what is causing the crash and get it fixed. It crashes when the ...
by L'In20Cible
Mon Jul 20, 2020 10:32 pm
Forum: Plugin Releases
Topic: *DELETED*
Replies: 15
Views: 17876

Re: [(TF2)/ANY] Advanced BunnyHop

lincible, YOU are prideful. you take your perspective as the highest in the same sentence as you call someone else prideful when the issue may be about something else ? the guy may just have felt pushed by the other guy to force him to adapt in a certain way that he didn't want to go to. and that i...
by L'In20Cible
Sun Jul 19, 2020 8:30 pm
Forum: Plugin Releases
Topic: *DELETED*
Replies: 15
Views: 17876

Re: [(TF2)/ANY] Advanced BunnyHop

(This may change soon). Plugins are considered derivative work, therefore must be open-source as per our license. And yes. Do me a favor. No need to write me your advices. (I myself know what to do without your help, and I love clean code, not lazy code.) No need for hostility. He simply provided f...
by L'In20Cible
Fri Jul 17, 2020 11:05 am
Forum: Plugin Development Support
Topic: How to check how many players in team and get their values
Replies: 8
Views: 934

Re: How to check how many players in team and get their values

The command users and status in server console will return a lot of info on players, status, steam id ect if you need more info maybe post question in "plugin requests" with what other info you would like. The Plugin Development Support is the right section for asking questions about how ...
by L'In20Cible
Thu Jul 16, 2020 1:21 pm
Forum: Whatever
Topic: *DELETED*
Replies: 10
Views: 2042

Re: [Warning] Signature bug!

does the 256x256 limit not work when people try to set new signatures, or does it only not work for existing signatures? because in case of the latter, the css suggestion should "resolve" that for the already existing signatures. phpBB only check the size of the images when you attempt to...
by L'In20Cible
Sun Jul 05, 2020 9:07 am
Forum: Plugin Development Support
Topic: How to make Player model invisible?
Replies: 7
Views: 727

Re: How to make Player model invisible?

Syntax: Select all

from entities.constants import EntityEffects

player.effects |= EntityEffects.NODRAW
by L'In20Cible
Wed Jul 01, 2020 9:25 pm
Forum: Plugin Development Support
Topic: entity condition hook for multiple names ?
Replies: 1
Views: 327

Re: entity condition hook for multiple names ?

Intended behaviour. Once the condition evaluated to True once, the hook is registered on that entity and the searches are done. If you want to have multiple hooks for the same callback, then you have to decorate it multiple times. For example: https://github.com/Source-Python-Dev-Team/Source.Python/...
by L'In20Cible
Mon Jun 29, 2020 3:02 am
Forum: General Discussion
Topic: [TF2] Extending the Player class
Replies: 11
Views: 872

Re: [TF2] Extending the Player class

May have some outdated information, but that guide should be helpful: viewtopic.php?f=8&t=972
by L'In20Cible
Mon Jun 29, 2020 2:57 am
Forum: General Discussion
Topic: [TF2] Extending the Player class
Replies: 11
Views: 872

Re: [TF2] Extending the Player class

You don't have to add m_hActiveWeapon to CTFPlayer , as it is already inherited by CBaseCombatCharacter as active_weapon_handle : https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/data/source-python/entities/CBaseCombatCharacter.ini#L16 (Although, technically f...
by L'In20Cible
Mon Jun 29, 2020 1:43 am
Forum: General Discussion
Topic: [TF2] Extending the Player class
Replies: 11
Views: 872

Re: [TF2] Extending the Player class

So im looking to get uber gun percentage as well So I would need to be able to get the active weapon class that the player has. I see this being under this: CTFPlayer (type DT_TFPlayer) Table: baseclass (offset 0) (type DT_BasePlayer) Table: baseclass (offset 0) (type DT_BaseCombatCharacter) Table:...
by L'In20Cible
Mon Jun 29, 2020 12:01 am
Forum: General Discussion
Topic: [TF2] Extending the Player class
Replies: 11
Views: 872

Re: [TF2] Extending the Player class

So I'm not seeing any data with a class name to id mapping; i assume i should add it? Since it's very specfic to TF2, im not sure where to put it. Bascially would want this: [classes] scout = 1 sniper = 2 soldier = 3 demoman = 4 medic = 5 heavy = 6 pyro = 7 spy = 8 engineer = 9 I'd say this would f...
by L'In20Cible
Fri Jun 26, 2020 9:36 pm
Forum: Plugin Development Support
Topic: [TF2] Hooking Server Log
Replies: 5
Views: 736

Re: [TF2] Hooking Server Log

Zeus wrote:Is there a place I can find all of these available virtual functions to hook? Might be useful to put that up as a reference on the wiki

You can find them all by searching for FUNCTION_INFO on the repo.

Go to advanced search