Commit Graph

193 Commits

Author SHA1 Message Date
Nay
f859088699 Core/Misc: Fix code style and a typo for recently merged in PRs 2012-08-03 00:20:44 +01:00
Alternative
dc7030ced6 Some codestyle changes. 2012-08-02 16:47:28 -04:00
Alternative
f303782de4 Added disable commands. 2012-08-02 16:33:35 -04:00
Vincent-Michael
4a3df36bd9 Core/Commands: Convert more misc commands in commandscript 2012-07-29 15:03:26 +02:00
Vincent-Michael
d02a3966ea Core/Command: Add missing part for pet command 2012-07-29 13:36:28 +02:00
Vincent-Michael
6f69a3326d Convert misc commands in commandscript 2012-07-29 01:23:51 +02:00
Vincent-Michael
a9812a0860 Core/Commands: Convert ticket commands in commandscript 2012-07-15 22:20:22 +02:00
Nay
6658af5ca5 Merge pull request #7039 from Vincent-Michael/banCommand
Core/Commands: Convert ban / unban / baninfo / banlist commands in commandscript
2012-07-15 06:59:08 -07:00
Nay
c32c83ed67 Scripts/Commands: When GM is invisible use a transparency visual aura (to make it obvious that invisibility is active)
Thanks to Kretol for the idea and Aokromes for the spell id
2012-07-15 14:46:04 +01:00
Vincent-Michael
9e84942917 Core/Commands: Convert ban / unban / baninfo / banlist commands in commandscript 2012-07-14 13:37:57 +02:00
Subv
26c36ba854 Miscellaneous: Unsigned expressions cant be negative 2012-07-06 20:52:54 -05:00
Subv
d4390c171a Fixed build 2012-07-06 20:48:49 -05:00
Vincent-Michael
91cd7109e4 Core/Commands: Convert lookup commands in commandscript 2012-07-06 21:38:18 +02:00
Vincent-Michael
f8374fac0b Core/Commands: Convert guild commands in commandscript 2012-07-02 21:57:50 +02:00
Subv
16d4cc7e0b Fixed build 2012-07-01 16:18:11 -05:00
Subv
80898c1d0c Merge pull request #6884 from Vincent-Michael/resetCommand
Core/Commands: Convert reset commands in commandscript
2012-07-01 14:02:59 -07:00
Shauren
e0997874f5 Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists 2012-06-29 21:53:35 +02:00
kandera
9bf7ee3ee9 fix build #2 2012-06-22 16:31:35 -03:00
kandera
e50fa50736 fix build 2012-06-22 15:54:11 -03:00
Vincent-Michael
5de44b3632 Core/Commands: Convert reset commands in commandscript 2012-06-21 23:41:03 +02:00
QAston
8907388059 Merge pull request #6867 from Vincent-Michael/listCommand
Core/Commands: Convert list commands in commandscript
2012-06-21 10:25:33 -07:00
Vincent-Michael
3368e888a1 Core/Commands: Fix some codestyle for a312cd4ba1 2012-06-21 18:49:26 +02:00
Vincent-Michael
d3bf4626d0 Core/Commands: Convert list commands in commandscript 2012-06-21 17:21:23 +02:00
Nay
874dff2050 Scripts/Commands: No one likes tabs :( 2012-06-21 01:38:55 +01:00
Nay
7e6273315c Scripts/Commands: Fix non pch build (add missing includes) 2012-06-21 00:30:01 +01:00
Xees
a312cd4ba1 Scripts/Commands: Convert character and server commands to commandscript
Closes #6856

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-06-21 00:11:11 +01:00
Vincent-Michael
c19f13e6fc Core/Commands: Convert cast commands in commandscript 2012-06-19 20:42:11 +02:00
QAston
f90f5b6fb7 Merge pull request #6832 from Xees/master
Scripts/Commands: Update TeleDel command to support id, shift click, or name of teleport location.
2012-06-17 19:33:21 -07:00
Abdollah Hasan
b3d99e968f Core/Commands: TeleDel command cleanup. 2012-06-18 05:16:00 +03:00
Abdollah Hasan
32d3e33f87 Core/Commands: Update TeleDel command to support id, shift click, or name of teleport location. 2012-06-18 04:54:50 +03:00
Vincent-Michael
0e8889415d Core/Chat: Convert instance commands in commandscript 2012-06-14 17:33:46 +02:00
Vincent-Michael
ab77e597b1 Add function for SetObjectScale
Author: NoFantasy
Source: Mangos
2012-05-26 23:14:57 +02:00
Discover-
70739ec9de Scripts/Commands: Fix compile under Linux (d6d45633c8).
Credits go to @PuniCZ
2012-05-10 13:50:22 +02:00
Kandera
0f3db42ffc Core/Commands: fix build error with non-pch builds 2012-05-09 12:14:31 -04:00
Kandera
d6d45633c8 Core/Commands: Add level 3 command for setting npc data. used for testing scripts. 2012-05-09 10:29:06 -04:00
Shocker
83e1e17649 Merge pull request #6008 from cookta2012/troy09
Core/Commands: Some porting and organizing

Moving a commands around eliminating a unnecessary file, and porting the "demorph" command
 * moved the "wpgps" command into the cs_debug.cpp because it seems more fitting
 * organized the "modify speed" commands into a table of their own
 * moved the "gps" command into the cs_misc.cpp
2012-04-23 17:21:42 -07:00
Subv
f7e0aedaf0 Fixed broken compile 2012-04-15 09:45:51 -05:00
Subv
c7eeb0b59c Scripts/Commands: Make the .modify reputation command only modify the specified reputation (ignore spillovers)
Patch by @ogeraisi
2012-04-15 09:30:34 -05:00
Shauren
abed18d695 Core/DBLayer: More type fixes 2012-04-09 17:36:10 +02:00
Shauren
ae0a6cde21 Core/DBLayer: More type fixes. 2012-04-07 17:27:40 +02:00
cookta2012
7e793575be Moving a commands around eliminating a unnecessary file, and porting the "demorph" command
* moved the "wpgps" command into the cs_debug.cpp because it seems more fitting
* organized the "modify speed" commands into a table of their own
* moved the "gps" command into the cs_misc.cpp
2012-04-05 17:43:06 -05:00
Nay
a92820b51c Core/DBLayer: Correct few more wrong read types (No. 1)
DB/World: Some consistency in the ints "length" field (not really a length)

From A to D world tables verified; missing all the others

int(11) -> int32
unsigned int(10) -> uint32
mediumint(8) -> int32
unsigned mediumint(8) -> uint32
smallint(6) -> int16
unsigned smallint(5) -> uint16
tinyint(4) -> int8
unsigned tinyint(3) -> uint8
2012-03-27 00:43:56 +01:00
Subv
56fac5e1af Memory: Get rid of some memory leaks, converted FormationMgr back to singleton 2012-03-25 09:25:28 -05:00
Nay
192d7d735d Core/DBLayer: Few more type corrections
Closes #5871
2012-03-24 23:05:24 +00:00
leak
12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements 2012-03-24 01:25:08 +01:00
leak
847b4366f3 Core/DBLayer: Convert PExecute() queries to prepared statements 2012-03-19 16:48:08 +01:00
Gyx
bef1b0c402 Core/Script: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 19:40:57 +08:00
leak
2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
thomas33
20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
Machiavelli
03a24a84e4 Core/Units:
- Implement UNIT_FIELD_HOVERHEIGHT (requires DB data). This field, sent in update object packet, will determine the height at which a creature hovers if it has movementflag_hover applied. Note that hovering will now update the server-sided z-coordinate by the value of this field, and that all subsequent positional updates to the client will need to send z coordinate MINUS the hover height offset, or the hoverheight will be visually doubled client side.
- Correct our usage of movementflag_flying, movementflag_can_fly, movementflag_hover and movementflag_disable_gravity (previously levitate), and how they relate to InhabitType in the database. This fixes "flying creatures on steroids" bug (wings flapping too fast), and potentially a lot of visual issues in AI scripts. Note that a lot of scripts still set wrong movementflags, these need to be fixed on a case by case basis.
- Send correct packets for SPELL_AURA_FEATHER_FALL, SPELL_AURA_WATER_WALK and SPELL_AURA_HOVER apply/unapply.
- Send correct packet contents for movement update in Unit::SetSpeed.
- Misc. cleanup in affected scripts.
2012-03-12 00:53:45 +01:00