AAO25.com
America's Army => General Chat => Topic started by: -{BOTs}-BOSS on Tuesday, January 31, 2012, 20:08:10 PM
-
So i was just in our server and i was wondering is there some way we can edit that Message on top right to say Authorized Server? Dedicated Server? Awesome Server? LOL
Something other than Unauthorized Server
Thanks Guys.
-
Of course there's a way to change it. I don't think it matters though, we have other things to spend our time on.
-
Cool i will see what i find out.
-
I think Jonny can do this but again, there's other, more important things to do.
-
Maybe, but i don't know how.
-
Oh come on, you rebuilt authorization! Surely you can spoof a little text string :P
I'm looking for it in the files, I was thinking perhaps of just being able to hex edit the string and call it done but I can't find "Unauthorized" :(
-
i looked around my self and did not see anything.. but after thinking about it a while... when Hosting company's used to register servers via MBS or what ever it used too be called...
i think they would get a packet sent to server that would change that status.
but i don't kno.
-
Yo wouldn't those text strings be located in Andromeda.u?
-
I think I found it in a old mod from Crusade:
//================================================================================
// U.
//================================================================================
class U extends Mutator
Localized
HideCategories(Movement,Collision,Lighting,LightColor,Karma,Force);
event PreBeginPlay() { //defined
Level.Game.BaseMutator.AddMutator(self);
Disable('Tick');
SetTimer(10.00,True);
}
function AuthAuthenticateServerCallback() { //defined
Level.Game.SetRequireAuthorization(True);
AGP_GameInfo(Level.Game).fAuthNotAvailableLastAuthAttempt=False;
AGP_GameInfo(Level.Game).ServerAuthFailures=0;
AGP_GameInfo(Level.Game).SetServerMode(4,"Leased-Official");
AGP_GameInfo(Level.Game).NextAuthTime=Level.TimeSeconds * 60;
}
function Timer() { //defined
AuthAuthenticateServerCallback();
}
This is easy enough that I could compile it without a problem. I'm sure Jonny can add this to the current auth mod.
-
I found something fun. I forgot there were DEV servers.
//agp [cmb] Only servers that start as LAN servers, DEV servers, and Official are allowed to choose their auth state [4/22/2004]
function bool IsRequireAuthorization()
{
if(Level.IsLANOnlyServer() || Level.IsDevMode() || Level.IsOfficialServer())
{
return bRequireAuthorization;
}
else
{
bRequireAuthorization = true; //agp [cmb] Make sure that the server can only choose it's Auth state if it STARTED as DEV or Official [7/30/2004]
return true;
}
}
function DisableQualification()
{
bDisableQualification=true;
}
-
Looks like we just gave Jonny some work :P
-
wow this is awesome! 8)
-
Spanky how would i add this to our servers? or it has to be sent to the servers? like a packet? or string.
-
Spanky how would i add this to our servers? or it has to be sent to the servers? like a packet? or string.
You would add it by setting up a 2.5 compiling environment, compiling the mod, and add it to your server. Or just wait for Jonny to integrate it into his existing Auth mod.
-
Ver Nise!
-
I thought it was not that simple, does not work. Sorry Guys, Live with it.
i just writes that text to the log file, not the screen. and that locks up trying to get auth from pragmatic cos it turned old auth system back on.
-
Ok i can set mode1 so it just says authorized, thats as good as it gets.
-
that's all we need Jonny =)
-
Ok i can set mode1 so it just says authorized, thats as good as it gets.
Perfect! No need for leased since your Auth and Honor doesn't require it :P
-
Ok i can set mode1 so it just says authorized, thats as good as it gets.
I think mode4 is the official auth that we used to have?