Jump to content

Recommended Posts

Posted

Wenas this effect is to put the players who are selling or buying or Offline Crafteando.

Effects that can be placed ->

 

#-1 BLEEDING   
#-2 POISON      
#-3 REDCIRCLE
#-4 ICE         
#-5 WIND      
#-6 FEAR      
#-7 STUN      
#-8 SLEEP      
#-9 MUTED      
#-10 ROOT      
#-11 HOLD_1   
#-12 HOLD_2   
#-13 BIG_HEAD
#-14 FLAME   
#-15 GROW   
#-16 FLOATING_ROOT
#-17 DANCE_STUNNED
#-18 FIREROOT_STUN
#-19 STEALTH
#-20 IMPRISIONING_1
#-21 IMPRISIONING_2
#-22 MAGIC_CIRCLE
#-23 ICE2
#-24 VITALITY
#-25 REAL_TARGET
#-26 DEATH_MARK
#-27 SKULL_FEAR
#-28 S_INVINCIBLE
#-29 S_AIR_STUN
#-30 S_AIR_ROOT
#-31 S_BAGUETTE_SWORD   
#-32 S_YELLOW_AFFRO
#-33 S_PINK_AFFRO
#-34 S_BLACK_AFFRO
#-35 S_STIGMA_SHILIEN
#-36 S_STAKATOROOT
#-37 S_FREEZING
#-38 S_VESPER
#-39 E_AFRO_1
#-40 E_AFRO_2
#-41 E_AFRO_3
#-42 E_EVASWRATH
#-43 E_HEADPHONE
#-44 E_VESPER_1
#-45 E_VESPER_2
#-46 E_VESPER_3

 

 

5KXf9.jpg

 

 

Ruta del archivo --> \game\config\l2jmods.properties

 

# -----------------------------------------

# Offline Effecto -

# -----------------------------------------

# Add effect when entering offline mode.

# Default: False

OfflineTradeEffecto = True

 

#-1 BLEEDING |#-16 FLOATING_ROOT |#-31 S_BAGUETTE_SWORD |#-46 E_VESPER_3

#-2 POISON |#-17 DANCE_STUNNED |#-32 S_YELLOW_AFFRO

#-3 REDCIRCLE |#-18 FIREROOT_STUN |#-33 S_PINK_AFFRO

#-4 ICE |#-19 STEALTH |#-34 S_BLACK_AFFRO

#-5 WIND |#-20 IMPRISIONING_1 |#-35 S_STIGMA_SHILIEN

#-6 FEAR |#-21 IMPRISIONING_2 |#-36 S_STAKATOROOT

#-7 STUN |#-22 MAGIC_CIRCLE |#-37 S_FREEZING

#-8 SLEEP |#-23 ICE2 |#-38 S_VESPER

#-9 MUTED |#-24 VITALITY |#-39 E_AFRO_1

#-10 ROOT |#-25 REAL_TARGET |#-40 E_AFRO_2

#-11 HOLD_1 |#-26 DEATH_MARK |#-41 E_AFRO_3

#-12 HOLD_2 |#-27 SKULL_FEAR |#-42 E_EVASWRATH

#-13 BIG_HEAD |#-28 S_INVINCIBLE |#-43 E_HEADPHONE

#-14 FLAME |#-29 S_AIR_STUN |#-44 E_VESPER_1

#-15 GROW |#-30 S_AIR_ROOT |#-45 E_VESPER_2

 

OfflineEffectoId = 24

 

 

Ruta --> java/com/l2jserver/Config.java

 

        public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE;

+   public static boolean OFFLINE_TRADE_EFFECTO;
+   public static int OFFLINE_EFFECTO_ID;

              L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False"));


+               OFFLINE_TRADE_EFFECTO = Boolean.parseBoolean(smartCB.getProperty("OfflineTradeEffecto", "False"));
+               OFFLINE_EFFECTO_ID = Integer.parseInt(smartCB.getProperty("OfflineEffectoId", "1"));

 

Ruta --> java/com/l2jserver/gameserver/datatables/OfflineTradeTable.java

 

             player.setOfflineStartTime(time);

+               if (Config.OFFLINE_TRADE_EFFECTO)
+                    {
+                        switch(Config.OFFLINE_EFFECTO_ID)
+                        {
+                            case 1:
+                              player.startAbnormalEffect(AbnormalEffect.BLEEDING);
+                              break;
+                            case 2:
+                              player.startAbnormalEffect(AbnormalEffect.POISON);
+                              break;
+                            case 3:
+                              player.startAbnormalEffect(AbnormalEffect.REDCIRCLE);
+                              break;
+                            case 4:
+                              player.startAbnormalEffect(AbnormalEffect.ICE);
+                              break;
+                            case 5:
+                              player.startAbnormalEffect(AbnormalEffect.WIND);
+                              break;
+                            case 6:
+                              player.startAbnormalEffect(AbnormalEffect.FEAR);
+                              break;
+                            case 7:
+                              player.startAbnormalEffect(AbnormalEffect.STUN);
+                              break;
+                            case 8:
+                              player.startAbnormalEffect(AbnormalEffect.SLEEP);
+                              break;
+                            case 9:
+                              player.startAbnormalEffect(AbnormalEffect.MUTED);
+                              break;
+                            case 10:
+                              player.startAbnormalEffect(AbnormalEffect.ROOT);
+                              break;
+                            case 11:
+                              player.startAbnormalEffect(AbnormalEffect.HOLD_1);
+                              break;
+                            case 12:
+                              player.startAbnormalEffect(AbnormalEffect.HOLD_2);
+                              break;
+                            case 13:
+                              player.startAbnormalEffect(AbnormalEffect.BIG_HEAD);
+                              break;
+                            case 14:
+                              player.startAbnormalEffect(AbnormalEffect.FLAME);
+                              break;
+                            case 15:
+                              player.startAbnormalEffect(AbnormalEffect.GROW);
+                              break;
+                            case 16:
+                              player.startAbnormalEffect(AbnormalEffect.FLOATING_ROOT);
+                              break;
+                            case 17:
+                              player.startAbnormalEffect(AbnormalEffect.DANCE_STUNNED);
+                              break;
+                            case 18:
+                              player.startAbnormalEffect(AbnormalEffect.FIREROOT_STUN);
+                              break;
+                            case 19:
+                              player.startAbnormalEffect(AbnormalEffect.STEALTH);
+                              break;
+                            case 20:
+                              player.startAbnormalEffect(AbnormalEffect.IMPRISIONING_1);
+                              break;
+                            case 21:
+                              player.startAbnormalEffect(AbnormalEffect.IMPRISIONING_2);
+                              break;
+                            case 22:
+                              player.startAbnormalEffect(AbnormalEffect.MAGIC_CIRCLE);
+                              break;
+                            case 23:
+                              player.startAbnormalEffect(AbnormalEffect.ICE2);
+                              break;
+                            case 24:
+                              player.startAbnormalEffect(AbnormalEffect.VITALITY);
+                              break;
+                            case 25:
+                              player.startAbnormalEffect(AbnormalEffect.REAL_TARGET);
+                              break;
+                            case 26:
+                              player.startAbnormalEffect(AbnormalEffect.DEATH_MARK);
+                              break;
+                            case 27:
+                              player.startAbnormalEffect(AbnormalEffect.SKULL_FEAR);
+                              break;
+                            case 28:
+                              player.startAbnormalEffect(AbnormalEffect.S_INVINCIBLE);
+                              break;
+                            case 29:
+                              player.startAbnormalEffect(AbnormalEffect.S_AIR_STUN);
+                              break;
+                            case 30:
+                              player.startAbnormalEffect(AbnormalEffect.S_AIR_ROOT);
+                              break;
+                            case 31:
+                              player.startAbnormalEffect(AbnormalEffect.S_BAGUETTE_SWORD);
+                              break;
+                            case 32:
+                              player.startAbnormalEffect(AbnormalEffect.S_YELLOW_AFFRO);
+                              break;
+                            case 33:
+                              player.startAbnormalEffect(AbnormalEffect.S_PINK_AFFRO);
+                              break;
+                            case 34:
+                              player.startAbnormalEffect(AbnormalEffect.S_BLACK_AFFRO);
+                              break;
+                            case 35:
+                              player.startAbnormalEffect(AbnormalEffect.S_STIGMA_SHILIEN);
+                              break;
+                            case 36:
+                              player.startAbnormalEffect(AbnormalEffect.S_STAKATOROOT);
+                              break;
+                            case 37:
+                              player.startAbnormalEffect(AbnormalEffect.S_FREEZING);
+                              break;
+                            case 38:
+                              player.startAbnormalEffect(AbnormalEffect.S_VESPER);
+                              break;
+                            case 39:
+                              player.startAbnormalEffect(AbnormalEffect.E_AFRO_1);
+                              break;
+                            case 40:
+                              player.startAbnormalEffect(AbnormalEffect.E_AFRO_2);
+                              break;
+                            case 41:
+                              player.startAbnormalEffect(AbnormalEffect.E_AFRO_3);
+                              break;
+                            case 42:
+                              player.startAbnormalEffect(AbnormalEffect.E_EVASWRATH);
+                              break;
+                            case 43:
+                              player.startAbnormalEffect(AbnormalEffect.E_HEADPHONE);
+                              break;
+                            case 44:
+                              player.startAbnormalEffect(AbnormalEffect.E_VESPER_1);
+                              break;
+                            case 45:
+                              player.startAbnormalEffect(AbnormalEffect.E_VESPER_2);
+                              break;
+                            case 46:
+                              player.startAbnormalEffect(AbnormalEffect.E_VESPER_3);
+                              break;
+                              
+                        }
+                    }

 

Ruta --> java/com/l2jserver/gameserver/network/L2GameClient.java

 

                        player.getAppearance().setNameColor(Config.OFFLINE_NAME_COLOR);
                        player.broadcastUserInfo();
                     }
                     
+                     if (Config.OFFLINE_TRADE_EFFECTO)
+                          {
+                              switch(Config.OFFLINE_EFFECTO_ID)
+                              {
+                                  case 1:
+                                    player.startAbnormalEffect(AbnormalEffect.BLEEDING);
+                                    break;
+                                  case 2:
+                                    player.startAbnormalEffect(AbnormalEffect.POISON);
+                                    break;
+                                  case 3:
+                                    player.startAbnormalEffect(AbnormalEffect.REDCIRCLE);
+                                    break;
+                                  case 4:
+                                    player.startAbnormalEffect(AbnormalEffect.ICE);
+                                    break;
+                                  case 5:
+                                    player.startAbnormalEffect(AbnormalEffect.WIND);
+                                    break;
+                                  case 6:
+                                    player.startAbnormalEffect(AbnormalEffect.FEAR);
+                                    break;
+                                  case 7:
+                                    player.startAbnormalEffect(AbnormalEffect.STUN);
+                                    break;
+                                  case 8:
+                                    player.startAbnormalEffect(AbnormalEffect.SLEEP);
+                                    break;
+                                  case 9:
+                                    player.startAbnormalEffect(AbnormalEffect.MUTED);
+                                    break;
+                                  case 10:
+                                    player.startAbnormalEffect(AbnormalEffect.ROOT);
+                                    break;
+                                  case 11:
+                                    player.startAbnormalEffect(AbnormalEffect.HOLD_1);
+                                    break;
+                                  case 12:
+                                    player.startAbnormalEffect(AbnormalEffect.HOLD_2);
+                                    break;
+                                  case 13:
+                                    player.startAbnormalEffect(AbnormalEffect.BIG_HEAD);
+                                    break;
+                                  case 14:
+                                    player.startAbnormalEffect(AbnormalEffect.FLAME);
+                                    break;
+                                  case 15:
+                                    player.startAbnormalEffect(AbnormalEffect.GROW);
+                                    break;
+                                  case 16:
+                                    player.startAbnormalEffect(AbnormalEffect.FLOATING_ROOT);
+                                    break;
+                                  case 17:
+                                    player.startAbnormalEffect(AbnormalEffect.DANCE_STUNNED);
+                                    break;
+                                  case 18:
+                                    player.startAbnormalEffect(AbnormalEffect.FIREROOT_STUN);
+                                    break;
+                                  case 19:
+                                    player.startAbnormalEffect(AbnormalEffect.STEALTH);
+                                    break;
+                                  case 20:
+                                    player.startAbnormalEffect(AbnormalEffect.IMPRISIONING_1);
+                                    break;
+                                  case 21:
+                                    player.startAbnormalEffect(AbnormalEffect.IMPRISIONING_2);
+                                    break;
+                                  case 22:
+                                    player.startAbnormalEffect(AbnormalEffect.MAGIC_CIRCLE);
+                                    break;
+                                  case 23:
+                                    player.startAbnormalEffect(AbnormalEffect.ICE2);
+                                    break;
+                                  case 24:
+                                    player.startAbnormalEffect(AbnormalEffect.VITALITY);
+                                    break;
+                                  case 25:
+                                    player.startAbnormalEffect(AbnormalEffect.REAL_TARGET);
+                                    break;
+                                  case 26:
+                                    player.startAbnormalEffect(AbnormalEffect.DEATH_MARK);
+                                    break;
+                                  case 27:
+                                    player.startAbnormalEffect(AbnormalEffect.SKULL_FEAR);
+                                    break;
+                                  case 28:
+                                    player.startAbnormalEffect(AbnormalEffect.S_INVINCIBLE);
+                                    break;
+                                  case 29:
+                                    player.startAbnormalEffect(AbnormalEffect.S_AIR_STUN);
+                                    break;
+                                  case 30:
+                                    player.startAbnormalEffect(AbnormalEffect.S_AIR_ROOT);
+                                    break;
+                                  case 31:
+                                    player.startAbnormalEffect(AbnormalEffect.S_BAGUETTE_SWORD);
+                                    break;
+                                  case 32:
+                                    player.startAbnormalEffect(AbnormalEffect.S_YELLOW_AFFRO);
+                                    break;
+                                  case 33:
+                                    player.startAbnormalEffect(AbnormalEffect.S_PINK_AFFRO);
+                                    break;
+                                  case 34:
+                                    player.startAbnormalEffect(AbnormalEffect.S_BLACK_AFFRO);
+                                    break;
+                                  case 35:
+                                    player.startAbnormalEffect(AbnormalEffect.S_STIGMA_SHILIEN);
+                                    break;
+                                  case 36:
+                                    player.startAbnormalEffect(AbnormalEffect.S_STAKATOROOT);
+                                    break;
+                                  case 37:
+                                    player.startAbnormalEffect(AbnormalEffect.S_FREEZING);
+                                    break;
+                                  case 38:
+                                    player.startAbnormalEffect(AbnormalEffect.S_VESPER);
+                                    break;
+                                  case 39:
+                                    player.startAbnormalEffect(AbnormalEffect.E_AFRO_1);
+                                    break;
+                                  case 40:
+                                    player.startAbnormalEffect(AbnormalEffect.E_AFRO_2);
+                                    break;
+                                  case 41:
+                                    player.startAbnormalEffect(AbnormalEffect.E_AFRO_3);
+                                    break;
+                                  case 42:
+                                    player.startAbnormalEffect(AbnormalEffect.E_EVASWRATH);
+                                    break;
+                                  case 43:
+                                    player.startAbnormalEffect(AbnormalEffect.E_HEADPHONE);
+                                    break;
+                                  case 44:
+                                    player.startAbnormalEffect(AbnormalEffect.E_VESPER_1);
+                                    break;
+                                  case 45:
+                                    player.startAbnormalEffect(AbnormalEffect.E_VESPER_2);
+                                    break;
+                                  case 46:
+                                    player.startAbnormalEffect(AbnormalEffect.E_VESPER_3);
+                                    break;
+                                    
+                              }
+                          }

 

I've adapted to Freya and add more effects and Nothing but the credits for RedHot.

  • Vision locked this topic
Guest
This topic is now closed to further replies.



  • Posts

    • A New Chapter Begins We're Rebuilding – Join Our Staff Team After many years of activity, growth, and challenges, it’s finally time for our community to restructure and move forward. We’re ready to turn a new page and evolve into something greater — but we can’t do it without the help of passionate and committed people. That’s why we’re now opening up staff applications for those who want to actively shape the future of our community. If you have the motivation, time, and patience to contribute to something meaningful, this is your chance to step in and make a real impact. What We're Looking For We’re building a fresh and dedicated team of individuals who are ready to support and grow this project. Open roles include: Moderators – to keep the forum clean, safe, and organized Gaming Moderators – to help manage gaming boards (e.g., Lineage, GTA FiveM) Content Creators – to post updates, guides, and articles Community Managers – to engage users and drive activity Technical Staff – for development, backend, and server work We’re not focusing only on Lineage anymore. Our vision is expanding to new areas — including GTA FiveM and other multiplayer games you might have expertise in. If you have a good idea, a server plan, or something new to suggest — we’re open to it. Now’s the time to bring it forward. Requirements We’re looking for individuals who have: A history of activity on the forum (preferred) Available time to contribute consistently A sense of teamwork and responsibility A genuine interest in gaming and community building If you're interested, just send a private message to me or Celestine. (or just reply here) Tell us a few things about yourself and how you’d like to contribute. Let’s bring this community back to life. Let’s rebuild something great — together.   M M G A 
    • Lineage2Network - Interlude Reimagined   Embark on a revitalized journey through the classic Interlude era with Lineage2.Network. Our server is meticulously crafted by veteran players to deliver a seamless and engaging experience, blending the nostalgia of the Chaotic Chronicle with modern enhancements.     Server details   Chronicle: Interlude + Classic Rates: EXP x30 | Adena x10 | Drop x10 | Spoil x10     Server features   Daily Missions - complete special tasks for daily rewards Attendance Rewards - get rewards for online time Custom Events - TVT, DM, CTF NPC buffer duration - 2 hours   Mana Potions - restores 1000 MP, 10s cooldown Ring of Core additional stats: +1 STR Earring of Orfen additional stats: +1 INT Shadow Earring of Zaken - 7 days Shadow Ring of Queen Ant - 7 days   Max buff count - 24 (20 + 4 with Divine Inspiration) Noblesse, Heroic Valor, Flames of Invincibility and Celestial Shield don't take buff slot Reworked Cancel, Mage and Warrior Banes – removed buffs reappear after 30s Block Buffs - block all incoming buffs except from self/party Sweeper Festival added to Spoiler class   Subclass – retail or purchasable Noblesse – retail or purchasable up to Barakiel; collect 8 fragments for full staff 1st & 2nd class free, 3rd needs 700 Halisha Marks or is purchasable New Olympiad System: new stadiums with NPC buffer,  1 week period.     Key dates     Beta Launch: April 14, 2025 Official Launch: May 9, 2025     Check out full server details in our website And visit our discord   Join us and be part of community where classic gameplay meets innovative updates. Whether you're a solo adventurer or part of a formidable clan, Lineage2.Network offers a dynamic and balanced environment for all.  
  • Topics

×
×
  • Create New...