Jump to content

Advanced Offline Trade Effect


Recommended Posts

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.

Link to comment
Share on other sites

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



  • Posts

    • Is there any free on market programm to hide my ip (connect to a server tat has a dual box max with more boxes)
    • Hello! We would really appreciate it if you tried our proxies cause we have 4G mobile proxies too! Unfortunately the trial version is not available at the moment, but our knowledge base will help you gain valuable experience using Asocks! https://faq.asocks.com/faq/topic/user-guide
    • Hello Friends . I would like to introduce that i have found a method to avoid league hwid ban ( van 152 ) you will get perma ban when detected only at the account you are using like before vanguard release with the method you can script or use the tools you want at many accs as you wish unstoppable without caring about headache or wasting time and energy of flashing bios reset your pc installing fresh windows and using spoofer to change your hardware infos to unlock the hwid ban i have tested it on 5 accs i got them perma banned for using third party tools but not a hwid ban at all hint : ppl regulary get hwid ban in 2nd ban after got banned once before as vanguard working like that only 1 chance free then hwid ban. its so easy to achieve if you are interested dm for details
    • Trustworthy person; hope you find what you're looking for!
    • Customs being added to systextures/animation/texture influences the increase in virtual ram by a very small amount, which means you won't have a headache in the future with critical error issues, unless it's a dubious custom, there are 2 custom weapon packs available for H5 that are "compromised", they didn't make a very good adaptation, one of the packages is the weapons from the goddess of destruction for H5, another is the hero weapons from the goddess of destruction for H5, avoid these customs for your H5 server if you see it on any forum.   Now coming back to your question; one thing that the NCSoft developers never did was add files to their system, probably because they were aware of what could happen when doing that, now think about one thing: the game's system retail itself is no more than 70MB, every time there was an update made by NCSoft they always added the equipment/items/cloaks etc. in their folders intended for that, so why do we do this? I still have my client containing a system with almost 1GB, 1-2h online is the time I can stay online before the ram memory limit, but I have already redone my entire client with customs being destined for textures/systexture/animations, almost all the customs that I had on that client containing a 1GB system I have on my current server, with the difference that I removed everything from the system and critical error is now nothing more than legends, my current server has a total of 220MB in the system folder And theoretically speaking, based on what I've seen, especially on many forums, I believe that the heavier the system folder is, the faster we accelerate the consumption of the client's virtual ram memory, causing countless different types of critical error in one short period of time, in many forums that I've seen on topics involving critical, the solution that stands out the most is about downloading a new clean "system"
  • Topics

×
×
  • Create New...