Commit graph

43 commits

Author SHA1 Message Date
Vito0912
3a17184862
feat: Add Farming Simulator 22/19 (#531)
* Added token paramter

* Added Farming Simulator 2022

* Fixed order

* Undo debug line

* Update Farming Simulator 22 support (By @Vito0912 #531)

* Added Farming Simulator 2019 support

* Revert change

* Update release year for Farming Simulator 2019

* Update mods array to raw.mods in farmingsimulator.js

* Update Farming Simulator naming in GAMES_LIST.md

* Missed some names

* Add server version to state.raw and eslint
2024-02-05 17:29:01 +02:00
Pedro Ivo Hudson
1f10ad0608
feat: add checking for older GIDs (#496)
* feat: add new games.extra.old_id

* add extra.old_id; standard release_year

* add option dontCheckOldIDs

* update naming, README, CHANGELOG

* Update CONTRIBUTING.md

* fix games.js

* add tool for checking duplicates

* update GAMES_LIST

* fix anchor links

* fix notes in generated game list

* Update GAMES_LIST.md

* Update GAMES_LIST.md

* add Game Object Example in CONTRIBUTING

* Update find_id_duplicates.js

* check skipOldIDs only once

* remove old ids; tweaks GAMES_LIST

* add MIGRATION document WIP

* Update GAMES_LIST.md

* update Halo Online name

* revert changes tool/generate

* remove extra line

* Update GAMES_LIST.md

* roll back GAME_LIST

* Update GAMES_LIST.md

* OMG

* WAT

* ok... hopefully the last change

* Update GAMES_LIST.md

* add MIGRATION ids

* roll back CONTRIBUTING

* Update CHANGELOG.md

* update skipOldIDs to checkOldIDs

* Update MIGRATION.md

* add migration note on README
2024-01-22 22:16:58 +02:00
CosminPerRam
1ef09d470b
feat: breadth attempt order (#486)
* feat: breadth attempt order

* fix: remove stray console log from debugging
2024-01-18 23:11:03 +02:00
CosminPerRam
b48a4398cd
feat: port caching (#478)
* feat: port caching

* feat: dont store in cache if disabled
2024-01-17 23:23:20 +02:00
CosminPerRam
17691b54c0 chore: cleaner CLI
Related: #459
2024-01-16 02:14:02 +02:00
CosminPerRam
5ae12dd494
feat: strip Colors (#469) 2024-01-16 01:39:07 +02:00
CosminPerRam
0a3338320e
chore: cleaner cli (#459)
* chore: cleaner cli

* chore: use destruction for argv
2024-01-16 00:58:54 +02:00
Pedro Ivo Hudson
0b8ebc871f
feat: Add valve requestRulesRequired & requestPlayersRequired (#458)
* feat: add valve requestRulesRequired

* missing delete requestRulesRequired

* feat: add valve requestPlayersRequired

* update documentation

* update games list
2024-01-11 22:58:50 +02:00
Tom
d37c5b7f2b
Fix cli with the new module layout (#420) 2023-11-28 12:59:13 +02:00
CosminPerRam
cee42e7a88
chore: Convert all files to LF endings (#400)
* Convert to LF?

* Modify gitattributes

* Force LF

* Git --renormalize

* Update .gitattributes to enforce eol=lf

* Redo CRLF -> LF on remaining files
2023-11-12 13:14:43 +02:00
CosminPerRam
3a1950133d chore: Move the gen readme in a separate folder than bin 2023-10-30 23:28:21 +02:00
Tom
01794f6339
Add support for running using deno (#362)
* Add missing CRLF line ending

* Add support for running using deno

Prefix node imports with "node:" and gate a socket API that is not
implemented in [deno](https://deno.land) so that the library can be used
there. This should not break node and doesn't in my brief testing.
2023-10-10 12:25:57 +03:00
CosminPerRam
93a9095d99
Add eslint (#364)
* Add initial prettier and eslint configs

* Modify prettierrc

* Run eslint on everything

* Actually remove prettier

* Fix some eslints

* Remove label in gs2

* Update CHANGELOG

* Update eslintrc to specify es2021
2023-09-19 19:52:35 +03:00
CosminPerRam
ad9adff06c
Move to ES6 module (#357)
* Redo imports and exports for lib

* Redo imports and exports for bim

* Redo imports and exports for games

* Remove remaining module.exports

* Use export default in lib

* Use export default in protocols

* Fix import in genreadme.js

* Make package module and solve __dirname

* Fix minecraft protocol imports

* Fix imports on games and make binary runnable

* Renamed protocol class exports to lowercase

* Export promises class as default

* Update README.md to use imports instead of require

* Update CHANGELOG to mention the changes.

* Remove Valve unused imports

* Fix iconv import
2023-09-14 23:28:31 +03:00
CosminPerRam
5b01e1be17
Replace deprecated substr with substring (#355)
* Make the QueryRunner more readable

* Remove use of deprecated substr and replace with substring, and some formatting
2023-09-13 17:31:58 +03:00
CosminPerRam
65dd876252 Refactor bin/gamedig.js a bit 2023-09-11 02:16:26 +03:00
cetteup
3c38fe48fe feat: Allow direct control of IP family to be returned by DNS lookup
implements #306
2022-12-13 10:46:43 +01:00
Michael Morrison
1d9cf90259 Parse dayz mods, queue length, and time acceleration (3.0.6) Fixes #232 Fixes #234 2021-07-08 21:51:34 -05:00
Michael Morrison
ce4e728493 Add support for udp bind port override (3.0.5) Fixes #149 2021-05-18 23:13:18 -05:00
Michael Morrison
fe124a4487 Bring discord protocol up to date with gamedig 3.0 2021-05-18 22:33:36 -05:00
Michael Morrison
d9310db38b Restore executable bit on gamedig.js 2021-05-18 22:11:58 -05:00
Michael Morrison
576062e88b Merge remote-tracking branch 'origin/master' into proto-discord
# Conflicts:
#	README.md
#	bin/gamedig.js
2021-05-18 22:08:37 -05:00
cetteup
a362d1d113 Added givenPortOnly user option
Allows user to disable gamedig's default behavior of adding query attempts using the default query port(-offset)
2020-08-24 20:27:44 +02:00
Tom
5dd7446eae
Force host argument to be string (Int causes error) 2020-01-04 01:03:48 +00:00
mmorrison
5aaff8e1e0 Added support for cs2d (2.0.5) 2019-01-13 23:54:36 -06:00
mmorrison
dd478a7bce Re-gen readme for 2.0 release, and remove notes about Separate Query Port (as it's now less important) 2019-01-12 22:52:06 -06:00
mmorrison
dfa5c95efc Remove callback support and global Gamedig.debug option 2019-01-12 22:38:49 -06:00
mmorrison
29ce0b82d0 Additional async rewrite 2019-01-12 04:43:36 -06:00
mmorrison
77b2cc1c7f Initial es6 async conversion work 2019-01-07 00:52:29 -06:00
mmorrison
3674d384d0 Convert tabs to spaces 2017-08-09 05:32:09 -05:00
mmorrison
69288baebc Upgrade syntax of everything to more modern javascript 2017-08-09 04:05:55 -05:00
mmorrison
7b9fe2161c Add support for promises 2017-03-14 03:40:02 -05:00
Michael Morrison
9c785bcda0 Remove debug code from command line gamedig 2015-02-02 03:05:46 -06:00
Michael Morrison
1ec2818051 Upgrade optimist dependency to minimist 2015-01-18 01:41:37 -06:00
Michael Morrison
f1467c5a04 crlf -> ln conversion 2014-10-29 02:02:03 -05:00
Michael Morrison
a3c3184eb8 crlf -> lf conversion 2014-10-29 01:42:33 -05:00
Michael Morrison
5bb493e83f Update readme, bump to 0.2.6 2014-09-13 09:43:02 -05:00
Michael Morrison
4b911c61cf Update readme 2014-09-13 09:34:18 -05:00
Michael Morrison
1cafb4eb86 Add warning when connection port is unknown. 2014-02-03 16:38:10 -06:00
Michael Morrison
bc6b5c9225 Super epic commit 3
Move everything around
Add another 50 or so games
*** 'port' option should now be CONNECT port, not query port ***
add reference for many missing games
2014-02-03 14:00:51 -06:00
Michael Morrison
3c0de4060c Fix line endings in bin for linux 2014-02-02 06:09:44 -06:00
Michael Morrison
add06a7d8f Misc tidying 2014-02-01 09:47:39 -06:00
Michael Morrison
c82554ad1a Super mega-commit
Organize files
Rewrite readme for new game IDs and command line
Add command line access
Replace some dependencies that required binaries with simpler alternatives
Switch gbxremote back to upstream, Closes #2
Moved simple aliases into an alias file, rather than seperate files for each
Patched nearly every protocol variant with tons of bug fixes
Re-tested every combination of server and protocol types except nadeo
Added alternative minecraft query check (minecraftping)
Fixed mutant factions query
Fixed valve gold not working at all
Stripped colors more reliably from protocols that support colors
Added a couple more fields to ut2004 and killing floor
and more that I probably forgot.

This shouldn't break compatibility too bad -- at the most, some game IDs may have changed.
2014-01-31 16:27:52 -06:00