Commit Graph

7 Commits

Author SHA1 Message Date
bladez 2eb48b0800 Char del null check (#138)
* Check for null result in deleted character command

* Initialize resultChar
2018-06-17 23:28:47 +10:00
bladez 9047669aeb Misc fixes and logging (#1261)
* Insert transaction log statements as uint32

* Escape deleted char info name string

* Use char DB to escape rather than login

* Now log players in the instance on levelup, if appropriate
Now alert GMs if a player is levelling up in an instance with more players than is in the player's group

* Now always log GM commands, regardless of success
2018-01-17 20:37:19 +11:00
bladez ad7f495463 Move long-blocking GM command queries to async operations (#1036)
* Remove % prefix on IP lookup so table indexes can be utilized

* Add template functions for performing delayed query holders and unsafe async queries with static methods as callbacks

* Implemented async handling of PInfo command and extracted to separate TU for futher async command handling

* Add support for static delay holder with no extra params

* Remove a number of wildcard prefixes from lookups (cannot use indexes with wildcard prefix)
WIP move character lookups to async

* Make adding to async tasks threadsafe, remove arbitrator on task execution and allow them to be run when a thread is ready

* Remove non-templated declarations and definitions of delayed query holder methods, it breaks builds. Just use a dummy var instead

* Move display for lookups to async tasks
Don't delete queries inside ShowPlayerListHelper

* Use async queries for player character name lookup and account character lookup

* Disable console output for async lookup commands (pending console output support)

* Move account lookup to async

* Remove all concat3 and wildcard prefixes from frequently used GM commands so that table indexes are utilized

* Moved offline gold removal to async

* Remove bad delete

* Move banaccount lookup queries to async

* Add a simple async task for sending packets to specific sessions

* Pass data by ref in SessionPacketSendTask

* Include for WorldPacket def

* Remove class qualifier
2017-12-20 16:19:30 +11:00
Ryan Cheung 0e24477cee Add a missing include, fix compiling on linux (#81) 2017-11-01 02:31:52 +02:00
Stodola Elysium e50502dc8d Extend Deleted Character List Commands (#2476)
Extend the deleted character list command to take an account or name switch and allow searching using partial account name match or account id match.
2017-09-12 16:42:36 +03:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00