Jump to content

BlackJack25

Members
  • Posts

    15
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About BlackJack25

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BlackJack25's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. I found this: activeChar.sendPacket(new PledgeShowInfoUpdate(activeChar.getClan())); no errors, but it's not working...
  2. no one knows how to do the animated pic in welcome screen? :|
  3. there is another way to do that in simple texture with animation, but without fade and only with two images...
  4. i tried 256 256, but it don't help... with simple image its no matter what height/width in html
  5. i everything know how to do utx. custom armors, weapons work fine, but in welcome screen it shows black image... <img src="l2*******.l2*******_logo" width=256 height=94>
  6. It's possible to put the texture with material sequence in welcome screen, shop and other windows? if it's possible, how do i write HTML code?
  7. Maybe someone know how to fix this problem? :-\ FinalBlend: Shader:
  8. Is it possible to modify textures without lose of quality? for example: I'm losing quality after importing *.dds or *.tga files to UE2 :-\
  9. thanks for helping ;) and to the same, I have another problem with adapting Aion weapons...
  10. i always decrypting first with l2encdec, but this time it doesn't help. maybe there is another way or program?
  11. I'm trying to open UTX (from Mitrael armor) file with UnrealEngine2 and got error. With other UTX files like epic, dynasty, all C6 armors/weapons i don't have any problems. so how can i open these files with UnrealEngine?
  12. nice armor's. maybe someone can share the code adapted to interlude? :D
  13. Hy all, maybe someone can help me with script import? inserted script to custom\BossRespawn\BossRespawn.java and don't know how to add its import in __init__ . thanks in advance __all__ = [ '3995_echo', '4000_ShadowWeapons', '7000_HeroItems', '8000_RaidbossInfo', '6050_KetraOrcSupport', '6051_VarkaSilenosSupport', 'BossRespawn' <<--- ??? ] print "" print "importing custom data ..." for name in __all__ : try : __import__('data.scripts.custom.'+name,globals(), locals(), ['__init__'], -1) <<--- ??? except: print "failed to import quest : ",name print "... done" print ""
  14. in gameserver/model/actor directory there are no L2NpcInstance, only gameserver/model/actor/instance
  15. Hy all, maybe someone can help me to modify this script for Interlude? tried to change import's, but in gs have error with L2Npc import. package custom.BossRespawn; import javolution.text.TextBuilder; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.datatables.NpcTable; public class BossRespawn extends Quest { private static final int NPC_ID = 93000; private static final int[] BOSSES = {29001, 29006, 29014, 29019, 29020, 29022, 29028, 29045}; public BossRespawn(int questid, String name, String descr) { super(questid, name, descr); addFirstTalkId(NPC_ID); } public String onFirstTalk(L2Npc npc, L2PcInstance pc) { if(npc == null || pc == null) return null; if(npc.getNpcId() == NPC_ID) { sendInfo(pc); } return null; } private void sendInfo(L2PcInstance activeChar) { TextBuilder tb = new TextBuilder(); tb.append("<html><title>Grand Boss Info By Dleogr</title><body><br><center>"); tb.append("<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>"); for(int boss : BOSSES) { String name = NpcTable.getInstance().getTemplate(boss).getName(); long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time"); if (delay <= System.currentTimeMillis()) { tb.append("<font color=\"00C3FF\">" + name + "</color>: " + "<font color=\"9CC300\">Is Alive</color>"+"<br1>"); } else { int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60); int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60); int seconts = (int) (((delay - ((hours * 60 * 60 * 1000) + (mins * 60 * 1000))) - System.currentTimeMillis()) / 1000); tb.append("<font color=\"00C3FF\">" + name + "</color>" + "<font color=\"FFFFFF\">" +" " + "Respawn in :</color>" + " " + " <font color=\"32C332\">" + hours + " : " + mins + " : " + seconts + "</color><br1>"); } } tb.append("<br><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"); tb.append("</center></body></html>"); NpcHtmlMessage msg = new NpcHtmlMessage(NPC_ID); msg.setHtml(tb.toString()); activeChar.sendPacket(msg); } public static void main(String[] args) { new BossRespawn(-1, "BossRespawn", "custom"); } }
×
×
  • Create New...