HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Allow admins/mods to shrink pets

View previous topic View next topic Go down 
AuthorMessage
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 489
Join date : 2014-02-09
Age : 19

PostSubject: Allow admins/mods to shrink pets   Sat Mar 07, 2015 1:37 am

I've found having the ability to shrink pets as an admin very useful. In Default people are often asked to shrink their pets, but they may be afk/not paying attention to chat

Open MagixGUI.h & find

Spoiler:
 

add this in:

Spoiler:
 

if you want it admin only, remove the || mDef->isMod

The Grow/Shrink can get mixed up, if the pet is grown and it shows Grow just grow/shrink and vice versa

Also since it's a GUI change, only staff need the new file to have the ability (aka it doesn't affect normal players)

________________________________


Last edited by Hyper on Mon Mar 23, 2015 8:18 pm; edited 2 times in total
Back to top Go down
http://azoptaos.boards.net/
Slain Motionless

avatar

Game username : The-Hunted
Server : Aroessa
Female Posts : 431
Join date : 2014-05-09
Age : 18
Location : Coding

PostSubject: Re: Allow admins/mods to shrink pets   Sat Mar 07, 2015 2:04 am

Thank you very much for this Hyper, makes less lag when it comes to over sized pets. Will be adding this to SL.
Back to top Go down
http://aroessa.proboards.com
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 744
Join date : 2011-11-27

PostSubject: Re: Allow admins/mods to shrink pets   Sat Mar 07, 2015 11:35 am

Great idea thank you I will give it a go.
~Lazyzim~
Back to top Go down
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 514
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Allow admins/mods to shrink pets   Sun Mar 08, 2015 9:48 am

Works great, thanks Hyper! This will definitely save time and arguing. <3

~Obey~
Back to top Go down
http://dragonsden.freeforums.net
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 744
Join date : 2011-11-27

PostSubject: Re: Allow admins/mods to shrink pets   Sun Mar 08, 2015 1:29 pm

Yep thanks works a treat.
However don't forget to add "Pet" to
Code:
mButtonText[BUTTON_SELECTBOX1]->setCaption("Pet");
If you still want to be able to praise the other players pets.
~LazyZim~
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 489
Join date : 2014-02-09
Age : 19

PostSubject: Re: Allow admins/mods to shrink pets   Sun Mar 08, 2015 4:59 pm

Oh, duh, my bad

Thanks Lazy haha

________________________________
Back to top Go down
http://azoptaos.boards.net/
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 744
Join date : 2011-11-27

PostSubject: Re: Allow admins/mods to shrink pets   Mon Mar 23, 2015 3:42 am

This works great for Admins. However my mods have reported that all prey in game are now shrinkable/pet able. Yep checked and they are correct. They can attack a prey but screens gives the shrink option which allows shrinking of prey Smile
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 489
Join date : 2014-02-09
Age : 19

PostSubject: Re: Allow admins/mods to shrink pets   Mon Mar 23, 2015 3:54 am

I had that issue initially, I had forgotten to set it for if the critter is a pet only. Are you sure you have tCritter->getIsPet() in the code?

Spoiler:
 

________________________________
Back to top Go down
http://azoptaos.boards.net/
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2578
Join date : 2011-07-24
Age : 30

PostSubject: Re: Allow admins/mods to shrink pets   Mon Mar 23, 2015 6:16 am

Code:
tCritter->getIsPet() && (mDef->isAdmin || mDef->isMod)

________________________________
Retired
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 489
Join date : 2014-02-09
Age : 19

PostSubject: Re: Allow admins/mods to shrink pets   Mon Mar 23, 2015 8:17 pm

Oh, that would make sense, haha. Thank you Redeye, sorry bout that Lazy

________________________________
Back to top Go down
http://azoptaos.boards.net/
Sponsored content




PostSubject: Re: Allow admins/mods to shrink pets   

Back to top Go down
 
Allow admins/mods to shrink pets
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: DOWNLOADABLE CONTENT :: Programming Features-
Jump to: