MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: acdc on September 04, 2005, 12:27:20 PM

Title: Admin Pro 1.00 Help
Post by: acdc on September 04, 2005, 12:27:20 PM
I am currently running 2 mohaa servers. I just downloaded the Admin Pro 1.00 and so far its fine. But how can i make it so i can also admin a second server with admin pro. Is this possible?.
Title: Admin Pro 1.00 Help
Post by: Elgan {sfx} on September 04, 2005, 12:38:04 PM
sorry i dont quite understand?

   

   just add the mod to both servers
Title: Admin Pro 1.00 Help
Post by: acdc on September 04, 2005, 01:28:55 PM
2 servers on the same PC. Whihch means they have the same main. So how do i go about putting the mod to both servers. Do i have to add an rcon password or something?
Title: Admin Pro 1.00 Help
Post by: Elgan {sfx} on September 04, 2005, 02:10:32 PM
they wud both run the same main? ok..well then put it in the main folder and it sud be fine
Title: Admin Pro 1.00 Help
Post by: acdc on September 04, 2005, 02:13:30 PM
ok I did. Once i go to server #2 the admin pro does not accept commands for it. Only for server #1 which is the one i setup the rcon password for.

   Also the hud message, can i change these or do they have to say intact.
Title: Admin Pro 1.00 Help
Post by: Elgan {sfx} on September 04, 2005, 02:14:24 PM
thats probably because the dll for th rcon is already beign used maybe. i dunno. why not give it another main

   

   u can change the messages
Title: Admin Pro 1.00 Help
Post by: acdc on September 04, 2005, 02:35:57 PM
ok thanks i'll try it. Do you think if i repeat the line in the rconpassword.cfg , and add the second password it will work? like this

   

   place your rcon password in here  ( this is executed when you open the menu)

   

   set rconpassword "xxx1"

   set rconpassword "xxx2"
Title: Admin Pro 1.00 Help
Post by: Elgan {sfx} on September 04, 2005, 02:42:33 PM
no, u can only have 1 rcon password in the mem even for 2 games. So maybe if they were all the same it might work
Title: Admin Pro 1.00 Help
Post by: acdc on September 04, 2005, 03:53:10 PM
ok thanks alot elgan :). Now it works. But i wonder if im on server #2 for example, and i ,lets say, change the map on the server, will it change the map on both servers?
Title: Admin Pro 1.00 Help
Post by: Guest on September 04, 2005, 04:03:53 PM
i dont think it does
Title: Admin Pro 1.00 Help
Post by: acdc on September 05, 2005, 11:08:45 PM
Thanks Guys. Also one more question. For the server messages .scr where it says "local.messages[1][2] = "3"", is that the ammount of seconds for the message to be displayed? And how can i add more messages within that .scr

   

   
// run the adverts
   // run them how user sets. message printing is in messages.scr - this is so u cna edit how it displays easier
   
   main:
   
      if(level.run["message_center"] != "1"){end}
   
      level.msginginuse=0
   
      local.canad = waitexec global/settings.scr::getcmd "adverts"
   
      //load the messages
      local.message = waitexec game.file["settings/message_center"]::messages
   
      //yey im allowed my owqn adverts
      if(local.canad != "0")
      {
         local.messages[1][1] = "MESSAGE1"
         local.messages[1][2] = "3"
         local.messages[1][3] = "fade"
   
         local.messages[2][1] = "MESSAGE2"
         local.messages[2][2] = "3"
         local.messages[2][3] = "fade"
   
         local.n = 2
   
         for(local.i = 1; local.i <= local.message.size ;local.i++)
         {
            local.n++
            local.messages[local.n][1] = local.message[local.i][1]
            local.messages[local.n][2] = local.message[local.i][2]
            local.messages[local.n][3] = local.message[local.i][3]
         }
      }
      else
      {
         local.messages = local.message
      }
   
      while(level.run["message_center"] == "1")
      {
         local.msgtime = waitexec global/settings.scr::getcmd "advert_time"
         local.msgtime = int local.msgtime
   
         if(local.msgtime < 0.05 || local.msgtime == NIL)
         {
            local.msgtime = 1
         }
   
         wait 600
         for(local.i=1;local.i<=local.messages.size;local.i++)
         {
            if(level.run["message_center"] != "1"){end}
   
            switch(local.messages[local.i][3])
            {
            case "fade":
               waitexec global/ac/messaging/messages_fade.scr local.messages[local.i][1] local.messages[local.i][2]
            break
            case "typewriter":
               waitexec global/ac/messaging/messages_typewriter.scr local.messages[local.i][1] local.messages[local.i][2]
            break
            case "scroll":
               waitexec global/ac/messaging/messages_scroll.scr local.messages[local.i][1] local.messages[local.i][2]
            break
            default:
               waitexec global/ac/messaging/messages_fade.scr local.messages[local.i][1] local.messages[local.i][2]
            }
         }
      }
   
Title: Admin Pro 1.00 Help
Post by: Guest on September 06, 2005, 02:26:35 AM
you dont add the messages there

   

   The messages are added in the message_centre.txt config file in the settings folder

   

   

   

   messages:

      

      local.messages = makearray

         // message      // time to display for      // display style (scroll, fade or typewriter

   

   ----> "welcome to the xxxxx server"  "5"  "fade"   <-----

   

      endarray

   

   end local.messages

   

   

   The format is "text" "time in secs" "display mode"