Answered Black Ops 2 Juggernog - Bug?

ConsoleGods

Member
Messages
55
Reaction score
5
Points
8
For some reason when I drink my Juggernog perk bottle... it shows on my screen as if I have got Jug but... I still go down after 2 hits? it's as if it's only showing but not working...

Any suggestions?
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,707
Reaction score
2,816
Points
1,053
For some reason when I drink my Juggernog perk bottle... it shows on my screen as if I have got Jug but... I still go down after 2 hits? it's as if it's only showing but not working...

Any suggestions?
Do you gave the jug via your menu? Or it is a generell bo2 bug?
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,707
Reaction score
2,816
Points
1,053
I give the jug via my menu
Try to use this function:

Code:
//----------------------------------------
//Give/Take Perk
//----------------------------------------
// THREAD THAT FOR JUG: Toggle_PlayerPerk("specialty_armorvest");
Toggle_PlayerPerk(perk) //not used now
{
    if (!(self hasperk(perk) || self maps/mp/zombies/_zm_perks::has_perk_paused(perk)))
    {
        self doGivePerk(perk);
        self iprintln("Perk [" + perk + "] ^2Gived");
    }
    else
    {
        self notify(perk + "_stop");
        self iprintln("Perk [" + perk + "] ^1Removed");
    }
}

doGivePerk(perk)
{
    self endon("disconnect");
    self endon("death");
    level endon("game_ended");
    self endon("perk_abort_drinking");
    if (!(self hasperk(perk) || (self maps/mp/zombies/_zm_perks::has_perk_paused(perk))))
    {
        gun = self maps/mp/zombies/_zm_perks::perk_give_bottle_begin(perk);
        evt = self waittill_any_return("fake_death", "death", "player_downed", "weapon_change_complete");
        if (evt == "weapon_change_complete")
            self thread maps/mp/zombies/_zm_perks::wait_give_perk(perk, 1);
        self maps/mp/zombies/_zm_perks::perk_give_bottle_end(gun, perk);
        if (self maps/mp/zombies/_zm_laststand::player_is_in_laststand() || isDefined(self.intermission) && self.intermission)
            return;
        self notify("burp");
    }
}
 

ConsoleGods

Member
Messages
55
Reaction score
5
Points
8
Try to use this function:

Code:
//----------------------------------------
//Give/Take Perk
//----------------------------------------
// THREAD THAT FOR JUG: Toggle_PlayerPerk("specialty_armorvest");
Toggle_PlayerPerk(perk) //not used now
{
    if (!(self hasperk(perk) || self maps/mp/zombies/_zm_perks::has_perk_paused(perk)))
    {
        self doGivePerk(perk);
        self iprintln("Perk [" + perk + "] ^2Gived");
    }
    else
    {
        self notify(perk + "_stop");
        self iprintln("Perk [" + perk + "] ^1Removed");
    }
}

doGivePerk(perk)
{
    self endon("disconnect");
    self endon("death");
    level endon("game_ended");
    self endon("perk_abort_drinking");
    if (!(self hasperk(perk) || (self maps/mp/zombies/_zm_perks::has_perk_paused(perk))))
    {
        gun = self maps/mp/zombies/_zm_perks::perk_give_bottle_begin(perk);
        evt = self waittill_any_return("fake_death", "death", "player_downed", "weapon_change_complete");
        if (evt == "weapon_change_complete")
            self thread maps/mp/zombies/_zm_perks::wait_give_perk(perk, 1);
        self maps/mp/zombies/_zm_perks::perk_give_bottle_end(gun, perk);
        if (self maps/mp/zombies/_zm_laststand::player_is_in_laststand() || isDefined(self.intermission) && self.intermission)
            return;
        self notify("burp");
    }
}

Nah it's still the same issue...
 

ConsoleGods

Member
Messages
55
Reaction score
5
Points
8
Ok than it looks like that your game is broken....
I figured out the issue... but I don't understand why it's causing it.

Allow me to explain

So If I give myself all perks and remove Quick Revive... Jug works great... But if I have quick revive... the jug effect get's removed.

So I can have all perks except quick revive because it just cancels Jug for some reason.
 

jcal147

Veteran
Messages
63
Reaction score
12
Points
568
addPerks(a)
{
self maps/mp/zombies/_zm_perks::give_perk(a);
self iPrintln("Perk: "+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]+" ^2Gived");
}
replace your perk script with this:smile:
 

ConsoleGods

Member
Messages
55
Reaction score
5
Points
8
This has been fixed... the error was in the base itself... When you open the menu base you gain God Mode... but when you close the menu base your health goes to default which is 100%... so it's been changed so that Jug will take effect :tonguewink:.
 
Top