Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: sql/character_updates/4640_player_titles.sql
- ===================================================================
- --- sql/character_updates/4640_player_titles.sql (revision 0)
- +++ sql/character_updates/4640_player_titles.sql (working copy)
- @@ -0,0 +1,2 @@
- +ALTER TABLE `characters` ADD `available_pvp_titles2` bigint(10) unsigned NOT NULL DEFAULT '0' AFTER available_pvp_titles1`;
- +UPDATE `arcemu_db_version` SET `LastUpdate` = '4640';
- \ No newline at end of file
- Index: src/arcemu-world/Level3.cpp
- ===================================================================
- --- src/arcemu-world/Level3.cpp (revision 4632)
- +++ src/arcemu-world/Level3.cpp (working copy)
- @@ -4185,6 +4185,7 @@
- {
- plr->SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES, 0);
- plr->SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES1, 0);
- + plr->SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES2, 0);
- }
- else if(title > 0)
- plr->SetKnownTitle(static_cast< RankTitles >(title), true);
- Index: src/arcemu-world/Master.h
- ===================================================================
- --- src/arcemu-world/Master.h (revision 4632)
- +++ src/arcemu-world/Master.h (working copy)
- @@ -44,7 +44,7 @@
- #endif
- #define REQUIRED_WORLD_DB_VERSION 4630
- -#define REQUIRED_CHAR_DB_VERSION 4479
- +#define REQUIRED_CHAR_DB_VERSION 4640
- #define DEFAULT_LOOP_TIME 0 /* 0 milliseconds - instant */
- #define DEFAULT_LOG_LEVEL 0
- Index: src/arcemu-world/Player.cpp
- ===================================================================
- --- src/arcemu-world/Player.cpp (revision 4632)
- +++ src/arcemu-world/Player.cpp (working copy)
- @@ -2333,6 +2333,7 @@
- << m_uint32Values[PLAYER_CHOSEN_TITLE] << ","
- << GetUInt64Value(PLAYER__FIELD_KNOWN_TITLES) << ","
- << GetUInt64Value(PLAYER__FIELD_KNOWN_TITLES1) << ","
- + << GetUInt64Value(PLAYER__FIELD_KNOWN_TITLES2) << ","
- << m_uint32Values[PLAYER_FIELD_COINAGE] << ",";
- if((getClass() == MAGE) || (getClass() == PRIEST) || (getClass() == WARLOCK))
- @@ -2724,7 +2725,7 @@
- return;
- }
- - const uint32 fieldcount = 90;
- + const uint32 fieldcount = 91;
- if(result->GetFieldCount() != fieldcount)
- {
- @@ -2886,6 +2887,7 @@
- SetChosenTitle(get_next_field.GetUInt32());
- SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES, get_next_field.GetUInt64());
- SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES1, get_next_field.GetUInt64());
- + SetUInt64Value(PLAYER__FIELD_KNOWN_TITLES2, get_next_field.GetUInt64());
- m_uint32Values[ PLAYER_FIELD_COINAGE ] = get_next_field.GetUInt32();
- m_uint32Values[ PLAYER_AMMO_ID ] = get_next_field.GetUInt32();
- m_uint32Values[ PLAYER_CHARACTER_POINTS2 ] = get_next_field.GetUInt32();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement