Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCP Red Dragon/Turret Whitelist Example + Smart Gate Corp Whitelist #52

Draft
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

CCP-Red-Dragon
Copy link
Contributor

@CCP-Red-Dragon CCP-Red-Dragon commented Oct 10, 2024

Adding to the Turret example to create a whitelist system accompanied with a client for altering and viewing the current whitelist.

@CCP-Red-Dragon CCP-Red-Dragon changed the title CCP Red Dragon/Turret Whitelist Example CCP Red Dragon/Turret Whitelist Example + Smart Gate Corp Whitelist Oct 15, 2024
Unsure if this should be in the example as it adds another layer of complexity.
console.log("Can Jump:", smartGate.canJump(1234, sourceGateId, destinationGateId));

console.log("-------------------\nTESTING CORRECT CORP");
console.log("Can Jump:", smartGate.canJump(666666666, sourceGateId, destinationGateId));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we bring the character id from .env ?


//Check to see if the address exists
for(var i = 0; i < data.length; i++){
if(data[i].name == characterNameInputRef.current){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you go by characterId address instead of name ? Or possibly enter characterName or characterId or characterAddress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants