Raised This Month: $ Target: $400
 0% 

Issue Store_GetItemDisplayName()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Old 09-18-2013 , 01:39   Store_GetItemDisplayName()
Reply With Quote #1

The Store_GetItemDisplayName() function sometimes throws this error:

Code:
L 09/18/2013 - 00:35:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/18/2013 - 00:35:42: [SM] Displaying call stack trace for plugin "store/store-backend.smx":
L 09/18/2013 - 00:35:42: [SM]   [0]  Line 1620, store-backend.sp::Native_GetItemDisplayName()
L 09/18/2013 - 00:35:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/18/2013 - 00:35:42: [SM] Native "Store_GetItemDisplayName" reported: Error encountered while processing a dynamic native
L 09/18/2013 - 00:35:42: [SM] Displaying call stack trace for plugin "storetest.smx":
L 09/18/2013 - 00:35:42: [SM]   [0]  Line 57, storetest.sp::GetItemsCallback()
The storetest plugin I built is just randomly pulling different item ids from the array returned by Store_GetItems(). This error occurs sometimes (about a 50/50) when I use Get_ItemDisplayName() inside of a GetItemsCallback. I tried performing Store_GetItems() using the store cache, and also not using it. Both ways seemed to cause this error.

I have no idea what it means, can anyone help??
__________________
"My brain is so left-sided, it isn't even funny... at all."

Last edited by Gecko; 09-18-2013 at 01:42.
Gecko 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 14:28.


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