Free pass to enclaves

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
I was thinking about breaking the certificationrequired to Light/Dark Enclaves. Any idea?.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
* Fixed:

Oh man, i was a complete idiot. I got a problem while the initial server build and i didn't notice. The build was OK but, by some reason, it didn't build correctly, instead of the "success" message.

I was looking for CRCs issues, Strange Commands, and other shit and the true problem was the build. And it was simply removing
>containerComponent = "EnclaveContainerComponent",<< from:
https://github.com/TheAnswer/Core3/...ripts/object/building/yavin/light_enclave.lua
https://github.com/TheAnswer/Core3/...ripts/object/building/yavin/dark_enclave.lua


once the server build is correct. I needed to back to an older snapshot to avoid that invisible bug on build.

You can add a new building using those same templates and you won't get the "permission" message.

Fully silly. Now, my new "senate.iff" building Lua is working like a common building while "light_enclave.iff" has the walk denied. It was really strange when my new lua hadn't any Component active in the file...

PS: Damn bugs.
Thank you, Timbad.
 
Last edited:

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Awesome to hear! Nice work. I know the pains of when you have it correct but messed up elsewhere, making you think what you did was actually wrong, which leads to questioning existence and the universe, because nothing makes sense anymore, haha.

Happy you managed to work it out in the end though. I sadly can't be of more help in general when it comes to Core3, as I'm purely a client guy.

P.S. It's Timbab, not Timbad. :p
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Been there a couple times today, things that were already fixed, being broken 'for no reason'. Gotta love it. :D

And nope, my name predates that one. :p
 

Valkyra

Member
Joined
Aug 31, 2010
Messages
211
If you want a more 'thorough' answer to your question, check this:

https://github.com/TheAnswer/Core3/blob/0c4300623fd70bf26078d20dc0c20844a0dda0f8/MMOCoreORB/src/server/zone/objects/building/components/EnclaveContainerComponent.cpp#L71

Change:
Code:
return false;
To:
Code:
return true;
Also, you can remove line 69, either by commenting (//) or just erasing the line, so that the system message doesn't display.

Basically, from what I can see it's a container component that just checks the buildingobject permission, returning true at the end will just make it always allow. But, I don't know if there will be a cell issue.

This is all assuming you even want the EnclaveContainerComponent set on your enclave building in Lua, if you want the other features it provides.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Yep. Removing line 54 to 57 you can get the same thing. I checked before getting my bad build.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Updated:

I can't use a new file for a custom "light/dark_enclave". Server crashes when initializes. I have to use that custom .iff for the Client but the original light/dark_enclave.iff for Server, but that causes the toon can't get into them without "god mode on".

Ideas?
 
Top Bottom