Nicholas Hastings
9a9446400d
Nuke spurious NULL checks in spcomp to appease Clang 3.5
2014-09-09 22:04:24 -04:00
Nicholas Hastings
acdd9e12ea
Merge pull request #152 from alliedmodders/error-sp-warnings
...
Treat SourcePawn warnings as errors when building (r=dvander).
2014-09-09 17:01:44 -04:00
Nicholas Hastings
a597277a64
Merge pull request #153 from alliedmodders/auth-fixups
...
More auth fixups for Steam auth (bug 6243, r=asherkin).
2014-09-09 16:24:57 -04:00
Nicholas Hastings
b3dada65fa
Fix build.
2014-09-09 13:21:01 -07:00
Nicholas Hastings
8a9a793453
Merge pull request #151 from alliedmodders/menu-natives-logic
...
Move menu natives from core to logic (r=asherkin).
2014-09-09 15:51:11 -04:00
Nicholas Hastings
66ab609000
Make admins_simple.ini bind Steam3 ids as steam auth
2014-09-05 13:16:55 -07:00
Nicholas Hastings
29d428adc2
Add support for auto-converting '_' to ':' with Steam3 Id targetting
2014-09-05 13:08:51 -07:00
Nicholas Hastings
5b1caec738
Treat sp warnings as errors when building
2014-09-05 08:26:23 -07:00
Nicholas Hastings
ad7d920ce0
Move menu natives from core to logic
2014-09-05 08:24:40 -07:00
Nicholas Hastings
7fff73ad64
Fix syntax error in sdkhooks.inc.
2014-09-05 08:18:04 -04:00
Nicholas Hastings
215bbb8324
Make SteamID targetting explicit to Steam IDs...
...
rather than NetworkIDs which could be any form and similar to names.
Also make explicit support for both Steam2 and Steam3 formats
2014-09-04 16:25:12 -07:00
Nicholas Hastings
1bf4eb80bd
Cache Steam ID and rendered forms when caching networkID
2014-09-04 16:14:34 -07:00
Nicholas Hastings
f1dc24c089
Move Steam2/3 id rendering logic to CPlayer
2014-09-04 15:27:44 -07:00
Nicholas Hastings
892edd9650
Allow BindIdentity and FindAdminByIdentity to take more SteamID formats for steam auth type
2014-09-04 15:26:12 -07:00
Nicholas Hastings
ec46e12c50
Replace usages of GetClientAuthString with GetClientAuthId
2014-09-04 12:49:06 -07:00
Nicholas Hastings
a7cdf17d90
Merge pull request #147 from alliedmodders/new-auth
...
Expose explicit client auth id formats (r=asherkin).
2014-09-03 18:50:24 -04:00
Nicholas Hastings
b2b82f4a86
Add gamedata for SDKHooks Blocked and OnTakeDamage_Alive for many games.
2014-09-03 18:49:14 -04:00
Nicholas Hastings
6da7219f9f
Merge pull request #149 from alliedmodders/ontakedamage_alive
...
Add OnTakeDamage_Alive hook support to SDKHooks (bug 6249, r=asherkin).
2014-09-03 18:35:06 -04:00
Nicholas Hastings
7f3656215b
Consistency Fixes (ID->Id, AuthString->AuthId)
2014-09-03 15:13:30 -07:00
Nicholas Hastings
be55587d70
Add OnTakeDamage_Alive hook support to SDKHooks (bug=6249).
2014-09-03 17:45:34 -04:00
Nicholas Hastings
3fba1d2817
Fix some nits
2014-09-03 10:50:11 -07:00
Nicholas Hastings
e6ff9c36ed
Merge pull request #119 from VoiDeD/sdkhooks-blocked
...
Implement SDKHook_Blocked and SDKHook_BlockedPost (r=psychonic).
2014-09-03 10:50:38 -04:00
Nicholas Hastings
e11fec9ba1
Rename GetClientAuthString2 to GetClientAuthId
2014-09-02 18:11:36 -07:00
Nicholas Hastings
d0c701793c
Document possibly-unexpected yet valid auth strings
2014-09-02 17:47:33 -07:00
Nicholas Hastings
eafd6626ec
Fix true return when validation wanted and steam id pending
2014-09-02 17:44:11 -07:00
Nicholas Hastings
e3b87a5ca4
Spin new logic into GetClientAuthString2...
...
and mark GetClientAuthString as deprecated, using 1.6.x GetClientAuthString behavior
2014-09-02 17:43:10 -07:00
Nicholas Hastings
8c89b72fbc
Expose explicit client auth string formats
2014-09-02 14:40:39 -07:00
Nicholas Hastings
e9e35979a4
Update core AMBuild script for hl2sdk-csgo and hl2sdk-dota protobuf changes.
2014-09-01 11:25:55 -04:00
Nicholas Hastings
e093c7f72a
Merge pull request #120 from alliedmodders/wip-valve-fs2
...
Add support for Valve FS to natives that use file handles (r=asherkin).
2014-08-30 14:25:53 -04:00
Nicholas Hastings
ac121ec4d2
Merge branch 'master' of https://github.com/alliedmodders/sourcemod
2014-08-29 09:54:13 -07:00
Nicholas Hastings
b81c44cf49
Update for hl2sdk-dota changes
2014-08-29 09:53:43 -07:00
Nicholas Hastings
89f5d6ecfb
Merge pull request #140 from FlaminSarge/tf_enums_2014jun
...
Update TF2 enums for Love & War (r=psychonic).
2014-08-23 09:32:35 -04:00
Nicholas Hastings
51d32bca77
Clarify return value commit on RemoveFile
2014-08-22 07:21:12 -07:00
Nicholas Hastings
9d6fea857b
Fix another syntax error in files.inc
2014-08-22 06:55:45 -07:00
Nicholas Hastings
8d60fecb96
Fix syntax errors in files.inc
2014-08-22 06:30:25 -07:00
Nicholas Hastings
73115f7afa
Add support for specifying gameinfo search path when using valveFS in file natives
2014-08-22 06:00:43 -07:00
Nicholas Hastings
b95e7ff145
Add missing use_valve_fs param to CreateDirectory native def
2014-08-22 05:59:41 -07:00
Nicholas Hastings
e1158889e5
Fix backwards use_valve_fs logic for OpenDirectory
2014-08-22 05:56:23 -07:00
Nicholas Hastings
5716927cbf
Fix compile error on with MSVC.
2014-08-20 21:37:47 -04:00
Nicholas Hastings
09250f89cc
Merge pull request #133 from alliedmodders/logger-logic
...
Move Logger and core natives from core to logic (r=dvander).
2014-08-20 06:43:31 -04:00
Nicholas Hastings
e9ba251c1c
Fix link errors.
2014-08-17 11:11:55 -04:00
Nicholas Hastings
e4645332aa
Convert missed files in logic to use logger from logic.
2014-08-17 11:06:43 -04:00
Nicholas Hastings
1ca837ea2c
Merge pull request #131 from VoiDeD/removewearable-optional
...
Mark TF2_RemoveWearable as optional (r=psychonic).
2014-08-16 13:23:01 -04:00
Nicholas Hastings
8ffdfb6a0c
Merge pull request #43 from hlstriker/master
...
Added a new function SetFilePermissions to set permissions of a file (r=psychonic).
2014-08-16 10:02:09 -04:00
Nicholas Hastings
486910a9a1
Add missing files
2014-08-13 14:26:18 -07:00
Nicholas Hastings
17d5af0e2f
Move Logger and Core natives to Logic
2014-08-13 14:24:35 -07:00
Nicholas Hastings
25f8570279
Merge pull request #124 from alliedmodders/csgo-cl-language
...
Fix automatic language detection on CS:GO (bug 6163) (r=asherkin).
2014-08-11 07:37:11 -04:00
Nicholas Hastings
4e5b1a58ce
Add ValveFS support to more filesystem functions: OpenDirectory (CloseHandle on directory) ReadDirEntry DirExists CreateDirectory RenameFile
2014-08-06 13:15:24 -07:00
Nicholas Hastings
3edd1ce658
Remove inaccurate note on GetClientLanguage function doc.
2014-08-05 10:40:14 -04:00
Nicholas Hastings
ccc818d06e
Fix automatic language detection on CS:GO (bug 6163).
2014-08-05 01:41:44 -04:00
Nicholas Hastings
f2b19e6c87
Add more accurate return value for DeleteFile when using Valve FS.
2014-08-03 09:10:02 -04:00
Nicholas Hastings
836cde4e21
Merge pull request #121 from VoiDeD/bug-6206
...
Remove the extra wearables of weapons in TF2_RemoveWeaponSlot (r=psychonic).
2014-08-02 22:02:14 -04:00
Nicholas Hastings
573aea20fb
More progress:
...
Abstracted many fs funcs with helper class.
Removed much duplicated code.
Fixed ReadFile assuming FS errors for ValveFS.
Added ValveFS support for ReadFileString, WriteFile, WriteFileString, DeleteFile.
Added missing param in doc for OpenFile.
2014-08-01 12:38:51 -07:00
Nicholas Hastings
5e7e7ce551
Improved FPrint(f) passthrough
2014-08-01 06:09:09 -07:00
Nicholas Hastings
8d5fe316e0
Merge pull request #114 from VoiDeD/tf2-removewearable
...
Implement TF2_RemoveWearable native (r=psychonic).
2014-07-30 18:43:34 -04:00
Nicholas Hastings
b979d707db
Update Fistful of Frags gamedata.
2014-07-30 06:35:45 -04:00
Nicholas Hastings
ac371aa639
Merge pull request #96 from peace-maker/reloadpost_hook
...
Fix regression. SDKHook_ReloadPost never firing (r=psychonic).
2014-07-16 15:09:44 -04:00
Nicholas Hastings
a8a64cabee
Update some Contagion gamedata.
2014-07-13 10:15:18 -04:00
Nicholas Hastings
44b2b02a1e
Merge pull request #85 from alliedmodders/more-prop-data-types
...
Fix regression stopping -1 from being a valid value in SetEntPropEnt (r=VoiDeD).
2014-07-09 22:47:54 -04:00
Nicholas Hastings
31a79231f8
Fix regression stopping -1 from being a valid value in SetEntPropEnt.
2014-07-09 22:23:20 -04:00
Nicholas Hastings
d4c676aed2
Merge pull request #83 from alliedmodders/more-prop-data-types
...
Add support to Get/SetEntPropEnt for FIELD_CLASSPTR and FIELD_EDICT datadesc fields (r=KyleS).
2014-07-09 21:00:49 -04:00
Nicholas Hastings
0b5e587db9
Remove unnecessary null check.
2014-07-09 20:33:38 -04:00
Nicholas Hastings
f7a64167fc
Fix Dota 2 build.
2014-07-09 19:25:45 -04:00
Nicholas Hastings
3a94bd4fef
Add support to Get/SetEntPropEnt for FIELD_CLASSPTR and FIELD_CLASSPTR datadesc fields.
2014-07-09 17:32:32 -04:00
Nicholas Hastings
63aeeb8672
Merge pull request #70 from VoiDeD/classname-no-world-entity
...
GetEntityClassname should handle the case where the world entity has not been created yet (r=psychonic).
2014-07-06 11:26:01 -04:00
Nicholas Hastings
ffa1887c48
Merge pull request #65 from powerlord/master
...
New functions for SDKTools to get information from game_sound files (r=psychonic).
2014-07-04 17:17:00 -04:00
Nicholas Hastings
cde927112a
Merge pull request #66 from alliedmodders/tf2-iserver
...
Switch TF2 to use IVEngineServer::GetIServer in SDKTools to find IServer ptr (r=voided).
2014-07-03 12:45:18 -04:00
Nicholas Hastings
3254f6f362
Switch TF2 to use IVEngineServer::GetIServer in SDKTools to find IServer ptr.
2014-07-03 12:26:52 -04:00
Nicholas Hastings
e6f6e6df70
Merge pull request #59 from alliedmodders/csgo-weapon-drop
...
Update CStrike extension CSWeaponDrop to use Vector overload on CS:GO (r=asherkin).
2014-07-02 10:44:04 -04:00
Nicholas Hastings
eeba5b93c5
Update CStrike extension CSWeaponDrop to use Vector overload on CS:GO.
2014-07-02 10:08:56 -04:00
Nicholas Hastings
5e596819c5
Update CS:GO CSWeaponDrop gamedata.
2014-07-01 21:06:39 -04:00
Nicholas Hastings
0e015027fc
Merge pull request #57 from VoiDeD/reservedslots-override-fix
...
sm_reskick_immunity access check should not check for commands (r=psychonic).
2014-07-01 10:18:04 -04:00
Nicholas Hastings
aedd1eb49c
Add HudText gamedata support for Synergy (bug 6161).
2014-06-29 20:23:07 -04:00
Nicholas Hastings
6e34a530b4
Update Dota Linux EntityFactoryDictionary gamedata.
2014-06-28 17:04:43 -04:00
Nicholas Hastings
367c557a77
Update Synergy gamedata and switch NMRiH gamedata on linux to use symbols.
2014-06-28 09:52:03 -04:00
Nicholas Hastings
3983dc10ed
Update non-auto version for 1.7.0 for compiled plugins.
2014-06-23 19:46:26 -04:00
Nicholas Hastings
c5e2d49b8f
Merge pull request #52 from alliedmodders/bug-6137
...
Update TF2_IsHolidayActive native to virtually call gamerules IsHolidayActive (bug 6137, r=VoiDeD).
2014-06-23 19:39:14 -04:00
Nicholas Hastings
bbdf40160c
Add missing thisptr to call.
2014-06-23 19:24:27 -04:00
Nicholas Hastings
de0f49248d
Update TF2_IsHolidayActive native to virtually call gamerules IsHolidayActive.
2014-06-23 16:23:49 -04:00
Nicholas Hastings
dbcfbdb21a
Merge pull request #42 from alliedmodders/bug-6137
...
Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137, r=VoiDeD).
2014-06-22 21:23:27 -04:00
Nicholas Hastings
fe485836f1
Remove redundant code.
2014-06-19 23:48:15 -04:00
Nicholas Hastings
1daf629a42
Remove dead variable.
2014-06-19 23:34:35 -04:00
Nicholas Hastings
151c6d246e
Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137).
2014-06-19 23:22:47 -04:00
Nicholas Hastings
210759907d
Merge pull request #41 from alliedmodders/c++11
...
Enable C++11 on posix (r=dvander).
2014-06-19 21:20:13 -04:00
Nicholas Hastings
8b7ce5eed2
Enable C++ support on "like" gcc builds.
2014-06-19 20:59:15 -04:00
Nicholas Hastings
4a75be1c92
Fix KE_OVERRIDE typo in amtl (already fixed upstream).
2014-06-19 20:58:26 -04:00
Nicholas Hastings
3d114e5506
Update linux platform check in KePlatform.h to be consistent with others.
2014-06-19 20:57:54 -04:00
Nicholas Hastings
58158ce607
Merge pull request #40 from alliedmodders/fix-invalid-string-index
...
Fix FindStringIndex native not returning INVALID_STRING_INDEX when string not found (bug 6144, r=DS).
2014-06-19 14:40:16 -04:00
Nicholas Hastings
0f39825699
Merge pull request #39 from alliedmodders/outputs-getentclassname
...
Update SDKTools entity output functions to use core's GetEntityClassname instead of own (r=DS).
2014-06-19 14:39:49 -04:00
Nicholas Hastings
291ef6fdc4
Fix FindStringIndex native not returning INVALID_STRING_INDEX when string not found (bug 6144).
2014-06-19 11:40:01 -04:00
Nicholas Hastings
75254bbf25
Update SDKTools entity output functions to use core's GetEntityClassname instead of own.
2014-06-19 11:27:26 -04:00
Nicholas Hastings
b0e466edae
Revert "Disable FireOutput gamedata on TF2 until proper fix is found."
...
This reverts commit 9af7eefe07 .
2014-06-19 00:34:41 -04:00
Nicholas Hastings
e95309a603
Add early-exit in entity output detour if entity has no classname.
2014-06-19 00:33:54 -04:00
Nicholas Hastings
9af7eefe07
Disable FireOutput gamedata on TF2 until proper fix is found.
2014-06-18 23:16:20 -04:00
Nicholas Hastings
b5c5aba588
Revert "Update TF2 FireOutput gamedata."
...
This reverts commit 633f219cf7 .
2014-06-18 23:15:38 -04:00
Nicholas Hastings
13f27821ad
Bump version for master branch.
2014-06-18 19:24:06 -04:00
Nicholas Hastings
7553106eee
Merge pull request #34 from WildCard65/Spacing
...
Added spacing to compile.sh (r=psychonic).
2014-06-17 21:44:05 -04:00
Nicholas Hastings
5cf73385c5
Merge pull request #37 from FlaminSarge/tf_weapon_enum_2014jun11
...
Update TF_WEAPON enum and tf2_stocks.inc (r=psychonic).
2014-06-17 16:52:11 -04:00
Nicholas Hastings
00c09584c7
Update Fistful of Frags gamedata.
2014-06-13 13:40:06 -04:00
Nicholas Hastings
7677e8af79
Merge pull request #27 from VoiDeD/convar-cache
...
Utilize convar cache for FindConVar (r=KyleS, r=psychonic)..
2014-06-12 19:47:33 -04:00