• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] BEASTMASTER NPC

Status
Not open for further replies.

jay

Enthusiast
Hi people's of Emudevs :)

Im using http://emudevs.com/showthread.php/1250-Trinity-C-Beastmaster (BeastMaster Script) but I get 3 errors that i cannot resolve and thought maybe some of you pros can help :D

error C2065: 'POWER_HAPPINESS' : undeclared identifier
error C2660: 'Unit::SetMinion' : function does not take 2 arguments
error C2039: 'SavePetToDB' : is not a member of 'Pet'

the script is in that thread :) thanks already .

regards jay :D fan of tommy :O
 

Parranoia

Insane Member
Is your core up to date?

Looking at the TrinityCore repo it seems like it should work fine unless I'm missing something.
 

Tommy

Founder
Hi people's of Emudevs :)

Im using http://emudevs.com/showthread.php/1250-Trinity-C-Beastmaster (BeastMaster Script) but I get 3 errors that i cannot resolve and thought maybe some of you pros can help :D

error C2065: 'POWER_HAPPINESS' : undeclared identifier
error C2660: 'Unit::SetMinion' : function does not take 2 arguments
error C2039: 'SavePetToDB' : is not a member of 'Pet'

the script is in that thread :) thanks already .

regards jay :D fan of tommy :O

I have a fan, woo! XD

Anyway, I'm going with what Parranoia said. I just looked through TC's source myself and everything that errors for you, POWER_HAPPINESS exists, SetMinion can be supplied with two arguments and SavePetToDB exists. How old is your source? Not sure if those errors goes by the date of the source or if your source has been altered.
 

Tommy

Founder
Sry. Forgot to mention this is 4.3.4 not 3.3.5 :eek:

yes u have a fan :D

That makes sense now. POWER_HAPPINESS does not exist in 4.3.4, so comment out that line. It should be fine because the rest of the errors you have, there's nothing wrong with those functions. SetMinion can have two arguments and SavePetToDB exists.
 

jay

Enthusiast
Hi Jommy , thanks for the response.

I commented out the line , but the problem is i still get these 2 other error(S) maybe u can try? :O ty jommy , hopefully you can fix the last 2 errors.
 

Tommy

Founder
Lol'd, Jommy.. XD

My fan doesn't know my name. :(

Thanks for correcting that script, ExonatioN! Credits really wasn't necessary. :p
 
Status
Not open for further replies.
Top