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-nmm6 (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-nmm6 (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-nmm6 (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
durability of items
Author Message
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #1
durability of items
I need a script that I can see dirabilidade of my items, and I wanted my items degrade when they are being used

example:

I have a sword with 58/58 durability, I hit a skull with this sword and my sword has lost 3 of durability and was 55/58 for durability.

wanted when durability come to 0 the item was broken, that same script also wanted a system that would notice the items

example
I have a sword that with 11/58 durability to be able to fix it I need 5 iron bars and a hammer.

thxxx Big Grin
03-29-2014 11:36 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #2
RE: durability of items
Easy way: in spehe.ini if you set FeatureAOS = 01|02 It states the durability of the weapon by highlighting it. providing the resource is the iron bars, it should already be able to repair the equipment with an anvil.

But if that's not what your after, what does it mean to have the equipment broken on your server? would it be removed? and do you want it to just show the durability or require arms lore to show it?
04-01-2014 08:01 PM
Find all posts by this user Like Post Quote this message in a reply
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #3
RE: durability of items
would post this as part of my sphere.ini not have this option
04-02-2014 10:27 PM
Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #4
RE: durability of items
What sphere version have u?
04-17-2014 10:52 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #5
RE: durability of items
0.55i
04-20-2014 05:24 AM
Visit this user's website 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: #6
RE: durability of items
Moved to 55i Forum.
04-20-2014 05:59 PM
Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #7
RE: durability of items
my version is 56b, 56b upgraded it to, someone could help, I need a script when I use the arms lore skill on an item appeared in the corner of the screen as follows.

Durability: xx / xx

where XX would be the value of durability, example:

195/200
04-30-2014 08:00 AM
Visit this user's website 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: #8
RE: durability of items
Go to the Arms Lore skill in sphere_skills.scp and do this under @Success:

SysMessage=Hitpoints : <act.hitpoints> / <act.maxhits>
04-30-2014 05:22 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)

This forum uses Lukasz Tkacz MyBB addons.