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

[Оптимизмция] Добавить функцию сброса-установки бита в Identity #936

Closed
pavel-pimenov opened this issue Aug 22, 2015 · 3 comments

Comments

@pavel-pimenov
Copy link
Owner

commented Aug 22, 2015

From Pavel.Pimenov@gmail.com on January 21, 2013 12:40:58

В коде присуствует определенное кол-во парных команд
get и set и сейчас они выполняют двойную блокировку секцией

C:\vc10\r5xx-trunk\client\CheatManager.h(142): ou->getIdentity().set("FC", Util::toString(Util::toInt(ou->getIdentity().get("FC")) | Identity::BAD_LIST));
C:\vc10\r5xx-trunk\client\CheatManager.h(160): ou->getIdentity().set("FC", Util::toString(Util::toInt(ou->getIdentity().get("FC")) | Identity::CHECKED));
C:\vc10\r5xx-trunk\client\User.cpp(238): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(240): set("FC", Util::toString(Util::toInt(get("FC")) & ~BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(413): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(414): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_LIST));
C:\vc10\r5xx-trunk\client\User.cpp(424): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(490): set("FC", Util::toString(Util::toInt(get("FC")) & ~BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(492): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(514): set("FC", Util::toString(Util::toInt(get("FC")) & ~BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(580): set("FC", Util::toString(Util::toInt(get("FC")) & ~BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(582): set("FC", Util::toString(Util::toInt(get("FC")) | BAD_CLIENT));
C:\vc10\r5xx-trunk\client\User.cpp(606): set("FC", Util::toString(Util::toInt(get("FC")) & ~BAD_CLIENT));

Сделать метод выполняющий замену бита с одной блокировкой

Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=897

@pavel-pimenov

This comment has been minimized.

Copy link
Owner Author

commented Aug 22, 2015

From Pavel.Pimenov@gmail.com on January 21, 2013 04:35:06

This issue was closed by revision r12600 .

Status: Fixed

@pavel-pimenov

This comment has been minimized.

Copy link
Owner Author

commented Aug 22, 2015

From Pavel.Pimenov@gmail.com on January 21, 2013 07:08:14

This issue was closed by revision r12603 .

@pavel-pimenov

This comment has been minimized.

Copy link
Owner Author

commented Aug 22, 2015

From Pavel.Pimenov@gmail.com on January 21, 2013 18:28:29

This issue was closed by revision r12613 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.