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

Missing some flags. #434

Open
makandz opened this issue Dec 12, 2016 · 4 comments
Open

Missing some flags. #434

makandz opened this issue Dec 12, 2016 · 4 comments

Comments

@makandz
Copy link

makandz commented Dec 12, 2016

MultiOgar has some flags sent by the user system set in place for the chat. (And cell I think?) We should add these flags to the chat of Cigar.

I can do this in 2 weeks (for my break, they pushed it back for some stupid reason), or someone can help already 👍

@Luka967
Copy link
Collaborator

Luka967 commented Dec 13, 2016

Will help but I need to understand the main_out structure first... xD

@makandz
Copy link
Author

makandz commented Dec 13, 2016

@Luka967 Yeah I've been trying to learn it too 👍 I know most of the updateNodes section, trying to figure out how rendering really works and how I can improve it. I've got a long way to go, but closer than before.

Good luck to you as well xD

@makandz makandz added the low label Dec 19, 2016
@agariotips
Copy link

// flags
    var flags = 0;
    if (this.sender == null)
        flags = 0x80;           // server message
    else if (this.sender.userRole == UserRoleEnum.ADMIN)
        flags = 0x40;           // admin message
    else if (this.sender.userRole == UserRoleEnum.MODER)
        flags = 0x20;           // moder message

these are the flags for admin/moderator/server messages from MultiOgar.

@makandz
Copy link
Author

makandz commented Dec 22, 2016

Yep, I know. @agariotips Just trying to figure out how the heck they work.

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

No branches or pull requests

3 participants