The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leather Sleeves is not changing PhysicalResist *solved*
Author Message
AmpereJoule
Journeyman
*

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #1
Leather Sleeves is not changing PhysicalResist *solved*
Hello,


I was testing leather sleeves and it is not changing the PhysicalResist when I equip it.

I always do:
Change script;
delete the old leather sleeve in game;
created another using .add i_leather_sleeves;
and I also try it on others players.


Comparing with the platemail arms it is almost the same, but platemail arms is working fine!

Code:
[ITEMDEF 01410]
DEFNAME=i_platemail_arms
TYPE=T_ARMOR
RESOURCES=18 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.3
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01417
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Arms
//ARMOR=8
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
//TAG.ResFire=0
//TAG.ResCold=0
//TAG.ResPoison=0
//TAG.ResEnergy=0

ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}



[ITEMDEF 013c5]
DEFNAME=i_leather_sleeves
TYPE=t_armor_leather
RESOURCES=4 i_hides_cut
SKILLMAKE=TAILORING 3.9, t_sewing_kit
WEIGHT=2.0
FLIP=1
REQSTR=50
DUPELIST=013cd
CATEGORY=Provisions - Armor - Tailoring
SUBSECTION=Leather Armor
DESCRIPTION=Leather Sleeves
TAG.ResPhysical=5
//TAG.ResFire=0
//TAG.ResCold=0
//TAG.ResPoison=0
//TAG.ResEnergy=0

ON=@Create
HITPOINTS={36 48}

[ITEMDEF 013cd]
DUPEITEM=013c5


Is it the "TYPE=T_ARMOR"?


Respectfully,
AmpereJoule
(This post was last modified: 05-06-2015 10:59 PM by AmpereJoule.)
05-03-2015 01:56 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Leather Sleeves is not changing PhysicalResist
You are using SCP, right? If so you'll have to search in these scripts what's wrong because by default it was working fine.

However if you used at some point the items/sphere_item_typedef_equipitem.scp script from default script pack you may have some version's differences, right now tag.Res* is not being used anymore (also the rest of scripts were updated reflecting that), we are using ResPhysical, ResPoison, etc.
05-03-2015 04:33 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes XuN's post
AmpereJoule
Journeyman
*

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #3
RE: Leather Sleeves is not changing PhysicalResist
(05-03-2015 04:33 AM)XuN Wrote:  You are using SCP, right? If so you'll have to search in these scripts what's wrong because by default it was working fine.

However if you used at some point the items/sphere_item_typedef_equipitem.scp script from default script pack you may have some version's differences, right now tag.Res* is not being used anymore (also the rest of scripts were updated reflecting that), we are using ResPhysical, ResPoison, etc.

hey XuN, thank you very much man, it is solved /o/
05-06-2015 10:58 PM
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)