Jump to content
  • 0

Missing Valakas


delamis

Question

Hi,

 

Boss Manager Listing Valakas Alive and i cant find valakas :alone: . I think so, its spawned random loc. and new spawns not workin on boss manager. Spawn location is true, if i can kill it 1 time it will be start to spawning at true loc. 

 

I did check spawnlist on navicat ( for finding random loc ) but it isn't there.

 

Now question is, how can i find and kill random spawned valakas?  :happyforever:

Edited by delamis
Link to comment
Share on other sites

Recommended Posts

  • 0

If you use regular script, Valakas is stored in a special room and is ported only when the 30min timer is reached (and return back to that room if no more players alive for an extended period), check the script for the location.

Link to comment
Share on other sites

  • 0

public class Valakas_l2j extends Quest implements Runnable
{
private int i_ai0 = 0;
private int i_ai1 = 0;
private int i_ai2 = 0;
private int i_ai3 = 0;
private int i_ai4 = 0;
private int i_quest0 = 0;
private long lastAttackTime = 0; // time to tracking valakas when was last time attacked
private int i_quest2 = 0; // hate value for 1st player
private int i_quest3 = 0; // hate value for 2nd player
private int i_quest4 = 0; // hate value for 3rd player
private L2Character c_quest2 = null; // 1st most hated target
private L2Character c_quest3 = null; // 2nd most hated target
private L2Character c_quest4 = null; // 3rd most hated target


private static final int VALAKAS = 29028;


//Valakas Status Tracking :
private static final byte DORMANT = 0; //Valakas is spawned and no one has entered yet. Entry is unlocked
private static final byte WAITING = 1; //Valakas is spawend and someone has entered, triggering a 30 minute window for additional people to enter
//before he unleashes his attack. Entry is unlocked
private static final byte FIGHTING = 2; //Valakas is engaged in battle, annihilating his foes. Entry is locked
private static final byte DEAD = 3; //Valakas has been killed. Entry is locked


private static L2BossZone _Zone;


// Boss: Valakas
public Valakas_l2j(int id, String name, String descr)
{
super(id, name, descr);
int[] mob =
{
VALAKAS
};
this.registerMobs(mob);
i_ai0 = 0;
i_ai1 = 0;
i_ai2 = 0;
i_ai3 = 0;
i_ai4 = 0;
i_quest0 = 0;
lastAttackTime = System.currentTimeMillis();
_Zone = GrandBossManager.getInstance().getZone(212852, -114842, -1632);
StatsSet info = GrandBossManager.getInstance().getStatsSet(VALAKAS);


Integer status = GrandBossManager.getInstance().getBossStatus(VALAKAS);


if (status == DEAD)
{
// load the unlock date and time for valakas from DB
long temp = (info.getLong("respawn_time") - System.currentTimeMillis());
// if valakas is locked until a certain time, mark it so and start the unlock timer
// the unlock time has not yet expired.  Mark valakas as currently locked.  Setup a timer
// to fire at the correct time (calculate the time between now and the unlock time,
// setup a timer to fire after that many msec)
if (temp > 0)
{
this.startQuestTimer("valakas_unlock", temp, null, null);
}
else
{
// the time has already expired while the server was offline.
// the status needs to be changed to DORMANT
GrandBossManager.getInstance().setBossStatus(VALAKAS, DORMANT);


}
}
else if(status == FIGHTING)
{
//respawn to original location 
int loc_x = 213004;
int loc_y = -114890;
int loc_z = -1595;
int heading = 0;


final int hp = info.getInteger("currentHP");
final int mp = info.getInteger("currentMP");
L2GrandBossInstance valakas = (L2GrandBossInstance) addSpawn(VALAKAS, loc_x, loc_y, loc_z, heading, false, 0);
GrandBossManager.getInstance().addBoss(valakas);
final L2NpcInstance _valakas = valakas;


ThreadPoolManager.getInstance().scheduleGeneral(new Runnable()
{
@Override
public void run()
{
try
{
_valakas.setCurrentHpMp(hp, mp);
_valakas.setRunning();
}
catch (Throwable e)
{}
}
}, 100L);


startQuestTimer("launch_random_skill", 60000, valakas, null, true);
// Start repeating timer to check for inactivity
startQuestTimer("check_activity_and_do_actions", 60000, valakas, null, true);


}else if(status == WAITING){


// Start timer to lock entry after 30 minutes and spawn valakas
startQuestTimer("lock_entry_and_spawn_valakas", (Config.VALAKAS_WAIT_TIME*60000), null, null);


}//if it was dormant, just leave it as it was:
//the valakas NPC is not spawned yet and his instance is not loaded




}


@Override
public String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance player)
{
if (npc != null)
{
long temp = 0;
if (event.equalsIgnoreCase("check_activity_and_do_actions"))
{
int lvl = 0;
int sk_4691 = 0;
L2Effect[] effects = npc.getAllEffects();
if (effects != null && effects.length != 0)
{
for (L2Effect e : effects)
{
if (e.getSkill().getId() == 4629)
{
sk_4691 = 1;
lvl = e.getSkill().getLevel();
break;
}
}
}


Integer status = GrandBossManager.getInstance().getBossStatus(VALAKAS);


temp = (System.currentTimeMillis() - lastAttackTime);


if (status == FIGHTING 
&& !npc.getSpawn().is_customBossInstance() //if it's a custom spawn, dnt despawn it for inactivity
&& (temp > (Config.VALAKAS_DESPAWN_TIME*60000))) //15 mins by default 
{
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);


//delete the actual boss
L2GrandBossInstance _boss_instance = GrandBossManager.getInstance().deleteBoss(VALAKAS);
_boss_instance.decayMe();
GrandBossManager.getInstance().setBossStatus(VALAKAS, DORMANT);
//npc.setCurrentHpMp(npc.getMaxHp(), npc.getMaxMp());
_Zone.oustAllPlayers();
cancelQuestTimer("check_activity_and_do_actions", npc, null);
i_quest2 = 0;
i_quest3 = 0;
i_quest4 = 0;

How this codes working? What's the guide of using this codes? So zaken wasnt in location too, but i find it and fixed. is it have script too? 

 

 

 

Link to comment
Share on other sites

  • 0
/**
* Queen Ant, Core, Orfen, Zaken: MemberCount > 36<br>
* Baium: MemberCount > 56<br>
* Antharas: MemberCount > 225<br>
* Valakas: MemberCount > 99<br>
* normal RaidBoss: MemberCount > 18
* 
* @param obj
* @return true if proper condition for RaidWar
*/
public boolean meetRaidWarCondition(L2Object obj)
{
if(!(obj instanceof L2RaidBossInstance) || !(obj instanceof L2GrandBossInstance))
return false;


int npcId = ((L2Attackable) obj).getNpcId();


switch(npcId)
{
case 29001: // Queen Ant
case 29006: // Core
case 29014: // Orfen
case 29022: // Zaken
return getMemberCount() > 36;
case 29020: // Baium
return getMemberCount() > 56;
case 29019: // Antharas
return getMemberCount() > 225;
case 29028: // Valakas
return getMemberCount() > 99;
default: // normal Raidboss
return getMemberCount() > 18;
}
}
}

and is this about it ?

Link to comment
Share on other sites

  • 0

But raid info manager see's only that spawn.. 

When i spawn new valakas and kill it, raid info manager still showing "live" .

 

So what can i do for fixin this?

Link to comment
Share on other sites

  • 0

But raid info manager see's only that spawn.. 

When i spawn new valakas and kill it, raid info manager still showing "live" .

 

So what can i do for fixin this?

Because valakas needs quest change your config to test the respawn time also make 1 hour respawn 30 min random and 15 waiting time take your quest valakas go to the valakas room with the normal way and then go in wait for 15 min..valakas will appear then kill him and look your manager...this is the way you must to try..
Link to comment
Share on other sites

  • 0

Because valakas needs quest change your config to test the respawn time also make 1 hour respawn 30 min random and 15 waiting time take your quest valakas go to the valakas room with the normal way and then go in wait for 15 min..valakas will appear then kill him and look your manager...this is the way you must to try..

 

how can i make it normal spawn ?

Link to comment
Share on other sites

  • 0

how can i make it normal spawn ?

I have no searching for this but you can try one teleport into valakas room and change spawn and wait minutes to 0..also must be only respawn time (what you want) and let me know if this works..

Link to comment
Share on other sites

  • 0

I have no searching for this but you can try one teleport into valakas room and change spawn and wait minutes to 0..also must be only respawn time (what you want) and let me know if this works..

 

No its not working

 

You have to enter at valakas area with retail quest!

 

i got it, im not stupit  :poker face:  im asking for standart spawn

 

i have said this to him..

 

:poker face:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • bro is any chance some one share compile pack and patch system for that one? is any chance here.... and client
    • Hello members of the forum! We offer hosting services for a different range of services: - ip spoofing; - scanning; - phishing; - botnets; - proxy; - gambling; - stealers; - legal adult; Prices: - VPS starting at $24; - Dedicated servers  starting at  $110; Contctats: layer0.ltd@gmail.com Telegram: @layer0_ltd Discord: layer0.ltd#6843 site: layer0.ltd
    • OUR OFFICIAL WEBSITE / FORUM - MILLENNIUM-HOOK.NET CHEAT DESCRIPTION: Our CS2 cheat is a premium cheat which provides a ton of features for legit gamplay. The cheat was created specifically for strong leagues and anti-cheats such as Faceit, 5EWin, Gamersclub, Esportal and many others. This cheat is perfect for players who want a safe undetected and reliable multi-hack while dominating their opponents and winning the game in their own style. To ensure maximum security of our cheat, we use more than 15+ methods of protection (for example, String Encryption, PE Header Erased, Code Mutation and much more that we cannot talk about for security reasons). Settings are directly configurable via a superb looking in-game menu or over our online «Cloud Panel». Our product is constantly receiving updates in collaboration with the our coders community and suggestions by you! SUPPORTED ANTI-CHEATS: (read more on official website) - VAC (Valve Anti-Cheat) - MM (Matchmaking) - FACEIT Server-Side - FACEIT Client - CEVO / Gfinity - EAC (Easy Anti-Cheat) - ESL Wire - 5EWin / 5EPlay - Perfect World - Gamersclub - Esportal - WePlay - ESEA Our CS2 cheat has a limited number of slots to ensure greater product security! (Available slots check on official website) FEATURES: AIMBOT: - Bone Aimbot (Legit aimbot that doesn't use any angle code that other competitors use. It aims in a legitimate fashion) - Bone and Multibone (Adjust which bone to aim at or select as many Bones as you want) - Smoothaim (Adjust how smooth the aimbot is in its human-like drag) - CloseAim (Toggle distance based aiming algorithm, for increased stickyness, or whoever is closest to the crosshair) - FoV (Adjust the Field of View of the aimbot or percentage of the screen that the aimbot will target enemies from) - Aimkey (Adjust which key the aimbot will use to aim) - AimDraw (Toggle the drawing of the aimspot on enemies (Visible/Always) - VisibleCheck (Visible checking on enemies with close enemy) - NoHop (Aim at One Target per press of the AimKey (Aimbot Doesn't Hop to Other Targets even after death) - RandomSpot (Randomizes the Spot around the target bones, making your aim look more humanized and legit) - Aimtime (Amount of time that the aimbot and Aimbot-RCS is active for, after you press the aimkey) - Ammo Management (Disable aimbot and TriggerBot when the gun clip is empty) - CloseFoV (Different FoV for players with in a certain distance (CloseFOV Distance) - AimOnShoot (Aim when shooting, aim when not shooting) - RecoilAfter (Start recoil after x bullets (Good for 1-2 Taps) - Recoil (Adjust the recoil counter while using the aimbot) - RecoilKey (Adjust which key the anti-recoil is set on (For all Aimbot Keys) - RecoilType (Control if recoil control is always on or only when using the Aimbot) - RecoilFOV (Adjust how long the Recoil will stay stuck to the target, very usable for when playing at a LAN) TRIGGERBOT: - TriggerBot (Automatically shoot at an enemy in a radius (usable with or without Aimbot) - TriggerKey (Control what key activates the TriggerBot (use with any key) - TriggerFov (Control the radius around the AimSpot which activates the TriggerBot) - TriggerDraw (Draw the bone spot that the TriggerBot is aiming at) - TriggerBone (Select the bone that the TriggerBot will target) - TriggerDelay (To add to the legitimacy of the TriggerBot, delays shooting for up to 0.5 seconds) - MonsterTrigger (Extremely Fast & Accurate TriggerBot with Fullbody Options Perfect TriggerBot) - VisCheck (Make sure you're only hitting enemies that you can see, or turn it off to get some sick wallbangs) - Random Delay (A random delay for your trigger bot to look even more legitimate) - Trigger Button (Use any button you like to control the triggerbot) ESP: - Name (Name of the player) - Health (Shows the current health of a player) - Armor (Shows the current amount of armor a player has) - ArmorType (Show if a player currently has a Kevlar vest, a helmet or both equipped) - Weapon (See what weapon a player is currently holding) - Weapon Ammo (See how much ammo you have left in the current clip) - Index (The internal index of the player based on the CSGO engine) - Distance (The distance of each player from you) - Box (A box around each players model, adjusting with distance (new rectangle box type) - Sequence (What action or stance the player is in (Running, Ducking, Jumping, Scoped etc) - Box Size & Box Multi (The size of the boxes around the players, adjustable to how you like) - Team ESP (Toggle ESP on your teammates) - Clean Draw ESP (Move ESP away from box) - Pixel ESP (Single Pixel ESP for legitimate play, shows one single pixel on the screen so it's not noticeable to any casual observers) - Visible ESP (Different color ESP for visible & non-visible players) - Entity ESP (See weapons, defusers, Bomb Location, and defusing players) - Entity Distance (Adjust how far away you will see different Entities for the ultimate in Player-Location assistance) - List ESP (The Ultimate Legit ESP, Listing Players that are not on your screen, or players anywhere in case you don't want to know where they are exactly) MISC: - Bunny Hop (Jumps automatically while the chosen key is being held) - Crosshair (When enabled it will draw a cross-hair on your screen, perfect for snipers, it also features an adjustable size) - Weapon Config System (Weapon configurations for each weapon group (pistols, deagle, snipers, SMG, Knife, rifles, etc) - Flash reduction (Make sure you can see enemies while you're supposed to be flashed) - Radar In Game (A radar is displayed where you see opponents) REQUIREMENTS: - Included HWID Spoofer: Yes - Stream Bypass: Yes - Supported game modes: Windowed, Borderless - Supported CPU: Intel & AMD - Supported OS: Windows 10 (1903,1909,2004,20H2,21H1, 22H2), Windows 11 (All version). Supported OS change and are added periodically. More check on official website.   IN-GAME SCREENSHOTS:   - Check on the official website.
    • A very skilled guy, did the job and delivered super fast, you can go without fear   100% malaka boy
  • Topics

×
×
  • Create New...