38 Commits

Author SHA1 Message Date
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
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
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
520ee863a6 * alpha 13 finished. more bugfix versions might follow, if any major bugs occur. 2007-03-24 15:19: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
False.Genesis
7de82dd3a9 * fixed if..else..endif
* small .def update
* misc, minor changes to some functions
* added a few more DefScript functions (and, or, xor, GetObjectType, ObjectKnown)
2007-03-16 16:14:13 +00:00
False.Genesis
2f459f9d0f * updated some DefScript stuff
* added some DefScript return values for SCP databases
2007-03-11 15:13:04 +00:00
False.Genesis
6c2355b75c * implemented DefScript return values. use like vars: ?{func}
* note that this version might still be buggy! please test and give feedback on forum!
* added a temp workaround to prevent the execution of dangerous scripts over return values as ingame commands.
( -out ?{say .shutdown} )
2007-03-10 23:54:29 +00:00
False.Genesis
242e9cafcd * corrected MyCharacter & related
* implemented basic spellcasting, more to come.
* new conf option: "disablespellcheck"
* reactivated DefScript command "castspell"
* added selfheal.def for GMs
* misc stuff
2007-03-05 15:05:22 +00:00
False.Genesis
06942daea6 * fixed a little bug(?) in the variable importer
* implemented SCP database functionality (.scp files). (sounds familiar? :P )
* new DefScript command: "loadscp,name filename"
* added .def file: append.def. (wrapper to concat strings)
** -> note that the scp db has no real use right now, just some program internal stuff which will come tomorrow. soon i'll have a go at DefScript return values, useable e.g. to get data from the dbs.
2007-03-04 00:18:58 +00:00
False.Genesis
386efe1378 * included SDL src as dep, but disabled build for now (now you do no longer need to install the precompiled SDL libs)
* some corrections to project files
* object classes improvements
* worked a bit on UPDATE_OBJECT stuff
* minor stuff i dont remember
* plz test VC2005 compatibility
2007-02-19 02:12:37 +00:00
False.Genesis
2d90dc3cfe * added some error handling
* chat msg formatting updates
* misc stuff
2007-02-14 16:01:32 +00:00
False.Genesis
bd103935d0 * Added support for timed scripts (=event timers)
-> 2 new script commands: "addevent,$eventname,$interval $script" and "removeevent $eventname". note that you cannot register 2 events under the same name!
* Fixed a minor bug with ${@myname} when called in an #onload block
* Added an example script file autobroadcast.def
2007-02-08 17:41:52 +00:00
Mini
4aa6911563 - Added new config option: hidefreqopcodes which hides annoying opcodes which gets sent all the time
- Additionaly i added some more stuff for handling the update packet
2007-02-07 21:03:49 +00:00
False.Genesis
710de3d5e1 * added opcode handler for SMSG_DESTROY_OBJECT
* added new conf option: ShowMyOpcodes=0/1 (show opcodes pseuwow sends)
* made the logo look better :)
2007-02-05 13:26:28 +00:00
False.Genesis
992f497ae2 * fixed endless loop on startup with missing data (unread conf file, etc)
* fixed logcritical()
* visual enhancement in loadall.def
2007-02-04 01:42:25 +00:00
False.Genesis
d6b6960c29 * Added support for item prototypes
* new DefScript command: "queryitem #id"
* added cache for known item prototypes
* fixed a little typo in script: reply.def
* error logs go to stderr now
* misc stuff
2007-02-03 23:24:02 +00:00
False.Genesis
ed8bddb17a finished alpha 12 final version! 2007-01-29 18:20:54 +00:00
False.Genesis
b15aff0b5d *New DefScript API functions: loadconf, applyconf, applypermissions; log, logdebug, logdetail (according to debug level set in conf).
-> moved conf loading from core to scripts.
*New DefScript call: _leaveworld.def
*Fixed crash when calling _leaveworld on ~WorldSession()
* some updates to internal variable name handling
* added new macro: @n : newline (\n)
* cleanups
* added a bunch of new scripts + examples
2007-01-29 15:09:11 +00:00
Mini
863e8e7944 Added enablechatai config option and fixed various
bugs in Chat AI (more to come lol xD)
2007-01-14 00:53:17 +00:00
False.Genesis
01761191e1 misc stuff 2007-01-12 20:07:18 +00:00
Mini
ffc3096a0d Fixed: .namego summon on mangos servers works now with PseuW@W, but still a animation bug to fix.
Fixed: The logfile now properly gets closed upon exit.
2007-01-12 16:43:37 +00:00
False.Genesis
fa4385c74f prerelease version + implemented logfile support 2007-01-12 14:03:08 +00:00
False.Genesis
cd97239ffe forgot something 2007-01-11 21:30:40 +00:00
False.Genesis
ddfb91d677 implemented CLI. New conf option: "enablecli". 2007-01-11 21:29:27 +00:00
False.Genesis
e69375d76e Fixed: permissions system for players & script commands.
Fixed: ingame commands ("-say hi") are useable again. 
/!\ Added now conf option: "allowgamecmd" 
+ fixed debugger working directory
2007-01-11 18:11:54 +00:00
False.Genesis
889238cfb7 + added default config files + SDL.dll
+ added some DefScripts 
+ fixed the DefScript system. TODO: permissions & stuff will come in next rev. :)
2007-01-10 22:24:19 +00:00
False.Genesis
0b1ae6f9ca partially fixed: handle disconnected from world server; added a new config option: reconnect=1/0 2007-01-10 01:16:49 +00:00
False.Genesis
1cfddad5b6 temp commit, WorldSocket update 2007-01-06 16:08:02 +00:00
False.Genesis
0962bec886 + proper shutdown
+ better thread pausing
+ misc stuff
2007-01-06 15:29:00 +00:00
False.Genesis
1f735744a6 fixed the login packet 2007-01-05 23:43:55 +00:00
False.Genesis
9eababd72b 2007-01-05 22:45:21 +00:00
False.Genesis
d744135e02 etc 2007-01-05 22:00:53 +00:00
False.Genesis
fe91c8ebd6 2007-01-05 21:35:23 +00:00
False.Genesis
dd84984526 2007-01-05 19:57:22 +00:00
False.Genesis
b4b4a80e2d 2007-01-05 18:50:12 +00:00
False.Genesis
58872f1f39 initial release.
still a lot of stuff to fix before everything works as it should.
compilation works, linking produces errors.
most code cleanups done.
2007-01-05 18:30:22 +00:00