Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - trooper22

#2
What is MapDownload(er!) - well, the name kind of gives a hint. MapDownload(er!) is a client side program that allows a user to download maps for supported online games from a large external download server. It runs from popular, widely used game server browsers like the All-Seeing eye, Xfire and Gamespy - when you join a server with one of the above programs, MapDownload(er!) will launch and get your custom maps for you.

   

   Yeah, but what does it mean? - No more searching for custom maps! You will automatically download required custom maps before you enter the server!

   

   What games are supported?

   So far the only the medal of honor series is supported, however there are plans for games like BF2.

   

   What if the maps I need can't be found on the download server? - Maps are allways being added to the download server, however if the map you are looking for can't be found, you can request it be added to the download server by posting in this section http://mapdownloads.co.uk/viewforum.php?f=5">http://mapdownloads.co.uk/viewforum.php?f=5

   

   So, what do I need? - You must have the .net framework version 1.1 or higher installed, a supported game and a supported game browser installed. See http://mapdownloads.co.uk/help">http://mapdownloads.co.uk/help for more details on requirements.

   

   Do server admins have to do anything?

   Nope! Players just have to download and install MapDownload(er!) and then connect to thier favourite servers as normall.

   

   Key features

   - Download the Custom Maps you need before you join a server running custom maps when you connect with supported game server browsers

   - Support for the following game browsers: All-Seeing Eye, Xfire and Gamespy Arcade

   - Over 600+ maps for medal of honor available to download

   - Easy to use config tool allows you to setup MapDownload(er!) in under a minute

   - Small n' fast!

   - Open source- adware/mallware/etc. free

   

   

   Files

   MapDownload(er!) + Installer-

   http://mapdownloads.co.uk/downloads/mapdownloader_v1.5.4.zip">http://mapdownloads.co.uk/downloads/mapdownloader_v1.5.4.zip

   

   Version source-

   http://mapdownloads.co.uk/downloads/mapdownloadersource_v1.5.4.zip">http://mapdownloads.co.uk/downloads/mapdownloadersource_v1.5.4.zip

   

   Screenshots

   

   http://mapdownloads.co.uk/downloads/mdscreen1.jpg" alt="" />

   

   http://mapdownloads.co.uk/downloads/mdscreen2.jpg" alt="" />
#3
MOHAA Series: General / Stats
November 28, 2005, 06:37:46 PM
I used mohStats- its pretty detailed, each player gets seperate stat pages and it does awards and clan/team scores etc.
#4
the protocol seems to be the same, must be some other issue...
#5
I found it almost impossible to find reliable info on how to send rcon commands through UDP and programming so here is the source code (in java) that allows you to send rcon commands to a gamer server.

   

   the code is heavily commented, but if you want to know more about any part of the code, just post bellow.

   

   

   import java.io.*;
   import java.net.*;
   
   /**
    * Sends commands to a Moh game server via UDP and recieves result
    *
    * @author James Luck
    * @version 1.1 26/11/05
    */
   public class ServerComm
   {
       //initialize vars
       private int port;
       private String command;
       private InetAddress ipAddress;
       private DatagramPacket dps;
       private DatagramPacket dpr;
       private String password;
   
   
       /**
        * * Consturctor for the ServerComm Class
        */
   
       public ServerComm(String address, int port, String password)
       {
           this.port = port;
           this.password = password ;
           parseAddress(address);
       }
   
   
       /**
        * Method to parse the string address into a useable, valid java-net ip address
        */
   
       private void parseAddress(String address)
       {
           try {
               ipAddress = InetAddress.getByName(address);
               System.out.println(ipAddress);
           }
           catch(IOException ex){
           }
       }
   
   
       /**
        * Method that sends rcon commands to a specified Moh server and retrieves the result
        */
   
       public String sendCommand(String rconCommand)
       {
           //Command to be sent to server
           command = "xxxxxrcon " + password + " " + rconCommand + "xx";
           try{
               //Create new UDP connection and connect to specified ip address + port
               DatagramSocket dp = new DatagramSocket();
               dp.connect(ipAddress, port);
               dp.setSoTimeout(2000);
   
               //Return the command as bytes
               byte[] sender = command.getBytes();
               //Replace first 5 chars to create OOB (out of band) header
               byte oob = (byte)0xff;
               for(int i = 0; i < 4; i++){
                   sender[i] = oob;
               }
               sender[4] = (byte)0x02;
               //Replace last 2 chars to create packet terminating chars
               sender[command.length() - 2 ] = (byte)0x0a;
               sender[command.length() - 1] = (byte)0x00;
   
               //Initialize and send command as UDP packet to specified ip address and port
               dps = new DatagramPacket(sender, sender.length, ipAddress, port);
               dp.send(dps);
               System.out.println("Sending command to " + ipAddress + ":" + port);
               //Create recieve buffer
               byte[] buffer = new byte[4000];
               //recieve command
               dpr = new DatagramPacket(buffer,buffer.length);
               dp.receive(dpr);
               System.out.println("Recieved command from " + ipAddress + ":" + port);
           }
           catch(IOException ex){
               //Catch failed command send/recieve
               System.out.println("error: Send command failed");
           }
           //Return recieved packet as substring if command sent is "status"
           if (rconCommand.equals("status")){
               int sendFrom = new String(dpr.getData(),0,dpr.getLength()).indexOf("-----n");
               return new String(dpr.getData(),0,dpr.getLength()).substring(sendFrom + 7);
           }
           //Else- return recieved packet in full
           else{
               return new String(dpr.getData(),0,dpr.getLength());
           }
       }
   }
   
[/][/]
#6
i have not got any experience of mohaa- never played it, never had a server for it, etc.

   i can have a look into it but ill have to find a moh v.100 server.... that might be impossible, but i will have a look into it.

   

   Edit- thinking about it its probably due to the UDP packet headers that mohaa 1.00 uses, but i have no idea on how to find out what they are...
#7
sounds good dude, a really useful search system would be good as well- maybee have a field per topic/post called "key words" and just shove a load of key words relating to that article into this field, so any searches performed can track down articles more effeciently.
#8
hi

   

   i was wondering if you would could host a small app. ive been working on- its a small java program that gets players names, pings, scores and ip's into a server as cvars, ready to use in any mods. Its very small, runs on all platforms (with the jvm installed) and uses under 1% of a cpu's proccessing power. this script can be hosted either locally on a dedicated server or remotley.

   

   its all done with a full readme, but i have no where to host the thing...