Admin Pro 1.00 Help

Started by acdc, September 04, 2005, 12:27:20 PM

Previous topic - Next topic

acdc

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?.

Elgan {sfx}

sorry i dont quite understand?

   

   just add the mod to both servers

acdc

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?

Elgan {sfx}

they wud both run the same main? ok..well then put it in the main folder and it sud be fine

acdc

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.

Elgan {sfx}

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

acdc

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"

Elgan {sfx}

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

acdc

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?

Guest


acdc

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]
            }
         }
      }
   

Guest

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"