h1z1-server 0.22.2-2 → 0.22.3-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,6 @@
9
9
  "reqFeatureId": 0,
10
10
  "serverInfo": "<ServerInfo Region=\"CharacterCreate.RegionUs\" Subregion=\"UI.SubregionUS\" IsRecommended=\"1\" IsRecommendedVS=\"0\" IsRecommendedNC=\"0\" IsRecommendedTR=\"0\" />",
11
11
  "populationLevel": 0,
12
- "populationData": "<Population ServerCapacity=\"0\" PingAddress=\"127.0.0.1:1117\" Rulesets=\"Permadeath\"><factionlist IsList=\"1\"><faction Id=\"1\" Percent=\"0\" TargetPopPct=\"0\" RewardBuff=\"52\" XPBuff=\"52\" PercentAvg=\"0\"/><faction Id=\"2\" Percent=\"0\" TargetPopPct=\"1\" RewardBuff=\"0\" XPBuff=\"0\" PercentAvg=\"0\"/><faction Id=\"3\" Percent=\"0\" TargetPopPct=\"1\" RewardBuff=\"0\" XPBuff=\"0\" PercentAvg=\"1\"/></factionlist></Population>",
12
+ "populationData": "<Population ServerCapacity=\"0\" PingAdr=\"127.0.0.1:1117\" Rulesets=\"Permadeath\"><factionlist IsList=\"1\"><faction Id=\"1\" Percent=\"0\" TargetPopPct=\"0\" RewardBuff=\"52\" XPBuff=\"52\" PercentAvg=\"0\"/><faction Id=\"2\" Percent=\"0\" TargetPopPct=\"1\" RewardBuff=\"0\" XPBuff=\"0\" PercentAvg=\"0\"/><faction Id=\"3\" Percent=\"0\" TargetPopPct=\"1\" RewardBuff=\"0\" XPBuff=\"0\" PercentAvg=\"1\"/></factionlist></Population>",
13
13
  "allowedAccess": true
14
14
  }
package/list.env CHANGED
@@ -22,4 +22,10 @@ isBin = ""
22
22
  ALLOWED_COMMANDS = "["tp"]"
23
23
 
24
24
  # Modify it if you run your solo server on another layer than localhost
25
- SOLO_PLAY_IP = "127.0.0.1"
25
+ SOLO_PLAY_IP = "127.0.0.1"
26
+
27
+ # Currently only used in webhooks
28
+ SERVER_NAME = "myServer"
29
+
30
+ # The server will send some webhooks to this url
31
+ DISCORD_WEBHOOK_URL = ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "h1z1-server",
3
- "version": "0.22.2-2",
3
+ "version": "0.22.3-0",
4
4
  "description": "Library for emulating h1z1 servers",
5
5
  "author": "Quentin Gruber <quentingruber@gmail.com> (http://github.com/quentingruber)",
6
6
  "license": "GPL-3.0-only",
@@ -2821,12 +2821,12 @@ export const basePackets: any = [
2821
2821
  0x8d,
2822
2822
  {
2823
2823
  fields: [
2824
- { name: "clientHoursMs", type: "uint64string", defaultValue: "0" }, // seems like hours since a 12h trip in ms UTC time
2825
- { name: "clientHoursMs2", type: "uint64string", defaultValue: "0" },
2824
+ { name: "time1", type: "uint64string", defaultValue: "0" },
2825
+ { name: "time2", type: "uint64string", defaultValue: "0" },
2826
2826
  { name: "clientTime", type: "uint64string", defaultValue: "0" },
2827
2827
  { name: "serverTime", type: "uint64string", defaultValue: "0" },
2828
2828
  { name: "serverTime2", type: "uint64string", defaultValue: "0" },
2829
- { name: "time3", type: "uint64string", defaultValue: "0" }, // maybe drift ?
2829
+ { name: "time3", type: "uint64string", defaultValue: "0" },
2830
2830
  ],
2831
2831
  },
2832
2832
  ],
@@ -369,13 +369,7 @@ export const clientUpdatePackets: any = [
369
369
  ["ClientUpdate.NpcRelevance", 0x114200, {}],
370
370
  ["ClientUpdate.InitiateNameChange", 0x114300, {}],
371
371
  ["ClientUpdate.NameChangeResult", 0x114400, {}],
372
- [
373
- "ClientUpdate.MonitorTimeDrift",
374
- 0x114500,
375
- {
376
- fields: [{ name: "timeDrift", type: "uint32" }],
377
- },
378
- ],
372
+ ["ClientUpdate.MonitorTimeDrift", 0x114500, {}],
379
373
  ["ClientUpdate.NotifyServerOfStalledEvent", 0x114600, {}],
380
374
  ["ClientUpdate.UpdateSights", 0x114700, {}],
381
375
  ["ClientUpdate.UpdateRewardAndGrinderState", 0x114900, {}],