yolkbot 0.0.0-1

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 (103) hide show
  1. package/README.md +38 -0
  2. package/browser/build/global.js +3 -0
  3. package/browser/build/module.js +3 -0
  4. package/dist/api.js +3 -0
  5. package/dist/bot/GamePlayer.js +3 -0
  6. package/dist/bot.js +3 -0
  7. package/dist/comm/Codes.js +3 -0
  8. package/dist/comm/CommIn.js +3 -0
  9. package/dist/comm/CommOut.js +3 -0
  10. package/dist/comm/OutBuffer.js +3 -0
  11. package/dist/comm/Pool.js +3 -0
  12. package/dist/comm/index.js +3 -0
  13. package/dist/constants/challenges.js +3 -0
  14. package/dist/constants/changelog.js +3 -0
  15. package/dist/constants/codes.js +3 -0
  16. package/dist/constants/guns.js +3 -0
  17. package/dist/constants/housePromo.js +3 -0
  18. package/dist/constants/index.js +3 -0
  19. package/dist/constants/items.js +3 -0
  20. package/dist/constants/language.js +3 -0
  21. package/dist/constants/maps.js +3 -0
  22. package/dist/constants/shellNews.js +3 -0
  23. package/dist/constants/shellYoutube.js +3 -0
  24. package/dist/constants/shopItems.js +3 -0
  25. package/dist/constants/sounds.js +3 -0
  26. package/dist/dispatches/BootPlayerDispatch.js +3 -0
  27. package/dist/dispatches/ChatDispatch.js +3 -0
  28. package/dist/dispatches/FireDispatch.js +3 -0
  29. package/dist/dispatches/GameOptionsDispatch.js +3 -0
  30. package/dist/dispatches/GoToAmmoDispatch.js +3 -0
  31. package/dist/dispatches/GoToCoopDispatch.js +3 -0
  32. package/dist/dispatches/GoToGrenadeDispatch.js +3 -0
  33. package/dist/dispatches/GoToPlayerDispatch.js +3 -0
  34. package/dist/dispatches/GoToSpatulaDispatch.js +3 -0
  35. package/dist/dispatches/LookAtDispatch.js +3 -0
  36. package/dist/dispatches/LookAtPosDispatch.js +3 -0
  37. package/dist/dispatches/MeleeDispatch.js +3 -0
  38. package/dist/dispatches/MovementDispatch.js +3 -0
  39. package/dist/dispatches/PauseDispatch.js +3 -0
  40. package/dist/dispatches/ReloadDispatch.js +3 -0
  41. package/dist/dispatches/ReportPlayerDispatch.js +3 -0
  42. package/dist/dispatches/SaveLoadoutDispatch.js +3 -0
  43. package/dist/dispatches/SpawnDispatch.js +3 -0
  44. package/dist/dispatches/SwapWeaponDispatch.js +3 -0
  45. package/dist/dispatches/SwitchTeamDispatch.js +3 -0
  46. package/dist/dispatches/ThrowGrenadeDispatch.js +3 -0
  47. package/dist/dispatches/index.js +3 -0
  48. package/dist/globals.js +3 -0
  49. package/dist/index.js +10 -0
  50. package/dist/matchmaker.js +3 -0
  51. package/dist/pathing/astar.js +3 -0
  52. package/dist/pathing/binaryheap.js +3 -0
  53. package/dist/pathing/mapnode.js +3 -0
  54. package/dist/socket.js +3 -0
  55. package/dist/types/api.d.ts +14 -0
  56. package/dist/types/bot/GamePlayer.d.ts +119 -0
  57. package/dist/types/bot.d.ts +331 -0
  58. package/dist/types/comm/Codes.d.ts +21 -0
  59. package/dist/types/comm/CommIn.d.ts +22 -0
  60. package/dist/types/comm/CommOut.d.ts +10 -0
  61. package/dist/types/comm/OutBuffer.d.ts +24 -0
  62. package/dist/types/comm/Pool.d.ts +20 -0
  63. package/dist/types/comm/index.d.ts +16 -0
  64. package/dist/types/constants/challenges.d.ts +19 -0
  65. package/dist/types/constants/changelog.d.ts +7 -0
  66. package/dist/types/constants/codes.d.ts +52 -0
  67. package/dist/types/constants/guns.d.ts +248 -0
  68. package/dist/types/constants/housePromo.d.ts +40 -0
  69. package/dist/types/constants/index.d.ts +123 -0
  70. package/dist/types/constants/items.d.ts +21 -0
  71. package/dist/types/constants/language.d.ts +3 -0
  72. package/dist/types/constants/maps.d.ts +98 -0
  73. package/dist/types/constants/shellNews.d.ts +12 -0
  74. package/dist/types/constants/shellYoutube.d.ts +12 -0
  75. package/dist/types/constants/shopItems.d.ts +15 -0
  76. package/dist/types/constants/sounds.d.ts +10 -0
  77. package/dist/types/dispatches/BootPlayerDispatch.d.ts +12 -0
  78. package/dist/types/dispatches/ChatDispatch.d.ts +10 -0
  79. package/dist/types/dispatches/FireDispatch.d.ts +10 -0
  80. package/dist/types/dispatches/GameOptionsDispatch.d.ts +8 -0
  81. package/dist/types/dispatches/GoToAmmoDispatch.d.ts +8 -0
  82. package/dist/types/dispatches/GoToCoopDispatch.d.ts +8 -0
  83. package/dist/types/dispatches/GoToGrenadeDispatch.d.ts +8 -0
  84. package/dist/types/dispatches/GoToPlayerDispatch.d.ts +11 -0
  85. package/dist/types/dispatches/GoToSpatulaDispatch.d.ts +8 -0
  86. package/dist/types/dispatches/LookAtDispatch.d.ts +14 -0
  87. package/dist/types/dispatches/LookAtPosDispatch.d.ts +18 -0
  88. package/dist/types/dispatches/MeleeDispatch.d.ts +8 -0
  89. package/dist/types/dispatches/MovementDispatch.d.ts +12 -0
  90. package/dist/types/dispatches/PauseDispatch.d.ts +8 -0
  91. package/dist/types/dispatches/ReloadDispatch.d.ts +8 -0
  92. package/dist/types/dispatches/ReportPlayerDispatch.d.ts +22 -0
  93. package/dist/types/dispatches/SaveLoadoutDispatch.d.ts +34 -0
  94. package/dist/types/dispatches/SpawnDispatch.d.ts +8 -0
  95. package/dist/types/dispatches/SwapWeaponDispatch.d.ts +8 -0
  96. package/dist/types/dispatches/SwitchTeamDispatch.d.ts +8 -0
  97. package/dist/types/dispatches/ThrowGrenadeDispatch.d.ts +10 -0
  98. package/dist/types/dispatches/index.d.ts +174 -0
  99. package/dist/types/matchmaker.d.ts +72 -0
  100. package/dist/types/socket.d.ts +7 -0
  101. package/dist/types/util.d.ts +4 -0
  102. package/dist/util.js +3 -0
  103. package/package.json +102 -0
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ <div align='center'>
2
+ <h1>yolkbot</h1>
3
+ <h3>creating bots in 10 lines since 2025</h3>
4
+ <p>
5
+ <a href='https://github.com/yolkorg/yolkbot'>github</a> |
6
+ <a href='https://yolkbot.villainsrule.xyz'>documentation</a> |
7
+ <a href='https://npmjs.com/yolkbot'>npm</a> |
8
+ <a href='https://discord.gg/gYugVUCaMr'>discord</a>
9
+ </p>
10
+ </div>
11
+
12
+ <br>
13
+
14
+ <h3 align='center'>why?</h3>
15
+ <p align='center'>
16
+ this library creates a unified way to create shell shockers bots for any purpose.<br>
17
+ you no longer have to figure out how to write hundreds of lines just to join a game.<br>
18
+ create a bot & put it in a game in 3 lines, down from 300.
19
+ </p>
20
+
21
+ <br>
22
+
23
+ <h3 align='center'>credits</h3>
24
+
25
+ <p align='center'>
26
+ this codebase is written and maintained by <a href='https://github.com/villainsrule'>1ust</a><br>
27
+ special thanks to <a href='https://zastix.club'>zastix</a> for emotional support (you are amazing!)
28
+ </p>
29
+
30
+ <br>
31
+
32
+ <h3 align='center'>important: dmca</h3>
33
+
34
+ <p align='center'>
35
+ parts of this repository are JSON files that come from data contained in Shell Shockers. <br>
36
+ per <a href='https://www.copyright.gov/reports/studies/dmca/sec-104-report-vol-1.pdf'>section 117 of the DMCA</a>, this repository is an archive and should not be subject to takedown. <br>
37
+ a false DMCA is considered illegal.
38
+ </p>