yolkbot 1.4.5 → 1.4.7

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.
Files changed (113) hide show
  1. package/LICENSE.md +114 -0
  2. package/browser/build/global.js +1 -1
  3. package/browser/build/module.js +1 -1
  4. package/dist/api.js +200 -1
  5. package/dist/bot/GamePlayer.js +74 -1
  6. package/dist/bot.js +1679 -1
  7. package/dist/comm/CommIn.js +79 -1
  8. package/dist/comm/CommOut.js +60 -1
  9. package/dist/comm/index.js +11 -1
  10. package/dist/constants/CloseCode.js +27 -1
  11. package/dist/constants/CommCode.js +53 -1
  12. package/dist/constants/challenges.js +1821 -1
  13. package/dist/constants/findItemById.js +2 -3
  14. package/dist/constants/guns.js +277 -1
  15. package/dist/constants/index.js +139 -1
  16. package/dist/constants/items.js +45042 -1
  17. package/dist/constants/maps.js +1263 -1
  18. package/dist/constants/regions.js +30 -1
  19. package/dist/dispatches/BanPlayerDispatch.js +32 -1
  20. package/dist/dispatches/BootPlayerDispatch.js +21 -1
  21. package/dist/dispatches/ChatDispatch.js +32 -1
  22. package/dist/dispatches/FireDispatch.js +15 -1
  23. package/dist/dispatches/GameOptionsDispatch.js +66 -1
  24. package/dist/dispatches/GoToAmmoDispatch.js +38 -1
  25. package/dist/dispatches/GoToCoopDispatch.js +38 -1
  26. package/dist/dispatches/GoToGrenadeDispatch.js +38 -1
  27. package/dist/dispatches/GoToPlayerDispatch.js +39 -1
  28. package/dist/dispatches/GoToSpatulaDispatch.js +26 -1
  29. package/dist/dispatches/LookAtDispatch.js +35 -1
  30. package/dist/dispatches/LookAtPosDispatch.js +29 -1
  31. package/dist/dispatches/MeleeDispatch.js +26 -1
  32. package/dist/dispatches/MovementDispatch.js +26 -1
  33. package/dist/dispatches/PauseDispatch.js +18 -1
  34. package/dist/dispatches/ReloadDispatch.js +28 -1
  35. package/dist/dispatches/ReportPlayerDispatch.js +42 -1
  36. package/dist/dispatches/ResetGameDispatch.js +19 -1
  37. package/dist/dispatches/SaveLoadoutDispatch.js +105 -1
  38. package/dist/dispatches/SpawnDispatch.js +22 -1
  39. package/dist/dispatches/SwapWeaponDispatch.js +25 -1
  40. package/dist/dispatches/SwitchTeamDispatch.js +33 -1
  41. package/dist/dispatches/ThrowGrenadeDispatch.js +21 -1
  42. package/dist/dispatches/index.js +74 -1
  43. package/dist/env/fetch.js +97 -10
  44. package/dist/env/globals.js +15 -1
  45. package/dist/index.js +14 -2
  46. package/dist/matchmaker.js +141 -1
  47. package/dist/pathing/astar.js +55 -1
  48. package/dist/pathing/binaryheap.js +79 -1
  49. package/dist/pathing/mapnode.js +179 -1
  50. package/dist/socket.js +97 -1
  51. package/dist/util.js +68 -1
  52. package/dist/wasm/bytes.js +8 -1
  53. package/dist/wasm/direct.js +84 -1
  54. package/dist/wasm/legacy.js +170 -1
  55. package/dist/wasm/util.js +19 -1
  56. package/package.json +41 -40
  57. /package/dist/{types/api.d.ts → api.d.ts} +0 -0
  58. /package/dist/{types/bot → bot}/GamePlayer.d.ts +0 -0
  59. /package/dist/{types/bot.d.ts → bot.d.ts} +0 -0
  60. /package/dist/{types/comm → comm}/CommIn.d.ts +0 -0
  61. /package/dist/{types/comm → comm}/CommOut.d.ts +0 -0
  62. /package/dist/{types/comm → comm}/index.d.ts +0 -0
  63. /package/dist/{types/constants → constants}/CloseCode.d.ts +0 -0
  64. /package/dist/{types/constants → constants}/CommCode.d.ts +0 -0
  65. /package/dist/{types/constants → constants}/challenges.d.ts +0 -0
  66. /package/dist/{types/constants → constants}/changelog.d.ts +0 -0
  67. /package/dist/{types/constants → constants}/findItemById.d.ts +0 -0
  68. /package/dist/{types/constants → constants}/guns.d.ts +0 -0
  69. /package/dist/{types/constants → constants}/housePromo.d.ts +0 -0
  70. /package/dist/{types/constants → constants}/index.d.ts +0 -0
  71. /package/dist/{types/constants → constants}/items.d.ts +0 -0
  72. /package/dist/{types/constants → constants}/language.d.ts +0 -0
  73. /package/dist/{types/constants → constants}/maps.d.ts +0 -0
  74. /package/dist/{types/constants → constants}/notices.d.ts +0 -0
  75. /package/dist/{types/constants → constants}/regions.d.ts +0 -0
  76. /package/dist/{types/constants → constants}/shellNews.d.ts +0 -0
  77. /package/dist/{types/constants → constants}/shellYoutube.d.ts +0 -0
  78. /package/dist/{types/constants → constants}/shopItems.d.ts +0 -0
  79. /package/dist/{types/constants → constants}/sounds.d.ts +0 -0
  80. /package/dist/{types/dispatches → dispatches}/BanPlayerDispatch.d.ts +0 -0
  81. /package/dist/{types/dispatches → dispatches}/BootPlayerDispatch.d.ts +0 -0
  82. /package/dist/{types/dispatches → dispatches}/ChatDispatch.d.ts +0 -0
  83. /package/dist/{types/dispatches → dispatches}/FireDispatch.d.ts +0 -0
  84. /package/dist/{types/dispatches → dispatches}/GameOptionsDispatch.d.ts +0 -0
  85. /package/dist/{types/dispatches → dispatches}/GoToAmmoDispatch.d.ts +0 -0
  86. /package/dist/{types/dispatches → dispatches}/GoToCoopDispatch.d.ts +0 -0
  87. /package/dist/{types/dispatches → dispatches}/GoToGrenadeDispatch.d.ts +0 -0
  88. /package/dist/{types/dispatches → dispatches}/GoToPlayerDispatch.d.ts +0 -0
  89. /package/dist/{types/dispatches → dispatches}/GoToSpatulaDispatch.d.ts +0 -0
  90. /package/dist/{types/dispatches → dispatches}/LookAtDispatch.d.ts +0 -0
  91. /package/dist/{types/dispatches → dispatches}/LookAtPosDispatch.d.ts +0 -0
  92. /package/dist/{types/dispatches → dispatches}/MeleeDispatch.d.ts +0 -0
  93. /package/dist/{types/dispatches → dispatches}/MovementDispatch.d.ts +0 -0
  94. /package/dist/{types/dispatches → dispatches}/PauseDispatch.d.ts +0 -0
  95. /package/dist/{types/dispatches → dispatches}/ReloadDispatch.d.ts +0 -0
  96. /package/dist/{types/dispatches → dispatches}/ReportPlayerDispatch.d.ts +0 -0
  97. /package/dist/{types/dispatches → dispatches}/ResetGameDispatch.d.ts +0 -0
  98. /package/dist/{types/dispatches → dispatches}/SaveLoadoutDispatch.d.ts +0 -0
  99. /package/dist/{types/dispatches → dispatches}/SpawnDispatch.d.ts +0 -0
  100. /package/dist/{types/dispatches → dispatches}/SwapWeaponDispatch.d.ts +0 -0
  101. /package/dist/{types/dispatches → dispatches}/SwitchTeamDispatch.d.ts +0 -0
  102. /package/dist/{types/dispatches → dispatches}/ThrowGrenadeDispatch.d.ts +0 -0
  103. /package/dist/{types/dispatches → dispatches}/index.d.ts +0 -0
  104. /package/dist/{types/matchmaker.d.ts → matchmaker.d.ts} +0 -0
  105. /package/dist/{types/pathing → pathing}/astar.d.ts +0 -0
  106. /package/dist/{types/pathing → pathing}/binaryheap.d.ts +0 -0
  107. /package/dist/{types/pathing → pathing}/mapnode.d.ts +0 -0
  108. /package/dist/{types/socket.d.ts → socket.d.ts} +0 -0
  109. /package/dist/{types/util.d.ts → util.d.ts} +0 -0
  110. /package/dist/{types/wasm → wasm}/bytes.d.ts +0 -0
  111. /package/dist/{types/wasm → wasm}/direct.d.ts +0 -0
  112. /package/dist/{types/wasm → wasm}/legacy.d.ts +0 -0
  113. /package/dist/{types/wasm → wasm}/util.d.ts +0 -0
package/LICENSE.md ADDED
@@ -0,0 +1,114 @@
1
+ yolkbot License v1.0
2
+ ====================
3
+
4
+ Copyright © 2025 VillainsRule (also known as 1ust)
5
+ All Rights Reserved.
6
+
7
+ This Software is the sole property of the copyright holder. Any prior arrangements, partnerships, or agreements are hereby revoked and superseded by this license.
8
+
9
+ This license applies retroactively to all versions of yolkbot software, including all code, scripts, documentation, and associated materials created by or under the yolkorg organization (collectively, the "Software").
10
+
11
+ By using, copying, modifying, or distributing the Software, you agree to be bound by the terms of this license.
12
+
13
+ DEFINITIONS
14
+ -----------
15
+ - "Subscription Wall" means any requirement to subscribe, follow, join, or become a member of any service (including but not limited to YouTube, Discord, Twitch, Twitter, Instagram, TikTok, email lists, or similar platforms) as a condition of accessing the Software.
16
+ - "Advertisement Wall" means any requirement to view, interact with, or pass through advertisements (including but not limited to ad-supported downloads, URL shorteners like Linkvertise, or similar services) as a condition of accessing the Software.
17
+ - "Original Form" means the Software as provided by the copyright holder, without modifications to the code or functionality.
18
+ - "Modified Version" means any version of the Software that has been altered, adapted, or extended from its Original Form.
19
+
20
+ GRANT OF RIGHTS
21
+ ---------------
22
+ Subject to the terms of this license, you are granted the following rights:
23
+
24
+ 1. **Private Modification**: You may modify the Software for personal, internal, or commercial use, provided such modifications are not distributed, published, or shared publicly.
25
+
26
+ 2. **Distribution of Original**: You may distribute, republish, or share the Software in its Original Form for personal, educational, or commercial purposes.
27
+
28
+ 3. **Use**: You may use the Software for any lawful purpose.
29
+
30
+ RESTRICTIONS
31
+ ------------
32
+ You may NOT:
33
+
34
+ 1. Sell, license for a fee, or place behind any paywall, Subscription Wall, or Advertisement Wall:
35
+ - The Software in its Original Form, or
36
+ - Any Modified Version of the Software
37
+
38
+ 2. Distribute or publish any Modified Version without prior written permission from the copyright holder.
39
+
40
+ 3. Claim authorship or ownership of the Software or any portion thereof without written authorization from the copyright holder.
41
+
42
+ 4. Use the Software for any purpose that violates applicable local, state, national, or international laws or regulations.
43
+
44
+ 5. Remove or alter any copyright notices, license terms, or attribution present in the Software.
45
+
46
+ DISCLAIMER OF WARRANTY
47
+ ----------------------
48
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR WARRANTIES REGARDING THE ACCURACY, RELIABILITY, OR COMPLETENESS OF THE SOFTWARE.
49
+
50
+ LIMITATION OF LIABILITY
51
+ -----------------------
52
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THIS INCLUDES, BUT IS NOT LIMITED TO, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
53
+
54
+ USER RESPONSIBILITY
55
+ -------------------
56
+ You acknowledge and agree that:
57
+ - You are solely responsible for your use of the Software and any consequences thereof
58
+ - You are responsible for ensuring your use complies with all applicable laws
59
+ - Any violation of this license is your sole responsibility
60
+ - You will indemnify and hold harmless the copyright holder from any claims arising from your use or misuse of the Software
61
+
62
+ THIRD-PARTY CODE AND DMCA NOTICES
63
+ ----------------------------------
64
+ 1. **Original Work**: The Software is an original work created independently by the copyright holder. It does not contain, incorporate, or derive from any proprietary code, assets, or intellectual property owned by Shell Shockers or Blue Wizard Digital.
65
+
66
+ 2. **Reverse Engineering**: The Software may interact with, modify, or extend Shell Shockers through publicly available APIs, documented interfaces, or techniques permitted under applicable law for purposes of interoperability.
67
+
68
+ 3. **DMCA Safe Harbor**: The copyright holder:
69
+ - Makes no representations that user-submitted contributions are free from third-party claims
70
+ - Will respond to valid DMCA notices in accordance with applicable law
71
+ - Reserves the right to remove any content subject to legitimate IP claims
72
+
73
+ 4. **User Responsibility for Third-Party IP**: Users are solely responsible for ensuring their use of the Software does not infringe upon any third-party intellectual property rights, including but not limited to the rights of [Game Name] developers.
74
+
75
+ 5. **Frivolous Claims**: The copyright holder reserves the right to pursue legal remedies against parties who knowingly submit false or bad-faith DMCA takedown notices under penalty of perjury as provided by law.
76
+
77
+ CONTRIBUTOR RIGHTS AND OWNERSHIP
78
+ ---------------------------------
79
+ 1. **Sole Ownership**: All rights, title, and interest in the Software, including all intellectual property rights, are owned exclusively by the copyright holder (VillainsRule/1ust).
80
+
81
+ 2. **Contributor License**: By contributing code, documentation, or other materials to the Software, contributors:
82
+ - Grant the copyright holder a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to use, modify, distribute, and sublicense such contributions
83
+ - Automatically assign all rights, title, and interest in their contributions to the copyright holder
84
+ - Waive any moral rights or rights of attribution to the extent permitted by law
85
+
86
+ 3. **No Special Rights**: Contributors, including past collaborators or developers, have no greater rights to the Software than any other user under this license. Contributions do not grant:
87
+ - Ownership interest in the Software
88
+ - Decision-making authority over the Software's direction or licensing
89
+ - Rights to distribute Modified Versions without permission
90
+ - Any claims to royalties, fees, or other compensation
91
+
92
+ 4. **Internal Development**: Contributors may modify the Software solely for the purpose of submitting improvements to the official project repository, subject to acceptance by the copyright holder. Such modifications do not grant additional rights beyond those specified in this license.
93
+
94
+ 5. **Acknowledgment by Former Administration**: Any individual who previously held administrative access, development permissions, special roles, or similar status acknowledges that:
95
+ - Their status has been revoked in its entirety
96
+ - They are bound by the same terms as all other users
97
+ - Any previous agreements are superseded by this license
98
+
99
+ ENFORCEMENT
100
+ -----------
101
+ Violation of this license may result in:
102
+ - Immediate termination of your rights under this license
103
+ - Legal action to enforce the terms of this license
104
+ - Claims for damages or other relief as appropriate
105
+
106
+ MODIFICATIONS TO LICENSE
107
+ ------------------------
108
+ This license may be updated at any time. Continued use of the Software after license updates constitutes acceptance of the modified terms. The current version will be maintained in the Software repository.
109
+
110
+ GOVERNING LAW
111
+ -------------
112
+ This license shall be governed by and construed in accordance with the laws applicable in the jurisdiction of the copyright holder, without regard to conflict of law principles.
113
+
114
+ Thank you for using yolkbot!