HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Solved] New Account can't create Characters  (Read 4230 times)

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
[Solved] New Account can't create Characters
« on: Jan 14, 12, 07:07:47 PM »

Greetings,

today i added a new team member to my group through the control panel.
He can login fine but when he tries to create a character (still using all the clean engine stuff there) the console starts to throw noderef exceptions and the E_characterCreationWindowClassMethods script fails at the line
Code: [Select]
vis as NodeRef of Class _characterAppearance = acct._characterAppearanceRef
Thing is, when i login with my own account, everything is fine...

Could anyone point me into the right direction on how to fix this?

Thank you
« Last Edit: Jan 17, 12, 02:15:46 PM by azhwkd »
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #1 on: Jan 16, 12, 09:07:32 AM »

nobody?  :-\
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: New Account can't create Characters
« Reply #2 on: Jan 16, 12, 09:26:11 AM »

Have you modified those classes? It's entirely likely that your current character was created before the scripts were "broken", and now do not work for new accounts.

I would start by checking the revision history on the scripts to see what was modified.
Logged

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #3 on: Jan 16, 12, 09:34:40 AM »

No i did not modifiy them (other than a few println's).
The big question mark is: i am able to create new characters, delete them and do anything i am supposed to do with them. Just the new account i created is not.
There just seems to be no _characterAppearanceRef on that account node.
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: New Account can't create Characters
« Reply #4 on: Jan 16, 12, 10:36:30 AM »

I logged in as my account as was able to create and enter the world. I then logged in as the other account on your world, deleted the existing character, then made a new character, and was able to log into the world and run around. It's possible that that one character may have become corrupted for any number of reasons, but appears as though everything is working correctly.
Logged

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #5 on: Jan 16, 12, 11:09:31 AM »

Thank you for checking out my problem :)

I finally found the root of all evil which was a changed _playerAccount class.
The class was changed on the system node but the functions were not adapted to reflect this change.
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: [Solved] New Account can't create Characters
« Reply #6 on: Jan 17, 12, 07:06:29 AM »

Actually my problem seems to be the same as in http://community.heroengine.com/forums/index.php/topic,148.0.html
As i see my account still has E_playerAccount connected but any new account just get _playerAccount and not the class i attached to the ACCOUNT system node.
Pretty weird, as i do all manipulation through the Configuration GUI
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #7 on: Jan 17, 12, 12:42:04 PM »

Alright,

i tracked the issue down.
Somehow my $ACCOUNT node became confused.
On the World server level, the _account node was created using my new class, however on the Area server level it still uses E_playerAccount.
My current account (which was created before the $ACCOUNT change) shows E_playerAccount in the /hewho list, every other account created after the change just shows _playerAccount.

Any thoughts on how to correct this issue?
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.
Re: New Account can't create Characters
« Reply #8 on: Jan 17, 12, 01:00:24 PM »

In that forum topic you linked to, Christopher said,
Quote
I diagnosed the situation by destroying my own account node so I would pass through the normal process of factorying up a new account node
So I would think that would work for you to get your account node remade.

And this topic also talked about how system nodes on the world server need to be destroyed to force recreation when you change their classes if the node has methods that get called on the world server.
« Last Edit: Jan 17, 12, 01:05:05 PM by ScottZarnke »
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #9 on: Jan 17, 12, 01:09:25 PM »

Thank you for that link scott, will look into it :)
Logged
join us on IRC!
irc.freenode.net - #HeroEngine

azhwkd

  • Developers
  • *
  • Posts: 22
    • View Profile
Re: New Account can't create Characters
« Reply #10 on: Jan 17, 12, 02:15:26 PM »

Alright got it fixed with the information found in that thread. Thanks Scott !!
Logged
join us on IRC!
irc.freenode.net - #HeroEngine