HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.
Pages: [1] 2

Author Topic: [Solved] Node 0 not found to call method GETMYCHARACTER  (Read 6388 times)

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs

I am replacing some E_ classes with my own versions and I am getting the above error when trying to move.

in Input_Movement script the acct noderef is failing...I obviously missed something when replacing E_playerAccount with my new P_PlayerAccount. Not sure if I have to create a prototype or what I missed.

Code: [Select]
function FigureOutMovement()
  acct as NodeRef of Class P_PlayerAccount = GetAccountID()
  char as NodeRef of Class P_PlayerCharacter = acct.GetMyCharacter()

thanks.
« Last Edit: Feb 04, 12, 01:18:51 PM by Atticus »
Logged
Atticus

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #1 on: Jan 29, 12, 04:57:35 PM »

My problem is probably related to these but trying the CLI stuff in there did not make a difference.

-qn _account, -mnrc 9223372055970831975, E_Account, -mnac 9223372055970831975, P_Account

I am not sure what to do at this point. There is a fix (next release) mentioned in the below link.


http://community.heroengine.com/forums/index.php/topic,195.msg688.html#msg688
Logged
Atticus

JoshHalls

  • Founding Professional
  • *****
  • Posts: 335
    • View Profile
    • The Repopulation
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #2 on: Jan 29, 12, 05:08:33 PM »

If it is a need reboot issue you can probably wait for the world to go to sleep and start it back up and see if it goes away since I am pretty sure that will restart the services (not 100% sure about that though).  If that doesn't resolve the issue it is probably something else.
Logged
Co-Owner/Programmer - The Repopulation

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #3 on: Jan 29, 12, 05:54:58 PM »

Atticus, that thread is from a year ago. The fix is in your code branch already, so we're looking for another culprit at this point.
Logged

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #4 on: Jan 29, 12, 06:30:21 PM »

Atticus, that thread is from a year ago. The fix is in your code branch already, so we're looking for another culprit at this point.

Thanks. The culprit is most likely me. I have replaced all the E_ classes with my own versions. But it seems I may have missed a few things. I will keep digging.

Logged
Atticus

dmccollum

  • General Accounts
  • *
  • Posts: 29
    • View Profile
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #5 on: Jan 29, 12, 07:23:08 PM »

I'm having a very similar issue replacing my E_ classes. It doesn't like the "vis as NodeRef of Class _characterAppearance = acct._characterAppearanceRef" line in the InitDressCharacter Method in my KIS_characterCreationWindowClassMethods script.

It is almost like the KIS_playerAccount and KIS_playerCharacter aren't linked.

Code: [Select]
20:15:20: !ERROR!HeroScript::HeroMachine::ScriptError:GOM::getVariableReferenceFromNode (10757): requested node ID (0) not found
20:15:20: !ERROR!System:SCRIPT ERROR: GOM::getVariableReferenceFromNode (10757): requested node ID (0) not found
01/29/2012 20:15:21

Logged

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #6 on: Jan 29, 12, 07:54:47 PM »

Well I thought I made some progress. But still getting error.

I found that I had not created a prototype for P_PlayerAccount and P_PlayerCharacter, I did not realize that _E_CharacterPrototype and e_account_prototype were tied to those two I replaced.

I added prototypes thinking that might solve my problem but it is has not. I still see it trying to access E_playerAccount

Code: [Select]
17:41:52: !ERROR!System:SCRIPT ERROR: Node 0 not found to call method GETMYCHARACTER
01/29/2012 17:41:53
Call trace:
  Script Input_Movement line 173 me[9223372055763831974]
  Script Input_Movement line 93 me[9223372055763831974]
starting method/function ONCMDSTOP
starting me[id=9223372055763831974 class=E_playerAccount,HBNode,CharacterNode,_ACCControllerOwner]


I am thinking I need to reset a node somewhere but not sure which or how to do it yet.
Logged
Atticus

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #7 on: Jan 29, 12, 08:07:50 PM »

Honestly, what you guys are doing is pretty much as complicated as it gets. The problems are that many of the classes you think you are replacing are either being used by another node or prototype etc, and so you end up not bypassing, or the node needs to be manually removed, etc. it's actually more complicated than I'm fully capable of understanding.

There are ten threads on the forums all with different things that happened to different teams while attempting to adapt the clean engine. It's hard, and we haven't done a good enough job of providing at least a flow chart with the top level overview.
Logged

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #8 on: Jan 29, 12, 08:13:11 PM »

Honestly, what you guys are doing is pretty much as complicated as it gets. The problems are that many of the classes you think you are replacing are either being used by another node or prototype etc, and so you end up not bypassing, or the node needs to be manually removed, etc. it's actually more complicated than I'm fully capable of understanding.

There are ten threads on the forums all with different things that happened to different teams while attempting to adapt the clean engine. It's hard, and we haven't done a good enough job of providing at least a flow chart with the top level overview.

Well the good news is that it is hard and I guess we should expect issues. Most of the problems I run into are just where things are not obvious or I have just not been exposed to it.

I have at this point replaced ALL client and server E_ fields, enums, classes, and associations and even gui.xml files.

Besides not being able to walk nothing has drastically exploded on me.

That is not to say that once I get past the current error that more are not waiting for me.

A top level view of the clean engine and how it all fits together would be an excellent resource.

Overall I have been impressed with the hero engine and the tools available.

I will keep plugging away and see if I can track down and fix the issues I have.

Logged
Atticus

TGSRofar

  • General Accounts
  • *
  • Posts: 153
    • View Profile
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #9 on: Jan 29, 12, 08:49:42 PM »

You probably need to destroy your account node and have it re-created.  Your existing account (and player characters) were created with previous prototypes.
Logged
Ron Farrell
Lead Programmer
Triad Game Studios

dmccollum

  • General Accounts
  • *
  • Posts: 29
    • View Profile
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #10 on: Jan 29, 12, 09:01:23 PM »

You probably need to destroy your account node and have it re-created.  Your existing account (and player characters) were created with previous prototypes.

Thanks rfarrel, but I've actually done that and I don't that is it. I can query the ACCOUNT System node and it's using my KIS_playerAccount node.  My KIS_playerAccount node shows that my KIS_playerAccount is being used.

Code: [Select]
21:52:58: \sn 9223372056746664323
21:52:58: SN LISTBEGIN 9223372056746664323 : "Node ID: 9223372056746664323 Base Class ID: 9223372056271763941 Name: "KIS_playerAccount""
SN LISTELEMENT 9223372056746664323 : "Additional Class ID: 193667453427 Name: "_characterSessionStarting" Description: "Starting session for the character.""
SN LISTELEMENT 9223372056746664323 : "Additional Class ID: 197071453426 Name: "_HeroBladeUser" Description: "User is connected with the privilaged HeroBlade client.  Supports functionality unique to HeroBlade users.""
SN LISTELEMENT 9223372056746664323 : "Field ID: 11922000002 Name: "_charList" Value: "||""
SN LISTELEMENT 9223372056746664323 : "Field ID: 93543841607 Name: "_clickTarget" Value: "0""
SN LISTELEMENT 9223372056746664323 : "Field ID: 94818181415 Name: "_cssLastSelected" Value: """
SN LISTELEMENT 9223372056746664323 : "Field ID: 94818182260 Name: "_cssLoadInCleanTest" Value: "false""
SN LISTELEMENT 9223372056746664323 : "Field ID: 107560235696 Name: "_currentCamera" Value: "FLY""
SN LISTELEMENT 9223372056746664323 : "Field ID: 197071453445 Name: "_HeroBladeEditModeEntity" Value: "0""
SN LISTELEMENT 9223372056746664323 : "Field ID: 197071453446 Name: "_HeroBladeEditModePosition" Value: "(0,0,0)""
SN LISTELEMENT 9223372056746664323 : "Field ID: 197071453447 Name: "_HeroBladeEditModeRotation" Value: "(0,0,0)""
SN LISTELEMENT 9223372056746664323 : "Field ID: 197071453425 Name: "_HeroBladeState" Value: "NONE""
SN LISTELEMENT 9223372056746664323 : "Field ID: 267062511320 Name: "_playerCharacterRef" Value: "0""
SN LISTELEMENT 9223372056746664323 : "Field ID: 269829451330 Name: "_playerTravelingSeamlessly" Value: "false""
SN LISTELEMENT 9223372056746664323 : "Field ID: 269829451331 Name: "_playerTravelingSeamlesslyTo" Value: "{AreaID:0,AreaInstanceNumber:0}""
SN LISTELEMENT 9223372056746664323 : "Field ID: 210729453442 Name: "_replicationGroupRef" Value: "0""
SN LISTELEMENT 9223372056746664323 : "Field ID: 197071453500 Name: "_SAS_ProxyEntities" Value: "||""
SN LISTELEMENT 9223372056746664323 : "Field ID: 4433000005 Name: "account_name" Value: "DRMCCOLLUM@KAYOSH.COM""
SN LISTEND 9223372056746664323 : "End of List."
21:56:26: \sn 9223372056771664319
21:56:26: SN LISTBEGIN 9223372056771664319 : "Node ID: 9223372056771664319 Base Class ID: 93305841033 Name: "_Account""
SN LISTELEMENT 9223372056771664319 : "Additional Class ID: 9223372056271750860 Name: "KIS_Account" Description: "KIS Game specific override for the $ACCOUNT system node""
SN LISTELEMENT 9223372056771664319 : "Field ID: 269817041323 Name: "_adminAccountID" Value: "0""
SN LISTELEMENT 9223372056771664319 : "Field ID: 269817041326 Name: "_adminAccountName" Value: """
SN LISTELEMENT 9223372056771664319 : "Field ID: 269817041325 Name: "_adminHandled" Value: "false""
SN LISTELEMENT 9223372056771664319 : "Field ID: 269817041324 Name: "_adminStatus" Value: "false""
SN LISTELEMENT 9223372056771664319 : "Field ID: 214262453428 Name: "_requestedRootLoads" Value: "!!""
SN LISTEND 9223372056771664319 : "End of List."
21:58:32: \qp KIS_playerAccount
21:58:32: QP LISTBEGIN 0 : "Prototype ID, Name, Description: "
QP LISTELEMENT 0 : "ID="9223372056771664363" NAME="kis_account_prototype" DESCRIPTION="""
QP LISTEND 0 : "End of Prototypes"
21:58:51: \qp KIS_Account
21:58:51: QP LISTBEGIN 0 : "Prototype ID, Name, Description: "
QP LISTELEMENT 0 : "ID="93524620188" NAME="ACCOUNT" DESCRIPTION="Prototype for the $ACCOUNT node.""
QP LISTEND 0 : "End of Prototypes"

21:59:15: \sp kis_account_prototype
21:59:15: SP LISTBEGIN 9223372056771664363 : "Prototype ID: 9223372056771664363 Name: "kis_account_prototype" Description: "" Base Class ID: 9223372056271763941 Name: "KIS_playerAccount" Package: "game""
SP LISTELEMENT 9223372056771664363 : "Field ID: 11922000002 Name: "_charList" Value: "||""
SP LISTELEMENT 9223372056771664363 : "Field ID: 93543841607 Name: "_clickTarget" Value: "0""
SP LISTELEMENT 9223372056771664363 : "Field ID: 94818181415 Name: "_cssLastSelected" Value: """
SP LISTELEMENT 9223372056771664363 : "Field ID: 94818182260 Name: "_cssLoadInCleanTest" Value: "false""
SP LISTELEMENT 9223372056771664363 : "Field ID: 107560235696 Name: "_currentCamera" Value: """
SP LISTELEMENT 9223372056771664363 : "Field ID: 267062511320 Name: "_playerCharacterRef" Value: "0""
SP LISTELEMENT 9223372056771664363 : "Field ID: 269829451330 Name: "_playerTravelingSeamlessly" Value: "false""
SP LISTELEMENT 9223372056771664363 : "Field ID: 269829451331 Name: "_playerTravelingSeamlesslyTo" Value: "{AreaID:0,AreaInstanceNumber:0}""
SP LISTELEMENT 9223372056771664363 : "Field ID: 210729453442 Name: "_replicationGroupRef" Value: "0""
SP LISTELEMENT 9223372056771664363 : "Field ID: 197071453500 Name: "_SAS_ProxyEntities" Value: "||""
SP LISTELEMENT 9223372056771664363 : "Field ID: 4433000005 Name: "account_name" Value: """
SP LISTEND 9223372056771664363 : "End of List."


Logged

XCalPro

  • General Accounts
  • *
  • Posts: 105
  • 3D Artist & HSL Coder
    • View Profile
    • Excalibur Productions
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #11 on: Jan 29, 12, 11:41:07 PM »


Code: [Select]
17:41:52: !ERROR!System:SCRIPT ERROR: Node 0 not found to call method GETMYCHARACTER
01/29/2012 17:41:53
Call trace:
  Script Input_Movement line 173 me[9223372055763831974]
  Script Input_Movement line 93 me[9223372055763831974]
starting method/function ONCMDSTOP
starting me[id=9223372055763831974 class=E_playerAccount,HBNode,CharacterNode,_ACCControllerOwner]


I also get the same errors as you. This seeme to occur when I changed the two lines in Input_Movement script to refer to my_classes instead of the E_classes. It breaks the character movement. I will delve further into this tomorrow and see if I can trace this down if someone else doesn't beat me to it.
Logged
Tony Oliveira aka XCalPro
HeroEngine Projects: Traveller 6 Online - www.traveller6.com/forum/
Portfolio: www.xcalpro.com/art

Atticus

  • General Accounts
  • *
  • Posts: 30
    • View Profile
    • 610 Labs
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #12 on: Jan 30, 12, 12:17:18 AM »

ok Made some progress...

I created a command class and called a function in it from the chat panel (see below for function I called).

Then I closed IDE and restarted. This resolved the problem of E_playerAccount hanging around and I had to create a new character (old one was gone).

So I did that. But I have no exposed more empty nodes and now my character wont even show up...Dont have time to backtrack this tonight...

Code: [Select]
function DestroyAccountNode(account as NodeRef)

  $ACCOUNT._DestroyAccountRootNode(account)
.



Code: [Select]
22:08:38: !ERROR!System:SCRIPT ERROR: In function GetPrimaryClassOnNode: GOM::describeNode (11044): requested node ID (0) not found
01/29/2012 22:08:39
Call trace:
  Script _characterAppearanceClassMethods line 26 me[id=9223372056006831971 class=P_CharacterAppearance]
  Script _playerAccountClassMethods line 68 me[9223372055999831980]


Logged
Atticus

XCalPro

  • General Accounts
  • *
  • Posts: 105
  • 3D Artist & HSL Coder
    • View Profile
    • Excalibur Productions
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #13 on: Jan 30, 12, 08:18:41 AM »

I believe I found a workaround for this issue.. At least I don't get the errors anymore and I am able to move my character.  What I had to do was modify E_playerAccount and E_playerCharacter in the DOM Editor. Specifically, I changed both the Destination Class fields (client and server) from the E_class to My_class and it works now. Granted this is a Kludge until a proper solution can be found.

This is only a temporary solution to further trace the problem and I don't recommend doing this as a fix.
« Last Edit: Mar 02, 12, 09:30:59 AM by XCalPro »
Logged
Tony Oliveira aka XCalPro
HeroEngine Projects: Traveller 6 Online - www.traveller6.com/forum/
Portfolio: www.xcalpro.com/art

XCalPro

  • General Accounts
  • *
  • Posts: 105
  • 3D Artist & HSL Coder
    • View Profile
    • Excalibur Productions
Re: Node 0 not found to call method GETMYCHARACTER
« Reply #14 on: Jan 30, 12, 10:33:32 AM »

Well that may not have been the best solution... It seems that after the system wakes up from sleep, bunch of other replication errors occur.

Ok, the only way to resolve this is to destroy the account node as previously stated above since the character that is having problems was created using an old prototype that referred to the old E_scripts.
« Last Edit: Mar 02, 12, 09:34:18 AM by XCalPro »
Logged
Tony Oliveira aka XCalPro
HeroEngine Projects: Traveller 6 Online - www.traveller6.com/forum/
Portfolio: www.xcalpro.com/art
Pages: [1] 2