yolkbot 0.1.1-alpha.4 → 0.1.1-alpha.40
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 +8 -0
- package/browser/build/module.js +8 -0
- package/package.json +15 -7
- package/src/api.js +12 -2
- package/src/bot/GamePlayer.js +18 -16
- package/src/bot.js +83 -33
- package/src/comm/Codes.js +1 -74
- package/src/comm/index.js +1 -1
- package/src/constants/codes.js +45 -0
- package/src/constants/guns.js +18 -2
- package/src/constants/index.js +11 -1
- package/src/constants/items.js +477 -88
- package/src/constants/maps.js +27 -14
- package/src/dispatches/SaveLoadoutDispatch.js +1 -1
- package/src/matchmaker.js +11 -4
- package/src/packet.js +1 -1
- package/src/pathing/mapnode.js +0 -3
- package/src/types/bot/GamePlayer.d.ts +39 -15
- package/src/types/bot.d.ts +6 -3
- package/src/types/constants/guns.d.ts +8 -0
- package/src/types/constants/index.d.ts +11 -1
- package/src/types/matchmaker.d.ts +8 -2
- package/build/browser.js +0 -8
- package/src/browser.js +0 -15
package/src/constants/guns.js
CHANGED
|
@@ -38,7 +38,9 @@ const Eggk47 = class _Eggk47 extends Gun {
|
|
|
38
38
|
this.shortReloadTime = 160;
|
|
39
39
|
|
|
40
40
|
this.weaponName = 'EggK-47';
|
|
41
|
+
this.internalName = 'Eggk47';
|
|
41
42
|
this.standardMeshName = 'eggk47';
|
|
43
|
+
|
|
42
44
|
this.rof = 3;
|
|
43
45
|
this.recoil = 7;
|
|
44
46
|
this.automatic = true;
|
|
@@ -67,8 +69,10 @@ const DozenGauge = class _DozenGauge extends Gun {
|
|
|
67
69
|
this.longReloadTime = 155;
|
|
68
70
|
this.shortReloadTime = 155;
|
|
69
71
|
|
|
70
|
-
this.weaponName = '
|
|
72
|
+
this.weaponName = 'Scrambler';
|
|
73
|
+
this.internalName = 'Dozen Gauge';
|
|
71
74
|
this.standardMeshName = 'dozenGauge';
|
|
75
|
+
|
|
72
76
|
this.rof = 8;
|
|
73
77
|
this.recoil = 10;
|
|
74
78
|
this.automatic = false;
|
|
@@ -121,8 +125,10 @@ const CSG1 = class _CSG1 extends Gun {
|
|
|
121
125
|
this.shortReloadTime = 165;
|
|
122
126
|
this.highPrecision = true;
|
|
123
127
|
|
|
124
|
-
this.weaponName = '
|
|
128
|
+
this.weaponName = 'Free Ranger';
|
|
129
|
+
this.internalName = 'CSG-1';
|
|
125
130
|
this.standardMeshName = 'csg1';
|
|
131
|
+
|
|
126
132
|
this.rof = 13;
|
|
127
133
|
this.recoil = 13;
|
|
128
134
|
this.automatic = false;
|
|
@@ -159,7 +165,9 @@ const Cluck9mm = class _Cluck9mm extends Gun {
|
|
|
159
165
|
this.shortReloadTime = 160;
|
|
160
166
|
|
|
161
167
|
this.weaponName = 'Cluck 9mm';
|
|
168
|
+
this.internalName = 'Cluck 9mm';
|
|
162
169
|
this.standardMeshName = 'cluck9mm';
|
|
170
|
+
|
|
163
171
|
this.rof = 4;
|
|
164
172
|
this.recoil = 6;
|
|
165
173
|
this.automatic = false;
|
|
@@ -199,7 +207,9 @@ const RPEGG = class _RPEGG extends Gun {
|
|
|
199
207
|
this.shortReloadTime = 170;
|
|
200
208
|
|
|
201
209
|
this.weaponName = 'RPEGG';
|
|
210
|
+
this.internalName = 'Eggsploder';
|
|
202
211
|
this.standardMeshName = 'rpegg';
|
|
212
|
+
|
|
203
213
|
this.rof = 40;
|
|
204
214
|
this.recoil = 60;
|
|
205
215
|
this.automatic = false;
|
|
@@ -236,7 +246,9 @@ const SMG = class _SMG extends Gun {
|
|
|
236
246
|
this.shortReloadTime = 190;
|
|
237
247
|
|
|
238
248
|
this.weaponName = 'Whipper';
|
|
249
|
+
this.internalName = 'SMEGG';
|
|
239
250
|
this.standardMeshName = 'smg';
|
|
251
|
+
|
|
240
252
|
this.rof = 10;
|
|
241
253
|
this.recoil = 7;
|
|
242
254
|
this.automatic = true;
|
|
@@ -276,7 +288,9 @@ const M24 = class _M24 extends Gun {
|
|
|
276
288
|
this.shortReloadTime = 144;
|
|
277
289
|
|
|
278
290
|
this.weaponName = 'Crackshot';
|
|
291
|
+
this.internalName = 'M2DZ';
|
|
279
292
|
this.standardMeshName = 'm24';
|
|
293
|
+
|
|
280
294
|
this.rof = 60;
|
|
281
295
|
this.recoil = 40;
|
|
282
296
|
this.automatic = false;
|
|
@@ -316,7 +330,9 @@ const AUG = class _AUG extends Gun {
|
|
|
316
330
|
this.shortReloadTime = 160;
|
|
317
331
|
|
|
318
332
|
this.weaponName = 'Tri-Hard';
|
|
333
|
+
this.internalName = 'AUG';
|
|
319
334
|
this.standardMeshName = 'aug';
|
|
335
|
+
|
|
320
336
|
this.rof = 15;
|
|
321
337
|
this.recoil = 18;
|
|
322
338
|
this.automatic = false;
|
package/src/constants/index.js
CHANGED
|
@@ -82,6 +82,16 @@ export const ShellStreaks = {
|
|
|
82
82
|
MiniEgg: 32
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
export const SocialMedias = {
|
|
86
|
+
0: 'Facebook',
|
|
87
|
+
1: 'Instagram',
|
|
88
|
+
2: 'Tiktok',
|
|
89
|
+
3: 'Discord',
|
|
90
|
+
4: 'Youtube',
|
|
91
|
+
5: 'Twitter',
|
|
92
|
+
6: 'Twitch'
|
|
93
|
+
}
|
|
94
|
+
|
|
85
95
|
export const SocialRewards = {
|
|
86
96
|
Discord: 'rew_1200',
|
|
87
97
|
Tiktok: 'rew_1208',
|
|
@@ -107,5 +117,5 @@ export const URLRewards = [
|
|
|
107
117
|
'WelcomeBack'
|
|
108
118
|
]
|
|
109
119
|
|
|
110
|
-
export const UserAgent =
|
|
120
|
+
export const UserAgent = IsBrowser ? undefined :
|
|
111
121
|
'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'
|