Commit Graph

1714 Commits

Author SHA1 Message Date
David Anderson
c531ad8564 finalized (i hope) new map timer api
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401421
2007-09-13 01:14:02 +00:00
David Anderson
6206027476 overhaul of the map timer idea -- function is now an interface, and the timer flag is removed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401420
2007-09-13 00:33:56 +00:00
Borja Ferrer
aec2160e84 added new reconnect client panel stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401419
2007-09-12 23:37:00 +00:00
David Anderson
2920ba897c - moved gameframe hook to timersys
- rewrote simulation algorithm
- various internal improvements to timer
- removed the unused parameter to GetTickedTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401418
2007-09-12 22:46:00 +00:00
Scott Ehlert
532f0bde47 Why was this not const? I have no idea, but what a lame commit for me to make after all this time
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401417
2007-09-12 07:22:38 +00:00
David Anderson
09618e15e1 whoops, this changeset had a really bad side effect. build needs to be broken until i can fix it.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401416
2007-09-11 18:50:16 +00:00
David Anderson
dd824d2056 added a case where CreateTimer() can return INVALID_HANDLE
fixed two initialization bugs in TimerSys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401415
2007-09-11 18:16:25 +00:00
David Anderson
641041b906 timelimit function now gets initialized
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401414
2007-09-11 18:08:49 +00:00
David Anderson
293705f63f removed tick simulator and added api to help with mapchanges
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401413
2007-09-11 18:02:59 +00:00
David Anderson
017da078ef header movement #1 - reduced usage of TextParsers.h
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401412
2007-09-11 15:10:18 +00:00
David Anderson
269c0f2877 fixed a few typos in sql-admin-manager and updated the immunity phrase
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401411
2007-09-11 12:29:58 +00:00
David Anderson
2898fc2a7e updated build tool for new package layout
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401410
2007-09-10 23:43:21 +00:00
David Anderson
6aec628ab0 - completely overhauled the immunity system
- updated and reorganized database schema files
- changed config files to show new immunity rules
- updated sql-admin-manager so it can update+create tables
- added compile.sh file for building plugins in batch
- deprecated the old admin-cache immunity api relying on ImmunityType
- added a new sm_config table to the schema for storing version numbers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401409
2007-09-10 23:38:58 +00:00
Borja Ferrer
93581bb296 enabled SSE code in all dlls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401408
2007-09-10 22:28:22 +00:00
Borja Ferrer
2ff0469648 added amb858 and amb924, some new KV natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401407
2007-09-10 18:03:06 +00:00
David Anderson
ee753a13f8 reorganized sql scripts folder
--HG--
rename : configs/sql-init-scripts/admins-mysql.sql => configs/sql-init-scripts/mysql/admins-mysql.sql
rename : configs/sql-init-scripts/admins-sqlite.sq3 => configs/sql-init-scripts/sqlite/admins-sqlite.sq3
rename : configs/sql-init-scripts/admins-sqlite.sql => configs/sql-init-scripts/sqlite/admins-sqlite.sql
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401406
2007-09-09 02:29:46 +00:00
David Anderson
db3b9c2fa1 added amb923 - CheckCommandAccess() changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401405
2007-09-07 02:20:08 +00:00
David Anderson
08403e2b4a added more info and a usage warning to IsValidHandle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401404
2007-09-04 21:38:27 +00:00
Borja Ferrer
20350108ac fixed amb893, closing a timer handle wouldn't kill the timer properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401403
2007-09-03 18:49:58 +00:00
David Anderson
7a02c6b9c2 fixed JIT portion of amb887 - dynamic local arrays with more than 3 dimensions (i.e. >=3 levels of indirection) would have bad indirection tables, corrupting memory and/or crashing on r/w
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401402
2007-09-03 17:55:43 +00:00
Borja Ferrer
8ebadc442e omg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401401
2007-09-02 00:39:53 +00:00
David Anderson
6bfac7ff26 clarified true/false
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401400
2007-08-31 21:23:42 +00:00
David Anderson
c62c5cfc30 improved makefile layout so deps are all at the same level and sourcemm trunk is no longer explicitly referenced
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401399
2007-08-31 15:26:05 +00:00
David Anderson
5cba82afc9 fixed another minor comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401398
2007-08-29 05:47:46 +00:00
David Anderson
e5d81cf621 mirrored earlier core native binding optimization to extensions as well. clarified note about pointer lifetime in AddNatives(), as it will be gaining a second version soon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401397
2007-08-29 05:44:29 +00:00
David Anderson
77cc895151 moved trie to public so extensions can use it easier
--HG--
rename : core/sm_trie_tpl.h => public/sm_trie_tpl.h
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401396
2007-08-29 05:22:47 +00:00
David Anderson
3faa842794 initial import of trie as a template; old file is now a wrapper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401395
2007-08-29 05:20:48 +00:00
David Anderson
80452fb3ec fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401394
2007-08-29 02:43:07 +00:00
David Anderson
b8b6a1a2bd added an additional comment to sm_trie_tpl
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401393
2007-08-29 02:43:02 +00:00
David Anderson
d614744b2d fixed a stray comment VAX reformatted
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401392
2007-08-29 02:40:05 +00:00
David Anderson
784370e24d hugely experimental templated trie, will be used soon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401391
2007-08-29 02:37:59 +00:00
David Anderson
07037e3fa2 cleaned up the Trie code a bit by unifying retrieval into one internal function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401390
2007-08-29 02:37:25 +00:00
David Anderson
97196e70be fixed some build issues from last commit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401389
2007-08-29 02:36:41 +00:00
David Anderson
f145178fc0 greatly optimized the process of mapping plugin natives from Core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401388
2007-08-29 00:47:05 +00:00
David Anderson
08ae85bdb3 added note about putinserver and steamids
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401387
2007-08-29 00:28:19 +00:00
David Anderson
6bb7b3a1f8 added a layer for autoloading per-game extensions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401386
2007-08-29 00:27:54 +00:00
David Anderson
437f6543d7 fixed LogToOpenFileEx not being exported
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401385
2007-08-27 14:02:22 +00:00
David Anderson
aab0eeaa1e - implemented amb855 - LogAction()
- changed base plugins to use LogAction() where appropriate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401384
2007-08-27 02:00:37 +00:00
David Anderson
2930621b7d fixed portion of amb777 -- chat triggers ate up spaces and thus "/ kick" was the same as "/kick"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401383
2007-08-26 20:12:30 +00:00
David Anderson
0dcd1edd56 added amb845 - reports custom flags now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401382
2007-08-26 20:04:01 +00:00
David Anderson
1b693c0351 fixed amb830 - basefunvotes.sp was named wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401381
2007-08-26 19:51:24 +00:00
David Anderson
ec8413193f added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
2007-08-26 19:41:05 +00:00
David Anderson
07b04432a2 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401379
2007-08-26 19:20:36 +00:00
David Anderson
1191b6332d cleaned up the core gamedata file a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401378
2007-08-26 19:11:36 +00:00
David Anderson
af4a59c071 added amb727 (sm_time_adjustment)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401377
2007-08-26 18:41:57 +00:00
David Anderson
d9866748f7 implemented amb843 - GetFileTime()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401376
2007-08-26 18:29:02 +00:00
David Anderson
294d6b9f8f fixed amb834 - command callbacks could potentially occur on invalid clients in very rare cases
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401375
2007-08-26 17:41:02 +00:00
David Anderson
b85f2c625c fixed amb832
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401374
2007-08-24 23:56:57 +00:00
David Anderson
eb0a4bda94 - fixed a bug where the stack was restored incorrectly when the VM was not capable of properly restoring the stack (i.e. when an error occurred)
- fixed re-entrancy bugs when a nested VM call on the same context threw an error

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401373
2007-08-22 02:01:24 +00:00
Michael McKoy
b24a28d834 Fixed amb729, implemented amb778. Admin needs ADMFLAG_CHANGEMAP to use sm_setnextmap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401372
2007-08-22 01:19:10 +00:00