Commit graph

225 commits

Author SHA1 Message Date
VladimirMangos
7ee25008d3 [9794] Implement ".account characters" command
Console/chat command output characters list for specific account.
2010-04-26 07:13:39 +04:00
Laise
236a578d52 [9780] Change CalcAbsorbResist/isBlocked to be called from target side 2010-04-23 06:58:58 +03:00
DasBlub
492ce567d2 [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands.
Added commands:
* .character deleted list [$guid|$name]
* .character deleted restore $guid|$name [$newname]
* .character deleted delete $guid|$name
* .character deleted old [$keepdays]

Command .character delete renamed to .character erase

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-20 22:12:50 +04:00
VladimirMangos
d7acc13d09 [9761] Restore .list object output.
No reason have different command output in chat and console
just because need fix crash.
2010-04-18 18:09:44 +04:00
NoFantasy
73475d0dc0 [9760] Add missing argument causing crash using .list obj, after change in [9663]
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-18 15:23:00 +02:00
SilverIce
e3f3f3410a [9736] Added more usable interface for grid visits
(based on SilverIce's repo commit f20f01e)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-12 15:15:55 +04:00
VladimirMangos
c7095fb3ed [9731] Cleanup in skil steps code.
* Move step arg in SetSkill to end for make possible for it default value.
* Merge GetSkillStep function to SetSkill, base at fact that old GetSkillStep
  code can be != 0 only for already known spell, so at update
2010-04-12 08:51:17 +04:00
VladimirMangos
6ef88699d1 [9710] Add gm possibilities reset talents for all specs.
* At login reset '.reset all talents' will reset all spec talents.
* New command '.reset specs' will reset its online/offline.
* Command '.reset talents' now not support offline player case.
2010-04-09 22:43:11 +04:00
tomrus88
d131f137cc Merge remote branch 'origin/master' into 330 2010-04-03 11:33:45 +04:00
VladimirMangos
973a21060b [9657] Not include in .list talents disabled spells
Also some more cleanups in free talent points update calls.
2010-04-02 18:31:11 +04:00
VladimirMangos
034da8f6d4 [9656] Implement '.list talents' command.
Command show really know by selected player talent ranks,
including bugged cases like 2 rank same talent known and etc.
Also command claculated count of talents and total used talent
points cost of known talent ranks.

Can be helpful in bug debuging and cheating cases.
2010-04-02 06:38:27 +04:00
VladimirMangos
daaeb0a998 [9653] Correctly update talent free points in diff cases.
Before at .unlearn or .learn all_mytalents commands free talent points not updated correctly.
Same for .learn all_mypettalents.
2010-04-02 03:03:01 +04:00
tomrus88
f2572fdda0 Merge remote branch 'origin/master' into 330 2010-03-31 02:29:02 +04:00
VladimirMangos
5c7f6356d6 [9644] Changes in emotes work.
Waypoint/db script/event ai/'.npc playemote' emote data now auto select by emote id way to execute:
oneshot or persistent state

So if in referenced DB data wrongly used state emote as oneshot case this will work in different way now.
2010-03-30 22:13:55 +04:00
tomrus88
94cd6abe6f Merge remote branch 'origin/master' into 330 2010-03-28 16:01:46 +04:00
hunuza
6c553bf226 [9633] Some code clean up.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 10:56:05 +02:00
tomrus88
b99f51a984 Fixed bug with professions in trainer list not being marked as known until trainer list re-opened. 2010-03-27 19:41:15 +03:00
tomrus88
112046718a Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Player.cpp
2010-03-27 13:29:31 +03:00
tomrus88
dd3d5eec69 Updated to client build 11723. 2010-03-27 03:50:35 +03:00
VladimirMangos
c3e07a443d [9620] Resolve linking problems for script DLLs 2010-03-26 06:54:33 +03:00
VladimirMangos
b658b25ff8 [9618] More use ObjectGuid in spell/etc code 2010-03-25 13:59:46 +03:00
VladimirMangos
a27ff3e79d [9602] Simplify creating mail draft with content text, cleanup includes. 2010-03-18 12:10:47 +03:00
VladimirMangos
a12fecab0d [9575] Use ObjectGuid in Map object stores/world access/search. 2010-03-12 14:38:38 +03:00
VladimirMangos
c8fd454a79 [9551] Add and use PackedGuid wrapper.
Also
* use more wide bytebuff << >> operators for objects
* use at read packet faisl alsways exception way instead some time used bool results.
2010-03-08 20:23:16 +03:00
VladimirMangos
531b3b669e [9542] Make MovementGenerator::GetMovementGeneratorType() const 2010-03-07 13:55:18 +03:00
VladimirMangos
7fdbe497e9 [9518] Implement account associated execute for RA commands
* Now at login by RA-connection RA-connection use account id/access level
  for commands execute. So at login with moderator access by RA-connection you
  can execute only moderator level commands. For administrator level accounts
  allowed execute only console level commands if new config option RA.Stricted = 0.
  For security reasons by default RA.Stricted = 1.
* RA-connection executed commands now logged for associalted account id
* Some own account related commands allowed execute in RA-connection

NOTE: config version updated because RA.Stricted = 1 not compatible with old
      way work and this can break tools thta use RA-access if it not disabled.
      Yuo will need update mangosd.conf.
2010-03-05 04:24:32 +03:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
VladimirMangos
84080aaf60 [9411] More SpellEffectIndex using in apropriate cases 2010-02-19 06:45:11 +03:00
VladimirMangos
ff8d494ed4 [9408] Add MAX_EFFECT_INDEX to enum SpellEffectIndex and use it. 2010-02-18 23:33:16 +03:00
NoFantasy
7c555add76 [9403] Replace number with enum name where explicitly used in array/other checks
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 19:07:00 +01:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
VladimirMangos
6d4693e770 [9371] Implement .reload all_gossips
* For reload `gossip_menu`, `gossip_menu_option`, `gossip_scripts`,
  `npc_gossip`, `points_of_interest` by single command.
* Also fixed reloading `points_of_interest`.
2010-02-14 00:57:43 +03:00
Thyros
51b1fa9802 [9370] Implement .reload quest_poi (also reload quest_poi_points).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 00:37:04 +03:00
tomrus88
0bd88dd55a [9353] Some fixes to guild/arenateam events. 2010-02-10 21:14:23 +03:00
AlexDereka
696cba9c37 [9330] Fixed msvc compile warnings. 2010-02-08 16:27:35 +03:00
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03:00
tomrus88
db547a008a Get rid of monster movement flags, since it's really spline flags.
Thanks to Ralek for research.
2010-02-07 15:03:36 +03:00
NeatElves
ae379a9ea3 [9254] Implement .reload locales_gossip_menu_option
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-25 10:58:44 +03:00
VladimirMangos
e3978a908c [9252] Fixed crash in result typo in arena points loading.
Also small cleanups in PLAYER_FIELD_WATCHED_FACTION_INDEX use.
2010-01-24 19:51:59 +03:00
XTZGZoReX
0ff9250de2 [9245] Remove CellLock class and all cell-level thread locking.
* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.
2010-01-23 21:36:15 +01:00
NeatElves
f706842ab8 [9225] Implement .relaod gossip_scripts
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 14:56:00 +03:00
VladimirMangos
98adbbc3d3 [9206] Some code cleanups.
* UNIT_STAT_SEARCHING not used
* Remove some commented wrong code
* WaypointMovementGenerator<Creature>::Initialize() not have code
2010-01-18 09:13:50 +03:00
VladimirMangos
8a03785470 [9198] Replace targeted movegen by 2 new: chase/follow movegens.
NOTE: this is mostly just formal adding 2 movegens with very limited cleanups.
Real result from adding 2 new movegens possible after apply more deep cleanups/fixes
in UNIT_STAT_CHASE/UNIT_STAT_FOLLOW set. But this will need more cereful changes
because we have currently sometime strange dependences and places for set for this flags.
Similar cleanups required for other movegen related flags. Infact i have related patches but
need more testing before apply step by step.
2010-01-17 09:37:11 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
NoFantasy
ec0043ac64 [8928] Rename internal names for gossipLocale and also correct reload gossip tables
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-06 11:55:53 +01:00
NoFantasy
090c8b8854 [8923] Restructure gossip menus and make it possible to build selections by database
As result, gossip for GO is now possible. Moved related data structures and remove useless from code.
Please note that after some time, table npc_gossip will be fully removed (use menuId in _template in relation to gossip_menu as replacement).
Special thanks to GriffonHeart for help with research, discussions and ideas of code and thanks to Vladimir for helpful input.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-06 02:27:26 +01:00
VladimirMangos
b5980f061a [8833] Implement new commands for add/remove/lookup titles.
Inspired by patch suggested by LordJZ.
2009-11-19 07:16:13 +03:00
balrok
7a2764e0fe [8829] some more places where we call redundant SaveToDB
i also added now my assert with which i've found them..
maybe someone want's to look at other cases too :)
2009-11-18 19:13:03 +01:00
XTZGZoReX
da2cceb9da [8801] Rename accmgr macro to sAccountMgr. Thanks to astriconX for pointing out. 2009-11-10 23:09:46 +01:00