Realcraft:Main Page

From wiki.vg
Revision as of 05:35, 23 October 2011 by Jailout2000 (talk | contribs)
Jump to navigation Jump to search

Realcraft is a custom Minecraft server built around the Beta 1.8.1 protocol by Jailout2000. It is coded in REALbasic, a crappy language but very easy to use and learn. Since it's coded in REALbasic, this means that it does not have access to kernel threads, and therefore is not a multi-threaded server. The server runs out of the console; it does not have a GUI to which you can control it.

License

Realcraft is written as closed source, therefore it is not available to the general public. If you really wish to see the source, message Jailout2000.

Project Status

Currently the project is in active development.

Plans

  • Eventually use an external library for generation of worlds. At the moment, generation of worlds is done internally, and is not very impressive (just flat worlds with some scenery).
  • Provide a download for the server so others may use it.
    • This will mean building the server for cross-platform support. Currently it is Windows only.
  • Player authentication with Minecraft.net.
  • MySQL database support.
  • Advertise the server to others, so that it can be stress tested.

Live Server

This server may or may not be online; it's only online when Jailout2000 is working on the server.

  • mc.clan-warp.net:25566

Technical Details

Class Hierarchy

  • Entity
    • Item
    • Mob
      • Player
    • Projectile
      • Vehicle
  • ServerSocket
    • GameServer
  • TCPSocket
    • GameSocket
  • World
  • WorldChunk

Class Objectives

Class Description Objectives
Entity Entity refers to any item, mob, player, projectile, or vehicle in the world. Every entity has an ID (known as an EID or Entity ID) which is a unique 32-bit integer used to identify a specific entity. All entities have an XYZ double-precision floating-point (64-bit) integer coordinate pair along with single-precision floating-point (32-bit) integer pitch and yaw coordinates. Y points upwards, X points South, and Z points West. Act as a base for each entity type.
Item An entity of type Item. It has the properties: ID, Damage/Uses, and Count. Act as a representation of any item in the world.
Mob An entity of type Mob. It has the properties: Health, Stance, and On-Ground. Act as a representation of any aggressive or passive mob in the world.
Player An entity of type Player, a subclass of Mob. It has the properties: Experience, Food, Food Saturation, and Name. Act as a representation of any player in the world.
Projectile An entity of type Projectile. It has the properties: Type, Velocity X, Velocity Y, and Velocity Z. The Type IDs are shared between vehicles as well. Act as a representation of any projectile in the world (such as an arrow).
Vehicle An entity of type Vehicle. It has the properties: Type, Velocity X, Velocity Y, and Velocity Z, and Passenger. The Type IDs are shared between projectiles as well. The Passenger is a reference to a valid Mob object. Act as a representation of any vehicle in the world (such as a Minecart).

Logging

The logger is called whenever there is text displayed to the command line. Whatever you see on screen is also sent to a file. The only exception to this rule is when Realcraft is displaying a percentile of an action being done (i.e. Generating world... 50%), in this case the file does not get updated until the full line is displayed (Generating world... done.) or when there's an error while doing the action.

All logs are stored in the folder called Logs under the folder Realcraft inside the application data folder of your system. On Windows Vista and newer, this is your %APPDATA% folder (C:\Users\<user>\AppData\Roaming).

The filename is always in the format YYYY-MM-DD.log where YYYY is the year, MM is the month, and DD is the day of the month.



Return to Custom Minecraft Beta servers