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.
- package/data/2016/sampleData/single_player_server.json +1 -1
- package/list.env +7 -1
- package/package.json +1 -1
- package/src/packets/ClientProtocol/ClientProtocol_1080/base.ts +3 -3
- package/src/packets/ClientProtocol/ClientProtocol_1080/clientUpdate.ts +1 -7
- package/src/packets/ClientProtocol/ClientProtocol_1080/command.ts +693 -699
- package/src/servers/LoginServer/loginserver.ts +1079 -1079
- package/src/servers/SoeServer/soeinputstream.ts +258 -258
- package/src/servers/ZoneServer2016/classes/worldobjectmanager.ts +360 -360
- package/src/servers/ZoneServer2016/classes/zoneclient.ts +94 -104
- package/src/servers/ZoneServer2016/commands/commands.ts +1494 -1398
- package/src/servers/ZoneServer2016/commands/internalcommands.ts +90 -82
- package/src/servers/ZoneServer2016/data/lootspawns.ts +1751 -1751
- package/src/servers/ZoneServer2016/zonepackethandlers.ts +2526 -2381
- package/src/servers/ZoneServer2016/zoneserver.ts +7154 -7124
- package/src/types/packets.ts +5 -5
- package/src/types/zone2016packets.ts +1774 -1777
- package/src/utils/constants.ts +1 -0
- package/src/utils/utils.ts +654 -643
|
@@ -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\"
|
|
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
|
@@ -2821,12 +2821,12 @@ export const basePackets: any = [
|
|
|
2821
2821
|
0x8d,
|
|
2822
2822
|
{
|
|
2823
2823
|
fields: [
|
|
2824
|
-
{ name: "
|
|
2825
|
-
{ name: "
|
|
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" },
|
|
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, {}],
|