Jump to content

Jyggs

Members
  • Posts

    12
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About Jyggs

Profile Information

  • Gender
    Male
  • Country
    United States

Recent Profile Visitors

366 profile views

Jyggs's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. I know this thread is ages old and all.... But I updated some of the code so it works with the L2j H5 Stable (Dec 2014) build as well. ### Eclipse Workspace Patch 1.0 #P L2J_Server diff --git java/com/l2jserver/Config.java java/com/l2jserver/Config.java index cd2c15e..2fbe9d1 100644 --- java/com/l2jserver/Config.java +++ java/com/l2jserver/Config.java @@ -699,6 +699,7 @@ public static int L2JMOD_CHAMPION_REWARD_QTY; public static boolean L2JMOD_CHAMPION_ENABLE_VITALITY; public static boolean L2JMOD_CHAMPION_ENABLE_IN_INSTANCES; + public static int L2JMOD_CHAMPION_ENABLE_AURA; public static boolean TVT_EVENT_ENABLED; public static boolean TVT_EVENT_IN_INSTANCE; public static String TVT_EVENT_INSTANCE_FILE; @@ -2248,6 +2249,11 @@ L2JMOD_CHAMPION_REWARD_ID = L2JModSettings.getInt("ChampionRewardItemID", 6393); L2JMOD_CHAMPION_REWARD_QTY = L2JModSettings.getInt("ChampionRewardItemQty", 1); L2JMOD_CHAMPION_ENABLE_VITALITY = L2JModSettings.getBoolean("ChampionEnableVitality", false); + + //Champion Aura + L2JMOD_CHAMPION_ENABLE_AURA = L2JModSettings.getInt("ChampionEnableAura", 0); + if (L2JMOD_CHAMPION_ENABLE_AURA != 0 && L2JMOD_CHAMPION_ENABLE_AURA != 1 && L2JMOD_CHAMPION_ENABLE_AURA != 2) L2JMOD_CHAMPION_ENABLE_AURA = 0; + //End L2JMOD_CHAMPION_ENABLE_IN_INSTANCES = L2JModSettings.getBoolean("ChampionEnableInInstances", false); TVT_EVENT_ENABLED = L2JModSettings.getBoolean("TvTEventEnabled", false); diff --git java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java index f8f944c..4f631f4 100644 --- java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java +++ java/com/l2jserver/gameserver/network/serverpackets/AbstractNpcInfo.java @@ -189,8 +189,15 @@ writeD(_allyCrest); // all crest writeC(_npc.isInsideZone(ZoneId.WATER) ? 1 : _npc.isFlying() ? 2 : 0); // C2 - writeC(_npc.getTeam().getId()); - + // writeC(_npc.getTeam().getId()); + if (Config.L2JMOD_CHAMPION_ENABLE) + { + writeC(_npc.isChampion() ? Config.L2JMOD_CHAMPION_ENABLE_AURA : 0); + } + else + { + writeC(_npc.getTeam().getId()); + } writeF(_collisionRadius); writeF(_collisionHeight); writeD(_enchantEffect); // C4 Also remember to add this to the end of the Champion configurations inside the L2jMods.Properties file.... # Enable aura from champion mobs # 0 - no aura / 1 - blue aura / 2 - red aura # Default = 0 ChampionEnableAura = 1 BTW.... Does anyone know how to change the aura type? I'd rather have something else be the aura instead of the TVT markers.
  2. Wow, found it. Thank you a lot, this was driving me crazy. After giving it a thought it all make sense now. I got confused because I saw a java file from one of the quests that said something like "send sound confirm" or whatever it said, and thought that the NPC speech worked on the same basis. Again thank you for the clarification, helped a lot.
  3. Yeah I was asking @ matiasruella .... wanted to make sure before giving him a proper answer. :P
  4. Does your server runs NPCs from a SQL table like old l2j builds, or does it have a folder on game\data\stats\npcs with xmls??
  5. Yesterday I was looking at the NPCs and I found a nice one to switch the Priestess of Dusk with, Its called Elcadia (ID 32784). I learned that Elcadia has a voice sound clip that always plays when you talk to her or browse through her quest selections. I assumed she had a script of some sorts that enabled her to talk. The quest script is Q10294_SevenSignsToTheMonasteryOfSilence and it has all of the HTMLs and a Java inside. However I cannot find the bit where it tells her to speak. There is no sound command on the script at all..... I have no clue how she works. Also tried making a custom NPC using her ID as a base and she still keeps talking. Does anyone knows where can I find how to add or remove her voice? Would love to know so I can make other NPCs like a Gatekeeper with speech. BTW this NPC is on the original L2 files, and I'm using L2j Server H5 Stable (Dec 2014) just in case.
  6. Ok got it working after a bit of trial and error. Had problems with the Encrypt/Decrypt programs but I think I figured it out. The correct line to edit is this one.... File---> localization.ini English_MiniLogoTexture=L2Font-e.mini_logo-e So instead of editing the L2Font-e.utx file, instead I made a new utx file and added my own stuff inside to prevent messing with the original files, then I just edited the line shown above in localization.ini to link to the new image. L2Font-e . mini_logo-e ^Filename ^image name I just grabbed one of those High Five logos floating around in Google just to test it out... and it works.
  7. Is there anyways to port this to H5 Stable? I tried to adapt the .Dat file lines, but I can't figure out what most of them do. I do know that there's a bunch of numbers that are missing from the H5 .dat files but I can't get it to work.
  8. I've tried installing the latest version of this mod on the L2 H5 Stabe version (Dec 2014 i think) and it won't work. It seems both: "com.l2jserver.gameserver.datatables.SkillTable;" and "com.l2jserver.gameserver.model.skills.L2Skill;" does not exist anymore on the L2j Core. Can't get it to work since I don't know where the missing files are now, or if there is a new way the server points to whatever routine they did before.
  9. Nice! So I'll test this in a bit then. Looks like it's one of the files with "logo" on their name. [English] English_Code=e English_Font=L2Font-e.SmallFont-e English_Glyph=SmallFont-e.gly English_Font2=L2Font-e.LargeFont-e English_Glyph2=LargeFont-e.gly English_Minimap=L2Font-e.Minimap.worldmap English_LogoTexture=L2Font-e.start_logo-e English_LoadingTexture=L2Font-e.loading02-e English_MiniLogoTexture=L2Font-e.mini_logo-e English_TownMap=L2Font-e.TownMap English_ReplayLogoTexture=L2Font-e.Replay_logo-e English_FontLib=fonts_en.gfx ^ Actually, this lobby is already in your High Five client. It's the Lobby02 file copied as the lobby01 file.
  10. Hi, I would like to know if there is a way to change this logo on the lobby/login screen. I would like to change it since this is a High Five client and it has always bothered me that it says Freya. I've noticed that the logo always appears regardless if I change the map files for the lobby. Is there a file that I can change this, or is it hardcoded on the exe?
  11. Are you using regular L2j Server or something like L2J Frozen or whatever name that build has? Make sure your Imports on all of your .java files or .py files (the one used on that buffer for example) have the correct pointers (or whatever its called) to your server stuff. For example.... this is the line 4 on the .py file right...? from com.l2jserver import Config If you are using some l2j build like L2jFrozen the part that says "com.l2jserver" will be different and will look something like this instead... from net.l2jfrozen import Config Think of it like your server is a massive web page and the script that the buffer is trying to run is an url address trying to import stuff from your server resource. If you write the wrong address it won't find the resources it needs and give you an error. Just open another java file (or .py file from another quest) and take a look at what the Import lines address and check if they look similar. Hope this can help a bit.
  12. Hello, I have a problem when I try to build my Server code using a Autoshot script shared here on the forums. This is the thread that has the code and discussions. http://www.maxcheaters.com/topic/170046-autoshots-autoarrows-no-consumption/ I noticed that most of the stuff (like line numbers and some files) seem to been outdated since the thread seems kinda old and I'm using the "latest" (March 2015) L2J High Five code. So I took my time to copy it manually and make sure everything went where it was supposed to. All seemed fine, but when I try to compile it, I get this error that I can't get my head around. "Type mismatch: cannot convert from CrystalType to int AutoShots.java /L2J_Server/java/com/custom line 49 Java Problem" Tried re-writing everything again and I still get this error. I have no clue on how to fix this, any help would be appreciated.
×
×
  • Create New...