Closed Beta Discussion: Beta Testers Advanced Discussion

Last Page >>
Beta Testers Advanced Discussion
ccatlett2000
Feb. 14, 2015, 4:01 a.m.

This forum thread will be for beta testers to discuss the game's advanced features with each other. This creates a centralized place for beta testers to go where they know other people will understand what they are talking about.

ConnorJC


KERNEL.SYS
ccatlett2000
Feb. 14, 2015, 4:06 a.m.

I'll start us off.

ccatlett2000@...> hexdump KERNEL.SYS File not found. ccatlett2000@...> cat KERNEL.SYS File not found.

What's up with the KERNEL.SYS file. Seems like it doesn't exist, which leads me to wonder how much of the game is in the game's machine code. Not much it seems, as none of the in-game commands are files. Hopefully kveroneau will fix this in the upcoming releases.

Anybody know if the game's emulator is still based on the simple-cpu project from the last hacker's edge, or is it different?


KERNEL.SYS Writing
ccatlett2000
Feb. 14, 2015, 4:15 a.m.

Just found out you can write to KERNEL.SYS with the create command. Then you can cat/hexdump/whatever it. I guess the current beta is only showing off the old features, where all the commands were hardcoded into the game.

Hope we soon see an update adding commands as the game's machine code. That would be amazing.

ConnorJC


Beta Testers Advanced Discussion
kveroneau(Game Creator)
Feb. 14, 2015, 4:57 a.m.

I am actually working on a new virtual machine not based on my simple-cpu project at all. In the previous version I wrote, KERNEL.SYS was loaded into the host's memory and most definitely used. However, I decided to switch over the virtual machine as it was getting too complex for it's purpose. It would take too much assembly code to write a simple program, and the KERNEL source code actually got too complex after awhile.

I highly recommend reading through my development diary located here to get more detailed information on what I have been working on recently:

http://www.hackers-edge.com/Forums/devblog

Sometime next week, the new virtual machine should be stable enough so that I can create a new KERNEL.SYS and replace all the hardcoded commands with ones coded in the VM.

Oh, and once the KERNEL.SYS is actual binary code, do not use the create command on it, or you'll basically destroy your KERNEL.SYS making your host unable to boot... All apps, including KERNEL.SYS are compiled binary, and that's why you see the compile command, and hexdump. There's no need to hexdump a text file. I'd recommend watching out for the latest news and updates on the Diary link above everyday next week, as I will be making more progress then. Oh, and here are some other commands you can check out:

help
+help
@help

All of these will show you every single available command currently in the game. All the + and @ commands will be hardcoded, as these are game commands. You use them to PM other players, chat, and see who's online right now.


Beta Testers Advanced Discussion
ccatlett2000
Feb. 14, 2015, 5:14 a.m.

Thanks for the clarification.

I'm going to try to find some info on the attr command to post here, for those who aren't developing the game and therefore have no idea how to use it.

ConnorJC


Beta Testers Advanced Discussion
ccatlett2000
Feb. 14, 2015, 5:42 a.m.

OK, so after looking at the old hacker's edge videos, the only attribute settable with the attr command appears to be dns, which represents a DNS server to use. I don't know if this actually works, as I have not tested it.

I went and read the devblogs, amd then saw that input is sent one line at a time now. I understand it's for bandwith reasons, but that really does limit players a lot. Applications can no longer dynamically respond to input. Games are basically dead. Custom kernels cannot tab auto-comeplete or have a command history. Probably worst of all, text editors are going to be a nightmare to use.

Oh well, guess I'll have to find a better way to do text editing. I just wish we could have something like nano/vi(m)/emacs/etc, but these changes threw any chance of those out the window. Can't wait to see how ACL is handled in the machine code, assuming it's not hardcoded.

Most importantly, how will the assembly for the new VM look? How different will it be from the old simple-cpu emulator? I personally think it will include more complex commands to simplify programs.

ConnorJC


Beta Testers Advanced Discussion
kveroneau(Game Creator)
Feb. 14, 2015, 5:43 a.m.

The attr command is currently used during development to allow me to easily set special attributes on a host. It's not well documented, as it's functionality will change when everything is finalized. Here's what you can do with it now:

attr hostname myhost
attr dns
attr dns 64.231.2.76

The first one here will change your host's hostname, which is only visible on the host itself. The second example here will show you which server is your current DNS server for resolving hostnames to IP addresses. The last example sets your DNS to another IP address.

DNS is currently implemented in the game, and your home host should already be configured to use a working known DNS server. You can use the hostname from DNS where ever an IP address is needed. The game engine will automatically look up the hostname on the DNS server and connect to the resulting IP address, just like in real world networks.


Beta Testers Advanced Discussion
ccatlett2000
Feb. 14, 2015, 5:50 a.m.

OK, thanks. On mobile device, will join main chat on computer ASAP, waiting on Windows Update.

ConnorJC


Beta Testers Advanced Discussion
kveroneau(Game Creator)
Feb. 14, 2015, 5:52 a.m.

I actually updated the server code, and it no longer sends a line-by-line. I did this mainly to support ConnectBot on Android, as it does not support LINEMODE telnet... So, the telnet side is all real-time now, and each character is sent as it's typed. I have been working on VT100 commands to perhaps re-implement full-screen apps once again within the game so that text editors will be easier to use.

The web client code currently uses a jquery-based terminal, which is rather limiting and cannot sent each character to the server, and furthermore it's not VT100 compatible. So, the web client will soon be moved over to a full JavaScript VT100 terminal emulator. Which will allow full-screen apps and proper real-time support. It will work more or less the same as the telnet interface currently does.


Beta Testers Advanced Discussion
ccatlett2000
Feb. 14, 2015, 5:53 a.m.

Is the Windows telnet client still broken?

ConnorJC


1 2 3 4 5 6 >>
Page 1 of 6.