Raised This Month: $56 Target: $400
 14% 

Issue with "preserve-attributes" function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xSquared
Junior Member
Join Date: Jan 2019
Old 01-31-2019 , 20:19   Issue with "preserve-attributes" function
Reply With Quote #1

So I can't seem to get the preserve attributes function to work.
I have attempted to set the first number to be higher than that of the last of the actual item's stats, but no use. Here's my code:

Code:
		"18"
		{
			"preserve-attributes"	"1"
			"quality"		"6"
			"level"			"1"

			"1"			"6 ; 0.1"
			"2"			"4 ; 99999999"
		}
		"513"
		{
			"preserve-attributes"	"1"
			"quality"		"6"
			"level"			"1"

			"1"			"408 ; 1"
		}
		"237"
		{
			"preserve-attributes"	"1"
			"quality"		"6"
			"level"			"1"

			"2"			"4 ; 9999999"
		}
xSquared is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-31-2019 , 20:28   Re: Issue with "preserve-attributes" function
Reply With Quote #2

Your first 2 are correct, the attribute indexes should always start from 1.

Are your item modifications working at all? Is it just always overwriting all the attributes?
__________________
asherkin is offline
xSquared
Junior Member
Join Date: Jan 2019
Old 01-31-2019 , 20:31   Re: Issue with "preserve-attributes" function
Reply With Quote #3

It's just that the original weapon's stats are gone, it replaces them as you said
xSquared is offline
xSquared
Junior Member
Join Date: Jan 2019
Old 01-31-2019 , 20:47   Re: Issue with "preserve-attributes" function
Reply With Quote #4

On top of that, It used to work correctly
xSquared is offline
xSquared
Junior Member
Join Date: Jan 2019
Old 02-01-2019 , 23:04   Re: Issue with "preserve-attributes" function
Reply With Quote #5

Really wishing I could get that working but I guess not. Whenever Is search for it anywhere, nobody has an answer, and nobody has the same problem.
xSquared is offline
Old 10-06-2019, 16:56
Gamemaster1379
This message has been deleted by Gamemaster1379.
Reply


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 05:58.


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