428 Commits

Author SHA1 Message Date
False.Genesis
bc74818daa * added: auto-query player name on UPDATETYPE_CREATE_OBJECT
* added Object::_name to store object names faster & easier accessable. only players & items are added yet.
* added a small check for headers < 4 bytes (this can MAYBE fix some problems/errors with crypt)
2007-02-28 21:17:01 +00:00
False.Genesis
0d5e55fc67 * added 2 .def files: "sayguild" & "sayparty"
* removed debug output for object update
* auto-query unknown items worn by players
2007-02-27 21:03:58 +00:00
False.Genesis
6df34baf6a * implemented basic targeting. new DefScript command: "target <name>". works only on players for now, and name must be exact. 2007-02-27 19:04:17 +00:00
False.Genesis
1da69e7873 * fixed exception when deleting objects from the ObjMgr.
* fixed(?) some problems with including SDL, which should be excluded
* no more quit at crpt error, please test
2007-02-26 14:45:25 +00:00
False.Genesis
605fbd2df5 * added the remaining base classes Object, Corpse, DynamicObject & WorldObject; added updating those classes
* there is still a problem/exception with UPDATETYPE_OUT_OF_RANGE_OBJECTS, need to fix this later.
* 100% working objects system, now need to add functions to the objects. (made a start with Player/Unit::GetGender())
2007-02-25 22:04:15 +00:00
False.Genesis
05ed66c21f * fixed scripts security problem 2007-02-25 20:26:43 +00:00
False.Genesis
d208bb3ec1 * 90% working UPDATE_OBJECT stuff, just bags are missing (need to make the class for bags).
* need to remove lots of debug output later, after bags are done.
* fixed ObjMgr. better store objects in only 1 list instead of storing them in 1 list per type.
* eased config: if you modify the conf files during runtime, just type "config" in the console and the changes will be applied.
2007-02-25 19:25:15 +00:00
False.Genesis
0a346b4a4d * no more DLLs needed 2007-02-19 10:13:08 +00:00
False.Genesis
8b21f5386e forgot something 2007-02-19 02:23:21 +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
2e703f52b1 * little scripts update.
* added new script: uptime.def
2007-02-17 20:43:46 +00:00
False.Genesis
2d90dc3cfe * added some error handling
* chat msg formatting updates
* misc stuff
2007-02-14 16:01:32 +00:00
Mini
f4148cefc1 - Added support for non-compressed update opcodes
- Changed UPDATETYPE_VALUES so the update values gets changed in the object.
- Updated misc other stuff to the UPDATETYPE_VALUES code
2007-02-12 23:27:26 +00:00
False.Genesis
d6f526da1e forgot something 2007-02-09 17:05:30 +00:00
False.Genesis
3cba5a1e83 * deleted some old obsoelete files
* fixed problems with afxres.h in resources, thx to bLuma
2007-02-09 17:04:11 +00:00
False.Genesis
e9946c4330 fixed compile error with VC++ 2005 express. thx to bLuma for the report. 2007-02-09 12:20:12 +00:00
False.Genesis
280642c136 disabled some stupid warnings for VC80 2007-02-09 10:53:51 +00:00
False.Genesis
a130afa54c corrected a script 2007-02-09 00:03:01 +00:00
False.Genesis
4c86eab673 * added opcode handler for initial spells
* corrected opcode output together with hidefreqopcodes conf option (plz test!)
2007-02-08 23:55:53 +00:00
False.Genesis
f9a8031e4f linking works again, very strange bug. 2007-02-08 21:31:56 +00:00
False.Genesis
cc8115baa3 mini plz fix linker error, i couldnt get it work. 2007-02-08 19:37:03 +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
Mini
3d461e5981 Added support for the UPDATETYPE_VALUES type from update objects. 2007-02-07 17:14:50 +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
Mini
3d1a0e3d4d Changed so the item cache file only gets created if there is data to add. 2007-02-04 09:46:42 +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
931435b751 * Added reading items from chat messages and querying them if they are unknown 2007-02-04 01:12:16 +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
c00ad9aae3 * added some more SMSG_(COMPRESSED_)UPDATE_OBJECT stuff.
* we have year 2007 now
2007-02-03 01:41:42 +00:00
False.Genesis
f7415df6e3 * object classes update
* first touch with update packets!
* added some code coloring
2007-02-02 23:08:28 +00:00
False.Genesis
aa703e896f temp. commit, more will come soon. crashes not yet fixed :/ 2007-02-02 01:28:28 +00:00
False.Genesis
0f29e12f57 added Object & WorldObject base classes for reference & future work. i will fix the crashes caused by prev. commit tomorrow. 2007-01-31 21:09:04 +00:00
Mini
826019f889 Added a Player and PlayerSettings class.
Added castspell to defscript.
2007-01-29 20:47:35 +00:00
False.Genesis
ed8bddb17a finished alpha 12 final version! 2007-01-29 18:20:54 +00:00
False.Genesis
0af1b2359d removed sqlite & related code 2007-01-29 17:52:13 +00:00
False.Genesis
357ca778aa * forgot to use "log" instead of "out" in scripts (-> logfile)
* forgot to add conf option: "NOTIFYPING"
* forgot to describe in prev. rev.: added new DefScript load definition: "#onload" & "#/onload". execute parts of scripts when they get loaded (to initialize stuff, for example)
2007-01-29 15:21:47 +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
False.Genesis
9d0dd30a0c * fixed channels & linked them with DefScript
* functions: joinchannel, leavechannel
* added script: chan.def (say on channels)
* fixed DefScript loaddef & reloaddef
* misc stuff
2007-01-21 22:02:16 +00:00
Mini
9823b60377 Channel class added, just a IsOnChannel bug to fix, please fix Genesis! :P 2007-01-21 14:41:19 +00:00
False.Genesis
3b5f986d09 fixed compile error; added math functions to DefScript; removed old, commented out code 2007-01-17 14:46:44 +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
Mini
3cdc94d4fe Updated config file for enablechatai 2007-01-14 00:31:48 +00:00
False.Genesis
29bb6ae05a deleted wrongly commited libs 2007-01-14 00:10:42 +00:00
Mini
6260a9b10d Added tools folder and added sqlite3.exe for editing sqlite3 databases. 2007-01-14 00:08:56 +00:00
Mini
a2f110c440 Added a semi-advanced chat ai, rewritten into c++ from old php msn messenger bot :P
Additionally i added sqlite for database to the chat ai.
TODO: Rewrite the ChatAI class
2007-01-14 00:06:21 +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
f93fd5e246 forgot to add files 2007-01-12 14:37:07 +00:00
False.Genesis
fa4385c74f prerelease version + implemented logfile support 2007-01-12 14:03:08 +00:00