Commit graph

320 commits

Author SHA1 Message Date
ApoC
f0af98568e [9706] Correctly update next daily quest reset timestamp in DB after reset.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-04-09 13:49:52 +02:00
VladimirMangos
24f2d03485 [9702] Drop now redundent item_text table.
* In beggining bad news: at 3.3.3 switch has been forgoted item_instance.data field chnage.
  In result items with texts (mail copy in to inventory, some other) lost text content.
* That why in current commit item_text droped without convertion. In result all itesm with texts
  will lost text. Sorry for this as i think small porblem :(
* Now text stored in item itself.
2010-04-09 02:10:36 +04:00
VladimirMangos
6bcbbc321b Merge branch 'master' into 330 2010-04-07 06:58:42 +04:00
VladimirMangos
c56000b666 [9688] Fixed typo in daily quest reset time init. 2010-04-07 06:19:38 +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
GriffonHeart
fdddf9188a [9686] Implement support weekly quests cooldowns.
Part code provided by zhenya.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 04:24:51 +04:00
VladimirMangos
e45d165a8e [9685] Code style cleanups in quest code. 2010-04-07 03:27:28 +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
tomrus88
d131f137cc Merge remote branch 'origin/master' into 330 2010-04-03 11:33:45 +04:00
hunuza
6750ce9185 [9650] Some corpse related clean ups.
Old bones remove code anyway was dead, so remove it.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 16:40:47 +02:00
tomrus88
f2572fdda0 Merge remote branch 'origin/master' into 330 2010-03-31 02:29:02 +04:00
XTZGZoReX
34e56c9978 [9641] Fix typo; IN_MILISECONDS -> IN_MILLISECONDS. 2010-03-30 14:44:57 +02:00
tomrus88
4c8dd37612 Merge remote branch 'origin/master' into 330 2010-03-30 13:06:34 +04:00
KAPATEJIb
e499150b59 [9640] Fix a typo in ReputationMgr
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-30 09:19:26 +02:00
tomrus88
7b1e8cae76 Merge remote branch 'origin/master' into 330 2010-03-28 04:32:10 +04:00
Zor
7b180e5fa8 [9631] Fix enum names.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-03-27 22:12:21 +03:00
tomrus88
5a89e063c8 Merge remote branch 'origin/master' into 330 2010-03-27 20:02:17 +03:00
hunuza
4d4f3ae4a2 [9629] Replace some PQuery/PExecute by more simple Query/Execute.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 12:08:50 +01:00
tomrus88
086e9fa1ce Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Player.cpp
	src/game/PlayerDump.cpp
2010-03-13 00:54:13 +03: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
tomrus88
e73c5d3b79 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Unit.cpp
2010-03-10 20:24:28 +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
arrai
e520d8409e [9466] Implemented SOAP in MaNGOS
- removed deprecated code from RASocket
- allow more than one login at a time on the RA console
- added gsoap library for handling SOAP requests
- removed deprecated mangos_string entry

Thanks to:
- Derex for reporting a bug which occured if more than 1024
    players were connected  [poll() vs select()]
- caeruleaus for adding windowsbuild support
- vladimir for suggesting a different thread starting order
- fdb_ for suggesting SOAP in the first place
2010-02-27 10:52:07 +01:00
VladimirMangos
010b0504b6 [9452] Replace battleground announcer options.
* Drop Battleground.QueueAnnouncer.Enable and Battleground.QueueAnnouncer.PlayerOnly
* Add Battleground.QueueAnnouncer.Join with 0..2 values (1=to joined player, 2=to world)
* Add Battleground.QueueAnnouncer.Start for start bg event

Also fixed bug when not rated arenas announced as BG announces
Also lost mangosd.config changes from prev commit.
2010-02-25 17:02:50 +03:00
Insider
19b14c5d58 [9451] Added new config option for arena queue announcer.
Option Arena.QueueAnnouncer.Enable removed so if it used
need update mangosd.conf to new options use.

(based on insider42/mangos commit 211506f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 16:10:09 +03:00
tomrus88
32168d697b Updated to 3.3.3.11573 client. 2010-02-23 08:08:33 +03:00
VladimirMangos
5af05a314e [9405] Make all movements instant applied.
* Drop delayed moves list in Map code
* Apply movement coords update always at call including movement to different cell/grid.
* Instead removed functionality mark creature as need move notify broadcast at next tick, do it.

This must resolve porblesm with CreatureRelocation in past not always update position to new expected at call
And in resul next code fail or work in strange way. Mark creature for notifier call at next Update
let safe main part remopved functionality implemented in another way: prevent cascade (or infinity chain)
in move updates. In fiture possible implement move notify call not at each tick for save time.
2010-02-18 01:09:33 +03:00
VladimirMangos
d536661cbf [9399] Simplify config options loading code. 2010-02-16 22:14:20 +03:00
VladimirMangos
d20e50a8e5 [9398] Some config enmus fixes. 2010-02-16 16:08:16 +03:00
AlexDereka
941b2edb10 [9391] Remove unused defanes in Configs enums. 2010-02-15 19:55:24 +03:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
VladimirMangos
58d188f21a [9388] Implement max cast chain length for triggered spells.
* New config option MaxSpellCastsInChain ( 0 is disabled old way work )
* Check added for prevent stack overflow crashes in case infinity triggered casts sequences
  with more useful error output instead crash.
* Default config steeing in 10 casts expected to allow all possible in game proper cast chains.
2010-02-15 12:19:27 +03:00
AlexDereka
5368751c13 [9386] Store some config values in Rate emun. 2010-02-15 00:17:44 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
VladimirMangos
c9c578b5c3 [9339] Use group ids for indexing groups in DB
* Use group ids in DB
* Pack used group ids at server startup
* Finaly drop group search by leader guid.
2010-02-09 14:36:20 +03:00
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +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
tomrus88
f7de2ce1d7 Possible queue bug fix.
Player flags enum update.
2010-01-17 22:09:54 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +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
tomrus88
d98300b500 Merge remote branch 'origin/master' into 330 2009-12-24 15:52:11 +03:00
VladimirMangos
fb21f4c16e [9050] Add MAX_EXPANSION define for config option Expansion check.
This will prevent case when expansion set to high for supported client
in config and account have also too high expansion setting.
Client in like case receive too high expnasion and reject connection
because it think that have not installed expansion for connection account.

This possible for example for account case when single realmd used for
diff client versions and account have high expansion setting for most
recent client support. And in same time mamngos.conf for specific realm
have wrong Expansion value.
2009-12-23 20:24:13 +03:00
tomrus88
2846cc8d4d Don't send account data times twice. 2009-12-19 21:04:03 +03:00
tomrus88
7c6cae1af7 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/ObjectMgr.h
2009-12-11 21:50:24 +03:00
NoFantasy
5d2189b7b7 [8929] Implement gossip scripts to be used with gossip_menu_option.action_script_id
Note that script is implemented for GOSSIP_OPTION_GOSSIP only (as not expected needed for other gossip options).
Also add a few more startup checks for LoadGossipMenuItems with check for basic errors in fields
2009-12-06 19:46:39 +01: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
tomrus88
fe55f76a26 Merge remote branch 'origin/master' into 330 2009-11-16 02:01:51 +03:00
balrok
5475430235 [8820] drop unneded check at sessionupate
session will never get NULL there
2009-11-15 20:05:48 +01:00