0


I'm trying to find out the parameters and return values for beta1.6 & 1.7 lua commands and added hooks within the changelog, cs2d.com & lua/info.txt doesn't seem to have them updated. Specifically, I need hook usebutton & hook break, or an entire list would be most helpful. Thx.

flag offensive
asked 2010-07-07 19:09:31.777106
1
add comment
1 Answers:
0


### Beta 0.1.1.7 - 21.12.2009

 [FIXED] Security vulnerability which allowed rpg/grenade hacks
 [FIXED] Lua command tile did not work properly (always returned false)
 [FIXED] Lua command object did not work
 [FIXED] Lua hook bombplant did not work
 [FIXED] Lua images were destroyed by explosions
 [FIXED] Lua HUD image scale sometimes influenced normal HUD scale
 [FIXED] Several file transfer bugs
 [FIXED] Crash with death notice images if image for weapon was missing
 [FIXED] Crash if there are no spraylogos
 [FIXED] mp_timelimit mapchanges only occured with players on map
 [FIXED] It was possible to switch team to spectators when being spectator
 [CHANGED] Now using DirectX9 drivers on Windows systems
 [CHANGED] More intelligent latency sorting (prefer servers with players)
 [CHANGED] Serverlist filters changed/improved
 [CHANGED] You can now drag the minimap view by holding the mousebutton
 [CHANGED] mp_wpndmg/mp_unbuyable now accept weapon names without spaces
 [ADDED] Optional player param. for Lua images (only one player can see img)
 [ADDED] Bots serverlist filter (yes, no, at least 1 human)
 [ADDED] Name serverlist filter (only show if contains X in name)
 [ADDED] Map serverlist filter (only show if contains X in map)
 [ADDED] -offline / -off commandline parameter (offline mode)

### Beta 0.1.1.6 - 11.11.2009

 [FIXED] Bug with commands which accepted a name AND id of a player
 [FIXED] Dropped weapon when attempting to buy outside buyzone
 [FIXED] Wrong rate of fire calculation (/2)
 [FIXED] Env_Object did not work everywhere on the map
 [FIXED] de_dust2 bomb explosion range was too large
 [FIXED] Removed unused env_sound from de_aztec
 [FIXED] Floor behavior Func_DynWall entities were invisible sometimes
 [FIXED] Some server only commands SEEMED to work for clients as well
 [FIXED] Infinite ammo icon flashed when bomb was planted
 [FIXED] Dedicated servers attempted to play sv_sound(2) locally as well
 [FIXED] It was still possible to use "invisible" nicks with special chars
 [FIXED] Screenshot function did only work properly at 640x480
 [FIXED] Screenshots from menu were called "_XXXXX.XXX" now "menu_XXXXX.XXX"
 [FIXED] Minimap creation caused the game to crash with certain maps
 [FIXED] Console: Params consisting of more than one word were displayed wrong
 [FIXED] Dead players and spectators were not able to chat with each other
 [FIXED] Some bomb defusing bugs
 [FIXED] Bug in bind system (binds were attached instead of replaced)
 [FIXED] All binds outside controls.cfg were removed when using options menu
 [FIXED] Lua hook "spray" did not work
 [FIXED] Severlist sometimes showed "Add to Favorites" for added servers
 [CHANGED] Improved weapon selection HUD (visualized number of items in slot)
 [CHANGED] AK47/M4A1 are more balanced/equal now
 [CHANGED] SG552/Aug damage increased
 [CHANGED] Scout/AWP unzoomed damage increased
 [CHANGED] Highly improved particle and effect performance on large maps
 [CHANGED] Extended command line parsing (see Readme.txt for details)
 [CHANGED] Zombies don't get gut bombs on spawn anymore
 [CHANGED] Dropped weapons don't disappear in Zombies! mode
 [CHANGED] Not allowed to change team on roundstart in Zombies! mode
 [CHANGED] sv_maxclientsip default value is now 5
 [CHANGED] Improved rcon/mp_maxrconfails warning messages
 [CHANGED] Walls become neutral if not killed when player leaves/changes teams
 [CHANGED] Bomb blinks on radar (T only) when it is planted
 [CHANGED] "Copy Address" replaced with "Copy Address" and "Copy Name+Address"
 [CHANGED] "Copy Address" removed from Linux/Mac version (didn't work anyway)
 [CHANGED] Moved action messages (join,leave,...) so they don't obscure radar
 [CHANGED] hudtxt/hudtxt2 message limit increased from 10 to 50
 [CHANGED] Enhanced Speedhack detection (mp_antispeeder)
 [CHANGED] Improved serverlist loading performance
 [CHANGED] Highly improved stats/rank performance
 [CHANGED] Console now only holds/displays the latest 500 output lines
 [CHANGED] Enhanced logging performance
 [CHANGED] transfer_delay and transfer_size removed (now transfer_speed)
 [CHANGED] Improved file transfer
 [CHANGED] Command exec now automatically prepends sys-directory if necessary
 [CHANGED] Command spawnplayer doesn't allow to spawn spectators anymore
 [CHANGED] Lua move-hook walk-parameter is now integer instead of boolean
 [ADDED] Game loads recent serverlist locally in case of U.S.G.N. downtimes
 [ADDED] Wooden floor tiles
 [ADDED] More hostage styles are available
 [ADDED] Skip briefing/server info with space (cmd "specplayer")
 [ADDED] Clicking X in a Lua menu will now also emit a Lua menu event
 [ADDED] Remote control panel (rightclick a server in serverlist)
 [ADDED] Weapon images in death notices (optional with game setting)
 [ADDED] A lot of additional Env_Decal images
 [ADDED] Portal Gun: You can now close your portals with reload-key
 [ADDED] You can now upgrade barricades to walls (fast and cheap!)
 [ADDED] Wildcards (*) for IP bans (e.g. banip 192.168.*.*)
 [ADDED] Server net message flood-attack protection
 [ADDED] U.S.G.N. info screen if U.S.G.N. connection failed
 [ADDED] Download files option (control what files you want to download)
 [ADDED] List of files server will send to clients (sys/servertransfer.lst)
 [ADDED] Lua menus can now be invisible and bigger (@i or @b in title string)
 [ADDED] You can now add custom images to map/HUD with Lua commands
 [ADDED] Command mp_zombiekillequip (disable the gut bomb stuff etc.)
 [ADDED] Command mp_floodprot (enable/disable flood-attack protection)
 [ADDED] Command mp_autogamemode (auto. switch game mode on mapchange)
 [ADDED] Command deathnoticeimg (death notices with images or not)
 [ADDED] Command reconnect/retry (reconnect to last joined server)
 [ADDED] Command entities (list all entities, as server only)
 [ADDED] Command unban (remove a certain ban)
 [ADDED] Command listbans (list all bans, as server only)
 [ADDED] Command menu_red (influence menu color)
 [ADDED] Command menu_green (influence menu color)
 [ADDED] Command menu_blue (influence menu color)
 [ADDED] Command menu_svreqdelay (serverlist info request delays)
 [ADDED] Command transfer_speed (server file upload speed in kb/sec)
 [ADDED] Command download (download files option)
 [ADDED] Command flashplayer id intensity (flash one or all players)
 [ADDED] Command flashposition x y intensity (flash players close to pos)
 [ADDED] Command effect type x y p1 p2 r g b (create an effect)
 [ADDED] Lua Command tile x y value (return tile values)
 [ADDED] Lua Hook flagtake (when taking a flag)
 [ADDED] Lua Hook flagcapture (when capturing a flag)
 [ADDED] Lua Hook dominate (when dominating a domination point)
 [ADDED] Lua Hook bombplant (when planting bomb)
 [ADDED] Lua Hook bombdefuse (when defusing bomb)
 [ADDED] Lua Hook bombexplode (when bomb explodes)
 [ADDED] Lua Hook break (when breaking a breakable entity)
 [ADDED] Lua Hook usebutton (when using a button)
 [ADDED] Lua Hook vipescape (when the VIP escapes)
 [ADDED] Lua Hook hostagerescue (when hostage enters rescue zone)
 [ADDED] Lua Hook movetile (when a player reaches a new tile)
 [ADDED] Lua Command timer time function [param] [count] (create timer)
 [ADDED] Lua Command freetimer [function] [param] (free timer)
 [ADDED] Lua Command image path x y mode (create dynamic image)
 [ADDED] Lua Command imagecolor id red green blue (change image color)
 [ADDED] Lua Command imagealpha id alpha (change image alpha)
 [ADDED] Lua Command imageblend id blend (change image blend mode)
 [ADDED] Lua Command imagescale id xscale yscale (change image size)
 [ADDED] Lua Command imagepos id x y rotation (change image position)
 [ADDED] Lua Command freeimage id (free dynamic image)


### Beta 0.1.1.5 - 19.06.2009

 [WARNING] Hostages can't use portals/teleporters
 [WARNING] Don't use portals/teleporters when playing with bots

 [FIXED] Mines did not explode anymore
 [FIXED] You were able to build dispensers close together
 [FIXED] Whitespace (ASCII 160) was allowed in nicks
 [FIXED] It was possible to choose numbers as nicks (cmd conflicts)
 [FIXED] You can't set health/maxhealth of dead players anymore
 [FIXED] You can't equip dead players anymore
 [FIXED] Vote-bans are now really temporary (1 hour by default)
 [FIXED] "Remove Friend" context menu in friends list removed
 [FIXED] Lua itemtype(id,"dispersion") did not work
 [FIXED] Lua use hook did only work for server uses not for client uses
 [FIXED] Lua menu problem when opening a new menu with menu hook
 [FIXED] Very high mp_timelimit caused mapchange all the time
 [FIXED] Bomb did not explode with Info_BombSpot range
 [FIXED] Some weapon images in the buy menu were slightly blurred
 [FIXED] Bug in grenade rebuy protection
 [FIXED] "Add to Favorites" did not work
 [FIXED] Client players did not see burst fire of server player
 [FIXED] Less annoying position resets on laggy servers
 [CHANGED] Explosions are curtailed by walls by default now
 [CHANGED] HE Grenade causes less damage
 [CHANGED] AK47 is now a bit weaker, M4A1 a bit stronger (minimal)
 [CHANGED] Movement is now slower with chainsaw
 [CHANGED] "x changes his name to y" is now "x changes name to y"
 [CHANGED] Some player sprite improvements
 [CHANGED] Knife sprite changed
 [CHANGED] Upgrade to dual turret: price and duration increased by 50%
 [CHANGED] Upgrade to triple turret: price and duration increased by 100%
 [CHANGED] Removed number of bots on server from serverlist (was too long)
 [CHANGED] Chat details like *DEAD*, (Team) or (Radio) are now yellow
 [CHANGED] Debug Lua message "calling hooked function [...]" removed
 [CHANGED] No blood FX when hitting mates with wrench (if FF is off)
 [CHANGED] Some changes on map zm_street
 [CHANGED] Zombies get +3 score/frags per kill (setting mp_zombiekillscore)
 [CHANGED] Reload at round end will now be finished and not canceled
 [CHANGED] Radio and Lua menus are smaller now
 [CHANGED] Now sending map file as last file to avoid incomplete transfers
 [CHANGED] Friends list is now sorted by online status
 [CHANGED] Flash effect will now be stopped when you die
 [ADDED] New and improved speedhack protection with kick + temp. ban
 [ADDED] Console input context menu with list of commands
 [ADDED] Map preview images (minimap) in maplist
 [ADDED] Blinking "Friends" button when you have new messages/requests
 [ADDED] U.S.G.N. powered NAT hole punching for better server connectivity
 [ADDED] Additional weapon information in buy menu
 [ADDED] Additional enlarged weapon/item image in buy menu
 [ADDED] Back buttons in in-game menus
 [ADDED] Command mp_tempbantime (defines how long vote-bans stay active)
 [ADDED] Command mp_maxrconfails (security against RCon bruteforcing)
 [ADDED] Command mp_natholepunching (allow/disallow NAT hole punching)
 [ADDED] Command mp_zombiekillscore (score/frags per kill for zombies)
 [ADDED] Command mp_teleportreload (teleport reload time in seconds)
 [ADDED] Command mp_antispeeder (protection against speedhackers)
 [ADDED] Command sv_sound2 id sound (play soundfiles as server)
 [ADDED] Command weapon weapon (select a weapon by name/id)
 [ADDED] Command setname id name (server: set name of a player)
 [ADDED] Command setweapon id weapon (server: set weapon of a player)
 [ADDED] Command explosion x y size damage id (server: make explosion)
 [ADDED] Command shake id intensity (server: quake effect for player)
 [ADDED] Command killobject id (server: kill an object)
 [ADDED] Command spawnobject typ x y ... (server: spawn an object)
 [ADDED] Command customkill killer "weaponname" victim (server: kill pl.)
 [ADDED] Bombspot can now trigger entities when the bomb explodes there
 [ADDED] Func_DynWall can now behave like a floor as well
 [ADDED] Additional new button styles/graphics for Trigger_Use
 [ADDED] Additional new objects for Env_Object
 [ADDED] Option for Info_NoBuildings to allow Mines/Portals
 [ADDED] Entity Info_TeamGate (only one team or nobody can pass)
 [ADDED] Entity Env_Building (set buildings in editor, Neutral/T/CT)
 [ADDED] You can now return 1 in Lua hit-hook to skip the damage process
 [ADDED] You can now return 1 in Lua build-hook to skip building
 [ADDED] Lua Hook buildattempt (when attempting to build something)
 [ADDED] Extended Lua commands to get tables of player IDs/item IDs
 [ADDED] Lua Command playerweapons player (return table with carried items)
 [ADDED] Lua Command hostage id value (return hostage values)
 [ADDED] Lua Command object id value (return object [building] values)
 [ADDED] Laser Mine
 [ADDED] Portal Gun
 [ADDED] Teleporter Entrance building
 [ADDED] Teleporter Exit building
permanent link | flag offensive
answered 2010-07-21 14:03:00.889467
41
add comment
Your answer:
You are now not logged in but you can answer first and then login
toggle preview



Tags:

× 1
× 1
× 1
× 1

Asked: 1 year, 7 months ago

Seen: 1,148 times

Last updated: 1 year, 6 months ago

Related questions


Made with Django.