View previous topic :: View next topic |
Author |
Message |
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Fri Jan 22, 2025 1:16 am Post subject: Might I Request A Favor?[RESOLVED, thanks] |
|
|
I'd like to test a network app i'm working on for school.
It's all written all i need help with is testing.
Point your favorite telnet client (yes i know... tellnet bad, ssh good.... but the assignment specified telnet) at www.darkstaranime.com port 50000 and the server shall greet you.
the game is pretty simple and self explanitory (guess my number).
The keywords recognized by the server are:
cheat - the server shall start/stop cheating. say it again to reverse the effect
debug - enter/exit debug mode (this is if you want to cheat)
quit - leave the game
shutdown - shutdown the server (it will respawn so go ahead and try it)
license - print the license the software is published under.
games - print the number of games that are currently being played
any other input is assumed to be a guess.
oh, and to prevent crashing my server the game will only allow 1000 simultanious connections.
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
Last edited by Lord.DragonFly.of.Dawn on Thu Feb 04, 2025 1:42 am; edited 1 time in total |
|
Back to top |
|
VHockey86 Advanced Member

Joined: 12 Dec 2025 Posts: 988 Location: Rochester
|
Posted: Fri Jan 22, 2025 1:33 am Post subject: |
|
|
from putty on a windows client the output looked screwy, I assume its a lack of CR and Windows by default wanting \r\n
Looked fine from a linux client.
_________________ Main Desktops : Kubuntu 10.4. ArchLinux 64-bit. Windows7 64-bit. Windows XP 32-bit.
MacBook: OS X Snow Leopard (10.6)
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Fri Jan 22, 2025 1:41 am Post subject: |
|
|
that would be correct. the server assumes your client is fine with endl being just \n.... if i have time i'll make it smarter....
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
VHockey86 Advanced Member

Joined: 12 Dec 2025 Posts: 988 Location: Rochester
|
Posted: Fri Jan 22, 2025 4:45 am Post subject: |
|
|
yeah I just thought I'd give a heads up incase your instructor might be grading from a windows client.
_________________ Main Desktops : Kubuntu 10.4. ArchLinux 64-bit. Windows7 64-bit. Windows XP 32-bit.
MacBook: OS X Snow Leopard (10.6)
|
|
Back to top |
|
Rootboy Sr. Member

Joined: 11 Aug 2025 Posts: 1947 Location: Lewisburg, Tennessee
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Fri Jan 22, 2025 10:48 pm Post subject: |
|
|
in cheat mode the server cheats. if you want to cheat enter debug mode and the server shall tell you what it is thinking of.
in cheat mode it picks a new number every guess so you always have a 1 in 100 chance of wining.
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
lynch Moderator

Joined: 15 Nov 2025 Posts: 2659 Location: The Diamond State
|
Posted: Sat Jan 23, 2025 10:44 am Post subject: |
|
|
Worked for me.
The number is.......
_________________ Mandriva 2025 Spring -2.6.31.12-server-2mnb
PCLinuxOS 2025 -2.6.26.8.tex3
|
|
Back to top |
|
mmmna . . . .

Joined: 21 Apr 2025 Posts: 7224
|
Posted: Thu Feb 04, 2025 1:24 am Post subject: |
|
|
ssh ... asking password
_________________ -Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2025 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Thu Feb 04, 2025 1:42 am Post subject: |
|
|
thats because it was a telnet server. if you wanted ssh you should have tried port 22 like normal. but good luck with username/passwd!
don't break my machine please....
ant the tellnet isn't responding cause i rebooted the server so the script stopped working. i can restart it if you'd like but the assignment was due and handed in today so it was a bit of a moot point.
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
mmmna . . . .

Joined: 21 Apr 2025 Posts: 7224
|
Posted: Thu Feb 04, 2025 1:52 am Post subject: |
|
|
Ahh man! I come here once a month and I missed my chance.
Maybe next time!
|
|
Back to top |
|
|