125 Commits

Author SHA1 Message Date
shlainn
feafa87372 * Fixed SMSG_INITIAL_SPELLS 2011-09-07 22:28:55 +02:00
shlainn
0bdba6ce8d * Hack-Fixed SMSG_MESSAGECHAT
NEEDS REWRITE!!!
2011-09-07 22:15:48 +02:00
shlainn
49886a9097 Fixed SMSG_AUTH_RESPONSE and SMSG_CHAR_ENUM handlers 2011-09-07 19:03:20 +02:00
shlainn
bee304a453 * SMSG_AUTH_CHALLENGE should be backwards-compatible now
Auth must be fixed, as the Authentication Methods have changed between major versions
2011-09-04 23:37:53 +02:00
shlainn
126978ff5e * Enable loading from MPQ files instead of extracting maps, textures, wmos and sounds
Actually, sounds don't work yet.
StormLib was moved to src/dep because it is now used by the main client, too.
MPQ-related helper files moved to shared.
2010-09-13 04:05:54 +02:00
shlainn
87b5a5f765 * Updated Pseuwow to 3.3.5a (first part)(patch by BThallid)
* Updated Irrklang to recent Version
2010-08-12 19:20:14 +02:00
shlainn
6517eb6a47 * Fixed TELEPORT_ACK opcode
* Hacky fix to strange bug in MapMgr which prevented map loading in a x64 environment
2010-03-04 21:11:55 +00:00
shlainn
7882f809d3 * Fixed make install (irrlicht now does not try to install)
* Updated SysDefs to work better on 64bit systems, please report problems on 32bit systems
* Various x64 related fixes
* Updated movementflags to recent mangos version
* ... and fixed movement packets. not sure if that is the best way...
2010-03-04 19:32:33 +00:00
shlainn
1a9e5588d5 * Update realm login to 3.3.2a (Thanks to BThallid)
* minor GCC fix
2010-02-19 09:56:03 +00:00
bluma4862
f73a13f91a * fixed smsg_monster_move stop packet 2009-07-23 05:52:30 +00:00
bluma4862
08a1645599 * cleanup in UpdateData.cpp
* fixed response at "near" teleport (HandleTelePortAckOpcode)
* added skeletal implementation of SMSG_MONSTER_MOVE
2009-07-21 07:18:18 +00:00
false_genesis
d15eaffa73 * upgrade to 3.1.3.9947. patch by bLuma, thx!!
* unload WMOs when unloading map tile
* removed silly old chat AI
* misc stuff & cleanups
2009-07-19 23:03:53 +00:00
shlainn
7c885d2b50 * WMO Mesh file loader
* WMOs are not rotated correctly yet
* Stuffextract and MapMgr patched to display WMOs
* Also some small fixes to pacify GCC
2009-07-15 08:31:43 +00:00
shlainn
e820f0a5a4 * Fixed lots of warnings in GCC
* Purely cosmetic ;)
2009-05-07 07:46:35 +00:00
false_genesis
046d161faa * fixed crash that appeared after last commit for some reason (no idea why ADT file loading was suddenly broken) - thx JPhix for report.
-> some ADT files still use the old MCLQ-block!!! (for example Draenei starting zone)
* fixed crash when loggin in and using maps was disabled
* forgot to add a scp file
2009-04-29 20:51:13 +00:00
false_genesis
2b1d743125 * update gui charlist when crating a char
* implemented display correct response string in console & gui if char creation failed
* fixed & simplified PlayerNameCache, load directly before world join and not at charlist receive
* fixed some warnings
* misc stuff
* TODO: fix bug that prevents reopening char create window after creating char + implement dixplaying response strings for actions other then char creation.
2009-04-25 20:20:28 +00:00
false_genesis
585046fce2 * added posibility to create chars from the GUI. thx shlainn!
-> stuffextract: extract classmask field
* implemented irrlicht event message queueing. might fix some gui bugs.
2009-04-20 21:09:38 +00:00
false_genesis
5e7190551e * really use cached files (irrlicht uses full paths!)
* fixed vc71 non-debug builds
2009-04-20 10:02:18 +00:00
false_genesis
9b10e89b2c * updated VC71 proj files for irrlicht 1.5 - DO NOT USE the static lib compile setting!
* lots of bugfixes to MemoryDataHolder, finally made it work without crashes, for now
* prebuffer .skin files for much faster GUI loading (they are not yet deleted from memory!!)
* fixed a major bug in TypeStorage that caused values not to update
* removed log spam when loading M2 files
* fixed a bug where the character was not visible when switching from freefly to move mode and back
* preparations to use ZThread::Conditions for better thread locking

* NOTE: if you get crashes with this version when starting up the GUI, try setting DataLoaderThreads=0 in the conf file.
2009-04-15 22:53:03 +00:00
false_genesis
bf1813e90c * fixed maps loading when getting teleported
* added "no console" compile option
2009-04-06 07:27:32 +00:00
false_genesis
9e1f445a46 * finally implemented MemoryDataHolder functions. They are not yet used (this will be next step), but tested and works. 2009-03-11 11:46:32 +00:00
false_genesis
0522c2c786 * 2 opcode fixes by dave, thx
* correced movement packets, server will no longer drop connection when moving
* attempted to fix crash in openGL mode in m2 model loader
* fixed SCPDatabase::GetFieldByString(), thx dave
* added scp files for 3.0.9 client
2009-03-05 21:48:52 +00:00
shlainn
1c697b84c0 * fixed an compile error that suddendly showed up in StormLib Linux Port. WTF?
* included bLumas patch for 3.0.8 as it compiles fine and doesn't crash on startup on Linux
* testing required!
2009-02-05 19:33:58 +00:00
bluma4862
84e3c1d868 * use correct check for proper M2 version (hope there isn't any model with 8.1.0.0 version), fix this in stuffextract to allow extracting textures from new model files
* implement speed change opcodes
* fixed texturing of remaining gameobjects (requires reextracting of scp, models and textures)
* new defscript command "getobjectpos,guid <x/y/z/o>" (if guid is empty - use my guid)
2008-10-13 14:12:56 +00:00
false_genesis
aa0450df9e * fixed some threading problems (1 possible crash: SceneCharSelection window resized or reloaded while WorldSession is destroyed) 2008-08-30 12:18:49 +00:00
false_genesis
d7d36c544e * implemented realm and character selection from the GUI
* added support for map tile sound emitters (MCSE-chunks) (needs more debugging)
* added MasterSoundVolume=0..1 conf option to /conf/gui.conf
* fixed window resize & added related functions to the scenes (OnResize()). TODO: fix SceneLogin resize.
* implemented "Community Site" button functionality on Win32
* misc stuff
* TODO: fix crypt error on realm change.
* moved linux configure.ac script to PseuWoW root dir instead of /src
2008-08-27 23:41:12 +00:00
bluma4862
0586c46e2e * update to support 2.4.3 client version (build 8606) 2008-07-25 12:43:14 +00:00
bluma4862
76ed684573 * fixed few bugs reported by FG 2008-07-08 05:24:39 +00:00
false_genesis
e52420ae52 * fixed problem with CHAT_MSG_WHISPER_INFORM in chatAI. thx cobalt for pointing out the problem!
* reconnect also if realm server gives unknown answer in AuthResponse
* deleted old linux binary
2008-06-17 20:56:59 +00:00
bluma4862
342bce125e * updated new opcode names from mangos, added few opcodes from 2.4.2
* fixed: not send heartbeat packet if only turning
2008-06-12 07:12:28 +00:00
false_genesis
7780f608da * added experimental character movement (jump/strafe not yet done). press POS1/Home key to toggle camera/character WASD movement. camera NOT yet linked to character!!
* conf supports now client 2.4.2. no code changes.
* packets can now be sent not only from the PseuInstance main thread
* added new conf option "softquit" to disable instant terminate (+data loss) on win32 systems if user [X]'ed console window.
* misc fixes & code changes

(personal note: exams are over, back to coding, yay)
2008-06-08 19:49:00 +00:00
bluma4862
926a7566c8 * fixed crashes without SCP databases
* minor fixes
2008-05-11 13:36:24 +00:00
bluma4862
a2bbc0c7d4 * correctly select model for gameobjects (no more cubes)
* updated stuffextract - added gameobjectdisplayinfo, for correct work needs reextracting models and scp files
2008-05-03 17:21:09 +00:00
false_genesis
ffb12014af * temp. fixed compile error (accidently added unfinished stuff in prev. commit), thx JPhix
* fixed endless loop when using cmd "help list"
2008-04-30 21:02:50 +00:00
false_genesis
b5834846f0 * added support for gameobjects. in the GUI they are still visible as cubes, but that will be fixed soon.
* fixed crash when a script's #onload block was explicitly loading another script file that also had an #onload block.
* some cleanups in realm code
* fixed bug in SCP database loader that didnt strip comments (//) properly.
2008-04-29 20:23:49 +00:00
bluma4862
14a2a04e94 * update to support client version 2.4.1 (build 8125) 2008-04-25 15:11:05 +00:00
false_genesis
76ebbe5cf3 * rewrote the SCP data storage. note that all database files must now be placed in a directory added with "AddDBPath <path>" and must contain a #dbname tag. the db now converts SCP (text) to SCC (binary) files, which increases access speed a lot. also less RAM used in most cases.
* replaced "LoadSCP" func with "LoadDB <dbname>" (different syntax!); removed all other scp db related funcs except "getscpvalue"
* the GUI can now show texts stored in databases
* added displaying status to SceneLogin
* misc fixes/cleanups
2008-04-19 23:45:37 +00:00
false_genesis
5d418facbe * fixed problems with too early deleted DrawObjects and one crash with GetSceneState() accessing just deleted _scene. both related to reconnect after connection closed. 2008-04-09 18:11:01 +00:00
false_genesis
23cb869665 * fixed crash when disconnected from server (WorldSession got deleted while SceneWorld still accessing WorldSession members) 2008-04-08 20:58:54 +00:00
false_genesis
beb24440ea * fixed up logon GUI, works now
* show logon gui when using "gui" command and not connected
* create realmsession only after pressing Login button on gui and not before
* cleaned up some parts of code that creates RealmSessions
* added some code (but not yet used) to exchange status messages between core & gui (threadsafe)
2008-04-08 20:25:07 +00:00
false_genesis
1d00b8b6ea * updated shlainn's M2 mesh loader (crash fixes and some more)
* fixed terrain texturing & fog after irr 1.4
* fixed orientation<->rotation transformation, models now look into correct direction
* code cleanups
2008-04-03 23:11:23 +00:00
false_genesis
6d5b8de2d5 * corrected terrain placement
* corrected object placement
* corrected grid formulas
* update MyCharacter position when beeing teleported
* tested in dun morogh, stormwind, thrallmar and arathi basin, object placement on the map is just fine now ;)
* cleanups not yet done, old unused funcs are still there
2008-04-02 15:30:35 +00:00
false_genesis
d7ea5fe553 * changed the way how objects are stored. they are now no longer deleted directly, but moved into a *depleted* state. this prevents crashes with already deleted objects accessed by other threads 2008-03-30 23:02:21 +00:00
false_genesis
de92dd9fc4 * fixed line-end problems in different platforms
* one more toNumber() -> toUint64() fix
* fixed logging from DefScript not only to console, but also to logfile (errors and such) - coloring included
* fixed: display correct image of currently used video driver on startup ;)
- thx shlainn for 1 & 4
2008-03-28 14:03:46 +00:00
false_genesis
fce0efcfc2 * updated+fixed object update. (still not working on ascent)
* added conf option "DumpPackets" to dump wrong packets for later analysis
2008-03-27 23:53:17 +00:00
false_genesis
44739d3952 * setting eol style to native 2008-03-24 16:43:51 +00:00
false_genesis
12045179e4 * more fixes to make gcc happy
* replaced DefScriptTools::toString() with more generic template functions
2008-03-24 13:29:10 +00:00
false_genesis
f7598b6a31 * one more fix for gcc, replaced DelayedPacketQueue:queue with deque 2008-03-23 16:48:42 +00:00
false_genesis
46a855278e * first steps for gcc/mingw support, thx shlainn
* output & log platform+compiler+version on startup
* added early version of a movement mgr, its is not used yet and does NOT work yet!
2008-03-23 14:55:44 +00:00
false_genesis
513064638d * fixed MAJOR security problem with in-game commands ("-cmd") (scripts that had no #permission=... assigned could be executed by everyone)
* fixed possible endless loop in ObjMgr::RemoveAll() if already deleted objects were incorrectly removed (real problem source is somewhere else!)
* fixed MyCharacter::HasSpell() - returned false in almost all cases
* bump to version 13.51
2008-03-10 17:27:25 +00:00