Show
Ignore:
Timestamp:
11/19/08 13:31:47 (17 years ago)
Author:
yumileroy
Message:

[svn] * Fixed compile from r78
* Fixed: not apply healling bonus to spell 40972 heal amount. - Source Mangos
* Item 30627 hidden cooldown - Source Mangos
* Fixed Trinityrealm autopatching system - Source Arrai
* Add support for autoconf 2.6.2 and newer - Source Derex
Some decent sized changes, please test before deploying - KP

Original author: KingPin?
Date: 2008-10-19 21:08:34-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.cpp

    r69 r74  
    1366513665{ 
    1366613666    ////                                                     0     1        2     3     4     5      6           7           8           9    10           11        12         13         14         15          16           17                 18                 19                 20       21       22       23       24         25       26            27        [28]  [29]    30                 31         32 
    13667     //QueryResult *result = CharacterDatabase.PQuery("SELECT guid, account, data, name, race, class, position_x, position_y, position_z, map, orientation, taximask, cinematic, totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, trans_x, trans_y, trans_z, trans_o, transguid, gmstate, stable_slots, at_login, zone, online, death_expire_time, taxi_path, dungeon_difficulty FROM characters WHERE guid = '%u'", guid); 
     13667    //QueryResult *result = CharacterDatabase.PQuery("SELECT guid, account, data, name, race, class, position_x, position_y, position_z, map, orientation, taximask, cinematic, totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, trans_x, trans_y, trans_z, trans_o, transguid, extraflags, stable_slots, at_login, zone, online, death_expire_time, taxi_path, dungeon_difficulty FROM characters WHERE guid = '%u'", guid); 
    1366813668    QueryResult *result = holder->GetResult(PLAYER_LOGIN_QUERY_LOADFROM); 
    1366913669 
     
    1390013900    m_taxi.LoadTaxiMask( fields[11].GetString() );          // must be before InitTaxiNodesForLevel 
    1390113901 
    13902     uint32 gmstate = fields[25].GetUInt32(); 
     13902    uint32 extraflags = fields[25].GetUInt32(); 
    1390313903 
    1390413904    m_stableSlots = fields[26].GetUInt32(); 
     
    1409014090            case 1: SetGameMaster(true); break;             // enable 
    1409114091            case 2:                                         // save state 
    14092                 if(gmstate & PLAYER_EXTRA_GM_ON) 
     14092                if(extraflags & PLAYER_EXTRA_GM_ON) 
    1409314093                    SetGameMaster(true); 
    1409414094                break; 
     
    1410114101            case 1: SetAcceptTicket(true); break;           // enable 
    1410214102            case 2:                                         // save state 
    14103             if(gmstate & PLAYER_EXTRA_GM_ACCEPT_TICKETS) 
     14103            if(extraflags & PLAYER_EXTRA_GM_ACCEPT_TICKETS) 
    1410414104                SetAcceptTicket(true); 
    1410514105            break; 
     
    1411214112            case 1: SetGMChat(true); break;                 // enable 
    1411314113            case 2:                                         // save state 
    14114                 if(gmstate & PLAYER_EXTRA_GM_CHAT) 
     14114                if(extraflags & PLAYER_EXTRA_GM_CHAT) 
    1411514115                    SetGMChat(true); 
    1411614116                break; 
     
    1412314123            case 1: SetAcceptWhispers(true); break;         // enable 
    1412414124            case 2:                                         // save state 
    14125                 if(gmstate & PLAYER_EXTRA_ACCEPT_WHISPERS) 
     14125                if(extraflags & PLAYER_EXTRA_ACCEPT_WHISPERS) 
    1412614126                    SetAcceptWhispers(true); 
    1412714127                break; 
     
    1511015110        "taximask, online, cinematic, " 
    1511115111        "totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, " 
    15112         "trans_x, trans_y, trans_z, trans_o, transguid, gmstate, stable_slots, at_login, zone, " 
     15112        "trans_x, trans_y, trans_z, trans_o, transguid, extraflags, stable_slots, at_login, zone, " 
    1511315113        "death_expire_time, taxi_path) VALUES (" 
    1511415114        << GetGUIDLow() << ", "