Search found 863 matches

by L'In20Cible
Sun Nov 18, 2018 12:31 am
Forum: Plugin Requests
Topic: CollisionHook
Replies: 13
Views: 3965

Re: CollisionHook

velocity wrote:I'm on Linux and in CS:GO. I copied the signatures from gamedata.txt from sourcemod. Isn't this the signature?

Symbols are no longer public into the Linux binaries for CS:GO for quite some time now so you have to find a signature like you do on Windows.
by L'In20Cible
Sun Nov 18, 2018 12:28 am
Forum: Plugin Requests
Topic: [CS:GO] Giving knives
Replies: 3
Views: 404

Re: [CS:GO] Giving knives

This is against their guidelines and will get your account hosting these servers into trouble for doing so: http://blog.counter-strike.net/index.ph ... uidelines/
by L'In20Cible
Fri Nov 16, 2018 2:40 am
Forum: Plugin Development Support
Topic: [CS:GO] AcceptEntityInput
Replies: 5
Views: 2144

Re: [CS:GO] AcceptEntityInput

Thanks and also: I'm trying to disable the landing animation in CS:GO, is this possible? When you jump and land in CS:GO it shakes ur screen a little (your legs bend), I want to prevent this: any ideas? Unless there is a networked property or ConVar that disable that animation, I don't think you ca...
by L'In20Cible
Thu Nov 08, 2018 7:59 pm
Forum: Plugin Development Support
Topic: [CS:GO] AcceptEntityInput
Replies: 5
Views: 2144

Re: [CS:GO] AcceptEntityInput

What is the equvivalent to AcceptEntityInput in Sourcepython? Entity.call_input(name, value=None, caller=None, activator=None) I dont know how to do this one in SP: AcceptEntityInput(iEnt, "SetParentAttachmentMaintainOffset"); That one is wrapped in the data files, so you can call it dire...
by L'In20Cible
Sat Oct 20, 2018 7:12 am
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 2423

Re: [CSGO] Hooking AcceptInput

Ayuto wrote:You don't need to specify the convention. It's already thiscall in that data file.

What file? :confused:
by L'In20Cible
Sat Oct 20, 2018 5:48 am
Forum: Plugin Development Support
Topic: [CSGO] Hooking AcceptInput
Replies: 10
Views: 2423

Re: [CSGO] Hooking AcceptInput

You need to specify the convention. It is defaulted to CDECL and you are hooking a THISCALL method. Also, your prototype is not right. Should be: # bool CBaseEntity::AcceptInput( const char *szInputName, CBaseEntity *pActivator, CBaseEntity *pCaller, variant_t Value, int outputID ) [[accept_...
by L'In20Cible
Fri Oct 19, 2018 8:45 pm
Forum: Plugin Development Support
Topic: See open menus
Replies: 6
Views: 1906

Re: See open menus

I have been playing CS:S for about 9 years and CS:GO 3-4 years, in all that time I've had a server and in addition to that, people have been complaining about the menus being queued up (form ES and SP), maybe from a developer point of view this sound more convenient or smart, but from players, this...
by L'In20Cible
Fri Oct 19, 2018 2:06 am
Forum: Plugin Development Support
Topic: See open menus
Replies: 6
Views: 1906

Re: See open menus

How do I get the currently open menu for a player? If it isn't possible this can be useful if you are running multiple plugins (some you haven't made yourself), so your own plugin can close the menu and display another, since I don't have access to the other 'menu object' Hm. To be honest, I tend t...
by L'In20Cible
Thu Oct 18, 2018 1:40 am
Forum: General Discussion
Topic: Server crashing
Replies: 4
Views: 1919

Re: Server crashing

velocity wrote:Well I figured it out, or more like "so far so good". I was just wondering what you do if you don't have a log.

You debug your code by adding debug messages everywhere in an attempt to identify the exact line/context that causes it. There is unfortunately no magic solution.
by L'In20Cible
Wed Oct 17, 2018 4:29 am
Forum: Plugin Development Support
Topic: Clan Tag in CS:GO
Replies: 7
Views: 2366

Re: Clan Tag in CS:GO

Retro wrote:Tyty

If they are changing again, you can try to add or subtract 20 until you find the right ones (Linux will always be 20 greater than Windows) until they are updated on the repo (feel free to pull request if you find them as well :wink: ).
by L'In20Cible
Wed Oct 17, 2018 4:18 am
Forum: General Discussion
Topic: Server crashing
Replies: 4
Views: 1919

Re: Server crashing

First step would be to disable your plugins one-by-one until the crashes stops, then debug the guilty one.
by L'In20Cible
Wed Oct 17, 2018 4:16 am
Forum: General Discussion
Topic: Performance issue!!!
Replies: 30
Views: 5377

Re: Performance issue!!!

Output: 1.0602915173727183 0.0478759625112275 21 times slower is a bit terrifying. :eek: We moved most (all?) of the CBaseEntity properties to C++. Perhaps we should do the same with some of the common CBasePlayer ones, which are found in all games we support. I didn't move that property, because i...
by L'In20Cible
Mon Oct 15, 2018 10:33 pm
Forum: Plugin Development Support
Topic: Clan Tag in CS:GO
Replies: 7
Views: 2366

Re: Clan Tag in CS:GO

Retro wrote:I think this is happening again or I am doing something wrong

Yes, the offsets were changed again. I just did update them on github: https://github.com/Source-Python-Dev-Te ... afeea686e7
by L'In20Cible
Sun Oct 14, 2018 2:05 am
Forum: General Discussion
Topic: Performance issue!!!
Replies: 30
Views: 5377

Re: Performance issue!!!

Now that we are on it: If I remove all redundancy etc.. which I most certainly will, is this the best way of getting the nearest player (My main goal is actually to determine if the player is stuck inside another player and I actually did share my code there is no difference from my old ES plugin a...
by L'In20Cible
Sun Oct 14, 2018 1:31 am
Forum: General Discussion
Topic: Performance issue!!!
Replies: 30
Views: 5377

Re: Performance issue!!!

I totally understand where you are coming from but, being a community where we prone open-source by having an open-source project, this kinda goes against our philosophy. :tongue: Anyways, another repeated task: player = player_instances[index_from_pointer(args[0])] index = player.index What...
by L'In20Cible
Sun Oct 14, 2018 12:15 am
Forum: General Discussion
Topic: Performance issue!!!
Replies: 30
Views: 5377

Re: Performance issue!!!

Yes and as I mentioned in my original post, I have another file timer.py which has loop at 0.001 seconds that is every tick for every player. This involves check if a player is inside multiple zones and if the player is dead, if his partner is inside the zone and so much more. Also, I mentioned tha...
by L'In20Cible
Sat Oct 13, 2018 3:46 pm
Forum: General Discussion
Topic: Performance issue!!!
Replies: 30
Views: 5377

Re: Performance issue!!!

Sure you can do it in 1000 ways, or the initial problem can be solved. It shouldn't be lagging by receiving the origin/dead/get_distance etc.. every tick or evey 2nd tick etc.. It doesn't matter when more players join. It does matter. In the code you linked, your function is executed every 0.1 seco...
by L'In20Cible
Sat Oct 13, 2018 2:51 pm
Forum: Plugin Requests
Topic: A little es help
Replies: 7
Views: 2389

Re: A little es help

Replace:

Syntax: Select all

es.remove(loc)

With:

Syntax: Select all

es.server.queuecmd('es_xremove %i' % loc)
by L'In20Cible
Mon Oct 08, 2018 6:08 am
Forum: General Discussion
Topic: Sourcepython on Linux (seems very unstable)
Replies: 9
Views: 2482

Re: Sourcepython on Linux (seems very unstable)

1. What do I do, if I actually need to modify the arguments before the original execution? This could be important because I use a lot of pre-hooks. This would need to be dealt with on a case-by-case basis. For example, you could block the original call to reproduce what it is doing yourself in som...
by L'In20Cible
Mon Oct 08, 2018 5:43 am
Forum: General Discussion
Topic: engine messaging
Replies: 1
Views: 1487

Re: engine messaging

If I remember correctly...

Syntax: Select all

from cvars import ConVar
from cvars.flags import ConVarFlags

ConVar('bot_quota').flags &= ~ConVarFlags.NOTIFY

Go to advanced search