thbaumbach / node-quake3-rcon Goto Github PK
View Code? Open in Web Editor NEWA tiny library for using Quake 3's RCON, including an command-line interface.
Home Page: https://www.npmjs.com/package/quake3-rcon
License: MIT License
A tiny library for using Quake 3's RCON, including an command-line interface.
Home Page: https://www.npmjs.com/package/quake3-rcon
License: MIT License
Hello! I really don't think you want to work on this package anymore, but I've recently found it, and it's fitting my need perfectly. However, I have a small issue with responses inserting "print" at the start of the response, and then every 1000 characters or so.
Any idea what would be causing this, or what I could do to work around it? If you're able to help, it would be appreciated.
Examples
rcon serverinfo
print <------
Server info settings:
sv_maxclients 30
version CoD4 X - linux-i386 build 962 Mar 12 2019
shortversion -
build 962
branch dev_newarch
rcon status (in bold)
print
map: mp_crash
num score ping guid name lastmsg address qport rate
2 47 219 2310346617288258243 BockLandes^7 0 999.148.69.245:28960 27080 100000
4 30 189 2310346615351783804 Satan^7 50 999.89.199.128:62100 45177 100000
6 47 64 2310346613751016972 RitZz J�D-I�^7 50 999.250.95.164:60773 34240 100000
8 119 72 2310346616055939769 FaNaT^7 0 999.109.24.140:28960 17643 100000
9 69 56 2310346613459929248 Morcegam^7 50 999.37.11.27:28960 54339 100000
10 54 172 2310346615138301380 Cuervo^7 0 999.249.208.216:18078 27741 100000
11 27 185 2310346614342378295 Johnny^7 50 999.234.215.181:28960 34188 100000
13 46 151print
2310346613553464866 Talha^7 50 999.201.131.232:14289 45413 100000
14 45 67 2310346614254859697 enFF^7 0 999.230.25.181:11650 60249 100000
15 107 43 2310346616823883199 LEGz AIMBOTTT^7 0 999.162.85.14:28960 42668 100000
16 37 46 2310346613514424766 Fox1Lead^7 900 999.146.198.37:38080 44720 100000
17 72 32 2310346614501231356 wayne^7 50 999.100.80.222:28960 36618 100000
19 34 210 2310346614053634727 |LI|RussianPooH^7 50 999.95.88.68:28960 43288 100000
Would this work in theory with Quake2 as well / minor edits?
How can I check if there was an error with the connection?
I noticed the response messages were slow, so I took a look at the code and seems it opens and closes a connection each send, so I modified it so the connection would stay open and we could send consistently and quickly, the response was fast but after a few sends I stopped getting responses.
Is this is a know issue with rcon? is there a rate limiter or am I misunderstanding how UDP is supposed to work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.