197 Commits

Author SHA1 Message Date
False.Genesis
74ded46daa * fixed DefScript tohex function to work with numbers up to 2^64
* fixed a bug that allowed to execute scripts via ingame commands without any permission
* added DefScript functions substr, getplayerperm, getscriptperm
2007-03-22 21:33:44 +00:00
False.Genesis
c8015e9929 * fixed if (error on multiple endifs)
* implemented loop...endloop & exitloop
* fixed crash on parsing ${} (var with no name)
* added an example .def file to explain loop/if-statements
2007-03-20 21:37:38 +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
6fef92a30c * added if..else..endif expressions to DefScript. they seem to work after a short test.
* inverted "bigger,a b", it gets now interpreted as a<b instead of b<a. same for "smaller".
2007-03-15 21:51:15 +00:00
False.Genesis
48d8a12a71 * added 2 new DefScript funcs: "GetEntry <guid>" & "GetitemProtoValue,<entry> <property>"
* misc updates to the scp storage
* got angry at the "loaded item prototype...[...]" messages, disabled them for release mode.
2007-03-14 19:29:44 +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
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
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
2583f47e5d * output more bignums for debug, added some assertion checks 2007-03-09 14:26:26 +00:00
False.Genesis
f80c315307 * workaround for ticket #4
* forgot to set permission for exit.def
2007-03-08 19:47:24 +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
7aaac21eca * security update 2007-03-05 16:08:41 +00:00
False.Genesis
5412b1af3d * prevent selecting already selected target.
* some changes didnt upload in [81]
2007-03-05 15:22:16 +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
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
0379c2ccf0 * assign WorldObject position on _MovementUpdate()
* disabled SSE-support, might fix problems on older machines (you can still enable it to increase speed)
2007-03-01 18:16:11 +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
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