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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dmccollum

Pages: [1] 2
1
I've been looking over the HJ Ref implementation of the character selection and I'm still pretty confused on how they're showing the character.

Can anyone do an overview of how they're able to do that, or know a better way. I'm not getting how they are finding and displaying what items the character currently has equipped and what character customizations were picked. Or is all that handled behind the scenes with the HBNODE?

2
Scripting & Programming / Re: BaseEffect prototype in HJ
« on: Oct 16, 12, 12:08:04 PM »
Thanks Trigger for your help. I had the CharGroup class as the base class of the prototype. So I had to delete the prototype and recreate it with the CharGroupDB class. That then broke the $CharGroup Node, so I just created it with the new prototype. I'm waiting for my server to spindown to see if that worked.

3
Scripting & Programming / Re: BaseEffect prototype in HJ
« on: Oct 15, 12, 03:11:03 PM »
Thanks! If you have CharGroups (server) and CharGroup (client) that would be awesome.

4
Scripting & Programming / Re: BaseEffect prototype in HJ
« on: Oct 15, 12, 01:05:40 PM »
I think I've found the class this prototype uses, but there are several others that I'd like to see. Cooper, if a query only option is not available on the Reference worlds, can you guys post an output of \sp for the prototypes on the wiki?

5
Scripting & Programming / [Resolved] BaseEffect prototype in HJ
« on: Oct 07, 12, 05:38:52 PM »
Does anyone know what class the baseEffect prototype in HJ uses? I thought it might be Effect, but I'm not sure. Cooper, Is there anyway we can get access to \SP in HJ?

6
Looks like because both GUI9Slice and _GUIDropDownBox derive separately from GUIControl, there is a conflict which often happens with multi-parenting.

You could try manually adding the fields from GUI9Slice alone to your class, and copy over the methods that use them.  Or use GUI9Slice as the base class and manually copy over stuff from _GUIDropDownBox. Whichever might be easier.

Edit: I see GUI9Slice's script has no methods.  Must work in engine code.

Frankly they seem like an odd combination to put together in the first place; I am not sure how those behaviors could really coexist.

Which part of the dropdown box are you trying to make 9-slice?

Thanks for your help Scott. I'm just trying to replace the E_ classes. I'm not sure how they got it to work in the first place and even more so how it worked for Atticus and me earlier. I'm kind of afraid to do something different until I can get all of the E_ classes replaced based on all the problems I've had doing so far.

7
_GUIDropDownBox is derived from GUIControl, so you would not need both as parents, only _GUIDropDownBox.

dmccollum: which class(es) are you trying to use for your control?

I'm trying to make it just like E_dropDownBox. GUI9Slice also has four fields that _GUIDropDownBox doesn't. allowmove, margin, resize and slices.

What's strange is I was able to finally get it to work before just like Atticus said. Now it won't work at all.

8
I'm having the same exact issue. I was able to get this to work before by trying different combinations of adding _GUIDropDownBox and GUI9Slice differently. I'm starting over trying to port the E_ classes and this time I can't get this work at all. I've tried via CLI and in the DOM editor.

9
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.

Cooper,

Any chance you guys would be able to provide a flowchart any time soon? I've now at the point that I'm completely stuck and will probably need you to just reset my world and start over.

10
General Discussion / Re: [Solved] Any update for DreamManager?
« on: Jan 31, 12, 12:32:39 PM »
I'm in the same boat, my world doesn't have access to DreamManager. I'm not in a huge rush ATM while I'm trying to work through the E_ class replacement issues.

11
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."



12
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


13
Scott,

That worked. Thank you very much Scott and Extremo! Any tips on the proper way to create the prototypes for the E_ replacement stuff?

14
Thanks again Extremo, but that didn't work either. It has been a few weeks since I created the prototypes, but I believe I used the cpfc command.

15
Extremo, You're correct, I'm trying to remove the class from the prototype. Thank you for your response.

I'm still having problems trying to remove this class. So here's the details.

When I issue a \QP KIS_Account
Code: [Select]
QP LISTBEGIN 0 : "Prototype ID, Name, Description: "
QP LISTELEMENT 0 : "ID+9223372056340079778"
NAME="_KIS_AccountPrototype" DESCRIPTION="Prototype for KIS Account""
QP LISTELEMENT 0 : "ID=9223372056403664347"
NAME="KIS_Account_Prototype" DESCRIPTION="""
QP LISTEND 0 : "End of Prototypes"

Then I run a CMD script that has these two lines.
Code: [Select]
$GLOM._RemoveClassFromPrototype( "KIS_Account", $_KIS_AccountPrototype)
$GLOM._RemoveClassFromPrototype( "KIS_Account", $KIS_Account_Prototype)

I get the following error in the chat window and the class is not removed from the two prototypes.
Code: [Select]
[hsl_error] 1,1: [Character Selection] SCRIPT ERROR: Requested unglom on a prototype, but the node (9223372056526664324 is not a prototype.

Here's what I get when I query that node.
Code: [Select]
\sn 922337205652666324

SN LISTBEGIN 922337205652666324 : "Node ID: 922337205652666324 Base Class ID: 9223372056271750860 Name: "KIS_Account""
SN LISTEND 922337205652666324 : "End of List."

Pages: [1] 2