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
Undefined keyword 'PETRETRIEVE'
Author Message
Berkley
Journeyman
*

Posts: 54
Likes Given: 28
Likes Received: 2 in 2 posts
Joined: Jul 2015
Reputation: 0



Post: #1
Undefined keyword 'PETRETRIEVE'
Hello,

--> 19:24:ERROR:(jobanimal.scp,80)Undefined keyword 'PETRETRIEVE'

in which .scp 'PETRETRIEVE' is missing?

best regards, Lars
10-21-2015 03:30 AM
Find all posts by this user Like Post Quote this message in a reply
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #2
RE: Undefined keyword 'PETRETRIEVE'
Try to delete PET and let RETRIEVE only.

Enviado desde mi Moto G2 mediante Tapatalk.

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
10-21-2015 07:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Berkley
Journeyman
*

Posts: 54
Likes Given: 28
Likes Received: 2 in 2 posts
Joined: Jul 2015
Reputation: 0



Post: #3
RE: Undefined keyword 'PETRETRIEVE'
(10-21-2015 07:30 AM)Shamino Wrote:  Try to delete PET and let RETRIEVE only.

Enviado desde mi Moto G2 mediante Tapatalk.

The same error as well:
ERROR:(jobanimal.scp,81)Undefined keyword 'RETRIEVE'
(This post was last modified: 10-22-2015 10:01 PM by Berkley.)
10-21-2015 11:36 PM
Find all posts by this user Like Post Quote this message in a reply
Berkley
Journeyman
*

Posts: 54
Likes Given: 28
Likes Received: 2 in 2 posts
Joined: Jul 2015
Reputation: 0



Post: #4
RE: Undefined keyword 'PETRETRIEVE'
The command "PETSTABLE" is working fine.
The commands "PETRETRIEVE" / "RETRIEVE" do not do anything.

Is it possible, that there is an error in the sphereserver.exe?
10-29-2015 03:49 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #5
RE: Undefined keyword 'PETRETRIEVE'
Code:
...
ON=*Retrieve*
    IF <NPC>==BRAIN_ANIMAL_TRAINER
        PETRETRIEVE
    ENDIF
...

May be you should use it like this?
Code:
my_npc_name Retrieve

Grandmaster Localhost Admin
(This post was last modified: 10-29-2015 04:12 AM by Kanibal.)
10-29-2015 04:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Berkley
Journeyman
*

Posts: 54
Likes Given: 28
Likes Received: 2 in 2 posts
Joined: Jul 2015
Reputation: 0



Post: #6
RE: Undefined keyword 'PETRETRIEVE'
(10-29-2015 04:11 AM)Kanibal Wrote:  
Code:
...
ON=*Retrieve*
    IF <NPC>==BRAIN_ANIMAL_TRAINER
        PETRETRIEVE
    ENDIF
...
This code is in my jobanimal.scp

When i changing it to...
Code:
...
ON=*Retrieve*
    IF <NPC>==BRAIN_ANIMAL_TRAINER
        PETSTABLE
    ENDIF
...
...i can stable the pets by saying Retrieve ingame. So the code is properly loaded, but the command PETRETRIEVE is unknown.


(10-29-2015 04:11 AM)Kanibal Wrote:  May be you should use it like this?
Code:
my_npc_name Retrieve
i tried out: that does not work too, pity
10-29-2015 04:38 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)