Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird issue, armor on items going high
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #1
Weird issue, armor on items going high
Hello guys!

Does anyone experiencing this weird problem?
Sometimes the armor on items goes very high, like 25431 without any change...

It happened with clothing and armor items...

[Image: AiuZZKI.png]

As you can see, this is very weird and I didn't find anything that can be doing this.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-10-2014 01:11 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Weird issue, armor on items going high
It's caused because in the new script pack the armor value is not assigned in the itemdef (they are all commented).
So when the armor/shield is created, it gets a super high armor value by default.


Also this is not always noticeable because now all items have the t_equipitem typedef and most of armor items have the tag.resphysical in the @create trigger and inside this this typedef the armor is applied to character by modar (taking the resphysical tag in consideration).

So if you remove the t_equipitem typedef you'll see that every armor/shield gives you super high result.
09-10-2014 08:35 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #3
RE: Weird issue, armor on items going high
+2 drk
-99999 for to who changed this

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-10-2014 11:27 PM
Find all posts by this user Like Post Quote this message in a reply
matex
Sphere Developer
*****

Posts: 11
Likes Given: 0
Likes Received: 3 in 3 posts
Joined: Mar 2014
Reputation: 0



Post: #4
RE: Weird issue, armor on items going high
I changed that when the Baseid of an item is changed the armor is copied from the Itemdef because before that the armor did not change with the ID.
But i dont think this could possibly cause this..?
09-12-2014 04:03 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Weird issue, armor on items going high
The problem was already present before your change sisi
09-12-2014 07:27 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)