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
Weird behaviors @Dead // resurrect and parrying
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
Weird behaviors @Dead // resurrect and parrying
dear friends, im using the latest rev but i had the same issues in previews ones....

first at all parring doesnt seem to be working, no attempts .. now parrys.. i even tried some triggers under this skills but nothing...

the second one is when i get killed.. when resurrecting i get a normal robe with over 250 MODAR and if i take it out i get with those negatives values of armor....

also ive been checking wrestling and no hits are made... tried with dam 1000 and 10000 skill... not a single hit is done Confused

please... suggestions? thank you very much.
(This post was last modified: 08-15-2014 02:07 PM by kn4tseb.)
08-15-2014 01:55 PM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #2
RE: Weird behaviors @Dead // resurrect and parrying
Parrying just increase your total AR while carrying a shield, if you need some special features (like block the attack) you need to script them.

About the other issues... maybe you have some problem with your custom scripts... did you modify something?
(This post was last modified: 08-15-2014 05:55 PM by Rizz.)
08-15-2014 05:55 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: Weird behaviors @Dead // resurrect and parrying
yes i had a little error about the modar and staff but about wrestlnig and shielding... they need to be rescripted??? do you have a reference of an example for parrying?

thank you.
08-16-2014 12:52 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #4
RE: Weird behaviors @Dead // resurrect and parrying
Is there any way to get which layer has been hit??? would be great for parrying :/
08-16-2014 02:34 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #5
RE: Weird behaviors @Dead // resurrect and parrying
(08-16-2014 02:34 AM)kn4tseb Wrote:  Is there any way to get which layer has been hit??? would be great for parrying :/
No, but you can code the system to set which layer will be hitten.

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.
08-16-2014 02:40 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #6
RE: Weird behaviors @Dead // resurrect and parrying
would you give me a very short clue or tip about how to do that?
just to know how the code might start... ill do the rest


PD: Shield covers LAYER_GLOVES right?
LAYER_GLOVES gives ARMOR_HANDS

PD2: so Parrying & wrestling should b: SKF_SCRIPTED 0001 fully scripted, no hardcoded behaviour or
SKF_FIGHT 0002 considered a fight skill, maintains fight active
(This post was last modified: 08-16-2014 04:53 AM by kn4tseb.)
08-16-2014 04:36 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: Weird behaviors @Dead // resurrect and parrying
No buddy, Shield is layer_hand2.

You can set the layer to hit on @hittry, @hit, @gethit...

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.
08-16-2014 04:58 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #8
RE: Weird behaviors @Dead // resurrect and parrying
I know my friend but there's no such layer for armor calculations:
Body parts and Percents
10 percent from ARMOR_HEAD
5 percent from ARMOR_NECK
10 percent from ARMOR_BACK
30 percent from ARMOR_CHEST
10 percent from ARMOR_ARMS
10 percent from ARMOR_HANDS
20 percent from ARMOR_LEGS
5 percent from ARMOR_FEET

What layer covers what?
LAYER_HELM gives ARMOR_HEAD
LAYER_COLLAR gives ARMOR_NECK
LAYER_SHIRT, LAYER_CHEST, LAYER_TUNIC, LAYER_CAPE, LAYER_ROBE gives ARMOR_BACK
LAYER_SHIRT, LAYER_CHEST, LAYER_TUNIC, LAYER_ROBE gives ARMOR_CHEST
LAYER_ARMS, LAYER_CAPE, LAYER_ROBE gives ARMOR_ARMS
LAYER_GLOVES gives ARMOR_HANDS
LAYER_PANTS, LAYER_SKIRT, LAYER_HALF_APRON, LAYER_ROBE, LAYER_LEGS gives ARMOR_LEGS
LAYER_SHOES, LAYER_LEGS gives ARMOR_FEET

So i suppose if i want to check or set in the future which layer will be the only one for that i suppose would be layer_gloves...

anyway...

as im still trying to figure how actidff works ... i have this code... does it look ok?

Code:
/////// CHAR EVENT
ON=@gethit
IF (<ISPLAYER>)
IF (<FINDLAYER.2.TYPE> == T_SHIELD)
ACT = <FINDLAYER.2.UID>
//LOCAL.CHANCEOFPARRYING=1000
SKILL PARRYING
//IF !(<R2>)  // higher more difficult

//ENDIF
ENDIF
ENDIF

/////////////////// SKILL EVENT for parrying
ON=@Start
ACTDIFF = <R0,<EVAL <EVAL 1500-<PARRYING>>/<R1,5>>>

now i suppose that if actdiff success i have to code the blocking action and the skillgaining stuff
(This post was last modified: 08-16-2014 06:17 AM by kn4tseb.)
08-16-2014 06:16 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #9
RE: Weird behaviors @Dead // resurrect and parrying
Shield AR is based on Parrying Skill.

(08-15-2014 05:55 PM)Rizz Wrote:  Parrying just increase your total AR while carrying a shield, if you need some special features (like block the attack) you need to script them.

About the other issues... maybe you have some problem with your custom scripts... did you modify something?

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.
08-16-2014 06:38 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #10
RE: Weird behaviors @Dead // resurrect and parrying
understood, one more thing extreme, when player gets hit, it receives some kind of sysmessage showing something like "char hits your bla bla and whatever"
anyway.. i want to add that: you parry the blow using the same font, do you know how it is?
(This post was last modified: 08-16-2014 07:04 AM by kn4tseb.)
08-16-2014 07:03 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)