ZH-CN/1.5.1 版本新特性: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Changelogs}} == Main Additions / Changes == * Added "shared" export type in meta.xml * Added Lua source encryption option * Added the ability to cancel onClientKey * Added esc...")
 
Line 1: Line 1:
{{Changelogs}}
{{Changelogs}}


== Main Additions / Changes ==
== 主要添加 / 修改 ==
* Added "shared" export type in meta.xml
* 在 meta.xml 中添加 "shared" 导出类型
* Added Lua source encryption option
* 添加 Lua 源代码加密选项
* Added the ability to cancel onClientKey
* Added the ability to cancel onClientKey
* Added escape to onClientKey (can't be cancelled twice in a row)
* Added escape to onClientKey (can't be cancelled twice in a row)
* Added SettingHUDMatchAspectRatio, SettingAspectRatio to dxGetStatus
* 添加 SettingHUDMatchAspectRatio, SettingAspectRatio dxGetStatus




=== Client ===
=== 客户端 ===


----
----


==== New Functions ====
==== 新增函数 ====
* Added [[playSFX]]
* 添加 [[playSFX]]
* Added [[playSFX3D]]
* 添加 [[playSFX3D]]
* Added [[getSFXStatus]]
* 添加 [[getSFXStatus]]
* Added [[setHeliBladeCollisionsEnabled]]
* 添加 [[setHeliBladeCollisionsEnabled]]
* Added [[getHeliBladeCollisionsEnabled]]
* 添加 [[getHeliBladeCollisionsEnabled]]
* Added [[getEventHandlers]]
* 添加 [[getEventHandlers]]




==== New Events ====
==== 新增事件 ====




==== Changes / Bug Fixes ====
==== 修改 / Bug 修复====
* Fixed vehicle upgrades
* Fixed vehicle upgrades
* Fixed warpPedIntoVehicle causing desync when two players try to enter at the same time via vehicle_enter and warpPedIntoVehicle
* Fixed warpPedIntoVehicle causing desync when two players try to enter at the same time via vehicle_enter and warpPedIntoVehicle
* Fixed map editor crash
* 修复地图编辑器的崩溃
* Fixed debug filename for compiled scripts
* 修复编译完成的调试文件名
* Fixed applying weapon mods may remove your weapon
* 修复使用武器mod可能删除你的武器
* Fixed crash when streaming in tec-9 with a replaced weapon model
* 修复替换武器模型在流入 tec-9 是发生的崩溃
* Fixed console(F8) input focus begin lost sometimes
* 修复控制台(F8)输入时发生的焦点丢失
* Fixed building removal crashing after loading/unloading a model 16 times
* 修复加载/卸载 16 次模型之后,构建删除奔溃
* Fixed projectile-type weapons messing up ammo count
* 修复投掷类武器弹药计数混乱
* Fixed guiCreateFont fails each second time resource is started
* 修复每个资源第二次加载时调用 guiCreateFont 发生的失败
* Fixed client ammo desync when using giveWeapon sometimes
* 修复有时使用 giveWeapon 客户端弹药数量不同步
* Fixed guiLabelGetTextExtent not working with unicode
* 修复 unicode 下 guiLabelGetTextExtent 的不正常工作
* Fixed onColShapeHit isn't triggered for towed vehicles server side
* 修复服务端牵引交通工具时不触发 onColShapeHit
* Fixed GUI scrollpanes and scrollbars don't trigger onClientMouseEnter/Leave
* 修复 GUI 滚动滚动条不触发 onClientMouseEnter/Leave
* Fixed warpPedIntoVehicle after cancelEvent() of onVehicleStartEnter causes network trouble
* 修复 onVehicleStartEnter 在 warpPedIntoVehicle 之后 cancelEvent() 网络故障原因
* Fixed onPedWasted not triggered, when ped died because the vehicle he was in, exploded
* Fixed onPedWasted not triggered, when ped died because the vehicle he was in, exploded
* Fixed server createColPolygon
* 修复服务器 createColPolygon
* Fixed a crash when destroying an object in onClientColShapeHit / onClientElementColShapeHit
* Fixed a crash when destroying an object in onClientColShapeHit / onClientElementColShapeHit
* Fixed lightweight sync packet being misread on the client sometimes
* Fixed lightweight sync packet being misread on the client sometimes
Line 51: Line 51:




=== Server ===
=== 服务端 ===


----
----


==== New Functions ====
==== 新增函数 ====




==== New Events ====
==== 新增事件 ====




==== Changes / Bug Fixes ====
==== 修改 / Bug 修复 ====




=== Resources ===
=== 资源 ===
* Added sfxbrowser resource
* 添加 sfxbrowser 资源
* Fixed instant reload exploits for the reload resource
* Fixed instant reload exploits for the reload resource
* Fixed 'Use LODs' option in the map editor resource
* 修复 地图编辑器资源中的 'Use LODs' 选项
* Fixed various things in admin, acpanel, freeroam, parachute and race resources
* 修复 admin, acpanel, freeroam, parachute race 资源中一些问题


=== Editor ===
=== 编辑器 ===


==Extra information==
==Extra information==

Revision as of 16:42, 15 January 2014

MTA:SA Releases Changelog Pages
1.0 1.0.0 • 1.0.1 • 1.0.2 • 1.0.3 • 1.0.4
1.1 1.1.0 • 1.1.1
1.2 1.2.0
1.3 1.3.01.3.11.3.21.3.31.3.41.3.5
1.4 1.4.01.4.1
1.5 1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.9
1.6 1.6.01.6.1

主要添加 / 修改

  • 在 meta.xml 中添加 "shared" 导出类型
  • 添加 Lua 源代码加密选项
  • Added the ability to cancel onClientKey
  • Added escape to onClientKey (can't be cancelled twice in a row)
  • 添加 SettingHUDMatchAspectRatio, SettingAspectRatio 到 dxGetStatus


客户端


新增函数


新增事件

修改 / Bug 修复

  • Fixed vehicle upgrades
  • Fixed warpPedIntoVehicle causing desync when two players try to enter at the same time via vehicle_enter and warpPedIntoVehicle
  • 修复地图编辑器的崩溃
  • 修复编译完成的调试文件名
  • 修复使用武器mod可能删除你的武器
  • 修复替换武器模型在流入 tec-9 是发生的崩溃
  • 修复控制台(F8)输入时发生的焦点丢失
  • 修复加载/卸载 16 次模型之后,构建删除奔溃
  • 修复投掷类武器弹药计数混乱
  • 修复每个资源第二次加载时调用 guiCreateFont 发生的失败
  • 修复有时使用 giveWeapon 客户端弹药数量不同步
  • 修复 unicode 下 guiLabelGetTextExtent 的不正常工作
  • 修复服务端牵引交通工具时不触发 onColShapeHit
  • 修复 GUI 滚动滚动条不触发 onClientMouseEnter/Leave
  • 修复 onVehicleStartEnter 在 warpPedIntoVehicle 之后 cancelEvent() 网络故障原因
  • Fixed onPedWasted not triggered, when ped died because the vehicle he was in, exploded
  • 修复服务器 createColPolygon
  • Fixed a crash when destroying an object in onClientColShapeHit / onClientElementColShapeHit
  • Fixed lightweight sync packet being misread on the client sometimes
  • Fixed getLatentEventHandles sometimes returning false instead of an empty table
  • Fixed setAccountData clips the digits after the decimal point
  • Fixed peds/players being removed from vehicles that fall through the ground


服务端


新增函数

新增事件

修改 / Bug 修复

资源

  • 添加 sfxbrowser 资源
  • Fixed instant reload exploits for the reload resource
  • 修复 地图编辑器资源中的 'Use LODs' 选项
  • 修复 admin, acpanel, freeroam, parachute 和 race 资源中一些问题

编辑器

Extra information

More detailed information available on Bug tracker Changelog and Google Code repositories: