aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-16used id and lecture delayHolden Rohrer
These should reduce the bot's total response count, improving efficiency with spammers. The lecture delay includes a space-replacement and differ to allow "b a d w o r d" to still only require 7 changes. Tile deletion delay upped to 5 minutes.
2020-07-16split out nullprint and set up space.regex multi-returnHolden Rohrer
2020-07-16search.js uses `space` regexes now, improving nword matchHolden Rohrer
2020-07-16removed main.on(open) log and fixed breaking scope bugHolden Rohrer
2020-07-16added nword protector using an add'l id func to QueueHolden Rohrer
This should be added to sched.Queue so (even if it requires a somewhat convoluted workflow), any write may be tracked.
2020-07-16measurespace has default [0,0] to give useful answer w/o locHolden Rohrer
2020-07-16search.update passing incorrect stringy loc, improved search.js docHolden Rohrer
2020-07-16raster.js was totally incorrect (new ver uses real, not tile coords)Holden Rohrer
2020-07-16vec.elem prevents NaN calc and charToTile uses .mapHolden Rohrer
It used to return [], which caused some major calculation issues in tools/search
2020-07-16improved space correctnessHolden Rohrer
Subsections have valid locs, and built-in assumptions are asserted like a valid loc in a towrite() or the structure of a subsection() call
2020-07-16space.{adhoc,from*} now return thisHolden Rohrer
This eases composition of space functions without having to create a bunch of closures or global variables
2020-07-16tilein.call corrected in fromfetchHolden Rohrer
2020-07-16Socket checks coord sizes (esp. to prevent non-list inputs)Holden Rohrer
2020-07-16made websocket errors log more specificallyHolden Rohrer
2020-07-14missile is actually symmetricHolden Rohrer
2020-03-26infinite loop fixHolden Rohrer
2020-03-26fixed bug which has been making me tear my hair outHolden Rohrer
2020-02-23removed global variable pollutionHolden Rohrer
2020-02-13Merge branch 'master' of https://git.hrhr.dev/ywot-cleanHolden Rohrer
2020-02-12removed wacc as predictor for push cap in schedHolden Rohrer
2020-02-13Merge branch 'master' of https://git.hrhr.dev/ywot-cleanHolden Rohrer
2020-02-11no longer sends `undefined` char with job pad stepHolden Rohrer
2020-02-11no longer sends `undefined` char with job pad stepHolden Rohrer
2020-02-09externalized charToTile component of rasterHolden Rohrer
2020-02-05added missile artHolden Rohrer
2020-02-05updated readmeHolden Rohrer
2020-02-06padded notifHolden Rohrer
2020-02-05made notif actually a global variable for jarvisHolden Rohrer
notifRefresh is more compliant with clean-code standards, and I've moved the notif so as not to interfere with another bot
2020-02-05schedule.js prevents off-by-one error by popping minimum amount in step 3Holden Rohrer
2020-02-05included bullet art request in jarvisHolden Rohrer
2020-02-05fixed a BIG bugHolden Rohrer
So, this is pretty embarrassing, but I didn't realize that I was pushing the entire stack whenever 0 chars were supposed to be pushed because I thought that javascript's built-in functions were ok with negative zeros (stupid me)
2020-01-31proper mathematical fix in schedulerHolden Rohrer
2020-01-29Merge branch 'socket'Holden Rohrer
Made the socket object used by jarvis a singleton MetaSocket object to maintain clean, modular code standards. This also means that future feature addition will be easier because all references are to one object, of which the behavior can be easily changed since most systems rely on EventEmitter or callback-style structures
2020-01-29generalized tools/search modelHolden Rohrer
search.js now provides for a .match and .unmatch method, so it doesn't need to be called every time (in-line with the singleton MetaSocket object model, meaning that callbacks are used and several spaces can be matched at a time)
2020-01-29jarvis uses mainworld nowHolden Rohrer
2020-01-29fixed mathematical model in tools/schedHolden Rohrer
Used to keep `num` the same and decrease the sum of weight, which created an error because the value of `num` was used in dequeuing job components. This patch prevents `dequeue()` from pushing more objects than it's actually able to.
2020-01-24jarvis changed in preparation for search refactorHolden Rohrer
2020-01-24jarvis integrated new changesHolden Rohrer
2020-01-24wwrap can be used for socket extensionHolden Rohrer
2020-01-24tools/claim now uses 'fallback' eventHolden Rohrer
2020-01-24Identity function built for .call useHolden Rohrer
In an effort to move jarvis to using one class, MetaSocket, for all of its interactions with the main socket, ident is now only able to be used as id.call(socket); this should simplify the behavior and means that it can use EventEmitter events.
2020-01-24made protectArea more efficientHolden Rohrer
jarvis now calls every protection update with the same movement instead of tile-by-tile, which would delay parts of the protection by a second
2020-01-24fixed vulnerability in schedHolden Rohrer
This vulnerability permitted external users to overwrite the alert for long periods of time
2020-01-21merged master to socketHolden Rohrer
2020-01-21two minor typo-like bugfixesHolden Rohrer
2020-01-20bug statementHolden Rohrer
2020-01-20minor jarvis changesHolden Rohrer
2020-01-20removed inaccurate claim.js commentHolden Rohrer
2020-01-20removed extraneous code from tools/searchHolden Rohrer
2020-01-20scheduler built for external accessHolden Rohrer
.dequeue has been made available, along with an infinite delay-time so that a secondary loop can manage multiple schedules at a time. This is paired with .size to make the external loop more efficient (hopefully, baudrate is used optimally)