Version History

Back to Addon

Version: dev20110416
Updated on:
2011-04-16 09:30:07 by GODJonez
File Name: srcds.zip File Size: 248860 bytes (View Zip Contents)
Version Notes:
[list][*]Added function srcds.entities.[b]get_or_create[/b](classname, spawn=True) to get an instance of an entity by classname, creating such an entity if one doesn't exist already. Optional parameter spawn can be set to False in which case the possibly created entity instance will not be spawned to the world upon creation.[/list]
Download this version
Version: dev20110101
Updated on:
2011-01-01 09:32:03 by GODJonez
File Name: srcds.zip File Size: 248774 bytes (View Zip Contents)
Version Notes:
[list][*]Added convenience function srcds.entities.get_player(userid) which returns player entity instance from userid.[/list]
Download this version
Version: dev20101212
Updated on:
2010-12-12 11:57:42 by GODJonez
File Name: srcds.zip File Size: 248690 bytes (View Zip Contents)
Version Notes:
[list][*]Made custom types (srcds_types) comparable to primitive types (str, int, float). [*]Added remove() method to entities for removing them from the world. (requires ES build 364, current public build is 360) [*]Made protections to fire() method of entities to reduce console spam [*]Added optional parameter 'fatal' for fire() method to signal that the input to be fired will remove the entity from the world, this is internally used for methods Kill() and KillHierarchy() and Explode() for env_explosion. Not yet added for Break() method of breakable entities or other places where it might be appropriate.[/list]
Download this version
Version: dev20101201
Updated on:
2010-12-01 15:33:01 by GODJonez
File Name: srcds.zip File Size: 248494 bytes (View Zip Contents)
Version Notes:
[list][*]Fixed _BaseEntity._create method from creating dependency loop (setting _index requires classname, and getting classname requires _index) [*]Fixed srcds_types.Flags to accept stringified integers (as apprently returned by es.entitygetvalue for spawnflags for some bizarre reason)[/list]
Download this version
Version: dev20101128
Updated on:
2010-11-27 19:27:29 by GODJonez
File Name: srcds.zip File Size: 248459 bytes (View Zip Contents)
Version Notes:
[list][*]Completely restructured srcds.data.entities. Benefits: easier to manage and 90% speed increase (get_entity from 250 µs to 28 µs) [*]KeyvaluesInput was moved from srcds_types into data.entities and now inherits _KeyValues directly [*]Color type now accepts engine string as input [*]Fixed some bad keyvalue types (e.g. obvious integers marked as strings by Valve) [*]srcds_ent command with entindex param now lists classname first, then the rest in alphabetical order [*]Try to diff the files if you want to know all the small things [/list] Note that srcds.entities.get_entities is unusable currently (and likely will always be unusable due to slowness in real scripts but will be just an academic interesting proof of concept)
Download this version
Version: dev20101121
Updated on:
2010-11-20 18:37:49 by GODJonez
File Name: srcds.zip File Size: 176283 bytes (View Zip Contents)
Version Notes:
Structural changes for srcds.entities. Entity keyvalues are no longer kept locally but always queried from the engine on demand; this results in tenfold performance increase (yet srcds.entities.get_entities is still mostly unusable if there are many entities on the map due to it taking more time than one tick takes). Also changed the way values are set and get of some types; setting spawnflags should now work directly, e.g. "entity.spawnflags |= 'Start On', 'NPC Only'"
Download this version
Version: dev20101115
Updated on:
2010-11-15 16:34:34 by GODJonez
File Name: srcds.zip File Size: 104457 bytes (View Zip Contents)
Version Notes:
[list][*]Added debug module (debug.py) that contains DebugProxy class used for debugging calls to specific object. [*]Fixed wrong parameter calls to es.fire [*]Fixed _BaseEntity.fire() method to compensate for es.fire requiring *TWO* gameframes to run properly. [/list]
Download this version
Version: WIP
Updated on:
2010-11-07 11:19:25 by GODJonez
File Name: srcds.zip File Size: 101432 bytes (View Zip Contents)
Version Notes:
srcds.entities mostly...
Download this version
Version: 0.8.0811
Updated on:
2008-08-11 14:45:24 by GODJonez
File Name: srcds.zip File Size: 2982 bytes (View Zip Contents)
Version Notes:
First release containing console output capture for Linux servers.
Download this version
click me