Search found 826 matches

by L'In20Cible
Sun Nov 18, 2018 4:17 am
Forum: Plugin Requests
Topic: [CS:GO] Giving knives
Replies: 3
Views: 34

Re: [CS:GO] Giving knives

I could have guessed it since it was difficult to do anyway, but I was caught up by all those servers running plugins that allow you to change your knife. These servers are most likely using some kind of token updater that they purchases from shady sites that register fake accounts, etc. As far as ...
by L'In20Cible
Sun Nov 18, 2018 1:11 am
Forum: Plugin Development Support
Topic: CSGO: Random bots spawn
Replies: 4
Views: 268

Re: CSGO: Random bots spawn

I'm fairly sure I remember seeing a method used to select a spawnpoint for player. Hooking that method could allow you to create or move a spawnpoint to any location of your choice before returning it. I will see if I can find its name again. EDIT: The method is CBasePlayer::EntSelectSpawnPoint . If...
by L'In20Cible
Sun Nov 18, 2018 1:09 am
Forum: Plugin Development Support
Topic: [CS:GO] AcceptEntityInput
Replies: 5
Views: 175

Re: [CS:GO] AcceptEntityInput

I heard someone said that you could create a prop_dynamic_overwrite and parent it to the player. After that you set the view entity to the prop. This should remove it, but there are a lot of bugs doing this. For example, you cannot see your hands anymore aswell turning your aim is difficult. Yeah, ...
by L'In20Cible
Sun Nov 18, 2018 12:31 am
Forum: Plugin Requests
Topic: CollisionHook
Replies: 10
Views: 515

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...

Go to advanced search