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
Taming error
Author Message
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #11
RE: Taming error
thx this one works Smile finaly Smile
11-27-2014 12:59 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #12
RE: Taming error
Remember to add a check for controlling if the player is actually in the attacker list !
11-27-2014 01:01 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #13
RE: Taming error
Seems like it works but i am getting this error
14:58:ERROR:(sphere_skills.scp,782)Undefined keyword 'ref1.attacker.0.delete'

15:04:ERROR:(sphere_skills.scp,781)Undefined symbol 'id'
15:04:ERROR:(sphere_skills.scp,782)Undefined keyword 'ref1.attacker.0.delete'

how to check that?
(This post was last modified: 11-27-2014 01:08 AM by Kapa.)
11-27-2014 01:01 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #14
RE: Taming error
(11-27-2014 01:01 AM)Kapa Wrote:  Seems like it works but i am getting this error
14:58:ERROR:(sphere_skills.scp,782)Undefined keyword 'ref1.attacker.0.delete'

15:04:ERROR:(sphere_skills.scp,781)Undefined symbol 'id'
15:04:ERROR:(sphere_skills.scp,782)Undefined keyword 'ref1.attacker.0.delete'

Try this

Code:
ON=@Success
ref1 = <act>
local.index = <ref1.attacker.id <src>>
if ( <local.index> != -1 )
  ref1.attacker.<dlocal.index>.delete
endif
11-27-2014 01:09 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #15
RE: Taming error
no it doesnt work animal still attacks

the only cure is using peacemaking :/

animal still attacks after taming. well it doesnt attack after taming but after you mount and unmount he is attacking
here is the error

15:31:ERROR:(sphere_skills.scp,783)Undefined keyword 'ref1.attacker.0.delete'
(This post was last modified: 11-27-2014 01:32 AM by Kapa.)
11-27-2014 01:17 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #16
RE: Taming error
Are you using the prerelease of sphere or a recent nightly version ?
Because some of the attacker properties are not implemented in the prerelease
(This post was last modified: 11-27-2014 03:24 AM by darksun84.)
11-27-2014 02:59 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #17
RE: Taming error
i am using V0.56b pre_release
11-27-2014 03:31 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #18
RE: Taming error
Ahh that's why delete didn't work Big Grin

So try just this

Code:
ON=@Success
ref1 = <act>
ref1.attacker.clear
(This post was last modified: 11-27-2014 03:36 AM by darksun84.)
11-27-2014 03:35 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #19
RE: Taming error
doesnt work :/
04:12:ERROR:(sphere_skills.scp,781)Undefined keyword 'ref1.attacker.clear'
11-27-2014 02:13 PM
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: #20
RE: Taming error
I remember that 'clear' was a added as read and was fixed after the pre-release, try this: local.a=<ref1.attacker.clear>
11-28-2014 10:52 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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