197 Commits

Author SHA1 Message Date
False.Genesis
0165102288 * first try to calc Z coord for given x/y coords using map data. doesnt want to work (for now), more things have to be done.
* fixed crash on shutdown
2007-06-27 21:15:14 +00:00
False.Genesis
8ff8117e53 * implemented map loading. new conf option: 'useMaps'
* found a problem with file listing, _startup.def refuses to load some .def files. trying to fix that now...
2007-06-24 17:53:54 +00:00
False.Genesis
28178f7727 * [unfinished] started adding MapTile classes and related. too tired to continue now, i'll continue later. compiling still works fine. 2007-06-23 00:44:21 +00:00
False.Genesis
652a599ce4 * scriptnames must be lowercased
* finished alpha 13.2 release version.
2007-06-22 11:33:40 +00:00
False.Genesis
4845888fc3 * compacted scripts. needs min rev 141 to run (skipping 'lsort'). deleted old scripts.
* added script func 'lsort'. more args will be added later.
2007-06-22 11:20:50 +00:00
False.Genesis
54e8361bad * finally fixed missing libs 2007-06-20 18:47:28 +00:00
False.Genesis
996256718c * implemented multiple scripts per .def file. ATTENTION: scripts will no longer be auto-loaded by the engine; they will be loaded via startup.def now. scripts will be compacted in next revs.
* forgot to use repository's openssl in Network system also.
* moved _startup.def to PseuWoW base folder!
2007-06-19 19:44:14 +00:00
False.Genesis
d0bf7c3c2b * not using any external deps anymore. all openssl/directx requirements are now on svn and ready to be compiled.
* moved auth directory to shared
2007-06-19 19:10:52 +00:00
False.Genesis
d5ce92e448 * fixed logon challenge packet. 2007-06-18 16:17:37 +00:00
False.Genesis
381edc0a3a * added missing files from #136. thx bLuma! 2007-06-15 17:36:17 +00:00
False.Genesis
25c2f09525 * stuffextract: added autodetection of currently used locale
* fixed wrongly interpreted float fields in DBCs
2007-06-13 13:29:19 +00:00
False.Genesis
2b40be9e01 * implemented (experimental!) remote controlling interface as requested by Coma. you can send any text to a specific port (via PHP or anything else), which will be interpreted & parsed DefScript-like.
* please report any bugs with this!
2007-06-13 11:27:43 +00:00
False.Genesis
7ffc21bec5 * implemented automatic conf file loading using newly added "lgetfiles" script func.
* forgot to mention on last commit: a) support almost infinite DefScript args now: @0 ... @4294967295; b) speeded up DefScript execution speed by ~10%
* TODO: load .def files the same way as the conf files now.
2007-06-09 21:46:04 +00:00
False.Genesis
dff2d2085e * implemented DefScript "list" datatype.
* wiki information & documentation will come soon.
2007-06-09 17:54:13 +00:00
False.Genesis
c2e83e27fb fixed channel join display message 2007-06-09 00:09:33 +00:00
False.Genesis
33b8cd4967 * fixed not working autobroadcast due to misconfiguration. thx to keroksi for pointing it out.
after downloading this update, be sure to copy the changes over to your already existing /conf/ScriptConfig.conf file.
2007-05-30 12:59:11 +00:00
False.Genesis
a39849b2c9 * little scripts update 2007-05-26 23:45:07 +00:00
False.Genesis
7ea59ad349 * fixed object update
* re-added language lookup in chat messages, for example "say,Gnomish pwnt". note they are CASE-sensitive and depend on which language name is set in /data/scp/language.scp!
2007-05-26 23:03:32 +00:00
False.Genesis
de2614fa80 * implemented partial(=faster) ADT texture, model & wmo loading.
* stuffextract does now extract all files referenced in ADTs.
* some adt loading fixes to be able to load expansion maps at least partially.
* fixed typos
2007-05-23 17:25:16 +00:00
False.Genesis
d50ea1c7a2 * implemented basic ADT file loading. first step to usable map data! :D
* MapTile class still excluded from build.
2007-05-18 22:31:34 +00:00
False.Genesis
d8bca94faf * forgot something xD 2007-05-17 21:22:02 +00:00
False.Genesis
a41eeb41e5 * added conf/ScriptConfig.conf
* some script cleanups
* forgot to include winmm.lib in release mode
* ==> Alpha 13.1 finished!
2007-05-17 21:10:49 +00:00
False.Genesis
032eee07f8 * forgot something 2007-05-17 18:53:19 +00:00
False.Genesis
ec812a9b0f * fixed server crash when pseuwow was teleported around
* added now required 'winmm.lib' to shared.vcproj
* fixed memory leak with multiply created objects, where already existing objects didnt get deleted.
* forgot to autodelete RealmSession on socket fail
2007-05-17 18:47:37 +00:00
False.Genesis
cd99d323e9 * forgot to add correct display for chat emotes 2007-05-14 14:08:11 +00:00
False.Genesis
c2938bf222 * implemented emotes support & display
-> requires emote.scp extracted from client
* updated: show incoming opcodes _before_ parsing them
* updated DefScript: "emote" command will now also accept emote names (defined in emote.scp, field "name=...")
* updated: replace %1$s in emote texts extracted from (non-english) dbc files with %s, this simplifies emote text displaying.
* misc stuff
2007-05-14 13:49:37 +00:00
False.Genesis
5731cfa03b * started with linux preparations; thx to Skycrapper ;) 2007-05-13 19:51:46 +00:00
False.Genesis
fda133b660 * scripts without a special permission level assigned will now have 255 (highest permission) by default.
* forgot to remove some '\n'
2007-05-11 21:06:35 +00:00
False.Genesis
6c4ae79a87 * rewrote the realm/world login code.
-> reconnecting does work now, finally.
* updated conf setting: reconnect=0: dont reconnect; reconnect=X: reconnect after X msecs.
* misc code cleanups, crash fixes, and overall improved stability.
* splitted RealmSocket into a RealmSession and the original RealmSocket code. better read-/useabilty because now its handled as WorldSession and related.
2007-05-11 20:55:38 +00:00
False.Genesis
95353eb132 * speeded up mpq data extraction a LOT.
* added extraction of maps, depending on the data found in Map.dbc.
2007-05-07 18:46:26 +00:00
False.Genesis
54a37a3ff9 * updated items & items cache to 2.0.12
* added extracting of map & area names to stuffextract
* code cleanups
2007-05-06 00:34:30 +00:00
False.Genesis
f7f9d8b6b4 * quick update for 2.0.x channels. join/chat/leave should now work again. started to add channel list request support. 2007-05-03 20:51:02 +00:00
False.Genesis
6fbcb3cea9 * fixed extractor: works now with 2.0.x ONLY!
* extractor asks for locale now and creates needed directories itself.
* deleted obsoelete files
2007-05-02 13:00:44 +00:00
False.Genesis
0b36ae85da * updated Object updates (SMSG_[COMPRESSeD_]UPDATE_OBJECT) to 2.0.12
* copied/updated some new unit data from MaNGOS
* new log level: legdev() - loglevel 3 and above.
* disabled item listing at entering/leaving world.
2007-04-30 23:34:38 +00:00
False.Genesis
9b373f6643 temp. fixed build. 2007-04-29 00:27:52 +00:00
NeWbY
3cedda13d6 Forgot to add the include header files in all (irrlicht) solution configurations - added it here. 2007-04-28 23:40:29 +00:00
NeWbY
5d85c15184 Added header files from the DirectX SDK to compile irrlicht successfully, changed irrlicht project file to include the extra headers. 2007-04-28 23:29:03 +00:00
False.Genesis
4282d4d1bf * implemented CONNECTING (only!) to 2.0.12 servers. (still gives errors)
* removed some hardcoded stuff (already present in included db)
* no opcode changes so far, this has to be done next!
2007-04-22 00:55:27 +00:00
False.Genesis
c92f1ea824 * huge changes:
* few script changes; added new func "ScriptExists".
* started an extractor tool; using StormLib (thx to Ladislaw Zezula!). for now convert some dbc files to scp. more stuff will follow.
* some changes to the realm/world connect code; still needs a rewrite.
* support conf parameters for GUI (check conf/gui.conf/gui.conf[.default] )
2007-04-10 22:42:42 +00:00
False.Genesis
71e2f7f224 * added basic GUI functionality; using the Irrlicht-Engine (http://irrlicht.sourceforge.net)
* dropped now redundant and bloated SDL
* added the irrlicht files to the repository.
* NOTE: to compile PseuWoW now, you need to have the DirectX SDK installed, unless you disable build of DirectX 9 !!!
2007-04-04 01:19:06 +00:00
False.Genesis
5c267fe5aa * forgot to remove debug output in slap.def + fixed untargeting.
* AUTH_LOGON_PROOF msg is now shown in debug mode only.
2007-04-02 22:52:58 +00:00
False.Genesis
a3ae8273ba * auto-load all .def files in ./scripts/ directory after executing _startup.def
* fixed exception at DefScript:substr when called with empty string
* added 3 new functions: uppercase, lowercase, random[,<min>] <max>.
* added some better debug output when an incorrect script is loaded
2007-04-02 22:41:33 +00:00
False.Genesis
7961aa9046 * (hopefully) fixed several bugs related to number rounding and wrong math calculations. thx to crogge for the report.
* deleted old files
2007-04-02 01:07:28 +00:00
False.Genesis
520ee863a6 * alpha 13 finished. more bugfix versions might follow, if any major bugs occur. 2007-03-24 15:19:19 +00:00
False.Genesis
8481b932e4 * debug messages update 2007-03-24 12:26:21 +00:00
False.Genesis
96610d36c6 * use databases instead of hardcoded values for language,map,zone,race,class names 2007-03-24 12:17:02 +00:00
False.Genesis
1ea085ae7b * added SMSG_SPELL_REMOVED opcode handler & related functions.
* spell ids are uint32, not uint16!
2007-03-24 00:21:42 +00:00
False.Genesis
1299c5490f * new conf option: "cmdchar". default is "."
* various .def scripts updates
* added cmd.def & getchatitem.def
* fixed: correctly check variable names in function "isset"
* fixed problems with loading scripts that cosist captalized IF/ENDIF/LOOP/ENDLOOP statments. now  upper, lower and mixedcase work as they should.
2007-03-24 00:07:59 +00:00
Mini
739ee2eae2 * Changed SetSpells() to AddSpell(spellid, spellslot)
* Added handling of SMSG_LEARNED_SPELL opcode
2007-03-23 22:34:19 +00:00
False.Genesis
0aaf7b45d6 * implemented usage of if/loop statements in #onload blocks
* check for if/loop/endif/endloop match in scripts
* check for brackets match (same amount of opening/closing brackets) at line load. skip corrupt lines
* some code cleanups
2007-03-23 21:00:20 +00:00