Custom Career with Opportunities issue

Apply within. 6 years of experience required. Must not like coffee.
t888
Reactions:
Posts: 115
Joined: April 18th, 2014, 6:00 pm
Contact:

Custom Career with Opportunities issue

Post by t888 » April 7th, 2019, 9:44 am

I sent it to you, I'll contact you after you contact me again ASAP.
The world calls for graphics/art work, and I answer. So, can I count on you to call me up for service?
http://geocities.ws/graphicalmercenary/

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Custom Career with Opportunities issue

Post by Missy_Hissy » April 8th, 2019, 5:01 am

I've had a look and the only thing that didn't look quite right was this:

<GroceryStore>
<EventType></EventType>
<EventName></EventName>
<BranchName></BranchName>
<Likelihood></Likelihood>
<AvailableLevels></AvailableLevels>
<TransferCareer></TransferCareer>
<TransferBranch></TransferBranch>
<TransferLevelRelative></TransferLevelRelative>
<TransferLevelAbsolute></TransferLevelAbsolute>
</GroceryStore>


This is right at the bottom of the file and I'm wondering if there's a reason? I'm not sure if the game is reading this section but if it is, it could be a problem. Don't hold me to this but the TransferLevelRelative/Absolute will be looking for the NRaas.Gameplay.OmniSpace.Events.CareerTransfer, NRaasCareer as the EventName and since that's not been added, I'm starting to suspect this could be the source of the error. Maybe take this section out (or fill it with the event, whichever) and see if that changes anything?

This is a new one for me so I could be way off. It's the only bit of code in that file that doesn't make sense.

t888
Reactions:
Posts: 115
Joined: April 18th, 2014, 6:00 pm
Contact:

Custom Career with Opportunities issue

Post by t888 » April 8th, 2019, 10:31 am

Missy_Hissy wrote:
April 8th, 2019, 5:01 am
I've had a look and the only thing that didn't look quite right was this:

<GroceryStore>
<EventType></EventType>
<EventName></EventName>
<BranchName></BranchName>
<Likelihood></Likelihood>
<AvailableLevels></AvailableLevels>
<TransferCareer></TransferCareer>
<TransferBranch></TransferBranch>
<TransferLevelRelative></TransferLevelRelative>
<TransferLevelAbsolute></TransferLevelAbsolute>
</GroceryStore>


This is right at the bottom of the file and I'm wondering if there's a reason? I'm not sure if the game is reading this section but if it is, it could be a problem. Don't hold me to this but the TransferLevelRelative/Absolute will be looking for the NRaas.Gameplay.OmniSpace.Events.CareerTransfer, NRaasCareer as the EventName and since that's not been added, I'm starting to suspect this could be the source of the error. Maybe take this section out (or fill it with the event, whichever) and see if that changes anything?

This is a new one for me so I could be way off. It's the only bit of code in that file that doesn't make sense.
Yeah, it looks like that was it, tried taking out out to see what happened and so it gave no errors, thanks a lot!
The world calls for graphics/art work, and I answer. So, can I count on you to call me up for service?
http://geocities.ws/graphicalmercenary/

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7568
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Custom Career with Opportunities issue

Post by Chain_Reaction » April 8th, 2019, 1:08 pm

That makes sense. The error meant you were trying to use an opportunity as an event but it was using the default opportunity class because it was finding a blank entry. Glad you sorted it out.

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Custom Career with Opportunities issue

Post by Missy_Hissy » April 8th, 2019, 1:51 pm

Glad that seems to have sorted it! :)

t888
Reactions:
Posts: 115
Joined: April 18th, 2014, 6:00 pm
Contact:

Custom Career with Opportunities issue

Post by t888 » April 8th, 2019, 6:11 pm

Yeah, thank you both.
The world calls for graphics/art work, and I answer. So, can I count on you to call me up for service?
http://geocities.ws/graphicalmercenary/

Post Reply