yolkbot 1.4.5 → 1.4.6
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/browser/build/global.js +1 -1
- package/browser/build/module.js +1 -1
- package/dist/api.js +200 -1
- package/dist/bot/GamePlayer.js +74 -1
- package/dist/bot.js +1679 -1
- package/dist/comm/CommIn.js +79 -1
- package/dist/comm/CommOut.js +60 -1
- package/dist/comm/index.js +11 -1
- package/dist/constants/CloseCode.js +27 -1
- package/dist/constants/CommCode.js +53 -1
- package/dist/constants/challenges.js +1821 -1
- package/dist/constants/findItemById.js +2 -3
- package/dist/constants/guns.js +277 -1
- package/dist/constants/index.js +139 -1
- package/dist/constants/items.js +45042 -1
- package/dist/constants/maps.js +1263 -1
- package/dist/constants/regions.js +30 -1
- package/dist/dispatches/BanPlayerDispatch.js +32 -1
- package/dist/dispatches/BootPlayerDispatch.js +21 -1
- package/dist/dispatches/ChatDispatch.js +32 -1
- package/dist/dispatches/FireDispatch.js +15 -1
- package/dist/dispatches/GameOptionsDispatch.js +66 -1
- package/dist/dispatches/GoToAmmoDispatch.js +38 -1
- package/dist/dispatches/GoToCoopDispatch.js +38 -1
- package/dist/dispatches/GoToGrenadeDispatch.js +38 -1
- package/dist/dispatches/GoToPlayerDispatch.js +39 -1
- package/dist/dispatches/GoToSpatulaDispatch.js +26 -1
- package/dist/dispatches/LookAtDispatch.js +35 -1
- package/dist/dispatches/LookAtPosDispatch.js +29 -1
- package/dist/dispatches/MeleeDispatch.js +26 -1
- package/dist/dispatches/MovementDispatch.js +26 -1
- package/dist/dispatches/PauseDispatch.js +18 -1
- package/dist/dispatches/ReloadDispatch.js +28 -1
- package/dist/dispatches/ReportPlayerDispatch.js +42 -1
- package/dist/dispatches/ResetGameDispatch.js +19 -1
- package/dist/dispatches/SaveLoadoutDispatch.js +105 -1
- package/dist/dispatches/SpawnDispatch.js +22 -1
- package/dist/dispatches/SwapWeaponDispatch.js +25 -1
- package/dist/dispatches/SwitchTeamDispatch.js +33 -1
- package/dist/dispatches/ThrowGrenadeDispatch.js +21 -1
- package/dist/dispatches/index.js +74 -1
- package/dist/env/fetch.js +97 -10
- package/dist/env/globals.js +15 -1
- package/dist/index.js +14 -2
- package/dist/matchmaker.js +141 -1
- package/dist/pathing/astar.js +55 -1
- package/dist/pathing/binaryheap.js +79 -1
- package/dist/pathing/mapnode.js +179 -1
- package/dist/socket.js +97 -1
- package/dist/util.js +68 -1
- package/dist/wasm/bytes.js +8 -1
- package/dist/wasm/direct.js +84 -1
- package/dist/wasm/legacy.js +170 -1
- package/dist/wasm/util.js +19 -1
- package/package.json +38 -39
- /package/dist/{types/api.d.ts → api.d.ts} +0 -0
- /package/dist/{types/bot → bot}/GamePlayer.d.ts +0 -0
- /package/dist/{types/bot.d.ts → bot.d.ts} +0 -0
- /package/dist/{types/comm → comm}/CommIn.d.ts +0 -0
- /package/dist/{types/comm → comm}/CommOut.d.ts +0 -0
- /package/dist/{types/comm → comm}/index.d.ts +0 -0
- /package/dist/{types/constants → constants}/CloseCode.d.ts +0 -0
- /package/dist/{types/constants → constants}/CommCode.d.ts +0 -0
- /package/dist/{types/constants → constants}/challenges.d.ts +0 -0
- /package/dist/{types/constants → constants}/changelog.d.ts +0 -0
- /package/dist/{types/constants → constants}/findItemById.d.ts +0 -0
- /package/dist/{types/constants → constants}/guns.d.ts +0 -0
- /package/dist/{types/constants → constants}/housePromo.d.ts +0 -0
- /package/dist/{types/constants → constants}/index.d.ts +0 -0
- /package/dist/{types/constants → constants}/items.d.ts +0 -0
- /package/dist/{types/constants → constants}/language.d.ts +0 -0
- /package/dist/{types/constants → constants}/maps.d.ts +0 -0
- /package/dist/{types/constants → constants}/notices.d.ts +0 -0
- /package/dist/{types/constants → constants}/regions.d.ts +0 -0
- /package/dist/{types/constants → constants}/shellNews.d.ts +0 -0
- /package/dist/{types/constants → constants}/shellYoutube.d.ts +0 -0
- /package/dist/{types/constants → constants}/shopItems.d.ts +0 -0
- /package/dist/{types/constants → constants}/sounds.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/BanPlayerDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/BootPlayerDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/ChatDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/FireDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GameOptionsDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GoToAmmoDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GoToCoopDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GoToGrenadeDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GoToPlayerDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/GoToSpatulaDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/LookAtDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/LookAtPosDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/MeleeDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/MovementDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/PauseDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/ReloadDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/ReportPlayerDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/ResetGameDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/SaveLoadoutDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/SpawnDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/SwapWeaponDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/SwitchTeamDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/ThrowGrenadeDispatch.d.ts +0 -0
- /package/dist/{types/dispatches → dispatches}/index.d.ts +0 -0
- /package/dist/{types/matchmaker.d.ts → matchmaker.d.ts} +0 -0
- /package/dist/{types/pathing → pathing}/astar.d.ts +0 -0
- /package/dist/{types/pathing → pathing}/binaryheap.d.ts +0 -0
- /package/dist/{types/pathing → pathing}/mapnode.d.ts +0 -0
- /package/dist/{types/socket.d.ts → socket.d.ts} +0 -0
- /package/dist/{types/util.d.ts → util.d.ts} +0 -0
- /package/dist/{types/wasm → wasm}/bytes.d.ts +0 -0
- /package/dist/{types/wasm → wasm}/direct.d.ts +0 -0
- /package/dist/{types/wasm → wasm}/legacy.d.ts +0 -0
- /package/dist/{types/wasm → wasm}/util.d.ts +0 -0
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { Items } from
|
|
2
|
-
|
|
3
|
-
export const findItemById = (id) => Items.find(item => item.id === id);
|
|
1
|
+
import { Items } from "./items.js";
|
|
2
|
+
export const findItemById = (id) => Items.find((item) => item.id === id);
|
package/dist/constants/guns.js
CHANGED
|
@@ -1 +1,277 @@
|
|
|
1
|
-
const
|
|
1
|
+
const BaseGun = class {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.adsMod = 0.5;
|
|
4
|
+
this.burst = 0;
|
|
5
|
+
this.burstRof = 0;
|
|
6
|
+
this.movementAccuracyMod = 1;
|
|
7
|
+
this.radius = 0;
|
|
8
|
+
this.reloadBloom = true;
|
|
9
|
+
this.reloadTimeMod = 1;
|
|
10
|
+
this.tracer = 0;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const Eggk47 = class _Eggk47 extends BaseGun {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.ammo = {
|
|
17
|
+
rounds: 30,
|
|
18
|
+
capacity: 30,
|
|
19
|
+
reload: 30,
|
|
20
|
+
store: 240,
|
|
21
|
+
storeMax: 240,
|
|
22
|
+
pickup: 30
|
|
23
|
+
};
|
|
24
|
+
this.longReloadTime = 205;
|
|
25
|
+
this.shortReloadTime = 160;
|
|
26
|
+
this.weaponName = "EggK-47";
|
|
27
|
+
this.internalName = "Eggk47";
|
|
28
|
+
this.standardMeshName = "eggk47";
|
|
29
|
+
this.automatic = true;
|
|
30
|
+
this.damage = 30;
|
|
31
|
+
this.range = 20;
|
|
32
|
+
this.recoil = 7;
|
|
33
|
+
this.rof = 3;
|
|
34
|
+
this.totalDamage = 30;
|
|
35
|
+
this.velocity = 1.5;
|
|
36
|
+
this.accuracyMin = 0.15;
|
|
37
|
+
this.accuracyMax = 0.03;
|
|
38
|
+
this.accuracyLoss = 0.05;
|
|
39
|
+
this.accuracyRecover = 0.025;
|
|
40
|
+
this.tracer = 1;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const DozenGauge = class _DozenGauge extends BaseGun {
|
|
44
|
+
constructor() {
|
|
45
|
+
super();
|
|
46
|
+
this.ammo = {
|
|
47
|
+
rounds: 2,
|
|
48
|
+
capacity: 2,
|
|
49
|
+
reload: 2,
|
|
50
|
+
store: 24,
|
|
51
|
+
storeMax: 24,
|
|
52
|
+
pickup: 8
|
|
53
|
+
};
|
|
54
|
+
this.longReloadTime = 155;
|
|
55
|
+
this.shortReloadTime = 155;
|
|
56
|
+
this.weaponName = "Scrambler";
|
|
57
|
+
this.internalName = "Dozen Gauge";
|
|
58
|
+
this.standardMeshName = "dozenGauge";
|
|
59
|
+
this.automatic = false;
|
|
60
|
+
this.damage = 8.5;
|
|
61
|
+
this.range = 8;
|
|
62
|
+
this.recoil = 10;
|
|
63
|
+
this.rof = 8;
|
|
64
|
+
this.totalDamage = 170;
|
|
65
|
+
this.velocity = 1;
|
|
66
|
+
this.accuracyMin = 0.16;
|
|
67
|
+
this.accuracyMax = 0.13;
|
|
68
|
+
this.accuracyLoss = 0.17;
|
|
69
|
+
this.accuracyRecover = 0.02;
|
|
70
|
+
this.adsMod = 0.6;
|
|
71
|
+
this.movementAccuracyMod = 0.2;
|
|
72
|
+
this.tracer = 0;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
const CSG1 = class _CSG1 extends BaseGun {
|
|
76
|
+
constructor() {
|
|
77
|
+
super();
|
|
78
|
+
this.ammo = {
|
|
79
|
+
rounds: 15,
|
|
80
|
+
capacity: 15,
|
|
81
|
+
reload: 15,
|
|
82
|
+
store: 60,
|
|
83
|
+
storeMax: 60,
|
|
84
|
+
pickup: 15
|
|
85
|
+
};
|
|
86
|
+
this.longReloadTime = 225;
|
|
87
|
+
this.shortReloadTime = 165;
|
|
88
|
+
this.weaponName = "Free Ranger";
|
|
89
|
+
this.internalName = "CSG-1";
|
|
90
|
+
this.standardMeshName = "csg1";
|
|
91
|
+
this.automatic = false;
|
|
92
|
+
this.damage = 105;
|
|
93
|
+
this.range = 50;
|
|
94
|
+
this.recoil = 13;
|
|
95
|
+
this.rof = 13;
|
|
96
|
+
this.totalDamage = 105;
|
|
97
|
+
this.velocity = 1.75;
|
|
98
|
+
this.accuracyMin = 0.3;
|
|
99
|
+
this.accuracyMax = 0.004;
|
|
100
|
+
this.accuracyLoss = 0.3;
|
|
101
|
+
this.accuracyRecover = 0.025;
|
|
102
|
+
this.tracer = 0;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const Cluck9mm = class _Cluck9mm extends BaseGun {
|
|
106
|
+
constructor() {
|
|
107
|
+
super();
|
|
108
|
+
this.ammo = {
|
|
109
|
+
rounds: 15,
|
|
110
|
+
capacity: 15,
|
|
111
|
+
reload: 15,
|
|
112
|
+
store: 60,
|
|
113
|
+
storeMax: 60,
|
|
114
|
+
pickup: 15
|
|
115
|
+
};
|
|
116
|
+
this.longReloadTime = 195;
|
|
117
|
+
this.shortReloadTime = 160;
|
|
118
|
+
this.weaponName = "Cluck 9mm";
|
|
119
|
+
this.internalName = "Cluck 9mm";
|
|
120
|
+
this.standardMeshName = "cluck9mm";
|
|
121
|
+
this.automatic = false;
|
|
122
|
+
this.damage = 26;
|
|
123
|
+
this.range = 15;
|
|
124
|
+
this.recoil = 6;
|
|
125
|
+
this.rof = 4;
|
|
126
|
+
this.totalDamage = 26;
|
|
127
|
+
this.velocity = 1;
|
|
128
|
+
this.accuracyMin = 0.15;
|
|
129
|
+
this.accuracyMax = 0.035;
|
|
130
|
+
this.accuracyLoss = 0.09;
|
|
131
|
+
this.accuracyRecover = 0.08;
|
|
132
|
+
this.adsMod = 0.8;
|
|
133
|
+
this.movementAccuracyMod = 0.6;
|
|
134
|
+
this.tracer = 0;
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
const RPEGG = class _RPEGG extends BaseGun {
|
|
138
|
+
constructor() {
|
|
139
|
+
super();
|
|
140
|
+
this.ammo = {
|
|
141
|
+
rounds: 1,
|
|
142
|
+
capacity: 1,
|
|
143
|
+
reload: 1,
|
|
144
|
+
store: 3,
|
|
145
|
+
storeMax: 3,
|
|
146
|
+
pickup: 1
|
|
147
|
+
};
|
|
148
|
+
this.longReloadTime = 170;
|
|
149
|
+
this.shortReloadTime = 170;
|
|
150
|
+
this.weaponName = "RPEGG";
|
|
151
|
+
this.internalName = "Eggsploder";
|
|
152
|
+
this.standardMeshName = "rpegg";
|
|
153
|
+
this.automatic = false;
|
|
154
|
+
this.damage = 140;
|
|
155
|
+
this.range = 45;
|
|
156
|
+
this.recoil = 60;
|
|
157
|
+
this.rof = 40;
|
|
158
|
+
this.totalDamage = 192.5;
|
|
159
|
+
this.velocity = 0.4;
|
|
160
|
+
this.accuracyMin = 0.3;
|
|
161
|
+
this.accuracyMax = 0.015;
|
|
162
|
+
this.accuracyLoss = 0.3;
|
|
163
|
+
this.accuracyRecover = 0.02;
|
|
164
|
+
this.radius = 2.75;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
const SMG = class _SMG extends BaseGun {
|
|
168
|
+
constructor() {
|
|
169
|
+
super();
|
|
170
|
+
this.ammo = {
|
|
171
|
+
rounds: 40,
|
|
172
|
+
capacity: 40,
|
|
173
|
+
reload: 40,
|
|
174
|
+
store: 200,
|
|
175
|
+
storeMax: 200,
|
|
176
|
+
pickup: 40
|
|
177
|
+
};
|
|
178
|
+
this.longReloadTime = 225;
|
|
179
|
+
this.shortReloadTime = 190;
|
|
180
|
+
this.weaponName = "Whipper";
|
|
181
|
+
this.internalName = "SMEGG";
|
|
182
|
+
this.standardMeshName = "smg";
|
|
183
|
+
this.automatic = true;
|
|
184
|
+
this.damage = 23;
|
|
185
|
+
this.range = 20;
|
|
186
|
+
this.recoil = 7;
|
|
187
|
+
this.rof = 2;
|
|
188
|
+
this.totalDamage = 23;
|
|
189
|
+
this.velocity = 1.25;
|
|
190
|
+
this.accuracyMin = 0.19;
|
|
191
|
+
this.accuracyMax = 0.06;
|
|
192
|
+
this.accuracyLoss = 0.045;
|
|
193
|
+
this.accuracyRecover = 0.05;
|
|
194
|
+
this.adsMod = 0.6;
|
|
195
|
+
this.movementAccuracyMod = 0.7;
|
|
196
|
+
this.tracer = 2;
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
const M24 = class _M24 extends BaseGun {
|
|
200
|
+
constructor() {
|
|
201
|
+
super();
|
|
202
|
+
this.ammo = {
|
|
203
|
+
rounds: 1,
|
|
204
|
+
capacity: 1,
|
|
205
|
+
reload: 1,
|
|
206
|
+
store: 12,
|
|
207
|
+
storeMax: 12,
|
|
208
|
+
pickup: 4
|
|
209
|
+
};
|
|
210
|
+
this.longReloadTime = 144;
|
|
211
|
+
this.shortReloadTime = 144;
|
|
212
|
+
this.weaponName = "Crackshot";
|
|
213
|
+
this.internalName = "M2DZ";
|
|
214
|
+
this.standardMeshName = "m24";
|
|
215
|
+
this.automatic = true;
|
|
216
|
+
this.damage = 170;
|
|
217
|
+
this.range = 60;
|
|
218
|
+
this.recoil = 20;
|
|
219
|
+
this.rof = 15;
|
|
220
|
+
this.totalDamage = 170;
|
|
221
|
+
this.velocity = 2;
|
|
222
|
+
this.accuracyMin = 0.35;
|
|
223
|
+
this.accuracyMax = 0;
|
|
224
|
+
this.accuracyLoss = 0.1;
|
|
225
|
+
this.accuracyRecover = 0.023;
|
|
226
|
+
this.movementAccuracyMod = 1.3;
|
|
227
|
+
this.reloadBloom = false;
|
|
228
|
+
this.reloadTimeMod = 0.8;
|
|
229
|
+
this.tracer = 0;
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
const AUG = class _AUG extends BaseGun {
|
|
233
|
+
constructor() {
|
|
234
|
+
super();
|
|
235
|
+
this.ammo = {
|
|
236
|
+
rounds: 24,
|
|
237
|
+
capacity: 24,
|
|
238
|
+
reload: 24,
|
|
239
|
+
store: 150,
|
|
240
|
+
storeMax: 150,
|
|
241
|
+
pickup: 24
|
|
242
|
+
};
|
|
243
|
+
this.longReloadTime = 205;
|
|
244
|
+
this.shortReloadTime = 160;
|
|
245
|
+
this.weaponName = "Tri-Hard";
|
|
246
|
+
this.internalName = "AUG";
|
|
247
|
+
this.standardMeshName = "aug";
|
|
248
|
+
this.automatic = false;
|
|
249
|
+
this.damage = 32;
|
|
250
|
+
this.range = 20;
|
|
251
|
+
this.recoil = 18;
|
|
252
|
+
this.rof = 15;
|
|
253
|
+
this.totalDamage = 34;
|
|
254
|
+
this.velocity = 1.5;
|
|
255
|
+
this.accuracyMin = 0.15;
|
|
256
|
+
this.accuracyMax = 0.03;
|
|
257
|
+
this.accuracyLoss = 0.037;
|
|
258
|
+
this.accuracyRecover = 0.03;
|
|
259
|
+
this.adsMod = 0.6;
|
|
260
|
+
this.burst = 3;
|
|
261
|
+
this.burstRof = 3;
|
|
262
|
+
this.movementAccuracyMod = 0.8;
|
|
263
|
+
this.movementInstability = 2;
|
|
264
|
+
this.tracer = 0;
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export {
|
|
269
|
+
Eggk47,
|
|
270
|
+
DozenGauge,
|
|
271
|
+
CSG1,
|
|
272
|
+
Cluck9mm,
|
|
273
|
+
RPEGG,
|
|
274
|
+
SMG,
|
|
275
|
+
M24,
|
|
276
|
+
AUG
|
|
277
|
+
};
|
package/dist/constants/index.js
CHANGED
|
@@ -1 +1,139 @@
|
|
|
1
|
-
import
|
|
1
|
+
import globals from "../env/globals.js";
|
|
2
|
+
import { AUG, CSG1, DozenGauge, Eggk47, M24, RPEGG, SMG } from "./guns.js";
|
|
3
|
+
export { findItemById } from "./findItemById.js";
|
|
4
|
+
export const BanDuration = {
|
|
5
|
+
FiveMinutes: 0,
|
|
6
|
+
FifteenMinutes: 1,
|
|
7
|
+
OneHour: 2
|
|
8
|
+
};
|
|
9
|
+
export const ChallengeSubType = {
|
|
10
|
+
Killstreak: 0,
|
|
11
|
+
KillWithWeapon: 1,
|
|
12
|
+
MovementDistance: 3,
|
|
13
|
+
Jumping: 4,
|
|
14
|
+
TimePlayed: 6,
|
|
15
|
+
TimeAlive: 7,
|
|
16
|
+
KillWithCondition: 8,
|
|
17
|
+
TotalKills: 10,
|
|
18
|
+
SpatulaKills: 10,
|
|
19
|
+
Collecting: 18,
|
|
20
|
+
FromTheCoop: 20,
|
|
21
|
+
SpecialOffensive: 21,
|
|
22
|
+
WinKOTC: 23,
|
|
23
|
+
KillWithSpatula: 23
|
|
24
|
+
};
|
|
25
|
+
export const ChallengeType = {
|
|
26
|
+
Kill: 0,
|
|
27
|
+
Damage: 1,
|
|
28
|
+
Death: 2,
|
|
29
|
+
Movement: 3,
|
|
30
|
+
Collect: 4,
|
|
31
|
+
Time: 5,
|
|
32
|
+
KOTC: 6,
|
|
33
|
+
Spatula: 7
|
|
34
|
+
};
|
|
35
|
+
export const ChatFlag = {
|
|
36
|
+
None: 0,
|
|
37
|
+
Pinned: 2,
|
|
38
|
+
Team: 4,
|
|
39
|
+
Mod: 254,
|
|
40
|
+
Server: 255
|
|
41
|
+
};
|
|
42
|
+
export const ChiknWinnerDailyLimit = 3;
|
|
43
|
+
export const CollectType = {
|
|
44
|
+
Ammo: 0,
|
|
45
|
+
Grenade: 1
|
|
46
|
+
};
|
|
47
|
+
export const CoopState = {
|
|
48
|
+
Start: 0,
|
|
49
|
+
Score: 1,
|
|
50
|
+
Win: 2,
|
|
51
|
+
Capturing: 3,
|
|
52
|
+
Contested: 4,
|
|
53
|
+
Takeover: 5,
|
|
54
|
+
Abandoned: 6,
|
|
55
|
+
Unclaimed: 7
|
|
56
|
+
};
|
|
57
|
+
export const FirebaseKey = "AIzaSyDP4SIjKaw6A4c-zvfYxICpbEjn1rRnN50";
|
|
58
|
+
export const FramesBetweenSyncs = 3;
|
|
59
|
+
export const GameAction = {
|
|
60
|
+
Reset: 1,
|
|
61
|
+
Pause: 2
|
|
62
|
+
};
|
|
63
|
+
export const GameMode = {
|
|
64
|
+
FFA: 0,
|
|
65
|
+
Team: 1,
|
|
66
|
+
Spatula: 2,
|
|
67
|
+
KOTC: 3
|
|
68
|
+
};
|
|
69
|
+
export const GameOptionFlag = {
|
|
70
|
+
Locked: 1,
|
|
71
|
+
NoTeamChange: 2,
|
|
72
|
+
NoTeamShuffle: 4
|
|
73
|
+
};
|
|
74
|
+
export const GunEquipTime = 13;
|
|
75
|
+
export const GunList = [Eggk47, DozenGauge, CSG1, RPEGG, SMG, M24, AUG];
|
|
76
|
+
export const ItemType = {
|
|
77
|
+
Hat: 1,
|
|
78
|
+
Stamp: 2,
|
|
79
|
+
Primary: 3,
|
|
80
|
+
Secondary: 4,
|
|
81
|
+
Grenade: 6,
|
|
82
|
+
Melee: 7
|
|
83
|
+
};
|
|
84
|
+
export const Movement = {
|
|
85
|
+
Forward: 1,
|
|
86
|
+
Backward: 2,
|
|
87
|
+
Left: 4,
|
|
88
|
+
Right: 8,
|
|
89
|
+
Jump: 16,
|
|
90
|
+
Fire: 32,
|
|
91
|
+
Melee: 64,
|
|
92
|
+
Scope: 128
|
|
93
|
+
};
|
|
94
|
+
export const PlayType = {
|
|
95
|
+
JoinPublic: 0,
|
|
96
|
+
CreatePrivate: 1,
|
|
97
|
+
JoinPrivate: 2
|
|
98
|
+
};
|
|
99
|
+
export const ShellStreak = {
|
|
100
|
+
HardBoiled: 1,
|
|
101
|
+
EggBreaker: 2,
|
|
102
|
+
Restock: 4,
|
|
103
|
+
OverHeal: 8,
|
|
104
|
+
DoubleEggs: 16,
|
|
105
|
+
MiniEgg: 32
|
|
106
|
+
};
|
|
107
|
+
export const SocialMedia = {
|
|
108
|
+
Facebook: 0,
|
|
109
|
+
Instagram: 1,
|
|
110
|
+
Tiktok: 2,
|
|
111
|
+
Discord: 3,
|
|
112
|
+
Youtube: 4,
|
|
113
|
+
Twitter: 5,
|
|
114
|
+
Twitch: 6
|
|
115
|
+
};
|
|
116
|
+
export const SocialReward = {
|
|
117
|
+
Discord: "rew_1200",
|
|
118
|
+
Tiktok: "rew_1208",
|
|
119
|
+
Instagram: "rew_1219",
|
|
120
|
+
Steam: "rew_1223",
|
|
121
|
+
Facebook: "rew_1227",
|
|
122
|
+
Twitter: "rew_1234",
|
|
123
|
+
Twitch: "rew_twitch_social"
|
|
124
|
+
};
|
|
125
|
+
export const StateBufferSize = 256;
|
|
126
|
+
export const Team = {
|
|
127
|
+
Blue: 1,
|
|
128
|
+
Red: 2
|
|
129
|
+
};
|
|
130
|
+
export const URLRewards = [
|
|
131
|
+
"giveBasketBrosReward",
|
|
132
|
+
"mercZoneFinalGift",
|
|
133
|
+
"midMonthGiveMeEggs",
|
|
134
|
+
"newYolkerSignupReward",
|
|
135
|
+
"newYolkerItemReward",
|
|
136
|
+
"newYolkerWelcomeBack",
|
|
137
|
+
"WelcomeBack"
|
|
138
|
+
];
|
|
139
|
+
export const UserAgent = globals.isBrowser ? null : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36";
|