@@ -807,13 +807,13 @@ discard block |
||
| 807 | 807 | /** |
| 808 | 808 | * @return bool |
| 809 | 809 | */ |
| 810 | - protected function checkMissionDestroyAllowed(){ |
|
| 810 | + protected function checkMissionDestroyAllowed() { |
|
| 811 | 811 | $result = |
| 812 | 812 | $this->checkTargetIsMoon() |
| 813 | 813 | && |
| 814 | 814 | $this->checkHaveReapers(); |
| 815 | 815 | |
| 816 | - if(!$result) { |
|
| 816 | + if (!$result) { |
|
| 817 | 817 | unset($this->fleet->allowed_missions[MT_DESTROY]); |
| 818 | 818 | } |
| 819 | 819 | |
@@ -868,7 +868,7 @@ discard block |
||
| 868 | 868 | || |
| 869 | 869 | (empty($this->fleet->mission_type) && !$this->checkRealFlight()); |
| 870 | 870 | |
| 871 | - if(!$result) { |
|
| 871 | + if (!$result) { |
|
| 872 | 872 | unset($this->fleet->allowed_missions[MT_DESTROY]); |
| 873 | 873 | } |
| 874 | 874 | |
@@ -38,8 +38,8 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | // Game type constants starts with GAME_ |
| 40 | 40 | define('GAME_SUPERNOVA', 0); |
| 41 | -define('GAME_OGAME' , 1); |
|
| 42 | -define('GAME_BLITZ' , 2); |
|
| 41 | +define('GAME_OGAME', 1); |
|
| 42 | +define('GAME_BLITZ', 2); |
|
| 43 | 43 | |
| 44 | 44 | // Date & time range constants |
| 45 | 45 | define('DATE_FOREVER', 2000000000); |
@@ -52,27 +52,27 @@ discard block |
||
| 52 | 52 | define('PERIOD_YEAR', PERIOD_DAY * 365); |
| 53 | 53 | define('PERIOD_FOREVER', PERIOD_YEAR * 100); |
| 54 | 54 | |
| 55 | -define('PERIOD_MINUTE_2' , PERIOD_MINUTE * 2); |
|
| 56 | -define('PERIOD_MINUTE_3' , PERIOD_MINUTE * 3); |
|
| 57 | -define('PERIOD_MINUTE_5' , PERIOD_MINUTE * 5); |
|
| 55 | +define('PERIOD_MINUTE_2', PERIOD_MINUTE * 2); |
|
| 56 | +define('PERIOD_MINUTE_3', PERIOD_MINUTE * 3); |
|
| 57 | +define('PERIOD_MINUTE_5', PERIOD_MINUTE * 5); |
|
| 58 | 58 | define('PERIOD_MINUTE_10', PERIOD_MINUTE * 10); |
| 59 | -define('PERIOD_DAY_3' , PERIOD_DAY * 3); |
|
| 60 | -define('PERIOD_WEEK_2' , PERIOD_WEEK * 2); |
|
| 61 | -define('PERIOD_MONTH_2' , PERIOD_MONTH * 2); |
|
| 62 | -define('PERIOD_MONTH_3' , PERIOD_MONTH * 3); |
|
| 59 | +define('PERIOD_DAY_3', PERIOD_DAY * 3); |
|
| 60 | +define('PERIOD_WEEK_2', PERIOD_WEEK * 2); |
|
| 61 | +define('PERIOD_MONTH_2', PERIOD_MONTH * 2); |
|
| 62 | +define('PERIOD_MONTH_3', PERIOD_MONTH * 3); |
|
| 63 | 63 | |
| 64 | 64 | define('FONT_SIZE_PERCENT_MIN', 56.25); |
| 65 | 65 | define('FONT_SIZE_PERCENT_DEFAULT', 68.75); |
| 66 | 66 | define('FONT_SIZE_PERCENT_MAX', 131.25); |
| 67 | 67 | define('FONT_SIZE_PERCENT_STEP', 12.5); |
| 68 | -define('FONT_SIZE_PERCENT_DEFAULT_STRING', FONT_SIZE_PERCENT_DEFAULT . '%'); |
|
| 68 | +define('FONT_SIZE_PERCENT_DEFAULT_STRING', FONT_SIZE_PERCENT_DEFAULT.'%'); |
|
| 69 | 69 | |
| 70 | 70 | define('FONT_SIZE_PIXELS_BROWSER_BASE', 16); |
| 71 | 71 | define('FONT_SIZE_PIXELS_MIN', 9); |
| 72 | 72 | define('FONT_SIZE_PIXELS_DEFAULT', 11); |
| 73 | 73 | define('FONT_SIZE_PIXELS_MAX', 21); |
| 74 | 74 | define('FONT_SIZE_PIXELS_STEP', 1); |
| 75 | -define('FONT_SIZE_PIXELS_DEFAULT_STRING', FONT_SIZE_PIXELS_DEFAULT . 'px'); |
|
| 75 | +define('FONT_SIZE_PIXELS_DEFAULT_STRING', FONT_SIZE_PIXELS_DEFAULT.'px'); |
|
| 76 | 76 | |
| 77 | 77 | define('DEFAULT_PICTURE_EXTENSION_DOTTED', '.jpg'); |
| 78 | 78 | |
@@ -115,100 +115,100 @@ discard block |
||
| 115 | 115 | define('SN_SYS_SEC_CHARS_ALLOWED', 'ABCDEFGHJKLMNPQRSTUVWXYZabcdefghkmnpqrstuvwxyz0123456789'); |
| 116 | 116 | |
| 117 | 117 | // Mot qui sont interdit a la saisie ! |
| 118 | -$ListCensure = array ( '/</', '/>/', '/script/i', '/doquery/i', '/http/i', '/javascript/i'); |
|
| 118 | +$ListCensure = array('/</', '/>/', '/script/i', '/doquery/i', '/http/i', '/javascript/i'); |
|
| 119 | 119 | |
| 120 | 120 | // Confirmation record types |
| 121 | -define('CONFIRM_REGISTRATION' , 1); |
|
| 121 | +define('CONFIRM_REGISTRATION', 1); |
|
| 122 | 122 | define('CONFIRM_PASSWORD_RESET', 2); |
| 123 | -define('CONFIRM_DELETE' , 3); |
|
| 123 | +define('CONFIRM_DELETE', 3); |
|
| 124 | 124 | |
| 125 | 125 | define('AFFILIATE_MM_TO_REFERRAL_DM', 2); |
| 126 | 126 | |
| 127 | 127 | // Ally diplomacy statuses |
| 128 | -define('ALLY_DIPLOMACY_SELF' , 'self'); |
|
| 129 | -define('ALLY_DIPLOMACY_NEUTRAL' , 'neutral'); |
|
| 130 | -define('ALLY_DIPLOMACY_WAR' , 'war'); |
|
| 131 | -define('ALLY_DIPLOMACY_PEACE' , 'peace'); |
|
| 128 | +define('ALLY_DIPLOMACY_SELF', 'self'); |
|
| 129 | +define('ALLY_DIPLOMACY_NEUTRAL', 'neutral'); |
|
| 130 | +define('ALLY_DIPLOMACY_WAR', 'war'); |
|
| 131 | +define('ALLY_DIPLOMACY_PEACE', 'peace'); |
|
| 132 | 132 | define('ALLY_DIPLOMACY_CONFEDERATION', 'confederation'); |
| 133 | -define('ALLY_DIPLOMACY_FEDERATION' , 'federation'); |
|
| 134 | -define('ALLY_DIPLOMACY_UNION' , 'union'); |
|
| 135 | -define('ALLY_DIPLOMACY_MASTER' , 'master'); |
|
| 136 | -define('ALLY_DIPLOMACY_SLAVE' , 'slave'); |
|
| 133 | +define('ALLY_DIPLOMACY_FEDERATION', 'federation'); |
|
| 134 | +define('ALLY_DIPLOMACY_UNION', 'union'); |
|
| 135 | +define('ALLY_DIPLOMACY_MASTER', 'master'); |
|
| 136 | +define('ALLY_DIPLOMACY_SLAVE', 'slave'); |
|
| 137 | 137 | |
| 138 | 138 | define('ALLY_PROPOSE_SEND', 0); |
| 139 | 139 | |
| 140 | 140 | // Quest types |
| 141 | -define('QUEST_TYPE_BUILD' , 1); |
|
| 141 | +define('QUEST_TYPE_BUILD', 1); |
|
| 142 | 142 | define('QUEST_TYPE_RESEARCH', 2); |
| 143 | -define('QUEST_TYPE_COMBAT' , 3); |
|
| 143 | +define('QUEST_TYPE_COMBAT', 3); |
|
| 144 | 144 | |
| 145 | -define('QUEST_STATUS_NOT_STARTED' , 0); |
|
| 146 | -define('QUEST_STATUS_STARTED' , 1); |
|
| 147 | -define('QUEST_STATUS_COMPLETE' , 2); |
|
| 145 | +define('QUEST_STATUS_NOT_STARTED', 0); |
|
| 146 | +define('QUEST_STATUS_STARTED', 1); |
|
| 147 | +define('QUEST_STATUS_COMPLETE', 2); |
|
| 148 | 148 | |
| 149 | 149 | // *** Combat-related constants |
| 150 | 150 | // *** Mission Type constants starts with MT_ |
| 151 | -define('MT_NONE' , 0); |
|
| 152 | -define('MT_ATTACK' , 1); |
|
| 153 | -define('MT_ACS' , 2); |
|
| 154 | -define('MT_TRANSPORT', 3); |
|
| 155 | -define('MT_RELOCATE' , 4); |
|
| 156 | -define('MT_HOLD' , 5); |
|
| 157 | -define('MT_SPY' , 6); |
|
| 158 | -define('MT_COLONIZE' , 7); |
|
| 159 | -define('MT_RECYCLE' , 8); |
|
| 160 | -define('MT_DESTROY' , 9); |
|
| 161 | -define('MT_MISSILE' , 10); |
|
| 162 | -define('MT_EXPLORE' , 15); |
|
| 151 | +define('MT_NONE', 0); |
|
| 152 | +define('MT_ATTACK', 1); |
|
| 153 | +define('MT_ACS', 2); |
|
| 154 | +define('MT_TRANSPORT', 3); |
|
| 155 | +define('MT_RELOCATE', 4); |
|
| 156 | +define('MT_HOLD', 5); |
|
| 157 | +define('MT_SPY', 6); |
|
| 158 | +define('MT_COLONIZE', 7); |
|
| 159 | +define('MT_RECYCLE', 8); |
|
| 160 | +define('MT_DESTROY', 9); |
|
| 161 | +define('MT_MISSILE', 10); |
|
| 162 | +define('MT_EXPLORE', 15); |
|
| 163 | 163 | |
| 164 | 164 | // *** Planet Target constants starts with PT_ |
| 165 | 165 | define('PT_NONE', 0); |
| 166 | 166 | define('PT_ALL', 0); |
| 167 | 167 | define('PT_PLANET', 1); |
| 168 | 168 | define('PT_DEBRIS', 2); |
| 169 | -define('PT_MOON' , 3); |
|
| 169 | +define('PT_MOON', 3); |
|
| 170 | 170 | |
| 171 | 171 | // *** Unit locations - shows db table where unit belong |
| 172 | 172 | // Also cache indexes |
| 173 | -define('LOC_NONE', -1); |
|
| 173 | +define('LOC_NONE', -1); |
|
| 174 | 174 | define('LOC_UNIVERSE', 0); |
| 175 | -define('LOC_PLANET', 1); |
|
| 176 | -define('LOC_DEBRIS', 2); // Translates to `planets` table planet_type = 1, `debris_*` fields |
|
| 177 | -define('LOC_MOON', 3); // Translates to `planets` table planet_type = 3 |
|
| 178 | -define('LOC_USER', 4); |
|
| 179 | -define('LOC_FLEET', 5); |
|
| 180 | -define('LOC_ALLY', 6); |
|
| 181 | -define('LOC_UNIT_NUMERIC', 7); |
|
| 182 | -define('LOC_UNIT_LIST', 8); |
|
| 175 | +define('LOC_PLANET', 1); |
|
| 176 | +define('LOC_DEBRIS', 2); // Translates to `planets` table planet_type = 1, `debris_*` fields |
|
| 177 | +define('LOC_MOON', 3); // Translates to `planets` table planet_type = 3 |
|
| 178 | +define('LOC_USER', 4); |
|
| 179 | +define('LOC_FLEET', 5); |
|
| 180 | +define('LOC_ALLY', 6); |
|
| 181 | +define('LOC_UNIT_NUMERIC', 7); |
|
| 182 | +define('LOC_UNIT_LIST', 8); |
|
| 183 | 183 | |
| 184 | 184 | // ТОЛЬКО ВНУТРЕНЕЕ!!! |
| 185 | -define('LOC_UNIT', 'LOC_UNIT'); |
|
| 186 | -define('LOC_QUE', 'LOC_QUE'); |
|
| 187 | -define('LOC_LOCATION','LOC_LOCATION'); |
|
| 188 | -define('LOC_LOCKS','LOC_LOCKS'); |
|
| 185 | +define('LOC_UNIT', 'LOC_UNIT'); |
|
| 186 | +define('LOC_QUE', 'LOC_QUE'); |
|
| 187 | +define('LOC_LOCATION', 'LOC_LOCATION'); |
|
| 188 | +define('LOC_LOCKS', 'LOC_LOCKS'); |
|
| 189 | 189 | |
| 190 | 190 | // *** Caching masks |
| 191 | -define('CACHE_NOTHING' , 0); |
|
| 192 | -define('CACHE_FLEET' , 1); |
|
| 193 | -define('CACHE_PLANET' , 2); |
|
| 194 | -define('CACHE_USER' , 4); |
|
| 195 | -define('CACHE_SOURCE' , 8); |
|
| 191 | +define('CACHE_NOTHING', 0); |
|
| 192 | +define('CACHE_FLEET', 1); |
|
| 193 | +define('CACHE_PLANET', 2); |
|
| 194 | +define('CACHE_USER', 4); |
|
| 195 | +define('CACHE_SOURCE', 8); |
|
| 196 | 196 | define('CACHE_DESTINATION', 16); |
| 197 | -define('CACHE_EVENT' , 32); |
|
| 197 | +define('CACHE_EVENT', 32); |
|
| 198 | 198 | |
| 199 | -define('CACHE_USER_SRC' , CACHE_USER | CACHE_SOURCE); |
|
| 200 | -define('CACHE_USER_DST' , CACHE_USER | CACHE_DESTINATION); |
|
| 199 | +define('CACHE_USER_SRC', CACHE_USER | CACHE_SOURCE); |
|
| 200 | +define('CACHE_USER_DST', CACHE_USER | CACHE_DESTINATION); |
|
| 201 | 201 | define('CACHE_PLANET_SRC', CACHE_PLANET | CACHE_SOURCE); |
| 202 | 202 | define('CACHE_PLANET_DST', CACHE_PLANET | CACHE_DESTINATION); |
| 203 | -define('CACHE_COMBAT' , CACHE_FLEET | CACHE_PLANET | CACHE_USER | CACHE_SOURCE | CACHE_DESTINATION); |
|
| 203 | +define('CACHE_COMBAT', CACHE_FLEET | CACHE_PLANET | CACHE_USER | CACHE_SOURCE | CACHE_DESTINATION); |
|
| 204 | 204 | |
| 205 | -define('CACHE_ALL' , CACHE_FLEET | CACHE_PLANET | CACHE_USER | CACHE_SOURCE | CACHE_DESTINATION | CACHE_EVENT); |
|
| 205 | +define('CACHE_ALL', CACHE_FLEET | CACHE_PLANET | CACHE_USER | CACHE_SOURCE | CACHE_DESTINATION | CACHE_EVENT); |
|
| 206 | 206 | |
| 207 | -define('CACHE_NONE' , CACHE_NOTHING); // Alias for me |
|
| 207 | +define('CACHE_NONE', CACHE_NOTHING); // Alias for me |
|
| 208 | 208 | |
| 209 | 209 | // *** Event types |
| 210 | 210 | define('EVENT_FLEET_ARRIVE', 1); |
| 211 | -define('EVENT_FLEET_STAY' , 2); |
|
| 211 | +define('EVENT_FLEET_STAY', 2); |
|
| 212 | 212 | define('EVENT_FLEET_RETURN', 3); |
| 213 | 213 | |
| 214 | 214 | // *** Constants for changing DM |
@@ -261,10 +261,10 @@ discard block |
||
| 261 | 261 | |
| 262 | 262 | |
| 263 | 263 | // Operation error status HARDCODE! |
| 264 | -define('ERR_NONE' , 0); // No error |
|
| 265 | -define('ERR_WARNING' , 1); // There is warning - something altering normal operation process |
|
| 266 | -define('ERR_ERROR' , 2); // There is error - something permits operation from process |
|
| 267 | -define('ERR_HACK' , 4); // Operation is qualified as hack attempt |
|
| 264 | +define('ERR_NONE', 0); // No error |
|
| 265 | +define('ERR_WARNING', 1); // There is warning - something altering normal operation process |
|
| 266 | +define('ERR_ERROR', 2); // There is error - something permits operation from process |
|
| 267 | +define('ERR_HACK', 4); // Operation is qualified as hack attempt |
|
| 268 | 268 | // New GLOBAL operation results |
| 269 | 269 | //define('RESULT_DEFAULT' , 0); // Default result - all went OK or result really doesn't matter |
| 270 | 270 | //define('RESULT_WARNING' , 1); |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | define('SN_PAYMENT_REQUEST_OK', 0); |
| 285 | 285 | define('SN_PAYMENT_REQUEST_ERROR_UNIT_AMOUNT', 1); |
| 286 | 286 | define('SN_PAYMENT_REQUEST_ERROR_PAYLINK_UNSUPPORTED', 2); |
| 287 | -define('SN_PAYMENT_REQUEST_IP_WRONG', 3); // Неправильный IP входящей системы - обычно хак |
|
| 287 | +define('SN_PAYMENT_REQUEST_IP_WRONG', 3); // Неправильный IP входящей системы - обычно хак |
|
| 288 | 288 | define('SN_PAYMENT_REQUEST_COMMAND_UNSUPPORTED', 4); // Неподдерживаемая команда - обычно хак |
| 289 | 289 | define('SN_PAYMENT_REQUEST_SIGNATURE_INVALID', 5); // Неправильная подпись или не сошлась контрольная сумма - обычно хак |
| 290 | 290 | define('SN_MODULE_DISABLED', 6); // Модуль отключен // УНИВЕРСАЛЬНЫЙ ОТВЕТ! |
@@ -557,16 +557,16 @@ discard block |
||
| 557 | 557 | //define('F_DEVICE_ID', 'F_DEVICE_ID'); |
| 558 | 558 | //define('F_DEVICE_CYPHER', 'F_DEVICE_CYPHER'); |
| 559 | 559 | |
| 560 | -define('F_PROVIDER_ID', 'F_PROVIDER_ID'); |
|
| 560 | +define('F_PROVIDER_ID', 'F_PROVIDER_ID'); |
|
| 561 | 561 | // define('F_PROVIDER_LIST', 'F_PROVIDER_LIST'); |
| 562 | 562 | |
| 563 | 563 | define('F_IMPERSONATE_STATUS', 'F_IMPERSONATE_STATUS'); |
| 564 | 564 | define('F_IMPERSONATE_OPERATOR', 'F_IMPERSONATE_OPERATOR'); |
| 565 | 565 | |
| 566 | -define('F_LOGIN_STATUS', 'F_LOGIN_STATUS'); |
|
| 566 | +define('F_LOGIN_STATUS', 'F_LOGIN_STATUS'); |
|
| 567 | 567 | define('F_LOGIN_MESSAGE', 'F_LOGIN_MESSAGE'); |
| 568 | 568 | |
| 569 | -define('F_PLAYER_REGISTER_STATUS', 'F_PLAYER_REGISTER_STATUS'); |
|
| 569 | +define('F_PLAYER_REGISTER_STATUS', 'F_PLAYER_REGISTER_STATUS'); |
|
| 570 | 570 | define('F_PLAYER_REGISTER_MESSAGE', 'F_PLAYER_REGISTER_MESSAGE'); |
| 571 | 571 | |
| 572 | 572 | define('F_USER_ID', 'F_USER_ID'); |
@@ -610,66 +610,66 @@ discard block |
||
| 610 | 610 | |
| 611 | 611 | |
| 612 | 612 | // Option groups |
| 613 | -define('OPT_ALL', 0); |
|
| 614 | -define('OPT_MESSAGE', 1); |
|
| 613 | +define('OPT_ALL', 0); |
|
| 614 | +define('OPT_MESSAGE', 1); |
|
| 615 | 615 | define('OPT_UNIVERSE', 2); |
| 616 | 616 | define('OPT_INTERFACE', 3); |
| 617 | 617 | |
| 618 | 618 | // Message classes |
| 619 | -define('MSG_TYPE_OUTBOX' , -1); |
|
| 620 | -define('MSG_TYPE_SPY' , 0); |
|
| 621 | -define('MSG_TYPE_PLAYER' , 1); |
|
| 622 | -define('MSG_TYPE_ALLIANCE' , 2); |
|
| 623 | -define('MSG_TYPE_COMBAT' , 3); |
|
| 624 | -define('MSG_TYPE_RECYCLE' , 4); |
|
| 625 | -define('MSG_TYPE_TRANSPORT', 5); |
|
| 626 | -define('MSG_TYPE_ADMIN' , 6); |
|
| 627 | -define('MSG_TYPE_EXPLORE' , 15); |
|
| 628 | -define('MSG_TYPE_QUE' , 99); |
|
| 629 | -define('MSG_TYPE_NEW' , 100); |
|
| 619 | +define('MSG_TYPE_OUTBOX', -1); |
|
| 620 | +define('MSG_TYPE_SPY', 0); |
|
| 621 | +define('MSG_TYPE_PLAYER', 1); |
|
| 622 | +define('MSG_TYPE_ALLIANCE', 2); |
|
| 623 | +define('MSG_TYPE_COMBAT', 3); |
|
| 624 | +define('MSG_TYPE_RECYCLE', 4); |
|
| 625 | +define('MSG_TYPE_TRANSPORT', 5); |
|
| 626 | +define('MSG_TYPE_ADMIN', 6); |
|
| 627 | +define('MSG_TYPE_EXPLORE', 15); |
|
| 628 | +define('MSG_TYPE_QUE', 99); |
|
| 629 | +define('MSG_TYPE_NEW', 100); |
|
| 630 | 630 | |
| 631 | 631 | // Attack verification statuses |
| 632 | -define('FLIGHT_ALLOWED' , 0); |
|
| 633 | -define('FLIGHT_VECTOR_NO_TARGET' , 1); |
|
| 634 | -define('FLIGHT_PLAYER_OWN' , 2); |
|
| 635 | -define('FLIGHT_MISSION_IMPOSSIBLE' , 3); |
|
| 636 | -define('FLIGHT_MISSION_HOLD_NO_ALLY_DEPOSIT' , 4); |
|
| 637 | -define('FLIGHT_MISSION_RECYCLE_NO_DEBRIS' , 5); |
|
| 638 | -define('FLIGHT_PLAYER_VACATION' , 6); |
|
| 639 | -define('FLIGHT_PLAYER_SAME_IP' , 7); |
|
| 640 | -define('FLIGHT_PLAYER_BUFFING' , 8); |
|
| 641 | -define('FLIGHT_PLAYER_ADMIN' , 9); |
|
| 642 | -define('FLIGHT_PLAYER_NOOB' , 10); |
|
| 643 | -define('FLIGHT_PLAYER_VACATION_OWN' , 11); |
|
| 644 | -define('FLIGHT_MISSION_MISSILE_NO_SILO' , 12); |
|
| 645 | -define('FLIGHT_MISSION_MISSILE_NO_MISSILES' , 13); |
|
| 646 | -define('FLIGHT_SHIPS_NO_SHIPS' , 14); |
|
| 647 | -define('FLIGHT_FLEET_NO_SLOTS' , 15); |
|
| 648 | -define('FLIGHT_SHIPS_NOT_ENOUGH_OR_RESOURCES' , 16); |
|
| 649 | -define('FLIGHT_SHIPS_NO_RECYCLERS' , 17); |
|
| 650 | -define('FLIGHT_MISSION_SPY_NO_SPIES' , 18); |
|
| 651 | -define('FLIGHT_SHIPS_NO_COLONIZER' , 19); |
|
| 652 | -define('FLIGHT_MISSION_MISSILE_TOO_FAR' , 20); |
|
| 653 | -define('FLIGHT_MISSION_MISSILE_WRONG_STRUCTURE' , 21); |
|
| 654 | -define('FLIGHT_RESOURCES_FUEL_NOT_ENOUGH' , 22); |
|
| 655 | -define('FLIGHT_RESOURCES_NOT_ENOUGH' , 23); |
|
| 656 | -define('FLIGHT_MISSION_ACS_NOT_EXISTS' , 24); |
|
| 657 | -define('FLIGHT_MISSION_ACS_MISSTARGET' , 25); |
|
| 658 | -define('FLIGHT_FLEET_SPEED_WRONG' , 26); |
|
| 659 | -define('FLIGHT_MISSION_ACS_TOO_LATE' , 27); |
|
| 660 | -define('FLIGHT_MISSION_ATTACK_BASHING' , 28); |
|
| 661 | -define('FLIGHT_MISSION_ATTACK_BASHING_WAR_DELAY' , 29); |
|
| 662 | -define('FLIGHT_MISSION_ACS_WRONG_TARGET' , 30); |
|
| 663 | -define('FLIGHT_VECTOR_SAME_SOURCE' , 31); |
|
| 632 | +define('FLIGHT_ALLOWED', 0); |
|
| 633 | +define('FLIGHT_VECTOR_NO_TARGET', 1); |
|
| 634 | +define('FLIGHT_PLAYER_OWN', 2); |
|
| 635 | +define('FLIGHT_MISSION_IMPOSSIBLE', 3); |
|
| 636 | +define('FLIGHT_MISSION_HOLD_NO_ALLY_DEPOSIT', 4); |
|
| 637 | +define('FLIGHT_MISSION_RECYCLE_NO_DEBRIS', 5); |
|
| 638 | +define('FLIGHT_PLAYER_VACATION', 6); |
|
| 639 | +define('FLIGHT_PLAYER_SAME_IP', 7); |
|
| 640 | +define('FLIGHT_PLAYER_BUFFING', 8); |
|
| 641 | +define('FLIGHT_PLAYER_ADMIN', 9); |
|
| 642 | +define('FLIGHT_PLAYER_NOOB', 10); |
|
| 643 | +define('FLIGHT_PLAYER_VACATION_OWN', 11); |
|
| 644 | +define('FLIGHT_MISSION_MISSILE_NO_SILO', 12); |
|
| 645 | +define('FLIGHT_MISSION_MISSILE_NO_MISSILES', 13); |
|
| 646 | +define('FLIGHT_SHIPS_NO_SHIPS', 14); |
|
| 647 | +define('FLIGHT_FLEET_NO_SLOTS', 15); |
|
| 648 | +define('FLIGHT_SHIPS_NOT_ENOUGH_OR_RESOURCES', 16); |
|
| 649 | +define('FLIGHT_SHIPS_NO_RECYCLERS', 17); |
|
| 650 | +define('FLIGHT_MISSION_SPY_NO_SPIES', 18); |
|
| 651 | +define('FLIGHT_SHIPS_NO_COLONIZER', 19); |
|
| 652 | +define('FLIGHT_MISSION_MISSILE_TOO_FAR', 20); |
|
| 653 | +define('FLIGHT_MISSION_MISSILE_WRONG_STRUCTURE', 21); |
|
| 654 | +define('FLIGHT_RESOURCES_FUEL_NOT_ENOUGH', 22); |
|
| 655 | +define('FLIGHT_RESOURCES_NOT_ENOUGH', 23); |
|
| 656 | +define('FLIGHT_MISSION_ACS_NOT_EXISTS', 24); |
|
| 657 | +define('FLIGHT_MISSION_ACS_MISSTARGET', 25); |
|
| 658 | +define('FLIGHT_FLEET_SPEED_WRONG', 26); |
|
| 659 | +define('FLIGHT_MISSION_ACS_TOO_LATE', 27); |
|
| 660 | +define('FLIGHT_MISSION_ATTACK_BASHING', 28); |
|
| 661 | +define('FLIGHT_MISSION_ATTACK_BASHING_WAR_DELAY', 29); |
|
| 662 | +define('FLIGHT_MISSION_ACS_WRONG_TARGET', 30); |
|
| 663 | +define('FLIGHT_VECTOR_SAME_SOURCE', 31); |
|
| 664 | 664 | define('FLIGHT_RESOURCES_FORBIDDEN', 32); |
| 665 | -define('FLIGHT_MISSION_TRANSPORT_EMPTY_CARGO' , 33); |
|
| 666 | -define('FLIGHT_SHIPS_NOT_ONLY_SPIES' , 34); |
|
| 667 | -define('FLIGHT_FLEET_TOO_FAR' , 35); |
|
| 668 | -define('FLIGHT_FLEET_OVERLOAD' , 36); |
|
| 669 | -define('FLIGHT_MISSION_UNKNOWN' , 37); |
|
| 670 | -define('FLIGHT_SHIPS_UNIT_WRONG' , 38); |
|
| 671 | -define('FLIGHT_SHIPS_UNMOVABLE' , 39); |
|
| 672 | -define('FLIGHT_SHIPS_NEGATIVE' , 40); |
|
| 665 | +define('FLIGHT_MISSION_TRANSPORT_EMPTY_CARGO', 33); |
|
| 666 | +define('FLIGHT_SHIPS_NOT_ONLY_SPIES', 34); |
|
| 667 | +define('FLIGHT_FLEET_TOO_FAR', 35); |
|
| 668 | +define('FLIGHT_FLEET_OVERLOAD', 36); |
|
| 669 | +define('FLIGHT_MISSION_UNKNOWN', 37); |
|
| 670 | +define('FLIGHT_SHIPS_UNIT_WRONG', 38); |
|
| 671 | +define('FLIGHT_SHIPS_UNMOVABLE', 39); |
|
| 672 | +define('FLIGHT_SHIPS_NEGATIVE', 40); |
|
| 673 | 673 | define('FLIGHT_RESOURCES_NEGATIVE', 41); |
| 674 | 674 | define('FLIGHT_MISSION_MORATORIUM', 42); |
| 675 | 675 | define('FLIGHT_PLAYER_CHILD_PROTECTION', 43); |
@@ -699,12 +699,12 @@ discard block |
||
| 699 | 699 | |
| 700 | 700 | |
| 701 | 701 | // *** Races - Homeworlds |
| 702 | -define('RACE_NONE' , 0); |
|
| 703 | -define('RACE_EARTH' , 1); |
|
| 704 | -define('RACE_MOON' , 2); |
|
| 705 | -define('RACE_MERCURY' , 3); |
|
| 706 | -define('RACE_VENUS' , 4); |
|
| 707 | -define('RACE_MARS' , 5); |
|
| 702 | +define('RACE_NONE', 0); |
|
| 703 | +define('RACE_EARTH', 1); |
|
| 704 | +define('RACE_MOON', 2); |
|
| 705 | +define('RACE_MERCURY', 3); |
|
| 706 | +define('RACE_VENUS', 4); |
|
| 707 | +define('RACE_MARS', 5); |
|
| 708 | 708 | define('RACE_ASTEROID', 6); |
| 709 | 709 | // define('MARKET_INFO' , 7); |
| 710 | 710 | |
@@ -712,114 +712,114 @@ discard block |
||
| 712 | 712 | |
| 713 | 713 | // *** Market variables |
| 714 | 714 | // === Market blocks |
| 715 | -define('MARKET_ENTRY' , 0); |
|
| 716 | -define('MARKET_RESOURCES' , 1); |
|
| 717 | -define('MARKET_SCRAPPER' , 2); |
|
| 718 | -define('MARKET_STOCKMAN' , 3); |
|
| 719 | -define('MARKET_EXCHANGE' , 4); |
|
| 720 | -define('MARKET_BANKER' , 5); |
|
| 721 | -define('MARKET_PAWNSHOP' , 6); |
|
| 722 | -define('MARKET_INFO' , 7); |
|
| 715 | +define('MARKET_ENTRY', 0); |
|
| 716 | +define('MARKET_RESOURCES', 1); |
|
| 717 | +define('MARKET_SCRAPPER', 2); |
|
| 718 | +define('MARKET_STOCKMAN', 3); |
|
| 719 | +define('MARKET_EXCHANGE', 4); |
|
| 720 | +define('MARKET_BANKER', 5); |
|
| 721 | +define('MARKET_PAWNSHOP', 6); |
|
| 722 | +define('MARKET_INFO', 7); |
|
| 723 | 723 | |
| 724 | 724 | // === Market error statuses |
| 725 | -define('MARKET_NOTHING' , 0); |
|
| 726 | -define('MARKET_DEAL' , 1); |
|
| 727 | -define('MARKET_DEAL_TRADE' , 2); |
|
| 728 | -define('MARKET_NO_DM' , 3); |
|
| 729 | -define('MARKET_NO_RESOURCES' , 4); |
|
| 730 | -define('MARKET_ZERO_DEAL' , 5); |
|
| 731 | -define('MARKET_NO_SHIPS' , 6); |
|
| 732 | -define('MARKET_NOT_A_SHIP' , 7); |
|
| 733 | -define('MARKET_NO_STOCK' , 8); |
|
| 734 | -define('MARKET_ZERO_RES_STOCK' , 9); |
|
| 735 | -define('MARKET_NEGATIVE_SHIPS' , 10); |
|
| 736 | - |
|
| 737 | -define('MARKET_INFO_PLAYER' , 12); |
|
| 738 | -define('MARKET_INFO_WRONG' , 11); |
|
| 725 | +define('MARKET_NOTHING', 0); |
|
| 726 | +define('MARKET_DEAL', 1); |
|
| 727 | +define('MARKET_DEAL_TRADE', 2); |
|
| 728 | +define('MARKET_NO_DM', 3); |
|
| 729 | +define('MARKET_NO_RESOURCES', 4); |
|
| 730 | +define('MARKET_ZERO_DEAL', 5); |
|
| 731 | +define('MARKET_NO_SHIPS', 6); |
|
| 732 | +define('MARKET_NOT_A_SHIP', 7); |
|
| 733 | +define('MARKET_NO_STOCK', 8); |
|
| 734 | +define('MARKET_ZERO_RES_STOCK', 9); |
|
| 735 | +define('MARKET_NEGATIVE_SHIPS', 10); |
|
| 736 | + |
|
| 737 | +define('MARKET_INFO_PLAYER', 12); |
|
| 738 | +define('MARKET_INFO_WRONG', 11); |
|
| 739 | 739 | define('MARKET_INFO_PLAYER_NOT_FOUND', 13); |
| 740 | -define('MARKET_INFO_PLAYER_WRONG' , 14); |
|
| 741 | -define('MARKET_INFO_PLAYER_SAME' , 15); |
|
| 740 | +define('MARKET_INFO_PLAYER_WRONG', 14); |
|
| 741 | +define('MARKET_INFO_PLAYER_SAME', 15); |
|
| 742 | 742 | |
| 743 | 743 | |
| 744 | 744 | |
| 745 | 745 | |
| 746 | 746 | // *** Mercenary/talent bonus types |
| 747 | -define('BONUS_NONE' , 0); // No bonus |
|
| 748 | -define('BONUS_PERCENT' , 1); // Percent on base value |
|
| 749 | -define('BONUS_ADD' , 2); // Add |
|
| 750 | -define('BONUS_ABILITY' , 3); // Some ability |
|
| 751 | -define('BONUS_MULTIPLY', 4); // Multiply by value |
|
| 752 | -define('BONUS_PERCENT_CUMULATIVE' , 5); // Cumulative percent on base value |
|
| 753 | -define('BONUS_PERCENT_DEGRADED' , 6); // Bonus amount degraded with increase as pow(bonus, level) (?) |
|
| 754 | -define('BONUS_SPEED', 7); // Speed bonus |
|
| 747 | +define('BONUS_NONE', 0); // No bonus |
|
| 748 | +define('BONUS_PERCENT', 1); // Percent on base value |
|
| 749 | +define('BONUS_ADD', 2); // Add |
|
| 750 | +define('BONUS_ABILITY', 3); // Some ability |
|
| 751 | +define('BONUS_MULTIPLY', 4); // Multiply by value |
|
| 752 | +define('BONUS_PERCENT_CUMULATIVE', 5); // Cumulative percent on base value |
|
| 753 | +define('BONUS_PERCENT_DEGRADED', 6); // Bonus amount degraded with increase as pow(bonus, level) (?) |
|
| 754 | +define('BONUS_SPEED', 7); // Speed bonus |
|
| 755 | 755 | |
| 756 | 756 | // *** Action constant (build should be replaced with ACTION) |
| 757 | -define('BUILD_CREATE' , 1); |
|
| 757 | +define('BUILD_CREATE', 1); |
|
| 758 | 758 | define('BUILD_DESTROY', -1); |
| 759 | 759 | define('BUILD_AUTOCONVERT', 2); |
| 760 | 760 | |
| 761 | -define('ACTION_SELL' , -1); |
|
| 762 | -define('ACTION_NOTHING' , 0); |
|
| 763 | -define('ACTION_BUY' , 1); |
|
| 764 | -define('ACTION_USE' , 2); |
|
| 765 | -define('ACTION_DELETE' , 3); |
|
| 761 | +define('ACTION_SELL', -1); |
|
| 762 | +define('ACTION_NOTHING', 0); |
|
| 763 | +define('ACTION_BUY', 1); |
|
| 764 | +define('ACTION_USE', 2); |
|
| 765 | +define('ACTION_DELETE', 3); |
|
| 766 | 766 | |
| 767 | 767 | // *** Check unit availability codes |
| 768 | -define('BUILD_ALLOWED' , 0); // HARDCODED! DO NOT CHANGE! |
|
| 768 | +define('BUILD_ALLOWED', 0); // HARDCODED! DO NOT CHANGE! |
|
| 769 | 769 | define('BUILD_REQUIRE_NOT_MEET', 1); |
| 770 | -define('BUILD_AMOUNT_WRONG' , 2); |
|
| 771 | -define('BUILD_QUE_WRONG' , 3); |
|
| 772 | -define('BUILD_QUE_UNIT_WRONG' , 4); |
|
| 773 | -define('BUILD_INDESTRUCTABLE' , 5); |
|
| 774 | -define('BUILD_NO_RESOURCES' , 6); |
|
| 775 | -define('BUILD_NO_UNITS' , 7); |
|
| 776 | -define('BUILD_UNIT_BUSY' , 8); |
|
| 777 | -define('BUILD_QUE_FULL' , 9); |
|
| 778 | -define('BUILD_SILO_FULL' ,10); |
|
| 779 | -define('BUILD_MAX_REACHED' ,11); |
|
| 780 | -define('BUILD_SECTORS_NONE' ,12); |
|
| 770 | +define('BUILD_AMOUNT_WRONG', 2); |
|
| 771 | +define('BUILD_QUE_WRONG', 3); |
|
| 772 | +define('BUILD_QUE_UNIT_WRONG', 4); |
|
| 773 | +define('BUILD_INDESTRUCTABLE', 5); |
|
| 774 | +define('BUILD_NO_RESOURCES', 6); |
|
| 775 | +define('BUILD_NO_UNITS', 7); |
|
| 776 | +define('BUILD_UNIT_BUSY', 8); |
|
| 777 | +define('BUILD_QUE_FULL', 9); |
|
| 778 | +define('BUILD_SILO_FULL', 10); |
|
| 779 | +define('BUILD_MAX_REACHED', 11); |
|
| 780 | +define('BUILD_SECTORS_NONE', 12); |
|
| 781 | 781 | define('BUILD_AUTOCONVERT_AVAILABLE', 13); |
| 782 | 782 | |
| 783 | 783 | |
| 784 | 784 | // *** Que types |
| 785 | 785 | define('QUE_STRUCTURES', 1); |
| 786 | -define('QUE_HANGAR' , 4); |
|
| 787 | -define('QUE_RESEARCH' , 7); |
|
| 788 | -define('QUE_MERCENARY' , 600); // UNIT_MERCENARIES |
|
| 786 | +define('QUE_HANGAR', 4); |
|
| 787 | +define('QUE_RESEARCH', 7); |
|
| 788 | +define('QUE_MERCENARY', 600); // UNIT_MERCENARIES |
|
| 789 | 789 | // *** Subque types |
| 790 | -define('SUBQUE_PLANET' , 1); |
|
| 791 | -define('SUBQUE_MOON' , 3); |
|
| 792 | -define('SUBQUE_FLEET' , 4); |
|
| 793 | -define('SUBQUE_DEFENSE' , 6); |
|
| 790 | +define('SUBQUE_PLANET', 1); |
|
| 791 | +define('SUBQUE_MOON', 3); |
|
| 792 | +define('SUBQUE_FLEET', 4); |
|
| 793 | +define('SUBQUE_DEFENSE', 6); |
|
| 794 | 794 | define('SUBQUE_RESEARCH', 7); |
| 795 | 795 | |
| 796 | 796 | // *** Que items |
| 797 | -define('QI_UNIT_ID' , 0); |
|
| 798 | -define('QI_AMOUNT' , 1); |
|
| 799 | -define('QI_TIME' , 2); |
|
| 800 | -define('QI_MODE' , 3); |
|
| 801 | -define('QI_QUE_ID' , 4); |
|
| 802 | -define('QI_QUE_TYPE' , 4); |
|
| 803 | -define('QI_PLANET_ID' , 5); |
|
| 797 | +define('QI_UNIT_ID', 0); |
|
| 798 | +define('QI_AMOUNT', 1); |
|
| 799 | +define('QI_TIME', 2); |
|
| 800 | +define('QI_MODE', 3); |
|
| 801 | +define('QI_QUE_ID', 4); |
|
| 802 | +define('QI_QUE_TYPE', 4); |
|
| 803 | +define('QI_PLANET_ID', 5); |
|
| 804 | 804 | |
| 805 | 805 | |
| 806 | 806 | // *** Units |
| 807 | 807 | |
| 808 | 808 | // *** Sort options |
| 809 | -define('SORT_ASCENDING' , 0); |
|
| 809 | +define('SORT_ASCENDING', 0); |
|
| 810 | 810 | define('SORT_DESCENDING', 1); |
| 811 | 811 | |
| 812 | -define('SORT_ID' , 0); |
|
| 813 | -define('SORT_LOCATION' , 1); |
|
| 814 | -define('SORT_NAME' , 2); |
|
| 815 | -define('SORT_SIZE' , 3); |
|
| 816 | -define('SORT_EMAIL' , 4); |
|
| 817 | -define('SORT_IP' , 5); |
|
| 812 | +define('SORT_ID', 0); |
|
| 813 | +define('SORT_LOCATION', 1); |
|
| 814 | +define('SORT_NAME', 2); |
|
| 815 | +define('SORT_SIZE', 3); |
|
| 816 | +define('SORT_EMAIL', 4); |
|
| 817 | +define('SORT_IP', 5); |
|
| 818 | 818 | define('SORT_TIME_REGISTERED', 6); |
| 819 | 819 | define('SORT_TIME_LAST_VISIT', 7); |
| 820 | -define('SORT_TIME_BAN_UNTIL' , 8); |
|
| 821 | -define('SORT_REFERRAL_COUNT' , 9); |
|
| 822 | -define('SORT_REFERRAL_DM' , 10); |
|
| 820 | +define('SORT_TIME_BAN_UNTIL', 8); |
|
| 821 | +define('SORT_REFERRAL_COUNT', 9); |
|
| 822 | +define('SORT_REFERRAL_DM', 10); |
|
| 823 | 823 | |
| 824 | 824 | |
| 825 | 825 | define('HULL_SIZE_TINY', 1); |
@@ -962,10 +962,10 @@ discard block |
||
| 962 | 962 | |
| 963 | 963 | // === Artifacts |
| 964 | 964 | define('UNIT_ARTIFACTS', 1000); |
| 965 | -define('ART_LHC', 1001); // Additional moon chance |
|
| 966 | -define('ART_RCD_SMALL', 1002); // Rapid Colony Deployment - Set of buildings up to 10th level - 10/14/ 3/0 - 405 DM |
|
| 967 | -define('ART_RCD_MEDIUM', 1003); // Rapid Colony Deployment - Set of buildings up to 15th level - 15/20/ 8/0 - 4704 DM |
|
| 968 | -define('ART_RCD_LARGE', 1004); // Rapid Colony Deployment - Set of buildings up to 20th level - 20/25/10/1 - 39790 DM |
|
| 965 | +define('ART_LHC', 1001); // Additional moon chance |
|
| 966 | +define('ART_RCD_SMALL', 1002); // Rapid Colony Deployment - Set of buildings up to 10th level - 10/14/ 3/0 - 405 DM |
|
| 967 | +define('ART_RCD_MEDIUM', 1003); // Rapid Colony Deployment - Set of buildings up to 15th level - 15/20/ 8/0 - 4704 DM |
|
| 968 | +define('ART_RCD_LARGE', 1004); // Rapid Colony Deployment - Set of buildings up to 20th level - 20/25/10/1 - 39790 DM |
|
| 969 | 969 | define('ART_HEURISTIC_CHIP', 1005); // Speed up research |
| 970 | 970 | define('ART_NANO_BUILDER', 1006); // Speed up building |
| 971 | 971 | define('ART_NANO_CONSTRUCTOR', 1007); // RESERVED Speed up hangar constructions |
@@ -1036,18 +1036,18 @@ discard block |
||
| 1036 | 1036 | define('UNIT_AWARD_MEDAL_BLITZ_R0_PLACE1', 2201); // Блиц-сервер, участник 0-го раунда, 1-е место |
| 1037 | 1037 | define('UNIT_AWARD_MEDAL_BLITZ_R0_PLACE2', 2202); // Блиц-сервер, участник 0-го раунда, 2-е место |
| 1038 | 1038 | define('UNIT_AWARD_MEDAL_BLITZ_R0_PLACE3', 2203); // Блиц-сервер, участник 0-го раунда, 3-е место |
| 1039 | -define('UNIT_AWARD_MEDAL_2016_WOMEN_DAY_BEST', 2204); // Медаль Лучшему Кавалеру за максимум потраченной ММ/максимум одаренных женщин Женщине от Мужчины во время ивента 8 марта 2016 года |
|
| 1039 | +define('UNIT_AWARD_MEDAL_2016_WOMEN_DAY_BEST', 2204); // Медаль Лучшему Кавалеру за максимум потраченной ММ/максимум одаренных женщин Женщине от Мужчины во время ивента 8 марта 2016 года |
|
| 1040 | 1040 | |
| 1041 | 1041 | define('UNIT_AWARD_MEMORY', 2300); // Памятные знаки за существование и участие - например "4 года в игре". "Был онлайн в новогоднюю ночь 2013". итд |
| 1042 | -define('UNIT_AWARD_MEMORY_IMMORTAL', 2301); // Бессмертный |
|
| 1043 | -define('UNIT_AWARD_MEMORY_2015_WOMEN_DAY', 2302); // Значек за подарок Женщине от Мужчины во время ивента 8 марта 2015 года |
|
| 1042 | +define('UNIT_AWARD_MEMORY_IMMORTAL', 2301); // Бессмертный |
|
| 1043 | +define('UNIT_AWARD_MEMORY_2015_WOMEN_DAY', 2302); // Значек за подарок Женщине от Мужчины во время ивента 8 марта 2015 года |
|
| 1044 | 1044 | define('UNIT_AWARD_MEMORY_BLITZ_R0', 2303); // Блиц-сервер, участник 0-го раунда |
| 1045 | 1045 | define('UNIT_AWARD_MEMORY_SUPER_BORN_2015_SIMPLE', 2304); // День Рождения СН |
| 1046 | 1046 | define('UNIT_AWARD_MEMORY_SUPER_BORN_2015_BRONZE', 2305); // День Рождения СН |
| 1047 | 1047 | define('UNIT_AWARD_MEMORY_SUPER_BORN_2015_SILVER', 2306); // День Рождения СН |
| 1048 | 1048 | define('UNIT_AWARD_MEMORY_SUPER_BORN_2015_GOLD', 2307); // День Рождения СН |
| 1049 | 1049 | define('UNIT_AWARD_MEMORY_SUPER_BORN_2015_PLATINUM', 2308); // День Рождения СН |
| 1050 | -define('UNIT_AWARD_MEMORY_2016_WOMEN_DAY', 2309); // Значек за подарок Женщине от Мужчины во время ивента 8 марта 2016 года |
|
| 1050 | +define('UNIT_AWARD_MEMORY_2016_WOMEN_DAY', 2309); // Значек за подарок Женщине от Мужчины во время ивента 8 марта 2016 года |
|
| 1051 | 1051 | |
| 1052 | 1052 | define('UNIT_AWARD_PENNANT', 2400); // Переходящий вымпел - индикация статуса на сервере: "Топ-1", "Топ", "Сабтоп", "Самый большой флот" итд |
| 1053 | 1053 | define('UNIT_AWARD_BADGE', 2600); // Бейджики/значки за ачивки - например, "Построил 1000 кораблей" |
@@ -1144,7 +1144,7 @@ discard block |
||
| 1144 | 1144 | |
| 1145 | 1145 | define('UNIT_NEXT', 4000); // !!! Next unit start on 4000 !!! |
| 1146 | 1146 | |
| 1147 | -define('GROUP_PART', 800000); |
|
| 1147 | +define('GROUP_PART', 800000); |
|
| 1148 | 1148 | // Зарезервировано для запчастей: 800.001 - 899.999 |
| 1149 | 1149 | // define('GROUP_PART_HULL', 801000); // Корпуса - 1000 штук |
| 1150 | 1150 | // define('GROUP_PART_ARMOR', 802000); // Броня - 1000 штук |
@@ -1401,32 +1401,32 @@ discard block |
||
| 1401 | 1401 | |
| 1402 | 1402 | |
| 1403 | 1403 | // define('NICK_ID', -1); |
| 1404 | -define('NICK_HTML', 0); |
|
| 1405 | - |
|
| 1406 | -define('NICK_FIRST', 1); |
|
| 1407 | -define('NICK_RACE', 1000); |
|
| 1408 | -define('NICK_GENDER', 2000); |
|
| 1409 | -define('NICK_AWARD', 3000); |
|
| 1410 | -define('NICK_VACATION', 3500); |
|
| 1411 | -define('NICK_BIRTHSDAY', 4000); |
|
| 1412 | -define('NICK_PREMIUM', 5000); |
|
| 1413 | -define('NICK_AUTH_LEVEL', 6000); |
|
| 1414 | - |
|
| 1415 | -define('NICK_HIGHLIGHT', 6300); |
|
| 1416 | -define('NICK_CLASS', 6450); |
|
| 1417 | - |
|
| 1418 | -define('NICK_NICK_CLASS', 6600); |
|
| 1419 | -define('NICK_NICK', 7000); |
|
| 1404 | +define('NICK_HTML', 0); |
|
| 1405 | + |
|
| 1406 | +define('NICK_FIRST', 1); |
|
| 1407 | +define('NICK_RACE', 1000); |
|
| 1408 | +define('NICK_GENDER', 2000); |
|
| 1409 | +define('NICK_AWARD', 3000); |
|
| 1410 | +define('NICK_VACATION', 3500); |
|
| 1411 | +define('NICK_BIRTHSDAY', 4000); |
|
| 1412 | +define('NICK_PREMIUM', 5000); |
|
| 1413 | +define('NICK_AUTH_LEVEL', 6000); |
|
| 1414 | + |
|
| 1415 | +define('NICK_HIGHLIGHT', 6300); |
|
| 1416 | +define('NICK_CLASS', 6450); |
|
| 1417 | + |
|
| 1418 | +define('NICK_NICK_CLASS', 6600); |
|
| 1419 | +define('NICK_NICK', 7000); |
|
| 1420 | 1420 | define('NICK_NICK_CLASS_END', 7300); |
| 1421 | 1421 | |
| 1422 | -define('NICK_ALLY_CLASS', 7600); |
|
| 1423 | -define('NICK_ALLY', 8000); |
|
| 1422 | +define('NICK_ALLY_CLASS', 7600); |
|
| 1423 | +define('NICK_ALLY', 8000); |
|
| 1424 | 1424 | define('NICK_ALLY_CLASS_END', 8300); |
| 1425 | 1425 | |
| 1426 | -define('NICK_CLASS_END', 8450); |
|
| 1427 | -define('NICK_HIGHLIGHT_END', 8600); |
|
| 1426 | +define('NICK_CLASS_END', 8450); |
|
| 1427 | +define('NICK_HIGHLIGHT_END', 8600); |
|
| 1428 | 1428 | |
| 1429 | -define('NICK_LAST', 9999); |
|
| 1429 | +define('NICK_LAST', 9999); |
|
| 1430 | 1430 | |
| 1431 | 1431 | // Настройки игрока |
| 1432 | 1432 | define('PLAYER_OPTION_MENU_SORT', 1); |
@@ -1519,8 +1519,8 @@ discard block |
||
| 1519 | 1519 | define('LOG_ONLIINE_AGGREGATE_PERIOD_MINUTE_10', 1); |
| 1520 | 1520 | |
| 1521 | 1521 | define('BLITZ_REGISTER_DISABLED', 0); |
| 1522 | -define('BLITZ_REGISTER_OPEN' , 1); |
|
| 1523 | -define('BLITZ_REGISTER_CLOSED' , 2); |
|
| 1522 | +define('BLITZ_REGISTER_OPEN', 1); |
|
| 1523 | +define('BLITZ_REGISTER_CLOSED', 2); |
|
| 1524 | 1524 | define('BLITZ_REGISTER_SHOW_LOGIN', 3); |
| 1525 | 1525 | define('BLITZ_REGISTER_DISCLOSURE_NAMES', 4); |
| 1526 | 1526 | |