ZWWoOoOo https://zww.me 因为喜欢所以折腾...无折腾不铁血! Fri, 19 Nov 2021 07:42:31 +0000 zh-CN hourly 1 https://wordpress.org/?v=5.8.2 iOS 开发者证书不受信任的解决方法 https://zww.me/ios-developer-certificate-untrusted-solution.z-turn https://zww.me/ios-developer-certificate-untrusted-solution.z-turn#respond Fri, 19 Nov 2021 07:41:59 +0000 https://zww.me/?p=27166 最近要增加公司的 iOS App 的功能,需要重新生成各种证书,发现 Macbook Pro 导入开发者证书后,提示“证书不受信任”,如下图:

网上搜了一下原因和解决方法,发现都写的啰里吧嗦还不把全部下载链接放出来,这里直接贴:把下面2个 AppleWWDRCA 证书下载并导入即可。

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer

又或者(没试)重新安装 Xcode 即可解决。

转载请注明转自: 《iOS 开发者证书不受信任的解决方法

]]>
https://zww.me/ios-developer-certificate-untrusted-solution.z-turn/feed 0
ja2_7609+AI 中文版 r2229 > r2258 https://zww.me/ja2_7609ai-cn-r2229.z-turn https://zww.me/ja2_7609ai-cn-r2229.z-turn#comments Fri, 22 Oct 2021 07:59:51 +0000 https://zww.me/?p=27147 详情《JA2 1.13 稳定版 AI 增强 MOD【中文版】》。(建议下载 sevenfm 的一键包(7609en+Modpack.7z)看看新加的设置文件)

PS:r2229有bug(源码缺文件,已叫MOD作者sevenfm修正),更新到r2258,并且kmoi帮忙更新了一些新增的中文翻译,感谢

由于没时间玩,所以没细看,好像比较大的变化如下来自 sevenfm 的 log 说明:

r2206

As a part of UI domestication project, we now have new action panel, which allows quick tactical actions from SM (merc inventory) panel with just one click.
This panel supports: calling tactical menus (skills menu, sector menu, help screen), doing actions (reload, disguise, refill canteens), changing cover/trap overlay mode, manipulating sector items (merging, stacking etc).
This panel may be enabled/disabled from the ingame settings.
Also battle statistics panel now is displayed on the right side of widescreen team interface, it can also be enabled/disabled in the ingame settings (statistics panel is feature by anv from VR project).

Changelog:
Implemented action panel in SM interface.
Moved statistics panel to right side.
New ingame options: statistics panel, action panel.
Removed option EXTENDED_PANELS_ON from Extended_Panels.INI.

Propaganda assignment with snitches:
- scale propaganda effect with sector loyalty level, 100% effectiveness at 0% loyalty, 0% effectiveness at 100% loyalty
- having snitch on propaganda assignment costs 10$/hour when he is not sleeping (not charged for propaganda facilities as they have their own cost)
- reduce propaganda effectiveness if player has no money.

Restore messages in tactical log panel when loading game.
Added new mode for text panel: hotkey list, loaded from hotkey.txt in game root folder.
Example from hotkey.txt:

[ Selection ]
F1-F10: Select merc / move to
SPACE: Select next merc
SHIFT+SPACE: Select next squad
[=] (equals): Select all mercs
1-0: Switch to squad
[/] (slash): Center on merc
ALT+F: Keep screen on merc

":" makes text before this char to change color to dark yellow (to make hotkey easily distinguishable)
"[ " and " ]" make text line to change color to light grey and also the line is centered (used for hotkey section)

Text log panel: only switch to AI/Debug mode in cheat mode (normal users don't need this information).
Added help tooltip to text panel (mouse wheel to scroll, right click to change mode), this tooltip deactivates if you scroll or right click on panel to make it less annoying.
No instant merc death option: lowered damage to health when wounding below OKLIFE (should make merc surviving in no instant death mode a bit easier).

r2210
Implemented action panel for team panel mode.
Only limited number of most used actions displayed.

r2242(貌似是操作伪装[针对间谍技能的佣兵]更加方便,看sevenfm发的视频)
New ingame option to show danger zones for covert merc where he will be uncovered on close look, for example because having restricted items in inventory.
In peaceful mode the distance for close look is 1 tile, increased by 1 tile for each squadleader trait of enemy.
When alert is raised, this distance equals enemy experience level / 2.
In this demo, Mouse will be uncovered because she has knife in inventory.

 

r2047~r2258log

r2258
Updated Chinese translation (by zwwooooo).
---------------------
r2257
Uploaded missing file.
---------------------
r2256
QOL change: if the last movement mode prior to climbing down the roof was running, it won't be reset to walking (by shadooow).
---------------------
r2255
Updated vs2010 project to include XML_AdditionalTileProperties.cpp
---------------------
r2254
Chinese translation update (by zwwooooo).
---------------------
r2253
Fixed regression that caused mercs to keep their direction&animation when moving into another sector (by Shadooow).
---------------------
r2252
Improved feature for preventing instant merc/boxer death - limit remaining health to 1 - 5 points (2 - 6 for bodybuilder), limit remaining health for zombie to 5-10.
---------------------
r2251
HandleStanceChangeFromUIKeys, HandleTBSoldierRun improved code for changing stance/starting running mode when soldier is cowering or collapsed.
---------------------
r2250
Fixed collapsed soldiers sometimes not being able to get up when they should have until next player round (by Shadooow).
---------------------
r2249
Detaching attachment will no longer check for 12AP more than it should, this was kind of safety check, but it is confusing and not needed anymore (by Shadooow).
---------------------
r2248
Code improvements in autoresolve, fix possible bugs in signed/unsigned calculations.
---------------------
r2247
Reverted r2152: reloading sector with merc inside will no longer reset their animation and direction (by Shadooow).
---------------------
r2246
Fix: using an item will now close EDB if opened, this fixed bug where attaching a 40mm grenade into laucher via EDB box and firing from it without closing it didn't substract AP for attaching the grenade (by Shadooow). When disarming tripwi...
---------------------
r2245
When attaching launchable to launcher, use launcher's reload AP cost. When playing reload sounds, set volume and pan based on soldier's location.
---------------------
r2244
GetReliability: attached weapons should not add reliability.
---------------------
r2243
Use camo pallette for soldier/corpse if max camo value >= 65. Reworked custom gun pictures to correctly show attachment is there are several attachments with the same class.
---------------------
r2242
Always uncover civilian spy on close look at night.
---------------------
r2241
Added new ingame option "Show danger zones", if enabled, will show zones around enemy soldiers where cover merc will be uncovered. Close look distance for testing disguise increases if enemy soldier is alerted or has squadleader trait. Unco...
---------------------
r2240
Disabled marking uniform type as compromised when uncovering spy. Renamed soldier radio flags.
---------------------
r2239
Doubled camo kit use points when applying camo.
---------------------
r2238
GetSightAdjustmentCamouflageOnTerrain: fixed scaler calculation. GetDetailedSightAdjustmentCamouflageOnTerrain: - fixed scaler calculation - use max from camo types limited by affinity to determine cover effectiveness on tile
---------------------
r2237
GetDetailedSightAdjustmentCamouflageOnTerrain: scale camo with affinity. GetSightAdjustmentCamouflageOnTerrain: minor code improvements.
---------------------
r2236
Removed option CAMO_REMOVING. Removed option ALTERNATE_MULTI_TERRAIN_CAMO_CALCULATION.
---------------------
r2235
ApplyCammo: - always allow cleaning camo with rag - check if we have any camo bonus on kit - decide major camo if it's no less than all other camo types, in this order: jungle/urban/desert/snow - added kit camo is not limited by sum of all ...
---------------------
r2234
Stealth tooltip shows bonus stealth as bonus from background + STEALTH_BONUS. Moved background and skill stealth bonuses from GetWornStealth to GetStealth. GetSightAdjustmentCamouflageOnTerrain: - improved code to avoid casting negative va...
---------------------
r2233
Show max camo value instead of sum in the interface, to give better idea of camo effectiveness.
---------------------
r2232
Show soldiers of highlighted squad with orange color on radar map to quickly see where they are located.
---------------------
r2231
Camo is less effective in darkness (50% effectiveness in full darkness). Improved code for camo calculation in GetSightAdjustment().
---------------------
r2230
EXTENDED_ITEM_IMAGES: show any attachment. Ctrl+Alt+F: show all attachments in Logs\WeaponInfo.txt AI: allow deep water if weight <= 70%
---------------------
r2229
Allow scuba bottle to work from backpack slot for mod compatibility. Changed formula for breath penalty when swimming with carried weight > 50.
---------------------
r2228
Renamed log panel to left panel in the ingame options.
---------------------
r2227
Moved statistics panel to the left side and made it default left panel. Removed ingame option for statistics panel.
---------------------
r2226
Disabled stopping cowering animation at the start of the turn to prevent possible bugs.
---------------------
r2225
Fix: bleeding value not being substracted when losing max hp which resulted into the graphic HP bar having wrong color (by Shadooow).
---------------------
r2224
Fixed min suspicion level calcualtion. Uncover on close look if alert is raised and soldier's uniform class is higher than his covert skill + 1
---------------------
r2223
Fix for swimming weight modifier. Disabled instant spy uncovering in battle. Set suspicion level to 0 when loosing disguise. Set suspicion to min level when disguising, min level is 15 * curfew + 0.7 * ArmyKilledPercent. Increased max dista...
---------------------
r2222
Apply swimming with high carried weight penalty to AI soldiers. Don't allow AI to start deep water flanking if it's non swimmer or carries too much weight or has low breath.
---------------------
r2221
Radio Listen: effect depends on number of APs left unused from last turn (so to have full effect from listening, soldier has to spend full turn doing nothing). Added chance to show heard soldier locator if soldier is listening, depending on...
---------------------
r2220
Fix: mercs in a helicopter can initiate movement by clicking in their destination column, like regular on-foot/in-car movement (by rfrt). Pressing ESC while map movement popup box opened will now cancel the box instead of leaving map into t...
---------------------
r2219
EXTENDED_ITEM_IMAGES: add regular overlay method for adapter (item_id.sti or item_adapter.sti) and stock (item_id.sti or item_stock.sti)
---------------------
r2218
New options: - WHITE_NIGHTS: makes darkness brighter at night - ALWAYS_CLOUDY: makes bright light darker Both options change only visual representation, without affecting ingame light values.
---------------------
r2217
Press Ctrl+Alt+F to save weapon information to Logs\WeaponInfo.txt
---------------------
r2216
Added code to print transformation/attachment information for all weapons to Logs\WeaponInfo.txt
---------------------
r2215
Reactivated NEARBY_FRIENDLIES_AFFECT_TOLERANCE option with simplified calculation: - each friend nearby if not dying, cowering or unconscious, adds +1 - each dying friend adds -1 - each cowering or unconscious adds -0.5 - limit is +-5 point...
---------------------
r2214
Fix/change: the hospital now checks for mercs with damaged stats in addition to damaged health. in addition, the hospital now charges money to heal damaged stats (by rftr).
---------------------
r2213
Fix: loading data for additional tile properties feature.
---------------------
r2212
New Feature: Additional Tile Properties (by anv) - Feature can be completely disabled in .ini as ADDITIONAL_TILE_PROPERTIES under Extended Options. - With Additional Tile Properties it's possible to supply all tiles with additional data, ju...
---------------------
r2211
QOL change: show additional ammo stats at bobby ray's website (by rftr).
---------------------
r2210
Shortened strings for extended panel. Minor code improvements.
---------------------
r2209
Set default DIRECTIONAL_PENALTY = FALSE Added action panel in team mode. Improved code for clearing panel backgrounds.
---------------------
r2208
Update interface after auto reloading gun.
---------------------
r2207
Restored original chances for instakill when using garotte.
---------------------
r2206
Don't initialize action panel if panel width < INTERFACE_PANEL_SMALL (162).
---------------------
r2205
New ingame options: statistics panel, action panel. Removed option EXTENDED_PANELS_ON from Extended_Panels.INI. Implemented action panel in SM interface. Moved statistics panel to right side. Lowered damage for dying merc when "instant deat...
---------------------
r2204
No instant merc death option: lowered damage to health when wounding below OKLIFE.
---------------------
r2203
Added help tooltip to text panel.
---------------------
r2202
Text log panel: only switch to AI/Debug mode in cheat mode.
---------------------
r2201
Added new mode for text panel: hotkey list, loaded from hotkey.txt in game root folder.
---------------------
r2200
Restore messages in tactical log panel when loading game.
---------------------
r2199
When snitch is doing propaganda assignment, reduce propaganda effectiveness if player has no money.
---------------------
r2198
Propaganda assignment with snitches: - scale propaganda effect with sector loyalty level, 100% effectiveness at 0% loyalty, 0% effectiveness at 100% loyalty - having snitch on propaganda assignment costs 10$/hour when he is not sleeping (no...
---------------------
r2197
Disabled additional buttons in old inventory mode as there is no space for them.
---------------------
r2196
Added 2 new buttons to SM panel: skill menu and sector menu. Added new shortcut for skill menu: [Ctrl] + [,] When calling skill menu, center screen on soldier of he is not on visible screen.
---------------------
r2195
Show text left panel when merc inventory is active.
---------------------
r2194
When selecting new squad from squad list, slide to the selected merc in new squad.
---------------------
r2193
Play beep sound when text panel is active. Show messages on screen if team panel is not active. Code cleanup.
---------------------
r2192
ClosestReachableDisturbance: - code optimization, do some checks earlier to avoid path check and other complex calculations - tanks have low priority as reachable opponents if soldier has no heavy weapons - fixed bug when AI could choose un...
---------------------
r2191
New AI function AIGunStatus() AI gun functions: code improvements. CalcManThreatValue: - use double exp. level value - use 1/5 of soldier's marksmanship - modify gun's deadliness by scope and status - subtract half shock percent - 10% penal...
---------------------
r2190
Fixed tactical text panel display.
---------------------
r2189
Separated Tank AI.
---------------------
r2188
AI: - use watching/focusing more often for snipers - allow shooting at unseen target more often if it can be seen with weapon raised - only randomize enemy location for suppression fire when using LMG - don't skip empty location when doing ...
---------------------
r2187
Mercs with the <druguse> tag in their background don't automatically consume drugs/alcohol if they are asleep (by rftr).
---------------------
r2186
Starting gear debug: show message if found magazine with ubCalibre == 0. Tactical text panel: reworked code using std:vector and std::wstring, should be more flexible now and less bug prone, improved text display in tactical text panel.
---------------------
r2185
Improved code for searching magazines: skip empty entry instead of breaking the loop.
---------------------
r2184
DistributeInitialGear: show message of found item with usItemClass = 0 MagazineClassIndexToItemType: don't stop at empty item records as it will prevent game from finding default magazine. DefaultMagazine: don't stop at NOAMMO magazine, ins...
---------------------
r2183
Quest debug logging: improved Converse logging.
---------------------
r2182
Improved quest debug logging code.
---------------------
r2181
Quest debug logs: - show sector name when entering sector - remove QuestInfo.txt when game starts - improved info for init quest engine - fixed incorrect approach text
---------------------
r2180
Quest debug log: - show approach as text - show NPC/Merc name as text - improved log formatting - more logging for NPC actions - show time in quest log file
---------------------
r2179
Quest debug log: added boxing info, trigger NPC info.
---------------------
r2178
Fix: switch tactical panel off when disabled in the ingame options screen. Start debug quest system in cheat mode when [F11] pressed.
---------------------
r2177
Fix: only hide messages from tactical screen if there is enough place for tactical log panel.
---------------------
r2176
Added logging for merc starting gear distribution (Logs\StartingGear.txt)
---------------------
r2175
Fixed clock mouse region not working in team panel in mini radar map mode.
---------------------
r2174
Logging improvements for screen messages/quest/debug logs. Quest logs: show when QUOTE_FLAG_SAID is reset after entering sector. Always fill left/right widescreen panel background with black color. Fixed vertical coord of big radar screen.
---------------------
r2173
Fixed some editor compiling issues. Improved AI logging. Log fact changes in debug log and Logs\\QuestInfo.txt. Improved squad display mode for team panel to show big radar map in widescreen resolutions. Always update squad list background ...
---------------------
r2172
Fixed autobandaging showing up during conversation which caused numerous issues (by Shadooow).
---------------------
r2171
Fixed exploit allowing to steal attachments from vendor items (by Shadooow).
---------------------
r2170
AI: - removed extra flanking code - prohibit flanking too far from enemy except for CUNNINGSOLO - removed extra start flanking code
---------------------
r2169
Renamed tactical panel global variables. Re-enabled tactical panel background.
---------------------
r2168
Re-enabled left/right background panels for widescreen.
---------------------
r2167
Allow EXTENDED_ITEM_IMAGES option to work with tactical panel.
---------------------
r2166
Added support for big custom gun images, new option EXTENDED_ITEM_IMAGES (FALSE by default).
---------------------
r2165
Added more messages when unsuccessfully trying to disguise. Show localized message if found no correct clothes to disguise as soldier or civilian.
---------------------
r2164
Allowed mouse wheel to work in map screen message log area (by Shadooow).
---------------------
r2163
fixed loading games via main menu->preferences->load game not loading them correctly (by Shadooow)
---------------------
r2162
Added helper functions to easier determine gun stats (by Flugente). ADD_SMOKE_AFTER_EXPLOSION option: check that correct smoke grenade item found.
---------------------
r2161
Re-enabled debug physics log, more info when preparing artillery strike.
---------------------
r2160
Fix: missing pointer check (by Flugente).
---------------------
r2159
UseRadio: use StartRadioAnimation. StartRadioAnimation: end ready weapon if soldier cannot start radio animation.
---------------------
r2158
Fix: display for other properties in EDB advanced page uses wrong line (by Flugente).
---------------------
r2157
Added timer fix suggested by Terapevt.
---------------------
r2156
Fix: crash when gas spreads on certain structures (by Flugente).
---------------------
r2155
New feature: left click on the second hand position on a team panel in tactical swaps the current weapon with secondary weapon in sling pocket if any (by Shadooow).
---------------------
r2154
New experimental option GRENADE_CORNER_THROWING allows throwing grenades over corners (feature by Shadooow).
---------------------
r2153
Fix: if a cow dies from gas, no corpse is created (by Flugente).
---------------------
r2152
Fix: reloading sector with merc inside will no longer reset their animation and direction (by Shadooow).
---------------------
r2151
Fix: savegames could be corrupted due to storing implausible map changes (by Flugente).
---------------------
r2150
Accelerated roof destruction calculation (by Flugente).
---------------------
r2149
Fixed endless clock issue persisting after using quickload (by Shadooow).
---------------------
r2148
Fixed cheat command CTRL+U not refilling vehicle fuel correctly (by Shadooow).
---------------------
r2147
Various fixes by Shadooow: - fix: no more moving around with vehicle that has no fuel - fixed: KAC masterkey and other items without attachment flag to work - highlighting fix: hovering over item will now highlight valid attachment that doe...
---------------------
r2146
Fix: flares will no longer explode when delayed but make light (by Shadooow).
---------------------
r2145
Fixed corpses on the roof not being added correctly (by Shadooow).
---------------------
r2144
Fformatting and efficiency changes to previous commit (nu Shadooow).
---------------------
r2143
Fixed memory leak inside corpse placement code causing various issues when entering a town sector (by Shadooow).
---------------------
r2142
Disabled changing assignment on POW mercs to prevent to break them free improperly (by Shadooow).
---------------------
r2141
No battle records for POW mercs (by Shadooow).
---------------------
r2140
Fixes by Shadooow: - fixed newly added merc to current squad not showing up in the panel interface - fixed dead mercs not showing up in the panel interface properly from loaded savegame
---------------------
r2139
Fixed breaking prisoners free via doors (check was executed before door status actually changed which is why it failed), also rewritten hardcoded coords to those from Mod_Settings.ini (by Shadooow).
---------------------
r2138
Partially reverted r2121 to allow door noise for player mercs.
---------------------
r2137
Interrogation cutscene will no longer be started if player fired all POW soldiers that were scheduled to appear there (by Shadooow).
---------------------
r2136
Fix: crash due to overflow as a result of very low reliability values (by Flugente).
---------------------
r2135
Fix: load map modifications before loading items, as altered structures can change items visibility (by Flugente).
---------------------
r2134
Fix: movement costs are not recompiled if a structure is destroyed by gunfire (by Flugente).
---------------------
r2133
Fix: use of uninitialized variables (by Flugente).
---------------------
r2132
Fix: antimateriel bullet damage to structures often isn't properly applied (by Flugente).
---------------------
r2131
Further lowered the damage of Joe punching mercs in interrogation cutscene to prevent him knocking the merc unconscious which resulted to endless clock issue (by Shadooow).
---------------------
r2130
Disabled clearing next AI action in CancelAIAction as it may interfere with scripted actions code.
---------------------
r2129
Fixes by Shadooow: - new fix for endless clock issue in POW cutscene, was actually caused by Elliot trying to do the kick animation which doesn't exists for civilian body type - added missing code from commit fixing melee attack location in...
---------------------
r2128
Fix for endless clock issue in POW cutscene (by Shadooow). Prevented the game to capture more than 3 mercs for rescuing - this also fixes a memory leak as the code accessed array with out of bounds value (by Shadooow).
---------------------
r2127
Fixes for combining items with CTRL + LMB (by Shadooow): - fixed regression causing this to substract APs in mapscreen even with no enemies in sector causing this to fail after several merges - a "Not enough APs!" error will now show when d...
---------------------
r2126
Fixes for running over water (by Shadooow): - merc will continue running after he walks out of last water tile - fixed both pathing prediction AP cost calculation and an actual AP cost deduction when running into water and out of water
---------------------
r2125
Various fixes by Shadooow: - allowed to replace POW IMP char that was removed from team - fixed more issues when replacing dead/pow IMP char like statistics and attributes progress not being erased, reverted old code - better way of handlin...
---------------------
r2124
Fix for duplicated items in inventory when replacing dead IMP (by Shadooow).
---------------------
r2123
Fixed bug that resets melee attack aim location if the attack was stopped in interrupt (by Shadooow).
---------------------
r2122
Ffixed bug when manually placing item from soldier/vehicle inventory to not currently loaded sector inventory bugged the items and made them inaccessible after the sector got loaded (by Shadooow).
---------------------
r2121
Significant overhaul on handling doors regarding to noise (by Shadooow): - significantly increased base noise volume of opening or closing doors - adjusted the noise volume based on type of the door (metal louder etc.) - can with string add...
---------------------
r2120
Fixed can with string executing take blood action when used from spot directly next to doors (by Shadooow).
---------------------
r2119
Deleted now redundant old code for marbles which is no longer executed by game due to said change (by Shadooow).
---------------------
r2118
Fix for undeground sectors showing LS_DAYGENERIC.sti instead of assigned custom loadscreen that is only in PNG format (by Shadooow).
---------------------
r2117
New feature: allowed to re-hire RPCs in case they are fired from team (by Shadooow).
---------------------
r2116
Experimental fix for charging AP for turning at the end of the movement (by Shadooow).
---------------------
r2115
Fixes and improvements by Shadooow: allowed the meanwhile popup box to be handled with keyboard - ESC or n to skip ENTER or o for prompt if all mercs were killed or captured and default arrival sector is Omerta, force helidrop arrival anima...
---------------------
r2114
Various fixes (by Shadooow): Fix: merc dying in different sector than we are in currently will now properly spawn items into sector inventory and game will show the red colored message about him dying fix: vehicles will also not count into ...
---------------------
r2113
Improved the way how marbles works, now it will work already when reaching the gridno where marbles are, not just when trying to exit it (by Shadooow).
---------------------
r2112
Fix for "white face" when saying some quote which happened when the soldier was bleeding in different sector than we are in right now (by Shadooow).
---------------------
r2111
Spread fire fixes in realtime mode (by Shadooow): - fixes spread fire not working properly and shooting elsewhere than assigned - fixes throwing items not working and instead firing from weapon - added the fix shooting to random direction t...
---------------------
r2110
Improved code for wire fence repairing.
---------------------
r2109
Various fixes and improvements (by Shadooow): - fixed handcuffs, jar and can actions AP cost shown calculating pathing cost twice and not calculating stance change at all - fixed refueling and repairing pathing leading to inside vehicle - f...
---------------------
r2108
Reverted PickPocket function change from r2094 as it caused game freeze when applying ammo crate on certain weapons on strategic screen.
---------------------
r2107
Fix for AP cost sometimes not recalculating when changing modes via right click (by Shadooow).
---------------------
r2106
Re-allowed diagonal melee attacks, this time it will work correctly and game actually use this in pathing too, which was not the case before (by Shadooow). Allowed the 1.13 custom message boxes (corpse handling, CTRL+. one etc.) to be escap...
---------------------
r2105
Improved bloodcats targeting against prone targets. Same as previous change for soldiers, now even bloodcats will be able to attack the second tile that is prone target lying at (by Shadooow).
---------------------
r2104
Fix: guns cannot be attached to tripwire as a result of r2083 change.
---------------------
r2103
Removed usMapPos code from HandleItem.
---------------------
r2102
Minor code improvements.
---------------------
r2101
Fix for knife and punch attacks attack from GridNo (by Shadooow). This fixes punching and stabbing target through door and improves attacking at prone target which was previously calculating shortest route only to the "main" GridNo of the p...
---------------------
r2100
Missing code for melee aim cost patch (by Shadooow).
---------------------
r2099
Fixes mouse wheel not working with knife cursor (by Shadooow). Missing part of previous fix (by Shadooow).
---------------------
r2098
Fixes issues with AP costs for aimed melee attack that allowed to make such attack even without required action points. Note for coders - #defines using conditionals needs to be in parenthesis, otherwise they won't work properly when used i...
---------------------
r2097
Improvement for r9018: code uses enums and includes two more cursor states for both knife and punch cursor which were still not showing circles (by Shadooow).
---------------------
r2096
Restoration of aiming circles for melee attacks under NCTH (by Shadooow).
---------------------
r2095
Fix for for using items on enemies on roofs from inside room below. This includes multiple actions like first aid kit, blade or punch that shown path into room below enemy on roof and even allowed to stab from there (with zero chance to hit...
---------------------
r2094
Fixed function PickPocket to work with MOLLE type of LBEs (by Shadooow). Changed code that handles putting medical kit from merc inventory into his main hand to respect pockets restrictions to avoid putting gun into medkit only pocket etc.....
---------------------
r2093
Fix for "bullets too high" sanity check in tilesets with non-zero floor height causing bullets to disappear when firing at roof from too steep degree. + fixed extra parameters inserted into debug messages (compiler warning) (by Shadooow).
---------------------
r2092
Fix for switch weapon shortcuts taking more AP than doing it manually when inventory costs are enabled (by Shadooow). SHIFT+k shortcut on map screen to use same code as in tactical. Made ALT and CTRL +SHIFT+k shortcuts work on map screen (b...
---------------------
r2091
Fixes NPCs going back to cower animation after collapsing which also caused them not to die properly (by Shadooow).
---------------------
r2090
Fix: Not Enough Action Points error triggering needlessly, when doing stuff like reloading ammo, using consumables or changing attachments in map screen during battle with mercs that are not in the sector where battle is occurring (by Shado...
---------------------
r2089
ValidItemAttachmentSlot: item should have <attachment>, <hiddenaddon> tags or be grenade/explosive.
---------------------
r2088
Reverted optimization code which prevented 40mm grenades to load if <attachment> tag is not set in mod (by Shadooow). ValidLaunchable: only grenades and explosives can be launched.
---------------------
r2087
Fix for assertion failure when right clicking on merc assignment (by Shadooow).
---------------------
r2086
More highlighting changes (by Shadooow): - unified the highlight behavior with currently held item in cursor to only ever highlight compatible items for that item (was the case in tactical, not in map screen) - enabled the body silhouette i...
---------------------
r2085
Feature: displaying action points in upper right corner of the merc portrait on map screen if the merc is in sector under attack and turn based mode (by Shadooow).
---------------------
r2084
Another efficiency improvement for attachments validity check function - will not check all items in inventory to be a valid gun/ammo for tested item if the tested item is attachment/hidden addon (by Shadooow). Significant improvement for t...
---------------------
r2083
Efficiency improvements for code dealing with attachments validity to fix any potential lag issues (by Shadooow).
---------------------
r2082
Fix for incorrect highlighting attachments + lots of efficiency improvements (by Shadooow).
---------------------
r2081
Don't turn to attacker on hth/melee attack if attacker is covert and target is not alerted.
---------------------
r2080
Only turn target soldier to attacker on hth/melee attack when: - target sees attacker - target and attacker are on the same team - target is under fire - turnbased mode and not garotte attack
---------------------
r2079
Fix: small GUI issue where the body silhouette in merc inventory turned dark after moving applicable item onto it and then out of it (by Shadooow). Fix: GUI issue where the body silhouette wasn't lit up with some of the new consumable items...
---------------------
r2078
Fix for randomly shooting in wrong direction because the game activates spreading code by mistake (by Shadooow).
---------------------
r2077
Reverted r1152 to allow switching of <Inseparable>2</Inseparable> attachments via transformation.
---------------------
r2076
Fix for leaving merc never reaching final sector until current battle is finished (by Shadooow).
---------------------
r2075
Fix incorrect CTH message for [F] key when not using gun and NCTH system is enabled.
---------------------
r2074
Fix for for autobandaging sometimes hang indefinitely (by Shadooow).
---------------------
r2073
Fix: items stacking with those that player cannot take from sector inventory when using CTRL+LMB from merc inventory (by Shadooow). Minor code improvements.
---------------------
r2072
FindGridNoFromSweetSpot: - initialize pubDirection - added safety checks
---------------------
r2071
Fix for black windows (Orta) not blocking vision properly (by Shadooow). Code formatting.
---------------------
r2070
Exploit fix: don't allow "handcuff" cursor to reveal position of invisible enemy.
---------------------
r2069
Exploit fix: don't allow "apply item to others" cursor to reveal position of invisible enemy.
---------------------
r2068
Door interrupt fix (by Shadooow).
---------------------
r2067
Fixes female and big male body types being transparent when climbing up roof (by Shadooow).
---------------------
r2066
Vision update fixes (by Shadooow): - small fix in TurnSoldier code. - fix for vision not being updated in many situations.
---------------------
r2065
No sector ambients in cutscenes.
---------------------
r2064
Fix possible endless clock in cutscene.
---------------------
r2063
Fixes bug when you sometimes got vision inside building when climbing from the roof (by Shadooow). Extended explanation: This happens from two reasons, first - there seems to be vision update for all soldiers every 5 seconds. Second, when c...
---------------------
r2062
Fix: CTRL+U cheat command not replenishing energy properly (by Shadooow).
---------------------
r2061
EVENT_SoldierBeginBladeAttack, EVENT_SoldierBeginPunchAttack: initialize attack data before other calculations, set target level to soldier's level as melee/hth attacks don't work between levels.
---------------------
r2060
Fixes (by Shadooow): - fixed AP cost shown at the cursor when pressing ALT during RUN mode since game doesn't allow to "reverse run" and forces walking - shows walking cursor instead of running if ALT is held
---------------------
r2059
Removed "Old Selection Method" ingame option. Improved code for smart selection: - fixed merc switching with ALT pressed - don't show next unused when ALT is pressed - only show next selected when "Safe D Button" option is active - don't sh...
---------------------
r2058
Erase path after switching merc.
---------------------
r2057
Fix: display of merc AP in case he started with value over 99 new APs are lower than that (by Shadooow).
---------------------
r2056
DistanceVisible: don't check active spotting/focus skills when using CALC_FROM_ALL_DIRS.
---------------------
r2055
CalcSituationValue: use distance check when friend and soldier on different levels.
---------------------
r2054
Added new function CheckSpotBetween. CalcSituationValue: also check adjacent directions when checking if spot is between friend and opponent.
---------------------
r2053
CalcSituationValue: - when doing initial LOS check, use knowledge check first - only use distance check if smoke is on the same level as friend and opponent
---------------------
r2052
CalcSituationValue: improved code, use full LOS check between levels. SightCoverAtSpot: removed unused check.
---------------------
r2051
CalcSituationValue: improved code to check if smoke spot is between friend and enemy, increased smoke effect distance, check that directions match.
---------------------
r2050
CheckTossCoverSmoke: code optimization, use distance check instead of LOS check. Only allow cover smoke test when soldier has more than one smoke grenade.
---------------------
r2049
Various fixes (by Shadooow): - fixed queen alternative gridno feature spawning her behind walls in basement instead of in front of the throne in palace - fixed queen alternative gridno feature triggering even when palace was cleared - added...
---------------------
r2048
Fix: show enemy locations when using radio listen skill.
---------------------
r2047
Enable DIRECTIONAL_PENALTY by default. SightCoverAtSpot: skip sight check for opponents farther than max vision range when not doing unlimited LOS check.
---------------------

转载请注明转自: 《ja2_7609+AI 中文版 r2229 > r2258

]]>
https://zww.me/ja2_7609ai-cn-r2229.z-turn/feed 10
老APC UPS退役,新的APC UPS接力 https://zww.me/27142.zsay https://zww.me/27142.zsay#comments Fri, 24 Sep 2021 15:28:03 +0000 https://zww.me/27142.zsay 前天晚上雷暴天,出现电压不稳定,我的UPS(不间断电源)自动切换到电池供电,但出现我的台机断电情况——UPS只坚持了几秒(以前满负荷是可以坚持10多分钟的),检查了一下得出结论:不间断电源电池寿命已到,因为前年已经只能坚持几分钟了。

退役的APC BK650,带一台台机和一台服务器(Gen8),已经6年了,感谢!竟然能坚持6年,牛13了。

为了速度,前天晚立马京东下单了:APC BK650M2-CH,是原BK650的升级版,但好像功率小了10W变成390W了。

昨天就收到货,已经开始服役的新 APC BK650M2-C:

对于台机来讲,UPS(不间断电源)还是非常必需的,特别是对于程序员、设计师、数据等工作来说,是能提供“未保存”数据保障的,而且对于还接有传统硬盘的台机,多了一份硬盘保护。

转载请注明转自: 《老APC UPS退役,新的APC UPS接力

]]>
https://zww.me/27142.zsay/feed 31
“全天下”祝你生日快乐! https://zww.me/27139.zsay https://zww.me/27139.zsay#comments Tue, 07 Sep 2021 08:51:33 +0000 https://zww.me/27139.zsay 现在真的是谁都知道你的公历生日的时代,各大公司、银行、服务机构、诈骗机构纷纷给你发来祝贺,2张手机卡的短信、邮箱、安装的各种app消息一天到晚不停的发来“贺电”,非常大方的让你出钱送你这个送你那个——你们干脆每个送我1元钱我还能买个蛋糕,人家生日关你们屁事!

这种营销手段真的应该省省了,浪费资源还被人反感。

纯吐槽下,最近诸多不顺,看到这些信息就烦,还有关于各种规定好像越来越多偏强硬方向发展(如直接加你社保没商量、直接加你医保没商量),很多人被特殊时期的“强硬好”洗了脑还说好。

转载请注明转自: 《“全天下”祝你生日快乐!

]]>
https://zww.me/27139.zsay/feed 27
iOS 快捷指令一键打开粤康码 https://zww.me/27135.zsay https://zww.me/27135.zsay#comments Thu, 26 Aug 2021 14:03:01 +0000 https://zww.me/27135.zsay 这2天在推上看到的,这特殊年头去哪里都要x康码,这类微信小程序直接放手机桌面还是比较方便,不然老是点微信 》找小程序 》找x康码,真的很烦。

使用 iOS 的快捷指令就很方便了,下面是“粤康码”添加方法:

打开“快捷指令”,然后在“所有快捷指令” 》右上角点“+” 》“添加操作” 》“网页” 》“Safari 浏览器” 》“打开URL”,在“打开”右边粘贴下面的“粤康码” URLScheme

weixin://app/wxd930ea5d5a258f4f/jumpWxa/?userName=gh_1ac06b5a8f4e&path=operation_plus/pages/yiqing/daka/user/index/index.html

按“下一步”完成 》点新建的“快捷指令”右边 ... 可以更改快捷指令名称,改名后点击“添加到主屏幕” 》搞定

其他地区、其他小程序直接参考来源设置:《iOS 快捷指令一键打开粤康码、微信乘车码,附 URLScheme

唉,何时才能搞定病毒……

----

2021.8.27 13:27 噗:

估计这几天太多人用这方式,导致现在直接提示“未上架移动应用,当天跳转小程序次数已用完;如需跳转,请开发者到 open.weixin.qq.com 后台申请修改应用的上架状态”

只能——笑(*^_^*)

转载请注明转自: 《iOS 快捷指令一键打开粤康码

]]>
https://zww.me/27135.zsay/feed 7
个人史上把手机摔得最“严重”的一次 https://zww.me/27131.zsay https://zww.me/27131.zsay#comments Wed, 25 Aug 2021 23:54:41 +0000 https://zww.me/27131.zsay 从功能机时代到智能机时代,我使用手机相对比较谨慎,很少摔机,应该也有20多年了吧,偶尔几次通常只是保护套沾了些灰尘等级,有1、2次保护膜破了个点。

昨晚有朋友来家里小座,喝茶太多,导致难于入眠,滚到3、4点都没真正睡着,于是起来洗刷刷,5点左右决定骑车出去转转。于是把手机放山地车(有助力那种,但一般锻炼就不开电源)的手机架上,骑车到了河边路,见没啥人,开始“飙车”(也就时速35公里——不过自行车也算快了),没想到没看到一个减速带,哐当——嘣啪……手机摔地上了,赶紧下车,汉~左下右上对角碎裂 + 右下角裂缝,不知屏幕如何?

天还不够亮,赶紧回家,心里嘀咕“屏幕千万要没事……”,这消费降级几年,可无法随心换机,真羡慕那些壕,可以故意不小心摔机换新款机……

回家第一件事:拍照

然后撕掉钢化膜,呼~ 屏幕没事,谢天谢地。不过左下右上边框都有1个半毫米的划横,无所谓了。

立即去京东下单新钢化膜,要明天才能到,赶紧找有没有临时膜来遮挡一下屏幕,防止在等待的24小时多被硬度极高、还没有任何膜能抵御的超级厉害的尘埃伤害……

只找到小米10的水凝膜,贴上再剪掉凑合先:(难看死了)

----

难得早上出去“运动”一下,就给我来个摔机,看来是要告诉我锻炼不要太随性,要有规律……

转载请注明转自: 《个人史上把手机摔得最“严重”的一次

]]>
https://zww.me/27131.zsay/feed 11
Gmail的POP3把Gmail阻止了? https://zww.me/gmail-pop3-blocks-gmail.z-turn https://zww.me/gmail-pop3-blocks-gmail.z-turn#comments Mon, 16 Aug 2021 05:41:16 +0000 https://zww.me/?p=27127 我有几个Gmail账号,主账号通过POP3读取其他账号的邮件,懒得登录来登录去。为了方便说明使用A、B来区别:Gmail账号B一直由Gmail账号A通过POP3接收邮件

一直到上个月底还是正常的(其实我这几天才发现怎么这个月都没B的邮件,查了才知道POP3都一个月不工作了)。

状况:

1. Gmail账号A里面的“设置 》账号和导入 》查收其他账号的邮件”红字提示“服务器拒绝通过指定的用户名和密码进行POP3访问”(大概,忘了具体文本)

2. 点击“修改信息”,弹窗里面重新输入B的正确密码并保存,提示“[AUTH] Username and password not accepted”

用另一浏览器登录B账号,查看里面的POP3设置,没问题啊,都是开启的。

奇了怪了,Gmail自己把自己干死么?

折腾了个把小时,突然想起好像某天我收到B账户的安全提示,好像同意了关闭什么安全性较低的应用之类……

立即查看,重新打开就真解决了:

在Gmail账号B点击头像,点击“管理您的 Google 账号” 》侧边栏点“安全性” 》下拉到“安全性较低的应用的访问权限”,然后设置为启用

转载请注明转自: 《Gmail的POP3把Gmail阻止了?

]]>
https://zww.me/gmail-pop3-blocks-gmail.z-turn/feed 8
WordPress都5.8了,高温,游泳,环境恶劣 https://zww.me/27122.zsay https://zww.me/27122.zsay#comments Fri, 23 Jul 2021 12:34:48 +0000 https://zww.me/27122.zsay 无聊发呆的时间又增加了,这下麻烦了,然后就很容易发现WordPress又又又又又升级了……

哪里都是区块:区块管理小工具、区块和区块样板显示文章、区块编辑器……

到处都是区块化,那敲代码方式的二次开发还是转为拖拉手比较好,拖一下设一下东凑西凑一下就一个新网站……最终留下来的都是快餐式模式。

然后WordPress 5.8抛弃了对Internet Explorer 11的支持了,应该只是后台管理部分。

晶莹透彻的水文,继续发呆...

----

持续高温,每天都是36-38,虽然基本每天会下一场大雨,但还是难受,又无法长时间吹空调,真不服老不行。

那么,应对方式:每天带小孩去游泳,爽,就是有点贵——今年全部升价了……

“除了工资还有什么东西不升价的吗?”

哦,还有猪肉降价了,噗~

----

工作难找、工资下降、物价持续上升、自费社保无声无息加价——七月份突然加差不多¥200——够狠!——看来我们的伟大母亲真缺钱了,怎么?连躺平都不行了。

转载请注明转自: 《WordPress都5.8了,高温,游泳,环境恶劣

]]>
https://zww.me/27122.zsay/feed 16
重操旧业:承接WordPress主题、微信小程序、APP等制作 https://zww.me/development-work.z-turn https://zww.me/development-work.z-turn#comments Thu, 15 Jul 2021 05:27:40 +0000 https://zww.me/?p=27103 疫情影响范围还是很大的,不单是实体经济,连我这类“消失”的“无业游民”也受牵连。

其实最近几年都窝在一朋友公司帮忙打理网站、小程序、app等开发和维护,还有各种零零碎碎的服务器方面的工作,简称“打杂人”,要不是疫情影响,估计待个10年8年然后退休没问题,可惜还是受到了牵连,公司业务问题导致我的工作量持续下降,空闲时间持续“增长”,有点危机感。

所以……请各位老朋友、新朋友如果有下面这些方面的需求,记得找我这老程序猿大叔:

一、WordPress 网站设计与制作:(建站服务)

(注:设计部分由我朋友 schiy 负责)

  • 来设计或者样式参考
  • 具体功能需求说明
  • 制作可全新制作(适合个性、需要品牌化、公司类)
  • 也可使用国外付费主题+Elementor+Astra(适合外贸类)

二、前端方面的工作:

  • 如图片切割成html(好像现在不用了,噗)
  • 小程序、app 的前端部分
  • 好像 weex 的前端样式部分也行,虽然它的css写起来就像坨啥 -_-

三、微信小程序前后端制作:

  • 页面内容、功能说明
  • 大体样式设计或者参考
  • 数据储存方式

四、一般性 APP 前后端开发:

包括安卓和iOS,由于精力有限,非原生方式开发,而是使用 uni-app 跨平台应用的前端框架开发,由于 uni-app 的局限性,只能满足一般的 APP 功能需求。

  • 通常就是 APP 各页面内容和功能
  • 大体样式设计或者参考
  • 数据储存方式

五、各种修改、修正工作:

  • 通常是网站、HTML5方面:css、js、php 等之类错误啊
  • 网站迁移之类也可以
  • 好像也能改图,噗~

六、网站环境服务:

  • 服务器的环境配置、维护等
  • 也可以提供配置好的网站环境给租用

有时搞不清楚定位,随便了,请有这些需求的老朋友、新朋友‘狠狠的’找我,可以的话帮忙介绍给有需求的朋友,谢谢。

【联系方式】

邮件(这年头还有人用么?):zwwblog[at]gmail.com

QQ(这年头也没啥人用了):

微信:加好友时请注明类似“主题制作”、“小程序制作”等之类。

转载请注明转自: 《重操旧业:承接WordPress主题、微信小程序、APP等制作

]]>
https://zww.me/development-work.z-turn/feed 25
奈飞(Netflix)合租平台——奈飞小铺,我现在看美剧的地方 https://zww.me/netflix-recommend.z-turn https://zww.me/netflix-recommend.z-turn#comments Thu, 08 Jul 2021 05:10:00 +0000 https://zww.me/?p=27092

当年《越狱》的紧凑紧张剧集,让我开始追美剧,《迷失》、《谋杀》、《疑犯追踪》、《英雄》、《绝命毒师》、《冰与火之歌》、《纸牌屋》、《行尸走肉》……一发不可收拾

当时国内影视类还属于灰色地带,所以片源、字幕资源随便一搜就能找到,而且除此基本很难有其他平台可以看到这些优秀的剧集,即使你想付费也没。

最近几年随着版权的重要性,还想免费看剧集基本是很艰难也不提倡的一种行为,大家也逐渐习惯付费看剧集,但是由于审查制度的差异,国内“大厂”拿到的剧集大部分都需要阉割、删减后的版本,感觉类似早期“付了钱看枪版”的感觉。

于是大家开始往国外平台看原版剧集,奈飞(Netflix)估计是大家的首选。

现在 Netflix 大家应该都不陌生,中文大家叫它为:网飞、奈飞等,很多爆款美剧都出自这里,例如:《纸牌屋》(吐槽:由于演员问题烂尾了,唉,可惜了)、《爱·死亡·机器人》、《怪奇物语》。

奈飞虽好,但很多人(包括我)都被下面价格吓跑了,哈哈

最便宜的Basic会员套餐,7.99 镑/月,只允许1台设备观看,折合换算下来72元人民币/人/月,Standard会员套餐11.99英镑/月,可以允许2台设备同时观看,算下来是54元人民币/人/月,Premium会员套餐15.99英镑/月,允许同时4台设备观看,算下来是35.79元人民币/人/月。

这样的话,最贵的反而最便宜,Netflix这样设计套餐的类似多买优惠,鼓励用户购买Premium会员套餐与家人分享使用。不过最便宜的合租下来也要35.79元,对于大部分人来说还是不够便宜啊,下面是几种低价购买Netflix会员的方法。

一、换区购买

Netflix不同国家的会员套餐价格不同,寻遍整个地区,发现土耳其、阿根廷、俄罗斯等地区价格低廉,其中土耳其是最便宜的(汇率变动,无法一直保证)。

我们换算一下,高级套餐41.99TL,也就是41.99新土耳其里拉4台设备,换算出来是 11元/人/月,这就很超值了。但是操作稍微繁琐,需要稍微用点时间和精力。

那么怎么才能享受到这个价格呢?只需要在购买会员的时候,把ip切换到土耳其就可以。不过需要验证土耳其电话,这可以上某宝去淘接个码,土耳其ip有点偏需要大家自己想想办法。

二、月抛/合租

月抛这种是需要渠道的,合租价格在6元/月(个人不推荐,影片库很混乱,观看进度经常错乱),独享价格在20左右每月,由于是月抛,所以基本没有质保。这个方法也不适合长期稳定使用的用户,因为用一个月就必须扔了,优点就是价格很低。

另外一个渠道就是合租,稳定合租不下车,就是说合租成功后可以一直使用这个账号自己独享,加上PIN码其他人无法访问你账号内的信息,并且不需要自己找人合作,稳定快速,安全方便。

这里推荐一个朋友的平台专为合租搭建,可以合租Netflix奈飞,Youtube合租,还有Spotify合租。奈飞合租价格首次20元/月,续费22元/月,建议一次性购买3个月以上。这价格不能说划算,但也不坑,毕竟省心省事,也是我目前使用的方式。

奈飞合租地址:奈飞小铺

转载请注明转自: 《奈飞(Netflix)合租平台——奈飞小铺,我现在看美剧的地方

]]>
https://zww.me/netflix-recommend.z-turn/feed 18