Jump to content
  • 0

[Help]Player Flashing Before Join On The Game


xXObanXx

Question

Hello Maxcheaters.... so i have a problem on latest H5 l2j server pack...!

so the problem is: when a character is logging on the game... while loading to join on the world... the other players can see this player to flashing before completely login on the game!
I think maybe the problem is on Enterworld.java (network/clientpackets) but i don't know where exactly... i will appreciate your help!

 

Here is the video of the bug.!

http://www.youtube.com/watch?v=Opybl7mEsUo&feature=youtu.be

 

Edit: on the video saws to flashing only 1 time... but this cause he restarted many times...
as much as you wait to loading to go inside of the game.... other players in game seeing you to flashing like that!

 

Edit 2: i removed the PvP Color System from Enterworld.java and PcInstance.java and the bug still exists... so that means that is not code's problem!
any other solution about this problem please?!

Edited by xXObanXx
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

What do you exactly mean with "flashing"?

Can you post a screenshot?

yeah sure.... i will saw you with a video in a minute!

 

EDIT: i'm uploading the video on youtube...

Edit 2: first topic updated!

Edited by xXObanXx
Link to comment
Share on other sites

  • 0

It happened to me long time ago with users that were using bot programs such as L2Net :troll:

But I think it can be generated by something weird on your source, too... is your server clean of customs or did you modify some things?

Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

It happened to me long time ago with users that were using bot programs such as L2Net :troll:

But I think it can be generated by something weird on your source, too... is your server clean of customs or did you modify some things?

the only custom thing that i have on Enterworld.java is the PvP Color System... nothing more there..!

Link to comment
Share on other sites

  • 0

the only custom thing that i have on Enterworld.java is the PvP Color System... nothing more there..!

You have wrong charInfo broadcasts, im pretty sure that your bad-coded pvp color system causes that, post your code here and I will clean it

Link to comment
Share on other sites

  • 0


if (!Config.DISABLE_TUTORIAL)

{

loadTutorial(activeChar);

}

 

 

+ // PvP Color System

+ if ((activeChar.getPvpKills() >= (Config.PVP_AMOUNT1)) && (Config.PVP_COLOR_SYSTEM_ENABLED))

+ {

+ activeChar.updatePvPColor(activeChar.getPvpKills());

+ }

 

 

for (Quest quest : QuestManager.getInstance().getAllManagedScripts())

{

if ((quest != null) && quest.getOnEnterWorld())

{

quest.notifyEnterWorld(activeChar);

}

}

 

Edited by xXObanXx
Link to comment
Share on other sites

  • 0
if (!Config.DISABLE_TUTORIAL)
{
loadTutorial(activeChar);
}


+ // PvP Color System
+ if ((activeChar.getPvpKills() >= (Config.PVP_AMOUNT1)) && (Config.PVP_COLOR_SYSTEM_ENABLED))
+ {
+ activeChar.updatePvPColor(activeChar.getPvpKills());
+ }


for (Quest quest : QuestManager.getInstance().getAllManagedScripts())
{
if ((quest != null) && quest.getOnEnterWorld())
{
quest.notifyEnterWorld(activeChar);
}
}

so the code comes from l2pcInstance. 

 

go model/actor/instance/L2PcInstance and find the method updatePvPColor

 

by the way, if the character who flashes hasn't >= (Config.PVP_AMOUNT1)) pvp kills, this code isnt called so the pvp system is not the case,

 

so the question now is

 

how many pvps does the orc have ?

Config.PVP_AMOUNT1 = ?

Edited by xdem
Link to comment
Share on other sites

  • 0

so the code comes from l2pcInstance. 

 

go model/actor/instance/L2PcInstance and find the method updatePvPColor

 

by the way, if the character who flashes hasn't >= (Config.PVP_AMOUNT1)) pvp kills, this code isnt called so the pvp system is not the case,

 

so the question now is

 

how many pvps does the orc have ?

Config.PVP_AMOUNT1 = ?

 

// In duel MP updated only with CP or HP
if (isInDuel() && (needCpUpdate || needHpUpdate))
{
DuelManager.getInstance().broadcastToOppositTeam(this, new ExDuelUpdateUserInfo(this));
}
}


+ // PVP Color System
+ public void updatePvPColor(int pvpKillAmount)
+ {
+ if (Config.PVP_COLOR_SYSTEM_ENABLED)
+ {
+ // Check if the character has GM access and if so, let them be.
+ if (isGM())
+ {
+ return;
+ }
+ {
+ if ((pvpKillAmount >= (Config.PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT5)) && (pvpKillAmount <= (Config.PVP_AMOUNT6)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT6)) && (pvpKillAmount <= (Config.PVP_AMOUNT7)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT6);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT7)) && (pvpKillAmount <= (Config.PVP_AMOUNT8)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT7);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT8)) && (pvpKillAmount <= (Config.PVP_AMOUNT9)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT8);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT9)) && (pvpKillAmount <= (Config.PVP_AMOUNT10)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT9);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT10)) && (pvpKillAmount <= (Config.PVP_AMOUNT11)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT10);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT11)) && (pvpKillAmount <= (Config.PVP_AMOUNT12)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT11);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT12)) && (pvpKillAmount <= (Config.PVP_AMOUNT13)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT12);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT13)) && (pvpKillAmount <= (Config.PVP_AMOUNT14)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT13);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT14)) && (pvpKillAmount <= (Config.PVP_AMOUNT15)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT14);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT15)) && (pvpKillAmount <= (Config.PVP_AMOUNT16)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT15);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT16)) && (pvpKillAmount <= (Config.PVP_AMOUNT17)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT16);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT17)) && (pvpKillAmount <= (Config.PVP_AMOUNT18)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT17);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT18)) && (pvpKillAmount <= (Config.PVP_AMOUNT19)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT18);
+ }
+ else if ((pvpKillAmount >= (Config.PVP_AMOUNT19)) && (pvpKillAmount <= (Config.PVP_AMOUNT20)))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT19);
+ }
+ else if (pvpKillAmount >= (Config.PVP_AMOUNT20))
+ {
+ getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT20);
+ }
+ }
+ }
+ }


/**
* Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers. <B><U> Concept</U> :</B> Others L2PcInstance in the detection area of the L2PcInstance are identified in <B>_knownPlayers</B>. In order to inform other players of this
* L2PcInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet <B><U> Actions</U> :</B> <li>Send a Server->Client packet UserInfo to this L2PcInstance (Public and Private Data)</li> <li>Send a Server->Client packet CharInfo to all L2PcInstance in
* _KnownPlayers of the L2PcInstance (Public data only)</li> <FONT COLOR=#FF0000><B> <U>Caution</U> : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...</B></FONT>
*/
public final void broadcastUserInfo()
{

Config.PVP_AMOUNT = 0 PvP Kills

my orc have 0 too!

Link to comment
Share on other sites

  • 0

What a shit code o.O

 

Better use this.. by An4rchy http://pastebin.com/pkhWZ1z1

actually is rough code...

 

i'm gonna try Anarchy's code..!

 

Edit: ERROR on An4rchy's system:

 

Client: [Character: Sponer[268484007] - Account: blabla - IP: 127.0.0.1] - Failed running: [C] 11 EnterWorld - L2J Server Version: 6212M - DP Revision: 9953M ; null
java.lang.NullPointerException
at com.l2jserver.gameserver.anarchy.PvPColorSystem.updateTitleColor(PvPColorSystem.java:44)
at com.l2jserver.gameserver.network.clientpackets.EnterWorld.runImpl(EnterWorld.java:139)
at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:70)
at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

 

 

Edited by xXObanXx
Link to comment
Share on other sites

  • 0

It's like your configs are wrong... what did you put on properties file?

ok... problem fixed... was not from any code that i added..!

was from the pack... i compared my pack with the latest from repository and the problem fixed!

btw... thank's all of you for your help!!

 

you can lock this topic!

Edited by xXObanXx
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • 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...