39 Commits

Author SHA1 Message Date
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
d9a56b2a00 * more updates around DefScript stuff
* added some databases to make a start
* misc stuff
* added macro "@myrace"
2007-03-12 20:39:36 +00:00
False.Genesis
36aa23dadb * added some hexdumps on invalid realm packets.
* disabled name query of players on incoming move opcodes.
* more debug output in general, 1st part
2007-03-10 16:59:55 +00:00
False.Genesis
d044ef7138 * fixed WorldSocket. this fixed crypt errors hopefully.
* fixed problem with not sent packets that appeared [85]
* fixed infinite spam-loop when whispering to self with enabled autoreply
* fixed a bug (asking for playername although object is an item)
2007-03-07 17:09:39 +00:00
Necroalbert
10e6b70c4d fixed some crashes (with vc80) 2007-03-05 20:30:53 +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
Mini
17e6692007 Started with MyCharacter class, added handling of spells opcode, more to come. 2007-03-04 12:33:16 +00:00
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
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
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
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
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
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
f7415df6e3 * object classes update
* first touch with update packets!
* added some code coloring
2007-02-02 23:08:28 +00:00
Mini
826019f889 Added a Player and PlayerSettings class.
Added castspell to defscript.
2007-01-29 20:47:35 +00:00
False.Genesis
0af1b2359d removed sqlite & related code 2007-01-29 17:52:13 +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
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
False.Genesis
29bb6ae05a deleted wrongly commited libs 2007-01-14 00:10:42 +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
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
2ffade365c forgot something again :/ 2007-01-11 18:16:56 +00:00
False.Genesis
6b8237876e forgot something 2007-01-11 18:15:37 +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
8add84b129 fixed logging to world + experimental pkt decrypt 2007-01-07 19:26:35 +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
b701810b15 got realms working again, next thing to do is opening the world connection. 2007-01-06 01:17:03 +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