Raised This Month: $4 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: kadet.89
Forum: General 11-29-2021, 09:28
Replies: 3
Views: 186
Posted By kadet.89
Re: Declare arrays with using a variable for size

On my server: 1.11.0.6805
Compiller: 1.11 - build 6825
Forum: General 11-29-2021, 07:45
Replies: 3
Views: 186
Posted By kadet.89
Declare arrays with using a variable for size

I use emitsoundany.inc include in my plugin.
If I build it with 1.10, there are no problems.
If I build it with 1.11, when I run the plugin I get an error in line 150:
Exception reported: Tracker...
Forum: Coding MM:S Plugins & SM Extensions 11-27-2021, 14:34
Replies: 0
Views: 176
Posted By kadet.89
Hook SH_MCALL

I have a "Weapon_Drop" hook in my extension.
If I call the function this way:

SH_MCALL(baseEntity, Weapon_Drop)(weapon, vec1, vec2);

it works, but non of the hooks of this function in other...
Forum: Scripting 11-26-2021, 05:15
Replies: 2
Views: 443
Posted By kadet.89
Re: Molotov w_ model problem

Create a timer with 0.0 time, that will move execution of your code to 1 gameframe ahead. So it will be executed after the engine sets a model to the entity. In current impliementation the engine...
Forum: General 11-16-2021, 13:52
Replies: 4
Views: 547
Posted By kadet.89
Re: m_hViewModel is nullptr afer updating sourcemod

asherkin, Thanks, I checked the code and see that some adjustment is to be made to get correct offsets, so technically the issue is on my side.
Forum: General 11-13-2021, 13:40
Replies: 4
Views: 547
Posted By kadet.89
Re: m_hViewModel is nullptr afer updating sourcemod

I retrieve m_hViewModel via an extension.
If I do it in an smx plugin this way:
int viewModel = GetEntPropEnt(client, Prop_Send, "m_hViewModel");
It works and returns correct index,
But in the...
Forum: Extensions 11-12-2021, 08:43
Replies: 10
Views: 1,039
Posted By kadet.89
Re: [ANY?/TF2] CBaseNPC - NPC Framework & SDK Tools

To see how it works one can create a monster_generic entity with zombie classic model, the extension is not needed for that, only hummer editor. The prediciton looks wierd, all animations are jumpy...
Forum: General 11-12-2021, 08:05
Replies: 4
Views: 547
Posted By kadet.89
m_hViewModel is nullptr afer updating sourcemod

I updated sourcemod on my CS:GO server to version 1.11.0.6800 and all my plugins, which use m_hViewModel stoped working.
I digged into it and found out that after updating the sourcemod m_hViewModel...
Forum: Extensions 10-24-2021, 12:22
Replies: 872
Views: 530,829
Posted By kadet.89
Re: DHooks (Dynamic Hooks - Dev Preview)

Dragokas, thanks, it works.

I have another question.
I read and then change int argument #5:

PrintToServer("Old value: %i", index, DHookGetParam(hParams, 5)); //"Old value: 38"...
Forum: Extensions 10-24-2021, 11:49
Replies: 872
Views: 530,829
Posted By kadet.89
Re: DHooks (Dynamic Hooks - Dev Preview)

Can somebody help me with extracting ip address from a detoured function?
int __usercall [email protected]<eax>(long double [email protected]<st0>, int a2, int a3, void *src, int a5, int a6) // The function from IDA...
Forum: Scripting 09-24-2021, 06:59
Replies: 9
Views: 1,959
Posted By kadet.89
Re: CreateEntityByName

"round_start" event has a problem in CS: S, CS:GO and probably in other Source games. Sometimes it is fired before entities are clean-up, thus all entities created in the post hook may be deleted...
Forum: Extensions 09-04-2021, 17:27
Replies: 23
Views: 12,192
Posted By kadet.89
Re: [EXTENSION] NPCs in CS:S (extended)

Here are windows signatures for the functions:
SetEnemy
CAI_ScriptedSchedule::StartSchedule -> "Scripted schedule %s specified an invalid enemy %s\n" -> CAI_BaseNPC::SetEnemy

.text:1004EC70 55 ...
Forum: General 08-11-2021, 18:07
Replies: 4
Views: 814
Posted By kadet.89
Re: How to change server version?

To let players with any version join the server this function can be hooked:
INetChannel::ProcessPacket and client version in C2S_CONNECT should be changed to the server's version. That will work if...
Forum: Extensions 08-09-2021, 17:32
Replies: 23
Views: 12,192
Posted By kadet.89
Re: [EXTENSION] NPCs in CS:S (extended)

Bearfade, I can try to find the signatures, PM me the latest versions of server.so, server.dll, engine.so and engine.dll
Forum: Scripting 08-06-2021, 05:20
Replies: 12
Views: 2,127
Posted By kadet.89
Re: How to replace the entire map entity text?

On My CS:GO server I use stripper to craet weapon_hegrenade. At the moment it works. The problem on your side might be caused by a weapon cleaning plugin or, as it was mentioned, the engine might not...
Forum: General 07-26-2021, 14:29
Replies: 11
Views: 1,774
Posted By kadet.89
Re: MySQL connection loss leads to crashes

I tested the hibernation state, here it is not the reason. The crash happens independently on whether the server is in hibernation state or not.



That's a matter of opinion. Mine is that...
Forum: General 07-26-2021, 11:18
Replies: 11
Views: 1,774
Posted By kadet.89
Re: MySQL connection loss leads to crashes

I doubt hibernattion has something to do with this problem, crash happens indepandently on player count. If I run the 2 plugins while beeing on the server, there is no hibernation and the crash still...
Forum: General 07-25-2021, 09:50
Replies: 11
Views: 1,774
Posted By kadet.89
Re: MySQL connection loss leads to crashes

I run the test with only testDB.smx. On my local server it is enough to use only one MySQL-using plugin to cause this crash.
To make sure only testDB uses MySQL, I remove all plugins but testDB.smx...
Forum: General 07-25-2021, 09:12
Replies: 11
Views: 1,774
Posted By kadet.89
Re: MySQL connection loss leads to crashes

I investigated the problem and found out that, the crashes happen after any of the plugins using MySQL are reloaded. Looks like after a plugin is reloaded, it can't any longer exectue SQL queries in...
Forum: Scripting 07-17-2021, 13:23
Replies: 1
Views: 594
Posted By kadet.89
[CS:GO] Change ping place name

There is a ping entity in CS:GO info_player_ping. It is created by pressing mouse wheel.
This entity has a netprop string m_szPlaceName. Which contains the name of the place where the entity is...
Forum: Coding MM:S Plugins & SM Extensions 07-15-2021, 19:01
Replies: 1
Views: 1,373
Posted By kadet.89
[CS:GO] Invalid arguments in hooked function

I'm trying to hook this function:
INetChannel::ProcessPacket( struct netpacket_s* packet, bool bHasHeader )

Here is my code:
INetChannel* pNetChan =...
Forum: General 07-08-2021, 11:16
Replies: 11
Views: 1,774
Posted By kadet.89
Re: MySQL connection loss leads to crashes

Metamod:Source version 1.12.0-dev+1147
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Dec 27 2020 18:13:59
Built from:...
Forum: General 07-08-2021, 10:06
Replies: 11
Views: 1,774
Posted By kadet.89
MySQL connection loss leads to crashes

I have a plugin which connects to a remote MySQL server and makes queries.
It works fine as long as there is no connection problem. When something happens on the MySQL server or between the server...
Forum: Scripting 07-04-2021, 10:57
Replies: 4
Views: 807
Posted By kadet.89
Re: [CS:GO] Detect if a player can't move because of freeze time

Thanks for your advice, round_freeze_end should work. I will use it if I don't find something more reliable.
I need to implement the same algorithm in an extension and getting m_bFreezePeriod would...
Forum: Scripting 07-04-2021, 10:25
Replies: 4
Views: 807
Posted By kadet.89
[CS:GO] Detect if a player can't move because of freeze time

I'm trying to identify if a player can't move because of freeze time. For some reasons I can't use round state, so instead I want to get a "flag" or a variable wich blocks player movement during...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode