Jump to content
  • 0

[Problem] Mount with slot and effect - LeNnT


Kamol

Question




Does anyone know what's going on. What should I import

 

char_item.cpp:1826: error: 'class CItem' has no member named 'GetNewAttributeType'
char_item.cpp:1826: error: 'class CItem' has no member named 'GetNewAttributeValue'

13.thumb.png.628f9bfcc0cbe7ae05d02d58e7ab4033.png

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
  • Premium

char_item.cpp:1826: error: 'class CItem' has no member named 'GetNewAttributeType'
char_item.cpp:1826: error: 'class CItem' has no member named 'GetNewAttributeValue'

 

2 FUNCTION DONT DECLARED

Link to comment
Share on other sites

  • 0

If you don't have these functions, try to change:

GetNewAttributeType to GetAttributeType
GetNewAttributeValue to GetAttributeValue

In char_item.cpp:

							//Mount(item->GetValue(4), false, item->GetValue(0) * 60, item->GetNewAttributeType(0), item->GetNewAttributeValue(0));
							Mount(item->GetValue(4), false, item->GetValue(0) * 60, item->GetAttributeType(0), item->GetAttributeValue(0));
							item->SetCount(item->GetCount() - 1);

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.