Commit graph

193 commits

Author SHA1 Message Date
freghar
47dc7dcf1b [10412] add a BindIP warning to worldd/realmd config files
Signed-off-by: freghar <compmancz@gmail.com>
2010-08-27 18:22:44 +02:00
VladimirMangos
5f44c4da21 [10363] More wide use ObjectGuid in way remove MAKE_NEW_GUID uses.
Also
* Fixed some amount wrong uses low guids as full player guids.
* Add private without body ObjectGuid(uint32 const&) for catch wrong assigns low guids to ObjectGuid.
  In some cases need assign "0" guid, then use ObjectGuid() instead.
* Fixed .pdump commands work.
2010-08-17 08:22:28 +04:00
VladimirMangos
344dff303e [10334] Update shift-link related functions for chat command parsing.
Also

* Better single | detection as non-link case (doubled by client)
* Commands .pdump now allow quoted filename (usefull if filename path include whitespaces)
2010-08-10 00:20:58 +04:00
VladimirMangos
59e672f1bc [10331] More basic chat command parsing functions and its uses.
* Commands .debug update and .modify bit removed as redundent
* Command .debug getvalue now can output values in float/int/hex/bitstring formats
* Command .debug setvalue now ca accept values in int/float/hex/bitstring formats
* Command .debug mod32value renamed to modvaue and can add int/float or apply hex mask
  (in 3 modes: |= &= &=~ ) to value in update field
* Command .debug moditemvalue added similar .debug modvalue for item case.
* Command .npc set movetype now propertly update spawned in world creature state.
* Command .modify spell renamed to .debug spellmods and restored to working state.
* Commands .account password and .account set password now allow use quoted strings
  for passwords and then now possible set from chat/console passwords with white spaces.
* Many commands converted to new functions without modify functionality
  except better error detection in some cases at wrong command syntax use.

* Also fixed warnings in reload commands after prev. chat commit. Thanks to SkirnirMaNGOS for reporting.
2010-08-09 03:52:11 +04:00
VladimirMangos
0cc1fbe697 [10322] In chat command handlers use char* arg instead "const char*"
We in any case modify args string content at parsing in commands,
so cast it to char* early. This let avoid lot later casts.

Some other code style exist in related code.
2010-08-06 01:14:33 +04:00
lasyan3
ad7b628ebf [10317] Rogue's energy rate in mangos.conf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-04 02:46:24 +04:00
NoFantasy
25d9fd265b [10293] Correct a not exitan...non-existin... a word that is often spelled wrong
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-30 18:26:08 +02:00
Janu
99ac2d43a7 [10292] Fixed typo in mangosd.conf comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-30 20:23:48 +04:00
zergtmn
50fc4b61e1 [10283] Fix some typo in mangosd config file
This typo forces config to be saved as UTF8 in some text editors.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-29 00:33:46 +04:00
fdb_
384915b0d0 [10245] Allow have custom starting area team/personal rating.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-22 10:29:59 +04:00
VladimirMangos
ff1259b30f [10169] New config option Quests.IgnoreRaid
It allow if enabled (disbled by default) do non-raids quests in raid.
2010-07-09 17:19:43 +04:00
Lynx3d
5e89098a61 [10165] New collission system (vmap) implementation
Important:
* You have to re-extract and assemble vmaps
* Update your config file, new option 'vmap.enableIndoorCheck' added

New features:
* Include WMO+DBC area information for correct subarea identification and indoor check
* Support for WMO liquid (fishing/swimming in cities, instances and oterh WMO based environments)

Technical changes:
* New Bounding Interval Hierarchy (BIH) data structure for better performance
* Referenced model data for reduced memory usage,
  needs more files, but reduces overall file size from ~1.9GB to ~550MB

Additional Authors:
arrai (DBC handling and indoor detection)
faramir118 (windows support and bug investigation)
And of course thanks Vladimir for a lot of patience and support!
2010-07-08 23:17:26 +02:00
VladimirMangos
ae01a353ef [10136] Switch to support client 3.3.5a (build 12340)
Merge branch '335'

You need regenerate dbc/map/vmap files.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-07-02 05:43:50 +04:00
Lightunit
ef1358c901 [10124] Fixed typo in mangos.conf.in comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 18:36:22 +04:00
VladimirMangos
635be8f687 3.3.5 have minimum deposit = 1 silver 2010-06-28 21:19:11 +04:00
VladimirMangos
969986a596 [10117] New config option set min size of auction deposit fee. 2010-06-28 21:14:44 +04:00
Grinder
f244e68c59 [10102] Rename loginDatabase for consistence with other global db object names
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-24 02:55:26 +04:00
Astellar
78400f8406 [10091] Use ACE for command line options parse.
Note: "--service run" renamed to "-s run"
in consistence with other serrvice options.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-21 06:40:10 +04:00
VladimirMangos
9d8dd578ca [10090] Really output log level at ".server log level" command. 2010-06-21 06:25:08 +04:00
VladimirMangos
1eed65d5ac [10082] Drop now unused dotconfpp lib code. 2010-06-20 02:20:51 +04:00
Astellar
41d178ca7b [10081] Use ACE config library instead dotconfpp
NOTE: all config versions update because in old state
      it's not compatible with new way loading.
      Look for *.conf.dist.in chnages in commit for update configs.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-20 01:54:42 +04:00
VladimirMangos
54f2f507cf [10024] New LogFilter_DbStrictedCheck filter for DB devs
It's enable by default (prevent show related output) but
in disbled case allow show useful for DB developers different
more stricted DB check output at server loading, including

* Absent GO trap template referecned in some another GO template
* Not set (0) unit class in creature_template
* Absent disenchanting loot for items marked as disanchantble

This all cases can or hard fixed in one step or show false cases y different reasons.
That why filter active by default.
2010-06-03 14:45:14 +04:00
VladimirMangos
e3955bbc59 [9968] Allow have reserved entries with empty names in log filters table. 2010-05-24 00:11:39 +04:00
VladimirMangos
2591a2333a [9947] More skinning fixes.
* Restore work with money loot.
* Old code sometime generate empty loot windows for normal loot and sometime skip its.
  Code changed to be more consistent. Added new option Corpse.EmptyLootShow that control
  show empty normal loot window in some cases enabled by default:
   - if creature expected to be lootable but loot generated empty by some reasons.
   - if creature can be skinnable
  If option disabled thne code attempt avoid empty normal loot windows for empty cases.
* Possible fixed case instant despawn non-skinable creature after normal loot complete.
2010-05-21 11:10:59 +04:00
VladimirMangos
49751e40f9 [9932] Change AllowTwoSide.Accounts default in code also.
And update config version.

Also note: it not has been propertly updated in prev. time
when config version in .conf.in changed. It must be sync changed in
*.conf.in and in SystemConfig.h.in
2010-05-19 04:51:04 +04:00
The_Game_Master
b33dabea68 [9931] After 3.2.0 expected AllowTwoSide.Accounts = 1 for any realm type by default.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-19 04:42:33 +04:00
VladimirMangos
d86dcd60d7 [9925] Add more log filters
* damage - different direct damage calculation tracing
* combat - combat state updates, roll attack result and etc
* spell_cast - spell cast progress and aura apply
2010-05-18 12:38:52 +04:00
VladimirMangos
b6d7365ac9 [9924] Implement .server log filter and .server log level comamnds.
* .server log filter comamnd let temporary (until config reload or restart)
  set log filters state. Or look at filters state.
* .server log level renamed from .server set loglevel but now let look at log level also.
2010-05-18 12:03:02 +04:00
Darkruler
0b7f090a37 [9916] Fixed .account onlinelist work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-17 02:20:32 +04:00
VladimirMangos
aaa33d5385 [9904] Add new config option for wait mode at startup error.
Note: it not applied to crashes and shutdowns after mangosd/relamd startup completed.
You can continue without delay (as now) and fast exist, or wait <Enter>, or some secs
for continue. Last can be helpful for see for example not applied sql update revision
data and etc.
2010-05-16 02:19:40 +04:00
VladimirMangos
080727cbfa [9886] Implement new commands for account search
* .lookup account email, .lookup account ip, .lookup account name
* For new commands and for .lookup player versions use first arg as part of email/ip/name search
* Use similar output format for player/account lists.
2010-05-13 11:44:03 +04:00
hunuza
d1130af777 [9849] Implement character database clean up.
This can be disabled by config option.

Flag for clean up can be set for example on client version change.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 23:08:24 +02:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
VladimirMangos
7ee25008d3 [9794] Implement ".account characters" command
Console/chat command output characters list for specific account.
2010-04-26 07:13:39 +04:00
VladimirMangos
15dd77873e [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
blueboy
17dd848242 [9772] Make GCC happy and restore buuild at *unix now really.
Just for note: this still look as not code problem but GCC bug in C++ std. library.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-21 19:15:10 +04:00
Neggod
cea7d42971 [9771] Fixed typos in mangosd.conf comments
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-21 13:20:38 +04:00
VladimirMangos
378c76b1c3 [9770] Use more proper std::istringstream for parse args.
This must fix build problem at *nix.
2010-04-21 12:17:23 +04:00
VladimirMangos
9a30dbac89 [9768] Fixed my last sec. fix problem :/
Also make $/# in consistence in new command help texts.
2010-04-20 22:39:25 +04: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
XTZGZoReX
ef979daddc [9750] Add structure of SMSG_REDIRECT_CLIENT (0x50D).
Thanks to TOM_RUS for help with research.
2010-04-15 09:11:54 +02:00
VladimirMangos
92b11459b1 [9748] Fixed startup problems after recent realmd DB. 2010-04-14 16:40:11 +04:00
VladimirMangos
d78117bbc8 [9687] Add to mangos.conf options for daily/weekly reset time.
* Quests.Daily.ResetHour (0..23) for daily quests
* Quests.Weekly.ResetWeekDay (0..6) and Quests.Weekly.ResetHour (0..23) for weekly quests.
* Drop time from character_queststatus_daily and use same way as weekly quest reset time store.
2010-04-07 05:48:14 +04:00
hunuza
dd2dda62a5 [9681] Add config to decide whether character stats should only be saved on logout.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 16:29:17 +02:00
hunuza
145182a53d [9680] Create new table character_stats for external tools.
Added new config value to define whether it should be updated.

This table will only be updated on logout, not on periodic save.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 15:03:43 +02:00
DasBlub
6148675b0e [9662] Use the db-user 'mangos' instead of 'root' in the config file.
Change done for consistence with 'mangos' created in sql/create_mysql.sql

NOTE: for secirity reason better not use this user name (and password)
in real configs/MySQL.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 04:10:52 +04:00
erickeir
634fd2a508 [9623] Fixed typo in mangos.conf comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-26 21:36:14 +03:00
Alex
5a33cf6700 [9594] Allow UTF8 strings via SOAP 2010-03-16 22:01:00 +01:00
XTZGZoReX
8f0da43638 [9573] Add config option Network.KickOnBadPacket. If enabled, player will be kicked on badly formatted (wrong structure) packet. 2010-03-11 21:46:10 +01:00
VladimirMangos
a142ed4848 [9519] Remove linking mangosd with sockets library.
Recent RA reimplementation added by Arrai remove using sockets library for last part mangosd code.
This let not link anymore sockets library with mangosd.

Now realmd is last sockets library user.
2010-03-05 05:05:07 +03:00