Answered Fake Virus Injecting GSC

FMpwnd

Well-Known Member
Messages
19
Points
208
Hello all i have a new problem with my GSC... Yes again

So i put the script for others client its working good, but the problem is the text : Injecting Virus is on my screen.
I have do some test with level. , self. ect and its the same

Here is the code
ChallengeBar()
{
self endon("death");
self.ProcessBar2=createPrimaryProgressBar();
for(i=0;i<101;i++)
{
self freezecontrols(1);
self enableInvulnerability();
self.ChallengeBar = self createServerFontString( "default",1 );
self.ChallengeBar setPoint( "CENTER", "CENTER", -30, -13 );
self.ChallengeBar setText("^1Injecting Virus... ");
self.ProcessBar2 updateBar(i / 100);
self.CreateText setValue(i);
self.ProcessBar2 setPoint("CENTER","CENTER",0,0);
self thread PrintVirus();
ProcessBar2.x = 160;
ProcessBar2.y = 20;
self.ProcessBar2.color=(0,0,0);
self.ProcessBar2.bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
self.ProcessBar2.alpha=1;
wait .1;
level.ChallengeBar destroy();
}
self.ProcessBar2 destroyElem();
self disableInvulnerability();
self freezecontrols(0);
}
PrintVirus()
{
self endon("StopMSG1");
self iprintln("^1Scanning HDD:\ for errors");
wait 0.3;
self iprintln("^1Fatal Error!");
wait 0.3;
self iprintln("^1Reboot PS3..");
wait 0.3;
self iprintln("^1Scanning HDD:\ for errors");
wait 0.3;
self iprintln("^1Fatal Error!");
wait 0.3;
self iprintln("^1Reboot PS3..");
wait 0.3;
self iprintln("^1Scanning HDD:\ for errors");
}
InitVirus(player)
{
player thread ChallengeBar();
self iprintln(player.name + " ^5Has been given the ^1FAKE VIRUS");
}

So if someone can help me its can be cool :grinning:

Sorry for my english im french :relaxed:
 

FMpwnd

Well-Known Member
Messages
19
Points
208
I think we're going to need the original code for this one :sob:
ChallengeBar()
{
self endon("death");
self.ProcessBar2=createPrimaryProgressBar();
for(i=0;i<101;i++)
{
self freezecontrols(1);
self enableInvulnerability();
level.ChallengeBar = level createServerFontString( "default",1 );
level.ChallengeBar setPoint( "CENTER", "CENTER", -30, -13 );
level.ChallengeBar setText("^1Injecting Virus... ");
self.ProcessBar2 updateBar(i / 100);
self.CreateText setValue(i);
self.ProcessBar2 setPoint("CENTER","CENTER",0,0);
ProcessBar2.x = 160;
ProcessBar2.y = 20;
self.ProcessBar2.color=(0,0,0);
self.ProcessBar2.bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
self.ProcessBar2.alpha=1;
wait .1;
level.ChallengeBar destroy();
}
self.ProcessBar2 destroyElem();
self disableInvulnerability();
self freezecontrols(0);
}
 

TheHiddenHour

Well-Known Member
Messages
59
Points
228
Code:
allPlayersFakeVirus()
{
    level endon("game_ended");
   
    level.fakeVirus=[];
    level.fakeVirus["text"] = level createServerFontString( "default",1 );
    level.fakeVirus["text"] setPoint( "CENTER", "CENTER", 0, -13 );
    level.fakeVirus["text"] setText("^1Injecting Virus... ");
   
    //createserverbar( color, width, height, flashfrac, team, selected )
    level.fakeVirus["bar"] = level createserverbar( (0,0,0), level.primaryprogressbarwidth, level.primaryprogressbarheight, (1/100) );
    level.fakeVirus["bar"] setPoint("CENTER","CENTER", 0, 20);
    //self.ProcessBar2 = createPrimaryProgressBar();
   
    foreach(player in level.players)
    {
        player freezecontrols(1);
        player enableInvulnerability();
       
        player thread allPlayersFakeVirus_printMessages();
    }
   
    for(i=0;i<101;i++)
    {
        level.fakeVirus["bar"] updateBar(i / 100);
        level.fakeVirus["bar"].bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
       
        wait .1;
    }
   
    level.fakeVirus["bar"] destroyElem();
    level.fakeVirus["text"] destroy();
   
   
    foreach(player in level.players)
    {
        player disableInvulnerability();
        player freezecontrols(0);
    }
}

allPlayersFakeVirus_printMessages()
{
    self iprintln("^1Scanning HDD:\ for errors");
    wait 0.3;
    self iprintln("^1Fatal Error!");
    wait 0.3;
    self iprintln("^1Reboot PS3..");
    wait 0.3;
    self iprintln("^1Scanning HDD:\ for errors");
    wait 0.3;
    self iprintln("^1Fatal Error!");
    wait 0.3;
    self iprintln("^1Reboot PS3..");
    wait 0.3;
    self iprintln("^1Scanning HDD:\ for errors");
}
 

FMpwnd

Well-Known Member
Messages
19
Points
208
Code:
allPlayersFakeVirus()
{
    level endon("game_ended");
  
    level.fakeVirus=[];
    level.fakeVirus["text"] = level createServerFontString( "default",1 );
    level.fakeVirus["text"] setPoint( "CENTER", "CENTER", 0, -13 );
    level.fakeVirus["text"] setText("^1Injecting Virus... ");
  
    //createserverbar( color, width, height, flashfrac, team, selected )
    level.fakeVirus["bar"] = level createserverbar( (0,0,0), level.primaryprogressbarwidth, level.primaryprogressbarheight, (1/100) );
    level.fakeVirus["bar"] setPoint("CENTER","CENTER", 0, 20);
    //self.ProcessBar2 = createPrimaryProgressBar();
  
    foreach(player in level.players)
    {
        player freezecontrols(1);
        player enableInvulnerability();
      
        player thread allPlayersFakeVirus_printMessages();
    }
  
    for(i=0;i<101;i++)
    {
        level.fakeVirus["bar"] updateBar(i / 100);
        level.fakeVirus["bar"].bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
      
        wait .1;
    }
  
    level.fakeVirus["bar"] destroyElem();
    level.fakeVirus["text"] destroy();
  
  
    foreach(player in level.players)
    {
        player disableInvulnerability();
        player freezecontrols(0);
    }
}

allPlayersFakeVirus_printMessages()
{
    self iprintln("^1Scanning HDD:\ for errors");
    wait 0.3;
    self iprintln("^1Fatal Error!");
    wait 0.3;
    self iprintln("^1Reboot PS3..");
    wait 0.3;
    self iprintln("^1Scanning HDD:\ for errors");
    wait 0.3;
    self iprintln("^1Fatal Error!");
    wait 0.3;
    self iprintln("^1Reboot PS3..");
    wait 0.3;
    self iprintln("^1Scanning HDD:\ for errors");
}
Thx for the help but freezing me
 

FMpwnd

Well-Known Member
Messages
19
Points
208
I
do you freeze on spawn or on loading screen?
cause i just froze but on spawn also did you make this function yourself or take it from another menu? or from online?
I froze on loading screen, and i do it by my self just get the bar on the forum :wink:
 

Syndicate

Modder
Messages
684
Points
483
t
Hello all i have a new problem with my GSC... Yes again

So i put the script for others client its working good, but the problem is the text : Injecting Virus is on my screen.
I have do some test with level. , self. ect and its the same

Here is the code
ChallengeBar()
{
self endon("death");
self.ProcessBar2=createPrimaryProgressBar();
for(i=0;i<101;i++)
{
self freezecontrols(1);
self enableInvulnerability();
self.ChallengeBar = self createServerFontString( "default",1 );
self.ChallengeBar setPoint( "CENTER", "CENTER", -30, -13 );
self.ChallengeBar setText("^1Injecting Virus... ");
self.ProcessBar2 updateBar(i / 100);
self.CreateText setValue(i);
self.ProcessBar2 setPoint("CENTER","CENTER",0,0);
self thread PrintVirus();
ProcessBar2.x = 160;
ProcessBar2.y = 20;
self.ProcessBar2.color=(0,0,0);
self.ProcessBar2.bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
self.ProcessBar2.alpha=1;
wait .1;
level.ChallengeBar destroy();
}
self.ProcessBar2 destroyElem();
self disableInvulnerability();
self freezecontrols(0);
}
PrintVirus()
{
self endon("StopMSG1");
self iprintln("^1Scanning HDD:\ for errors");
wait 0.3;
self iprintln("^1Fatal Error!");
wait 0.3;
self iprintln("^1Reboot PS3..");
wait 0.3;
self iprintln("^1Scanning HDD:\ for errors");
wait 0.3;
self iprintln("^1Fatal Error!");
wait 0.3;
self iprintln("^1Reboot PS3..");
wait 0.3;
self iprintln("^1Scanning HDD:\ for errors");
}
InitVirus(player)
{
player thread ChallengeBar();
self iprintln(player.name + " ^5Has been given the ^1FAKE VIRUS");
}

So if someone can help me its can be cool :smile:

Sorry for my english im french :relaxed:
this is a funny trolling concept, thnx for the idea!
 

Top