Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

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.


Messages - LEEFFM

Pages: 1 ... 4 5 [6] 7 8 9
76
Server Support / Tournament Mode
« on: Sunday, January 18, 2015, 12:39:17 PM »
I was wondering if anyone could tell me how to startup my server in Tournament Mode for scrims?
 I tried editing RunServer.bat:
Code: [Select]
server.exe TOURNAMENT Pipeline.aao log=aa25srv.log ini=aa25srv.ini
I did not see an option for it in the assist server manager.

77
Games & Programming / Re: exec function
« on: Monday, December 15, 2014, 07:31:19 AM »
my age is irrelevant and the purpose of me making the commands this way is because the having to use "mutate" before every command is annoying and it would be just nicer to not have to use mutate.
it doesn't have to be in the PlayerController Class it doesn't make a difference to me what class I put it in but it was easier for me to set it up extending the Humancontroller I don't know how to do the commands the way you have said so I did what I could do and the not being able  to release as a mod isn't a big deal ill just keep using mutators but I would have liked to release mods with commands not using mutate because its easier for the person playing the game and using the mod to use normal commands instead of the extra mutate crap but if I cant release it mods that way atleast I found out how to do something that I wanted done even if I cant use it the way I want.

78
Games & Programming / Re: exec function
« on: Sunday, December 14, 2014, 03:51:31 AM »
It never showed me that you replied again so I just saw your reply :P

ok so i got the command to work without extending interaction.

main.uc:
Code: [Select]
class main extends mutator;

event PreBeginPlay () {

Level.Game.BaseMutator.AddMutator(self);
Log("This mod is property of the {=A.A.S.=} America's Army Soldiers Clan !",'LEEFFM');
Log("This mod is made by {=A.A.S.=}LEEFFM",'LEEFFM');
Log("THERE IS NO WARRANTY FOR THIS MOD. We do not take responsibility for any harm done by this MOD",'LEEFFM');
Log("{=A.A.S.=}LEEFFM'S AASEngine Is Loaded",'LEEFFM');


    Level.Game.PlayerControllerClassName="AASEngine.AAS_Controller";

}

AAS_Controller.uc:
Code: [Select]
class AAS_Controller extends HumanController;

replication {

reliable if (Role < 4)
Jail;

}

exec function Jail(int PlayerID) {

local HumanController HC;
local int i;

    for (i = 0; i < Level.Game.GameReplicationInfo.PRIArray.Length; i++) {

        HC = HumanController(Level.Game.GameReplicationInfo.PRIArray[i].GetController());

        if (HC != None) {

            if (HC.PlayerReplicationInfo.PlayerID == PlayerID) {

                Level.Game.BroadcastHandler.Broadcast (None,""$HC.PlayerReplicationInfo.PlayerName$" was Court Marshalled by an Admin for Violation(s) of Server Rules!") ;
                HC.ClientTravel ("Leavenworth",TRAVEL_Absolute,false) ;

            }
        }
    }

}


the only problem is I cant release a mod if I made it like this because you cant add .u files to the assist Client and AASEngine.u has to be added to server packages in the sever ini :P

79
Anti-Cheat / Re: whats a mouse macro?
« on: Sunday, December 14, 2014, 02:14:32 AM »
most of the time people who do that are just pressing their crouch button a bunch of times while shooting lol

80
Support / Re: My server
« on: Saturday, December 13, 2014, 07:06:11 AM »
If you logon to battle tracker  and click on "My Profile" then click on "Management"  then click on "Register server" you will need IP and Port Number have fun :D

81
Games & Programming / Re: exec function
« on: Thursday, December 11, 2014, 13:58:20 PM »
Your correct also the command only worked on the client I launched from the same system folder as the lan server, the client I launched on the other computer to test wouldn't kick anybody to Leavenworth im trying to figure something out :P

82
Games & Programming / Re: exec function
« on: Thursday, December 11, 2014, 09:43:28 AM »
First off thanks for your replies :D , ok so I did look at the unrealscript legay wiki before posting here PlayerController is listed of one of the classes exec functions are valid in the things I listed/tried were my modifications to things that worked for other people with legacy unrealscript. so I was able to create a new interaction here is the code.

main.uc:
Code: [Select]
class main extends Mutator;

var bool bAffectSpectators;
var bool bAffectPlayers;
var bool bHasInteraction;

function PreBeginPlay()
{
Log("Test Mod Started") ;
}

simulated function Tick(float DeltaTime)
{
local PlayerController PC;

if (bHasInteraction)
Return;
PC = Level.GetLocalPlayerController();

if ( PC != None && ((PC.PlayerReplicationInfo.bIsSpectator && bAffectSpectators) || (bAffectPlayers && !PC.PlayerReplicationInfo.bIsSpectator)) )
{
PC.Player.InteractionMaster.AddInteraction("TestMod.testmod", PC.Player);
bHasInteraction = True;
}
}

DefaultProperties
{
     bAffectSpectators=false
     bAffectPlayers=true
     RemoteRole=ROLE_SimulatedProxy
     bAlwaysRelevant=true
}

testmod.uc:
Code: [Select]
class testmod extends Interaction;

exec function Jail (Int PlayerID) {

    if (ViewportOwner.Actor != None) {

        if (ViewportOwner.Actor.PlayerReplicationInfo.PlayerID == PlayerID) {

            ViewportOwner.Actor.Level.Game.BroadcastHandler.Broadcast (None,""$ViewPortOwner.Actor.PlayerReplicationInfo.PlayerName$" was Court Marshalled by an Admin for Violation(s) of Server Rules!") ;
            ViewportOwner.Actor.ClientTravel ("Leavenworth",TRAVEL_Absolute,false) ;

        }

    }

}

83
Games & Programming / Re: exec function
« on: Wednesday, December 10, 2014, 20:41:16 PM »
so no one can point me in the right direction for getting a working exec function (jail console command) ???

84
Games & Programming / exec function
« on: Wednesday, December 10, 2014, 03:51:47 AM »
I was wondering if anyone knew how i can set up a working exec function i have "exec function jail (int PlayerID) " its supposed to send people to Leavenworth but i type "jail 1" in the console and i get unrecognized command. i can use function jail (int PlayerID) in UltimateMod but id rather make it its own command instead of using mutate.

UPDATE:

ok this is what ive got but it does not work

testmod.uc:
Code: [Select]
class testmod extends HumanController;

exec function Jail(Int PlayerID) {

    if (PlayerReplicationInfo.PlayerID == PlayerID) {

        Level.Game.BroadcastHandler.Broadcast (None,""$PlayerReplicationInfo.PlayerName$" was Court Marshalled by an Admin for Violation(s) of Server Rules!") ;
        ClientTravel ("Leavenworth",TRAVEL_Absolute,false) ;

    }

}

main.uc:
Code: [Select]
class main extends AGP_GameInfo;

defaultproperties
{
    PlayerControllerClassName = "TestMod.testmod"
}

TestMod.int:
Code: [Select]
[Public]
Object=(Name=TestMod.main,Class=Class,MetaClass=AGP.AGP_GameInfo) 

UPDATE:

I have also tried this.

main.uc:
Code: [Select]
class main extends Mutator;

event PreBeginPlay()
{
 
    Super.PreBeginPlay();

    class'AGP_GameInfo'.default.PlayerControllerClassName = "TestMod.testmod";

    Destroy();
}

I have also tried changing "TestMod.testmod" to "testmod"     .

with this I got rid of the int file and used the same tesmod.uc

anyone got any ideas, how did assist add a afc command? anything similar?

85
Games & Programming / Re: UltimateMod v1.0
« on: Friday, December 05, 2014, 17:50:32 PM »
thanks for the tips but as for the last tip I like doing it
Code: [Select]
function MyFunction {



}

its easier for myself to read the code that way :P but I will defiantly  use the other tips ^^

86
Games & Programming / UltimateMod v1.0
« on: Friday, December 05, 2014, 01:51:36 AM »
Code Located At http://pastebin.com/WDFYBxAL

when I pasted it some areas where tabbed even though they are not tabbed in the document just makes it look messier lol.

This is the Ultimate Mod ive been working on not done yet still have plans for it.

as of now the client commands are:
everyone is a medic there is no command it is forced.

mutate thirdperson - Sets Behindview On

mutate firstperson - Sets Behindview Off

mutate [class] - Forces You A Weapon While Alive
classes are: AR,RPK,R,AK,G,GP,M,SF,AK74SU,PSO,MOS,SVD,S24,S,SPR,V,RPG,AT4,M9
mutate shotty - Forces You A Shotgun While Alive

current admin commands consist of:
all client commands

mutate allowrifles 1|2 - 1 Rifles Are Allowed | 2 Rifles Are Not Allowed

mutate allowmgs 1|2 - 1 Machine Guns Are Allowed | 2 Machine Guns Are Not Allowed

mutate allowsnipers 1|2 - 1 Snipers Are Allowed | 2 Snipers Are Not Allowed

mutate nvg 1|2 - 1 Night Vision Goggles Are Allowed | 2 Night Vision Goggles Are Not Allowed
 
mutate allowrockets 1|2 - 1 Rockets Are Allowed | 2 Rockets Are Not Allowed

(Shotgun and M9 are always allowed!)

mutate riflesonly 1|2 - 1 Rifles Only On | 2 Rifles Only Off

mutate mgsonly 1|2 - 1 Machine Guns Only On | 2 Machine Guns Only Off

mutate snipersonly 1|2 - 1 Snipers Only On | 2 Snipers Only Off

mutate shottyonly 1|2 - 1 Shotty Only On | 2 Shotty Only Off

mutate m9only 1|2 - 1 M9 Only On | M9 Rifles Only Off

mutate kill [PlayerID] - kills player "PlayerName has Killed Himself" displays reason as "PlayerName has been killed by an Admin for Violation(s) of Server Rules!" people disobeying rules don't kick or ban unless you have to stop their rule breaking in its tracks.

mutate jail [PlayerID] - sends player to Leavenworth with reason "PlayerName was Court Marshaled for Violation(s) of Server Rules!" the same person(s) still disobeying rules and not listening to admins send them to jail.

mutate addadmin [PlayerID] - temporarily adds admin Note: this does not edit your ini files you must still add admins in manually but for temporary use this command

mutate restart - spams console command "admin say SERVER IS RESTARTING!!!" so people know when your manually restarting your server.

mutate rules - shows server rules.

mutate clist - shows a list of commands

The Compiled Mod Is Located at http://www.megafileupload.com/en/file/585196/UltimateMod-u.html
you must remove the [Megafileupload] from the name of the file to use it.

place the file in your servers system folder.
under [Engine.GameEngine]
add line: ServerActors=UltimateMod.ultimatemod

hackhunter must = 0 for mutate thirdperson or your screen will shake and it will kick you back to firstperson. hackhunter being disabled disables tracking but mod servers are not tracked anyways. hackhunter is where all warning you see in game are that make your screen shake.

87
Feedback & Suggestions / Re: The 203 disabled on hospital.
« on: Thursday, December 04, 2014, 14:04:22 PM »
How can people complain about being spammed from West Wing ... When I play escort, I go in the bushes and shoot the spammers, simple, after 2 rounds nobody dares to spam anymore, problem solved.

Now there's more teamwork needed from escort to smoke etc, and ambush needs to push a little harder and thus get out of their camping spots if they want to kill the vip, it's a good compromise imo

I doubt that's true though.

OK so I see the 203 is actually removed, but you can still put a timelimit where 203 and or nade spam is not allowed :P I assume that's for all maps seeing as hospital doesn't have 203 at all I thought if you set spamprotecttime203=0 to maybe 10 instead of zero you would actually be allowed a 203 on your sf but nope :P

88
Feedback & Suggestions / Re: The 203 disabled on hospital.
« on: Thursday, December 04, 2014, 11:01:18 AM »
Lol your getting mad because your getting ambushed, try teamwork that's one thing this game was meant to have teamwork and tactics and who in their right mind would have 203s in a hospital anyways you kill a civilian and violate Rules Of Engagement lol besides the G isn't even removed from hospital its the server admins choice to put a time limit before the G can be used. Its simply just another server admin choice that assist allows us to have.

89
General Chat / Re: XxTheLionLegionxX
« on: Tuesday, November 18, 2014, 12:41:12 PM »
lol funny I was explaining how I know that kids know how to get what they want and I know how that works and basically saying that they only get what they because adults let them so a little background to how I can possibly know this information was valid and I have no need to make a thread about my self but thanks for your reply :)

ps and also if you would have read the whole thing you proboly would have realized that I was using that as a way to get the point across about children getting what they want and not giving it to them.

90
General Chat / Re: XxTheLionLegionxX
« on: Tuesday, November 18, 2014, 12:02:25 PM »
lol I am very good at getting what I want I was raised around narcissistic mentally manipulative people my whole life  I know how to get hat I want I know how that works but yes it is very practical kids may be smart and know how to get what they want but a parent has to be smarter, and kids only know how to get what they want because you teach them or they watch you and you let them do it to you, do not let them get what they want you teach them what they need to know you set them up with common sense common courtesy respect and values that is way more important then teaching them how to use a computer or letting them use a computer when they should be doing something else im not saying restrict them a shit ton simply saying teach them the important stuff before teaching them how to use technology. a kid cannot get what they want unless you allow them to.

Pages: 1 ... 4 5 [6] 7 8 9

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager