SphereCommunity
Undefined keyword 'PETRETRIEVE' - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Undefined keyword 'PETRETRIEVE' (/Thread-Undefined-keyword-PETRETRIEVE)



Undefined keyword 'PETRETRIEVE' - Berkley - 10-21-2015 03:30 AM

Hello,

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

in which .scp 'PETRETRIEVE' is missing?

best regards, Lars


RE: Undefined keyword 'PETRETRIEVE' - Shamino - 10-21-2015 07:30 AM

Try to delete PET and let RETRIEVE only.

Enviado desde mi Moto G2 mediante Tapatalk.


RE: Undefined keyword 'PETRETRIEVE' - Berkley - 10-21-2015 11:36 PM

(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'


RE: Undefined keyword 'PETRETRIEVE' - Berkley - 10-29-2015 03:49 AM

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?


RE: Undefined keyword 'PETRETRIEVE' - Kanibal - 10-29-2015 04:11 AM

Code:
...
ON=*Retrieve*
    IF <NPC>==BRAIN_ANIMAL_TRAINER
        PETRETRIEVE
    ENDIF
...

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



RE: Undefined keyword 'PETRETRIEVE' - Berkley - 10-29-2015 04:38 AM

(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