Jump to content
  • 0

Emote in other NPC


Question

Posted

Hi,

Have a npc called "Gm Dice", and i used this script bellow in a older rathena version and it works nice, and in the new rathena version it says "expectec ;"

emotion .@dado+57,0,"Gm Dice";

I call emotion in a script to be used in another one. what changed in rathena? How do i fix it?

4 answers to this question

Recommended Posts

  • 0
Posted

https://github.com/rathena/rathena/commit/ea88ea50546fd140bda875056f83a60b6b0bef96

This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.
emotion .@dado+57,0,"Gm Dice";

is now :

emotion (.@dado+57), getnpcid(0,"Gm Dice");

You can run https://github.com/rathena/rathena/blob/master/tools/convert_emotions.py to convert your script.

  • MVP 1
  • Like 1
  • 0
Posted
17 hours ago, Capuche said:

https://github.com/rathena/rathena/commit/ea88ea50546fd140bda875056f83a60b6b0bef96


This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.

emotion .@dado+57,0,"Gm Dice";

is now :


emotion (.@dado+57), getnpcid(0,"Gm Dice");

You can run https://github.com/rathena/rathena/blob/master/tools/convert_emotions.py to convert your script.

No need a program to convert, i can do it by myself ^^
Just didn't know that it has changed ^^
Thanks a lot a like!

  • 0
Posted
On 1/19/2018 at 4:04 AM, Capuche said:

https://github.com/rathena/rathena/commit/ea88ea50546fd140bda875056f83a60b6b0bef96


This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.

emotion .@dado+57,0,"Gm Dice";

is now :


emotion (.@dado+57), getnpcid(0,"Gm Dice");

You can run https://github.com/rathena/rathena/blob/master/tools/convert_emotions.py to convert your script.

image.png.22fc0556b1f3b9ce147eeb6a20b6087e.png

what to do?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...