.. VCO Lua Extensions ..
How to setup a VCO server running VLE 1.06
  • Stage 1 - Downloading the files
    Go to the DOWNLOADS page on this website.
    Download version VLE 1.06.
    If you are given the option to open, run or save the file, choose save.
    If you are given the option where to save the file, save it anywhere on your computer.
    Wait for the file to finish downloading.
    Please note that this zip file includes the VCO Server.exe file. (VCO Windows Server)
  • Stage 2 - Extracting the files
    Create a new folder anywhere on your computer, this folder can be given any name.
    Open the zip file you just downloaded. (VLE 1.06.zip)
    Extract everything in the zip file to the new folder you just created.
    Close the zip file.
  • Stage 3 - Server settings
    Open the file named Main.lua with a text editor, such as Notepad++, or Notepad.
    • Server name
      On line 5, look for: setServerName("Server Name Here")
      Change Server Name Here to a server name of your choice.
      Make sure you put a backslash \ before every quotation mark you use. (not including the 2 surrounding the text)
    • Mode name
      On line 6, look for: setModeName("Mode Name Here")
      Change Mode Name Here to a mode name of your choice.
      Make sure you put a backslash \ before every quotation mark you use. (not including the 2 surrounding the text)
    • Max players
      On line 7, look for: setMaxPlayers(100)
      This is the maximum amount of players that are allowed in your server at any time.
      Change 100 to a number of your choice, between 1 and 100.
      Note that the number is not surrounded by quotation marks. (integer data type)
    • Password
      On line 8, look for: setServerPassword("")
      If you don't want to add a password to your server, leave this line as it is. (Any player can connect to the server)
      If you want to add a password to your server, type the password between the two quotation marks.
      Make sure you put a backslash \ before every quotation mark you use. (not including the 2 surrounding the text)
      For example, if you chose password: test123
      The line would look like: setServerPassword("test123")
    • Announce
      On line 10, look for: announce(true)
      If you want your server to appear in the server browser in the All Servers tab, leave this line as it is.
      Otherwise change true to false, making the line look like: announce(false)
      Note that the text is not surrounded by quotation marks. (boolean data type)
    • Port
      On line 11, look for: setServerPort(4800)
      The number is the port used for socket connections on your server.
      If you want other players to be able to connect to your server, you may need to open the port number in a router and/or firewall.
      Leaving the port number at 4800 should work fine.
      Note that the number is not surrounded by quotation marks. (integer data type)
      For example, if you chose port number: 48247
      The line would look like: setServerPort(48247)
    Save the file named Main.lua.
    There are extra optional settings at the top of file VLE/Engine.lua, although most settings are changed in-game.
  • Stage 4 - Running the server
    Go back to the folder where the file named Main.lua is in.
    Open the file named Server.exe. (double click on the filename, or click the filename once and press enter)
  • Stage 5 - Connecting to the server
    Open the VCO server browser, note that this did not come with the file named VLE 1.06.zip.
    Make sure the Favourite Servers tab is selected.
    Click the add server button. (green box with white plus sign)
    • Enter the IP or DNS of the server
      If you are using the VCO server browser on the same computer as the VCO server is running on, type 127.0.0.1 into this text box.
      Otherwise instead of using 127.0.0.1, you will need to use the internal IP address of the computer which the VCO server is running on.
    • Enter the port of the server
      Type the port you chose (default is 4800) in the file named Main.lua on line 11, into this text box.
    • Enter the password of the server (if applicable)
      If you added a password to your server, type the password you chose into this text box.
    Click on the OK button.
    You should now see your server information (server name, mode name, max players, etc) listed in the Favourite Servers tab.
    Connect to the server, by double clicking on any of the server information, or right click it then choose Connect.
    When you see the green text Now connected to Vice City Online Release RC1. ..., you are connected to the server.
  • Stage 6 - Making yourself admin
    Press the letter t on your keyboard, this opens the player chat input. (starts typing)
    Below the chatbox, you should see: >> _
    To register your account, type the following text, replace password with a password of your choice: /register password
    Press enter on your keyboard.
    To make your account admin (level 10), press t again, then type: /makemeadmin
    Press enter again.