|
| 1 | +==0.1.4a (Available on the publicbeta branch)== |
| 2 | + |
| 3 | +====New features==== |
| 4 | + |
| 5 | +* Shared |
| 6 | +** Overhauled the logging system to support unicode (the first of many unicode additions to come) |
| 7 | +** Added console command for profiling Lua modules; usage: profiler_sample {{Arg|number_of_seconds}} |
| 8 | +
|
| 9 | +* Server |
| 10 | +** Added [[Lua/Server/SQL/Functions/GetLastInsertId|SQL:GetLastInsertId]] |
| 11 | +
|
| 12 | +* Client |
| 13 | +** Added [[Lua/Shared/AssetLocation|AssetLocation]].Base64, which enables images to be loaded from Base64 strings as a temporary solution until Steam Workshop is integrated |
| 14 | +** Added [[Lua/Client/ClientParticleSystem|ClientParticleSystem]] |
| 15 | +** Added [[Lua/Client/ClientLight|ClientLight]] |
| 16 | +** Added {{Arg|timeout}} parameter to [[Lua/Client/ClientSound/Static Functions/Play|ClientSound.Play]] and [[Lua/Client/ClientEffect/Static Functions/Play|ClientEffect.Play]] |
| 17 | +
|
| 18 | +====Bug fixes==== |
| 19 | + |
| 20 | +* Server |
| 21 | +** Reverted changes to SQL which were causing massive memory leaks |
| 22 | +*** Note: This change was made before release to prevent server crashes related to SQL errors. If you encounter an SQL error which then crashes the server some time later, please report it. |
| 23 | +** Fixed Vector2() and Vector3() returning uninitialized data on linux |
| 24 | +
|
| 25 | +* Client |
| 26 | +** Fixed StaticObject related crash |
| 27 | +** Fixed [[Lua/Server/Vehicle/Functions/SetColors|Vehicle:SetColors]] to properly support mounted guns and ailerons |
| 28 | +** Fixed Game:GetState returning 0 for menu and loading screen |
| 29 | +** Fixed ClientEntity:GetId not being exposed |
| 30 | +** GWEN: Fixed crash when unsubscribing from current event |
| 31 | +** GWEN: Removing the active TabButton will now select another available tab |
| 32 | +** GWEN: Fixed BaseWindow's Blur event not always being called |
| 33 | +** GWEN: Fixed crash when using GroupBox:RemoveAllChildren |
| 34 | +** GWEN: BaseWindow functions GetNumChildren, GetChildren, and RemoveAllChildren now only act on user-created controls |
| 35 | +
|
| 36 | +==0.1.4 patch - 2014 March 14== |
| 37 | + |
| 38 | +====Bug fixes==== |
| 39 | + |
| 40 | +* Client |
| 41 | +** Fixed a very prevalent crash caused by other players having DLC weapons which you don't own |
| 42 | +** Fixed Explosion deaths being incorrectly attributed to the player with the ID of 0 |
| 43 | +** Fixed TabButton crash when using TabControl:RemovePage at certain times |
| 44 | +
|
| 45 | +==0.1.4 - 2014 March 12== |
| 46 | + |
| 47 | +====New features==== |
| 48 | + |
| 49 | +* Shared |
| 50 | +** Added the ability to set custom values on players, which are synchronized across modules and (optionally) server/client |
| 51 | +*** Player:GetValue ([[Lua/Server/Player/Functions/GetValue|server]] and [[Lua/Client/Player/Functions/GetValue|client]]) |
| 52 | +*** Player:SetValue ([[Lua/Server/Player/Functions/SetValue|server]] and [[Lua/Client/Player/Functions/SetValue|client]]) |
| 53 | +*** [[Lua/Server/Player/Functions/SetNetworkValue|Player:SetNetworkValue]] (server) |
| 54 | +*** [[Lua/Events/Shared/PlayerValueChange|PlayerValueChange]] event |
| 55 | +*** [[Lua/Events/Shared/PlayerNetworkValueChange|PlayerNetworkValueChange]] event |
| 56 | +** Added events [[Lua/Events/Shared/EntitySpawn|EntitySpawn]] and [[Lua/Events/Shared/EntityDespawn|EntityDespawn]] |
| 57 | +** Added vehicle invulnerability |
| 58 | +*** Server: Added invulnerable argument to Vehicle.Create |
| 59 | +*** Server: Added [[Lua/Server/Vehicle/Functions/GetInvulnerable|Vehicle:GetInvulnerable]] and [[Lua/Server/Vehicle/Functions/SetInvulnerable|Vehicle:SetInvulnerable]] |
| 60 | +*** Client: Added [[Lua/Client/Vehicle/Functions/GetInvulnerable|Vehicle:GetInvulnerable]] |
| 61 | +** Added events: |
| 62 | +*** [[Lua/Events/Shared/EntitySpawn|EntitySpawn]] |
| 63 | +*** [[Lua/Events/Shared/EntityDespawn|EntityDespawn]] |
| 64 | +** Vastly improved Lua error messages and made them much more usable |
| 65 | +** Added a global Lua include directory, under lua/autorun/, that can be used to inject code into other modules under IKnowWhatImDoing |
| 66 | +** [[Lua/Shared/SteamId|SteamId]] can now be passed in Events:Fire and Network:Send/Broadcast |
| 67 | +** [[Lua/Shared/Timer|Timer]] can now be passed in Events:Fire |
| 68 | +** Added an optional second argument to 'class' that lets you specify a parent table |
| 69 | +** Improved Timer accuracy, added [[Lua/Shared/Timer/Functions/GetMinutes|GetMinutes]] and [[Lua/Shared/Timer/Functions/GetHours|GetHours]] |
| 70 | +
|
| 71 | +* Server |
| 72 | +** Added [[Lua/Events/Server/EntityRemove|EntityRemove]] event |
| 73 | +** Added [[Lua/Server/Server/Functions/GetModules|Server:GetModules]] |
| 74 | +
|
| 75 | +* Client |
| 76 | +** Added [[Lua/Client/ClientEffect|ClientEffect]] |
| 77 | +** Added [[Lua/Client/ClientSound|ClientSound]] |
| 78 | +** Added [[Lua/Client/ClientStaticObject|ClientStaticObject]] |
| 79 | +** Added [[Lua/Client/Player/Functions/GetBoneAngle|Player:GetBoneAngle]] |
| 80 | +** [[Lua/Client/Player/Functions/GetBones|Player:GetBones]] now returns a table of {position, angle} tables |
| 81 | +** Added an 'entity' field to [[Lua/Client/Physics/Functions/Raycast|Physics:Raycast]] |
| 82 | +** Added Vehicle functions: |
| 83 | +*** [[Lua/Client/Vehicle/Functions/GetBoundingBox|GetBoundingBox]] |
| 84 | +*** [[Lua/Client/Vehicle/Functions/GetCenterOfMass|GetCenterOfMass]] |
| 85 | +** Added [[Lua/Client/Game|Game]] functions: |
| 86 | +*** [[Lua/Client/Game/Functions/GetHeat|GetHeat]] |
| 87 | +*** [[Lua/Client/Game/Functions/SetHeat|SetHeat]] |
| 88 | +*** [[Lua/Client/Game/Functions/ResetHeat|ResetHeat]] |
| 89 | +** Added [[Lua/Client/Game/Functions/ShowPopup|Game:ShowPopup]] |
| 90 | +** Added [[Lua/Client/Image/Static Functions/Create|Image.Create]](hash), allowing for loading images from hash |
| 91 | +** Added [[Lua/Client/BaseWindow|BaseWindow]] functions, which make controls automatically resize based on their parent: |
| 92 | +*** [[Lua/Client/BaseWindow/Functions/SetSizeAutoRel|SetSizeAutoRel]] |
| 93 | +*** [[Lua/Client/BaseWindow/Functions/SetWidthAutoRel|SetWidthAutoRel]] |
| 94 | +*** [[Lua/Client/BaseWindow/Functions/SetHeightAutoRel|SetHeightAutoRel]] |
| 95 | +** Added BaseWindow functions: |
| 96 | +*** [[Lua/Client/BaseWindow/Functions/SetWidthRel|SetWidthRel]] |
| 97 | +*** [[Lua/Client/BaseWindow/Functions/SetHeightRel|SetHeightRel]] |
| 98 | +*** [[Lua/Client/BaseWindow/Functions/GetWidthRel|GetWidthRel]] |
| 99 | +*** [[Lua/Client/BaseWindow/Functions/GetHeightRel|GetHeightRel]] |
| 100 | +** Added [[Lua/Client/Button|Button]] functions: |
| 101 | +*** [[Lua/Client/Button/Functions/SetTextNormalColor|SetTextNormalColor]] |
| 102 | +*** [[Lua/Client/Button/Functions/SetTextPressedColor|SetTextPressedColor]] |
| 103 | +*** [[Lua/Client/Button/Functions/SetTextHoveredColor|SetTextHoveredColor]] |
| 104 | +*** [[Lua/Client/Button/Functions/SetTextDisabledColor|SetTextDisabledColor]] |
| 105 | +** Split StaticObject into BaseStaticObject and StaticObject |
| 106 | +** Added [[Lua/Client/TreeNode/Functions/GetLabel|TreeNode:GetLabel]] |
| 107 | +** Added [[Lua/Client/TreeNode|TreeNode]] functions for getting/setting various text colors |
| 108 | +** SAM sites no longer spawn in the game |
| 109 | +
|
| 110 | +====Bug fixes==== |
| 111 | + |
| 112 | +* Shared |
| 113 | +** The hard limit of 65536 entities was increased to ~4 billion |
| 114 | +** Improved player color generation algorithm; the saturation range is now between 0.5 and 0.75 |
| 115 | +** Removed Vector3 compression when using Network:Send due to horrible precision loss |
| 116 | +
|
| 117 | +* Server |
| 118 | +** Fixed crash when a Lua event was broadcasted during unloadall |
| 119 | +
|
| 120 | +* Client |
| 121 | +** Fixed crash when calling GetPosition/GetAngle on a partially-spawned StaticObject |
| 122 | +** Fixed StaticObject crash when updating position of a non-existent model |
| 123 | +** Fixed occasional crash when removing GWEN controls, such as removing a control and its parent at the same time |
| 124 | +** Fixed TabControl related crashes when removing a TabButton or its page, as well as pages sometimes staying around |
| 125 | +** [[Lua/Server/Vehicle/Functions/SetColors|Vehicle:SetColors]] will now update the vehicle's colors immediately |
| 126 | +** Fixed 'connect ip:port' console command not working when a port is provided |
| 127 | +** Added client-side protection against the edge case of spawning invalid weapon models |
| 128 | +** Fixed 'reconnect' not working if server is passworded |
| 129 | +** Aliased 'force_connect' to 'connect' |
| 130 | +** Fixed some GWEN events not working |
| 131 | +** Edited the GWEN skin to give a dark theme to Trees and PropertyTrees |
| 132 | +** Improved TextBox cursor behaviour |
| 133 | +** Fixed mouse cursor not being updated immediately after Mouse:SetVisible |
| 134 | +** Moved [[Lua/Shared/AssetLocation|AssetLocation]] to shared |
| 135 | +** GroupBox:SetPadding no longer affects the title text |
| 136 | +** ListBox and SortedList are now affected by SetBackgroundVisible. |
| 137 | +** Fixed [[Lua/Client/SortedList/Functions/Sort|SortedList:Sort]] crash with bad column |
| 138 | +
|
| 139 | +==0.1.3 - 2014 January 30== |
| 140 | + |
| 141 | +====New features==== |
| 142 | + |
| 143 | +* Shared |
| 144 | +** Added a __type property to JC2-MP classes that returns the type of the value as a string |
| 145 | +
|
| 146 | +* Client |
| 147 | +** Added [[Lua/Client/BaseWindow/Functions/SizeToChildren|BaseWindow:SizeToChildren]] |
| 148 | +** Added [[Lua/Client/StaticObject/Functions/GetBoundingBox|StaticObject:GetBoundingBox]] |
| 149 | +** [[Lua/Client/ScrollControl|ScrollControl]]: Renamed SetScroll/GetScroll to SetScrollable/GetScrollable, removed UpdateScrollBars |
| 150 | +
|
| 151 | +====Bug fixes==== |
| 152 | + |
| 153 | +* Shared |
| 154 | +** Fixed [[Lua/Shared/Functions/IsValid|IsValid]](StaticObject) not working |
| 155 | +
|
| 156 | +* Client |
| 157 | +** Fixed a major crash related to looking at StaticObjects |
| 158 | +** Fixed crash when removing a GWEN object in its own event. |
| 159 | +** Fixed crash when an invalid index was provided to [[Lua/Client/PageControl|PageControl]] functions ShowPage and GetPage |
| 160 | +** Fixed [[Lua/Client/TextBox|TextBox]] and chat window cursors being offset |
| 161 | +** Main menu buttons are now correctly sized |
| 162 | +
|
| 163 | +==0.1.2 - 2014 January 23== |
| 164 | + |
| 165 | +====New features==== |
| 166 | + |
| 167 | +* Shared |
| 168 | +** Reenabled Lua's debug functions |
| 169 | +** Removed Events functions: FireRegisteredEvent, Register and Unregister |
| 170 | +** Added ([http://en.wikipedia.org/wiki/Web_colors#X11_color_names websafe]) constants to [[Lua/Shared/Color|Color]] |
| 171 | +** Added common vector constants ([[Lua/Shared/Vector2#Statics|Vector2]], [[Lua/Shared/Vector3#Statics|Vector3]]) |
| 172 | +** Added [[Lua/Shared/Transform2/Functions/Invert|Transform2:Invert]] and [[Lua/Shared/Transform3/Functions/Invert|Transform3:Invert]] |
| 173 | +** Added [[Lua/Server/StaticObject|StaticObject]], allowing you to spawn most objects from the game |
| 174 | +** [[Lua/Tutorials/Reference/GetAimTarget|Player/LocalPlayer:GetAimTarget]] return table now has an entity variable |
| 175 | +
|
| 176 | +* Server |
| 177 | +** Replaced OGP with GameSpy4 query protocol, making it possible to connect to a server when Announce = false, as well as improving server stability |
| 178 | +** Added [[Lua/Server/Player/Functions/GetIP|Player:GetIP]] |
| 179 | +** Unhandled packet warnings now print the source IP address |
| 180 | +** Added [[Lua/Shared/Console/Functions/Run|Console:Run]] allowing scripts to run console commands (requires IKnowWhatImDoing config enabled) |
| 181 | +** Added the [[Lua/Events/Server/PlayerWorldChange|PlayerWorldChange]] Lua event |
| 182 | +** Removed CellSize in config.lua; merged PlayerStreamDistance, VehicleStreamDistance and CheckpointStreamDistance into one StreamDistance variable |
| 183 | +
|
| 184 | +* Client |
| 185 | +** Added highlighted servers to server browser ([http://www.jc-mp.com/forums/index.php/topic,4445.0.html request thread]) |
| 186 | +** Added [[Lua/Client/BaseWindow|BaseWindow]] functions SetWidth, SetHeight, GetWidth, GetHeight, RelativeToAbsolute and AbsoluteToRelative |
| 187 | +** Added [[Lua/Client/Label|Label]] functions GetTextSize and SetTextSize |
| 188 | +** Added [[Lua/Client/TableRow|TableRow]] functions (Get/Set) BackgroundEvenColor, BackgroundOddColor, BackgroundHoverColor, BackgroundEvenSelectedColor, BackgroundOddSelectedColor |
| 189 | +** Added the [[Lua/Events/Client/LocalPlayerWorldChange|LocalPlayerWorldChange]] Lua event |
| 190 | +** Added [[Lua/Client/BaseWindow/Functions/Subscribe|BaseWindow:Subscribe]] with the events HoverEnter, HoverLeave, Focus, Blur, PreRender, Render, and PostRender |
| 191 | +** Added [[Lua/Client/Render/Functions/SetClip|Render:SetClip]] |
| 192 | +** Added the [[Lua/Events/Client/MouseUp|MouseUp]] Lua event |
| 193 | +** Added [[Lua/Client/Game/Functions/GetTime|Game:GetTime]] to get the time of the current world |
| 194 | +
|
| 195 | +====Bug fixes==== |
| 196 | + |
| 197 | +* Shared |
| 198 | +** Attempting to access invalid static Lua class variables now returns nil instead of erroring |
| 199 | +** Changed static gettable for Lua classes to also return instance methods; i.e. you can get Player.SendChatMessage without requiring an actual player |
| 200 | +** Fixed Vector2 and Vector3 default constructors having uninitialised components |
| 201 | +** Time is now properly synced across all worlds, not just DefaultWorld; clients also receive the time every 30 seconds to prevent drift |
| 202 | +** Fixed negative timestep from halting at midnight |
| 203 | +
|
| 204 | +* Server |
| 205 | +** IKnowWhatImDoing now unlocks more, including os and io functions |
| 206 | +
|
| 207 | +* Client |
| 208 | +** Fixed a very prevalent crash related to invalid data being passed into JC2's landscape code |
| 209 | +** Fixed crash when unloading a module with a modal window |
| 210 | +** More crash fixes |
| 211 | +** Player is now made vulnerable after disconnecting from a server |
| 212 | +** Fixed passing LocalPlayer through Events:Fire not working |
| 213 | +** Fixed (parent, name) GWEN constructors not applying the name |
| 214 | +** Changed default server browser sort to lowest ping |
| 215 | +** Fixed vehicles sometimes becoming invulnerable when being repaired |
| 216 | +** Fixed sometimes dying inside terrain after CalcView reenables the local player |
| 217 | +** Fixed Window:DisableResizing not working |
| 218 | +** Clamped font size from 0 to 512 |
| 219 | +** Increased font size on main menu |
| 220 | +** Menu/console windows are now resized on resolution change |
| 221 | +** Changed GWEN Slider background line to white to improve visibility |
| 222 | +** Fixed ProgressBar:SetCycleSpeed not updating the auto label |
| 223 | +** Fixed BaseWindow:__eq being undefined |
| 224 | +** Fixed scrollbar being invisible in a GWEN Tree |
| 225 | +** Fixed infinite loop in GWEN when labels with word wrap are too small |
| 226 | +** Fixed labels with word wrap not being docked correctly |
| 227 | +** Fixed cursor not showing up for all corners of a window |
| 228 | +
|
| 229 | +==0.1.1 - 2013 December 21== |
| 230 | + |
| 231 | +====New features==== |
| 232 | +* Shared |
| 233 | +** Removed registration requirement from events firing; Events:FireRegisteredEvent is now [[Lua/Shared/Events/Functions/Fire|Events:Fire]] and Events:Register/Unregister are deprecated |
| 234 | +** Added argument-less version of Events:Fire |
| 235 | +** Prevented 'load' Lua function from loading bytecode, increasing security |
| 236 | +
|
| 237 | +* Client |
| 238 | +** Added [[Lua/Events/Client/GameLoad|GameLoad]] event for exiting the loading screen |
| 239 | +** Exposed [[Lua/Client/PasswordTextBox|PasswordTextBox]] and [[Lua/Client/TextBoxMultiline|TextBoxMultiline]] |
| 240 | +** Added [[Lua/Client/TableRow/Functions/GetCellContents|TableRow:GetCellContents]] |
| 241 | +** Added [[Lua/Client/TabControl/Functions/SetCurrentTab|TabControl:SetCurrentTab]] |
| 242 | +
|
| 243 | +* Server |
| 244 | +** Added support for loading C packages in Lua, allowing for the use of LuaSocket, LuaSQL, etc |
| 245 | +** Added IKnowWhatImDoing configuration variable to selectively enable the use of unsafe Lua functionality |
| 246 | +
|
| 247 | +====Bug fixes==== |
| 248 | +* Client |
| 249 | +** Fixed client deadlocking on exit |
| 250 | +** Fixed evenness in GWEN ListBox backgrounds not being preserved in a sort |
| 251 | +** Fixed [[Lua/Client/ListBox/Functions/Clear|ListBox:Clear]] and [[Lua/Client/SortedList/Functions/Clear|SortedList:Clear]] not working |
| 252 | +** Fixed [[Lua/Client/TableRow/Functions/SetTextColor|TableRow:SetTextColor]] not working |
| 253 | +** Fixed broken world on respawn; collisions with world objects should now work |
| 254 | +** Fixed non-ideal performance for [[Lua/Client/Render/Functions/GetTextWidth|GetTextWidth]]; now optimized |
| 255 | +** Fixed server browser query continuing even after the server browser was closed |
| 256 | +** Fixed bug where the player would be entered into a vehicle before they finished teleporting |
| 257 | +** Fixed crash when attempting to get non-existent userdata on a GWEN object |
| 258 | +** Fixed crash when attempting to get/set non-existent cell contents on [[Lua/Client/TableRow|TableRow]] |
| 259 | +** Fixed DirectX Error Code 4 upon launching; unsupported code for certain graphics cards |
| 260 | +
|
| 261 | +* Server |
| 262 | +** Fixed banned players being unable to reconnect upon being unbanned |
| 263 | +** Fixed [[Lua/Server/UDPSocket|UDPSocket]] crashing upon destruction |
| 264 | +
|
| 265 | +* Shared |
| 266 | +** Fixed Player.Match only returning results where the query could be found at the start of the name |
| 267 | +
|
| 268 | +==0.1.0 - 2013 December 16== |
| 269 | + |
| 270 | +* JC2-MP released on Steam. |
0 commit comments