Jump to content
  • 0

Usage of deprecated constant


rmon

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

Hi Guys,

I had this issue after i update my rathena git.

How to fix it ?

image.png.d3f0e829bf4d8f8a7d1b726314aa5832.png

image.png.430ecf5e3ae6df3baa9434845339085a.png

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

You need to convert those constants. We prepared a script for that. https://github.com/rathena/rathena/blob/master/tools/convert_emotions.py

If you installed python3, you just need to run

cd tools
./convert_emotions.py

Related Pull Request: https://github.com/rathena/rathena/pull/2527

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

9 hours ago, Jey said:

You need to convert those constants. We prepared a script for that. https://github.com/rathena/rathena/blob/master/tools/convert_emotions.py

If you installed python3, you just need to run


cd tools
./convert_emotions.py

Related Pull Request: https://github.com/rathena/rathena/pull/2527

Having some issue.

image.png.64be129727bbf56b93dca782fdb3d1a2.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

4 minutes ago, rmon said:

Having some issue.

image.png.64be129727bbf56b93dca782fdb3d1a2.png

make sure you have an updated convert_emotions.py and if yes.

Download phyton33 or phyton3 on your VPS. Enable it to your user.

To verify if the user is able to use the phyon. Type "which phyton" or "which python33"

If all above statements are met, use ./convert_emotions.py under tools without any problem :)

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  67
  • Reputation:   3
  • Joined:  03/22/15
  • Last Seen:  

error resembles here!

[Warning]: Usage of deprecated constant 'E_SWT2'.vice.txt

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_SWT2'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_SWT2'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_OMG'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_OMG'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_OMG'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_OMG'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_KIS'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_KIS'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

[Warning]: Usage of deprecated constant 'E_LV'.

[Warning]: This constant was deprecated and could become unavailable anytime soon.

Is the way to solve it the same?

Link to comment
Share on other sites

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.

×
×
  • Create New...