Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
Shauren
e5347a3bda
Core: Fixed warnings:
...
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Machiavelli
6c4a0354a2
Core/ObjectMgr: Move some npc_spellclick_spells and vehicle_accessory related errors to startup instead of post-startup runtime
2011-03-06 11:12:19 +01:00
Machiavelli
a9582964d3
Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.
...
Closes #805
2011-03-04 21:17:06 +01:00
click
d92fb9ad65
Core: Clean up some rogue whitespace and tabs
2011-02-27 18:34:24 +01:00
Machiavelli
3ac80ee3a4
Core/Vehicles: Correct usage of npc_spellclick_spells instead of blatant hacks for vehicle entry.
...
Note: This may break a few vehicles, but only due to the absence of proper, non-hackish data.
2011-02-26 23:00:09 +01:00
Shauren
cbbfc21934
Fixed compile (bad copy&paste)
2011-02-26 12:55:15 +01:00
Shauren
45f91feaa8
DB: Fixed startup errors and formatting
...
Core/Vehicles: Prevent "unprocessed tail data" vehicle packet spam
2011-02-26 12:53:17 +01:00
Machiavelli
30738e645f
Core/Vehicles&Movement:
...
- Send correct SMSG_MONSTER_MOVE with newly discovered SPLINEFLAG_EXIT_VEHICLE on vehicle exit. Fixes the "stuck on exit" bug as a result of removing the previous hack in 04b656a44f .
- Use SMSG_SPLINE_MOVE_ROOT and SMSG_SPLINE_MOVE_UNROOT as root packets for creatures.
- Reimplement toggling of MOVEMENTFLAG_ROOT on root event (including enter vehicle)
- Speedup in fetching movementflags for vehicles depending on vehicleflags on object updates.
- Code cleanup and refactoring
2011-02-26 03:47:23 +01:00
Azazel
bcd7e45e12
CharDB Schema/Cleanup: cleanup character_tutorial table:
...
* rename table to account_tutorial, because it holds account specific data;
* rename column account to accountId;
* introduce prepared statements for table.
2011-02-25 00:45:57 +06:00
Azazel
20ab3e4bda
CharDB Schema/Cleanup: cleanup account_data and character_account_data tables:
...
* rename column account to accountId;
* introduce prepared statements for both tables.
2011-02-25 00:44:33 +06:00
Azazel
6a4fd1c780
Core/Spell Mechanics: remove redundant call to AddGlobalCooldown left from previous GCD checks implementation (thanks Machiavelli for spotting)
...
Core/Logs: fix one more log message for Aokromes
2011-02-22 23:20:21 +06:00
darkstalker
1646f9d91c
Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos)
2011-02-22 17:02:47 +06:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
Machiavelli
eae88577da
Core/WorldSession: Fix logic in WriteMoveMentInfo in regards to sending pitch coordinate to client.
2011-02-17 20:51:02 +01:00
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06:00
leak
06402fda47
Core/Handlers: Send invite decline message to leader in every case
2011-02-13 21:15:52 +01:00
runningnak3d
5d91780fc7
Core/Log: Remove totally pointless log message.
2011-02-11 11:25:04 -07:00
Manuel Carrasco
6b2ffc9039
Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
...
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)
Thanks to Kaelima, Xanadu, Shauren and linencloth.
Signed-off-by: Manuel Carrasco <[email protected] >
2011-02-10 22:36:35 -03:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Machiavelli
0ad2c90d22
Core/Items: Fix money refund amount. Also fix a possible exploit possibility of redeeming both vendor sellprice and money refund price in one go.
2011-01-24 23:10:08 +01:00
Shauren
820f87f365
Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
...
Also fixes broken build
2011-01-24 11:38:59 +01:00
Shauren
464837077a
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
2011-01-24 11:20:30 +01:00
Shauren
ac689f456d
Core/Scripts: Implemented method for sending encounter boss frames from scripts
2011-01-23 16:59:33 +01:00
leak
f7af49291b
SQL: Characters db storage type cleanup No. 7 (final) - Note:
...
- It is _strongly_ recommended to extensively test the recent changes before applying them to live data
- To fully resync the character db layout with TC releases it is recommended to dump the characters table with
mysqldump --no-data characters > characters_database_livedata.sql
and use a diff tool to compare it against sql/base/characters_database.sql
2011-01-20 02:11:49 +01:00
leak
a486eb0c2f
SQL: Characters db storage type cleanup No. 5
2011-01-20 00:08:45 +01:00
leak
a7df9ddff1
SQL: Characters db storage type cleanup No. 4
2011-01-19 22:46:21 +01:00
leak
471b6f138d
SQL: Characters db storage type cleanup No. 3 - Note:
...
There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
2011-01-19 18:51:00 +01:00
leak
b8210f4396
SQL: Characters db storage type cleanup #1 - Note:
...
- MySQL numeric types can NOT be altered in value range or or storage size at all, so things like INT(32) are entirely pointless. As TC currently doesn't use the display width of numeric types, use the default width to avoid confusion. (see MySQL numeric types docs)
- Timestamps can be stored as INT(10) UNSIGNED. As the max value of this type is 4294967295 which translates into year 2106 using it as timestamp we are NOT affected by the year 2038 bug. If the timestamp needs to be negative in some cases, i.e. for displaying infinity using -1, use BIGINT(20) instead.
- Do NOT set ROW_FORMAT for InnoDB tables unless you specifically want COMPRESSED tables (which we don't for performance reasons). MySQL will chose the appropriate ROW_FORMAT by itself depending on the innodb_file_format setting of the server. (FIXED is only available for MyISAM)
- Even though VARCHAR does require less storage space than CHAR for values with variable length, the length still needs to be chosen wisely as this doesn't apply to memory consumption.
2011-01-19 02:53:44 +01:00
Lightguard
4aae3cd45e
Add missing opcodes to OpcodeHandlerTable.
...
Signed-off-by: Anubisss <[email protected] >
2011-01-14 22:40:41 +01:00
JohnHoliver
db72c4f561
Core - Modifies a few security checks to take realm id into consideration. It will enable add friends which have moderators (or more) status in other realms and cease undue AH activity logging from those same accounts.
...
Signed-off-by: click <[email protected] >
2011-01-14 21:05:02 +01:00
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00
Derex
45459bed23
Core/Netcode: Fix file descriptor leak under linux platforms with ACE dev poll reactor.
...
close #15
Signed-off-by: Machiavelli <[email protected] >
2011-01-09 13:53:25 +01:00
Christyan
bc048ad216
Fix a typo in LFG.
...
Use the proper DungeonID for SMSG_LFG_PROPOSAL_UPDATE if player selected multiple dungeons.
Signed-off-by: Anubisss <[email protected] >
2011-01-07 01:30:39 +01:00
Machiavelli
09a0860717
Core/Pets: Fix crash added in a3feae6b6f
2011-01-04 19:30:51 +01:00
lukaasm
4fba0830d0
Core/Groups: Fix players being displayed as offline in group view after being teleported to a
...
different map
closes #48
Signed-off-by: Machiavelli <[email protected] >
2011-01-04 18:12:10 +01:00
Per Wilhelmsen
a3feae6b6f
Core/Handlers: Add guid-output for pet-guid and playerguid in HandlePetSetAction error-message.
2011-01-04 06:09:43 +01:00
Machiavelli
9f4881310f
Core/Vehicles: Fix a crash in EjectPassenger
...
Closes #20
2011-01-03 17:02:26 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Machiavelli
72a115f242
Core/Vehicles: Store guids in vehicleseat structures instead of pointers. Fixes a crash with vendor-carrying Mammoth mounts.
2010-12-31 17:23:51 +01:00
leak
d747b8063b
And remove useless testing code again..
2010-12-31 04:50:26 +01:00
leak
73fe85e6fd
Core/Handlers: Allow gamemasters to send mails with customer support badge depending on gm mode (.gm off/on)
2010-12-31 04:47:57 +01:00
Machiavelli
11cc3eac7a
Core/Vehicles: Implement VEHICLE_SEAT_FLAG_B_CANSWITCH restriction, and do some cleanup.
2010-12-30 19:57:50 +01:00
Machiavelli
948a2136c4
Core/Vehicles: - Redefine VEHICLE_SEAT_FLAG_USABLE as VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT. This flag determines whether or not the player has control over entering/exiting a vehicleseat. Thanks to linencloth for help with research.
...
- Implement VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT exit restriction
- Remove MOVEMENTFLAG_ROOT on vehicle exit
2010-12-30 19:10:46 +01:00
Machiavelli
71e959837b
Core/Vehicles: - Prevent client ejecting passengers from non-ejectable seats.
...
- Chart some more VehicleSeatFlags and VehicleSeatFlagsB. Research by linencloth
2010-12-30 17:59:55 +01:00
Machiavelli
8c8f4a828b
Core/Vehicles: - Prevent client ejecting passengers from non-ejectable seats.
...
- Chart some more VehicleSeatFlags and VehicleSeatFlagsB. Research by linencloth
2010-12-30 17:33:51 +01:00
silinoron
e522fbe7ce
Core/WorldSession: Cleanup.
2010-12-29 20:20:09 -08:00