Raised This Month: $52 Target: $400

GenEntDataVector errors

Post New Thread Reply   
Thread Tools Display Modes
Author Message
AlliedModders Donor
Join Date: Oct 2015
Old 10-10-2019 , 07:07   GenEntDataVector errors
Reply With Quote #1

Hi Folks,

This is for Insurgency.

I have two plugins. One (Jballou library) insurgency.smx and my own (built on his and daimyo81) called ozrespawn4.4 (a medic and respawn - amongst other things plugin).

I'm getting errors blaming insurgency.smx and spamming my logs.

The error is :

PHP Code:
L 10/09/2019 16:26:21: [SMBlaminginsurgency.smx
L 10
/09/2019 16:26:21: [SMCall stack trace:
L 10/09/2019 16:26:21: [SM]   [0GetEntDataVector
L 10
/09/2019 16:26:21: [SM]   [1Line 849D:\Libraries\Insurgency Development\Servers\Checkpoint Development\Sourcemod\WIP\scripting\insurgency.sp::Native_ObjectiveResource_GetPropVector
L 10
/09/2019 16:26:21: [SM]   [3Ins_ObjectiveResource_GetPropVector
L 10
/09/2019 16:26:21: [SM]   [4Line 1671D:\Libraries\OneDrive\Gaming\Insurgency Development\Sourcemod\WIP\scripting\ozrespawn4.4.sp::Timer_CheckEnemyStatic
L 10
/09/2019 16:26:22: [SMException reportedOffset -1 is invalid 
The function for insurgency.sp is:"

PHP Code:
public Native_ObjectiveResource_GetPropVector(Handle:pluginnumParams) {
    if (
len <= 0) {
size 12// Size of data slice - 3x4-byte floats
element GetNativeCell(3);
    if (
g_iObjResEntity 0) {
GetEntDataVector(g_iObjResEntityFindSendPropInfo(g_iObjResEntityNetClassprop) + (size element), result);

The function in my respawn plugin is too large to post here, so I've attached it instead. Look on line 1671 in the Timer_CheckEnemyStatic function. This function checks enemies stuck.

Any help would be greatly appreciated.
Attached Files
File Type: sp Get Plugin or Get Source (ozrespawn4.4.sp - 14 views - 205.1 KB)
File Type: sp Get Plugin or Get Source (insurgency.sp - 6 views - 61.1 KB)

Last edited by ozrich; 10-10-2019 at 07:16.
ozrich is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 17:53.

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