-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXED: Chat - Now properly changes with phase
FIXED: Non-targeted spells (targeted ones already worked properly) ADDED: .character phase command to be a get/set command at the same time, depending on parameters (you can view the phase of someone without parameters, with parameters you can set it) ADDED: .npc phase <phase> <save> - save represents an optional 1 to save the phase of the npc to the database. ADDED: .go phase <phase> <save> - remember without the <>... The spawn commands will set the spawned object's phase to match the player's phase; if it is not the desired outcome, then you can use the above 3 commands. The various info commands should list the phase value too. FIXED: Mana bar/power bar (just stumbled upon it while testing things, so fixed it along the way) FIXED: Combat pets now properly follow phase changes. MODIFIED: Server's packet logging to include the account id, so you can easily tell now which packet came/went from/to who. FIXED: Various small warnings about uninitialized variables and 0 vs NULL differences. Please see my thread here: http://arcemu.org/forums/index.php?showtopic=17179 - for more information on phasing!
- Loading branch information
Vlack
authored and
Vlack
committed
Aug 13, 2009
1 parent
0fb3446
commit bee9f12
Showing
35 changed files
with
411 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE `characters` ADD COLUMN `phase` int(10) UNSIGNED DEFAULT '1' NOT NULL after `glyphs`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
alter table `creature_spawns` add column `CanFly` smallint(3) DEFAULT '0' NOT NULL; | ||
alter table `creature_spawns` add column `CanFly` smallint(3) DEFAULT '0' NOT NULL after `slot3item`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ALTER TABLE `creature_spawns` ADD COLUMN `phase` int(10) UNSIGNED DEFAULT '1' NOT NULL after `CanFly`; | ||
|
||
ALTER TABLE `gameobject_spawns` ADD COLUMN `phase` int(10) UNSIGNED DEFAULT '1' NOT NULL after `stateNpcLink`; | ||
|
||
ALTER TABLE `creature_staticspawns` ADD COLUMN `channel_spell` int(30) DEFAULT '0' NOT NULL after `npc_respawn_link`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `channel_target_sqlid` int(30) DEFAULT '0' NOT NULL after `channel_spell`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `channel_target_sqlid_creature` int(30) DEFAULT '0' NOT NULL after `channel_target_sqlid`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `standstate` int(10) DEFAULT '0' NOT NULL after `channel_target_sqlid_creature`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `mountdisplayid` int(10) UNSIGNED DEFAULT '0' NOT NULL after `standstate`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `slot1item` int(10) UNSIGNED DEFAULT '0' NOT NULL after `mountdisplayid`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `slot2item` int(10) UNSIGNED DEFAULT '0' NOT NULL after `slot1item`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `slot3item` int(10) UNSIGNED DEFAULT '0' NOT NULL after `slot2item`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `CanFly` smallint(3) DEFAULT '0' NOT NULL after `slot3item`; | ||
ALTER TABLE `creature_staticspawns` ADD COLUMN `phase` int(10) UNSIGNED DEFAULT '1' NOT NULL after `CanFly`; | ||
|
||
ALTER TABLE `gameobject_staticspawns` ADD COLUMN `phase` int(10) UNSIGNED DEFAULT '1' NOT NULL after `respawnNpcLink`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1272,4 +1272,4 @@ uint32 Item::CountGemsWithLimitId(uint32 LimitId) | |
} | ||
} | ||
return result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.