HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Build: 1 failed [solved]

View previous topic View next topic Go down 
AuthorMessage
Shanol

avatar

Game username : Shanol
Server : Dragon's Den (Keeper), Azoptaos (Architect), G&R (Owner)
Male Posts : 37
Join date : 2014-04-03
Location : Alternative Kingdom

PostSubject: Build: 1 failed [solved]   Sun Oct 11, 2015 10:24 pm

Hello everyone. I am the another one who is stuck in banality.
I am a newbie in programming, so expect many questions like that from me.

I had to reinstall my Windows and then i was busy recovering my lost files.
Now i finally got back to my game files and recompiled it and...

Code:
error C2660: 'MagixCharScreenManager::initialize' : function does not take 8 arguments

Can anyone help me..?

I had my game working already, i just lost many files and completely forgot a bunch of information i learned about IT servers.


Last edited by Shanol on Fri Oct 23, 2015 8:27 am; edited 1 time in total
Back to top Go down
http://shanol.deviantart.com
Hyper
Admin
avatar

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

PostSubject: Re: Build: 1 failed [solved]   Mon Oct 12, 2015 12:11 am

the initialize function in CharScreen has the wrong number of arguments

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

avatar

Game username : Shanol
Server : Dragon's Den (Keeper), Azoptaos (Architect), G&R (Owner)
Male Posts : 37
Join date : 2014-04-03
Location : Alternative Kingdom

PostSubject: Re: Build: 1 failed [solved]   Mon Oct 12, 2015 12:49 am

Hyper wrote:
the initialize function in CharScreen has the wrong number of arguments
But.. what do i change there? I still have no idea where to find most of things.
I thought it was in MagixGui..

Code:
mCharScreenManager->initialize(mDef,mEffectsManager,mAlertBox,mUnitManager->getPlayer(),sceneMgr,mBoxText[GUI_CHARSCREENBOX],mBackdrop,mLang)
Back to top Go down
http://shanol.deviantart.com
Shanol

avatar

Game username : Shanol
Server : Dragon's Den (Keeper), Azoptaos (Architect), G&R (Owner)
Male Posts : 37
Join date : 2014-04-03
Location : Alternative Kingdom

PostSubject: Re: Build: 1 failed [solved]   Mon Oct 12, 2015 1:14 am

Oh.. well
This one is from CharScreen..
Code:
}
   void initialize(MagixExternalDefinitions *def, MagixEffectsManager *effectsMgr, MagixAlertBox *alertBox, MagixUnit *unit, SceneManager *sceneMgr, OverlayElement *name, OverlayElement *backdrop)
   {
Back to top Go down
http://shanol.deviantart.com
Hyper
Admin
avatar

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

PostSubject: Re: Build: 1 failed [solved]   Mon Oct 12, 2015 2:29 am

the one in gui has an extra argument: mLang

if you added the language thing you need to add that argument to the function in charscreen as well

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

avatar

Game username : Shanol
Server : Dragon's Den (Keeper), Azoptaos (Architect), G&R (Owner)
Male Posts : 37
Join date : 2014-04-03
Location : Alternative Kingdom

PostSubject: Re: Build: 1 failed [solved]   Thu Oct 15, 2015 12:22 am

Hyper wrote:
the one in gui has an extra argument: mLang

if you added the language thing you need to add that argument to the function in charscreen as well

Changed it like this:
Code:
}
 void initialize(MagixExternalDefinitions *def, MagixEffectsManager *effectsMgr, MagixAlertBox *alertBox, MagixUnit *unit, SceneManager *sceneMgr, OverlayElement *name, OverlayElement *backdrop, MagixLanguageManager *lang)
 {

That's what is said now:
Code:
MagixCharScreenManager.h(100): error C2061: syntax error : identifier 'MagixLanguageManager'
Back to top Go down
http://shanol.deviantart.com
 
Build: 1 failed [solved]
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 :: SUPPORT :: Support :: Solved Support Issues-
Jump to: