-
Posts
56 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Everything posted by lsj14
-
Just 2 words: Nothing special. Ugly htmls, same features like other servers have, etc...
-
Help Split Armor Category To Armors And Accesories
lsj14 replied to lsj14's question in Request Server Development Help [L2J]
Somehow if(item.getLocationSlot() == Inventory.PAPERDOLL_NECK) doesn't seem to work for me even thou item is necklace, neither using if(item.getLocationSlot() == Item.SLOT_NECK) Edit: Just noticed that getLocationSlot doesn't fit my needs :D if(item.getItem().getBodyPart() == Item.SLOT_NECK) worked fine. -
Help How To Add This?
lsj14 replied to V e n { } m's question in Request Server Development Help [L2J]
Maybe you just put the check in wrong place. Just put above the line where you send main html and it will work, but don't forget to put return; like Tessa said, or else it wont work :D -
Help Split Armor Category To Armors And Accesories
lsj14 posted a question in Request Server Development Help [L2J]
Hey, could someone help me a little with this ? I'm using acis and I need to split armor category. Because there is only item.isArmor / item.isWeapon / Item.isEtcItem and I would need something like item.isAccesorie. I tried doing like this: if((item.isArmor() && item.getLocationSlot() == Inventory.PAPERDOLL_LFINGER || item.getLocationSlot() == Inventory.PAPERDOLL_RFINGER || item.getLocationSlot() == Inventory.PAPERDOLL_NECK || item.getLocationSlot() == Inventory.PAPERDOLL_LEAR || item.getLocationSlot() == Inventory.PAPERDOLL_REAR) { itemModel.setL2Type("Accesory"); } But this didn't work for me :S -
Help - [Il] Server Creation - Stuck On Charselect Screen
lsj14 replied to mercy4darkness's question in Request Server Development Help [L2J]
That says everything. -
WTB Experienced Server Developer (Java Side)
lsj14 replied to gerardas's topic in Marketplace [L2Packs & Files]
You must be joking, right? -
Not even worth to buy such easy shit code. http://www.maxcheaters.com/topic/167772-dressme-for-interlude/ for free..
-
Help Wrong Parameter Count '1' For Systemmessageid
lsj14 replied to lsj14's question in Request Server Development Help [L2J]
I don't understand whats the difference between your and mine code? And I putted ID because I created new line in systemmsg-e.dat with that ID. EDIT No more warning when I added : /** * ID: 2038<br> * Message: s1 */ public static final SystemMessageId TEXT_RED; TEXT_RED = new SystemMessageId(2038); -
Help Wrong Parameter Count '1' For Systemmessageid
lsj14 posted a question in Request Server Development Help [L2J]
Hello cheaters! I'm sending a message to client like this: final SystemMessage sm = SystemMessage.getSystemMessage(2038); sm.addString("Test!"); activeChar.sendPacket(sm); And I get a warning: Wrong parameter count '1' for SystemMessageId: SM[2038:null] What I'm doing wrong? -
Big thanks to Celestine, can be locked now.
-
Hey guys, I wanted to ask maybe someone have a different font for interlude client ? because I seen in some servers they have different font on npc/player names and titles, escpecially on Russian servers.
-
Help Mod Shiff + Clip Problem
lsj14 replied to valentin's question in Request Server Development Help [L2J]
Maybe AltGameViewNpc = False --> True ? -
Help How I Can Click A Button And Page Not Reload? See Example Inside
lsj14 replied to Dan7E2's question in Request Server Development Help [L2J]
Just remove -h and it will work like you wanted. -
Kinda like that. I mean if its possible to use existing effect in client via source (server side) ?
-
Discussion Preview Of My Raidkeeper
lsj14 replied to activeChar.getAdena()'s topic in Server Development Discussion [Greek]
And whats the point of posting this shit? Few lines of code in source to check if its alive or not and some icons and tables with bg colors in html.. -
Hey, I really wanted to ask if its possible to add some effect (visual) on player server side? Like those abnormal effects / hero etc. but a custom one or another included in client? Or maybe there is some other way I could put a effect on player?
-
Help Java.util.nosuchelementexception
lsj14 replied to lsj14's question in Request Server Development Help [L2J]
its not trying to load anything, it creates one :p -
Help Java.util.nosuchelementexception
lsj14 posted a question in Request Server Development Help [L2J]
hey, what could be wrong with this code? I'm using acis 330rev private static void sendReport(String event, L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command); st.nextToken(); String message = ""; String _type = null; L2GameClient info = player.getClient().getConnection().getClient(); try { _type = st.nextToken(); while (st.hasMoreTokens()) { message = message + st.nextToken() + " "; } if (message.equals("")) { player.sendMessage("Message box cannot be empty."); return; } String timeStamp = new SimpleDateFormat("yyyy-MM-dd HH-mm-ss").format(Calendar.getInstance().getTime()); String fname = "data/Reports/" + player.getName() + " "+timeStamp+".txt"; File file = new File(fname); boolean exist = file.createNewFile(); if (!exist) { return; } FileWriter fstream = new FileWriter(fname); BufferedWriter out = new BufferedWriter(fstream); out.write("Character Info: " + info + "\r\nBug Type: " + _type + "\r\nMessage: " + message); player.sendMessage("Report successfully sent. Staff will check it soon, thank you!"); for (L2PcInstance allgms : L2World.getAllGMs()) { allgms.sendMessage(player.getName() + " has sent a report. Type: " + _type); } out.close(); } catch (Exception e) { L2Character._log.warning("could not send report: " + e); } } I get this error when sending the report, however this worked fine on 320rev: java.util.NoSuchElementException Please help me :/ -
Its part of code of serverpackets/HennaEquipList.java (acis)
-
Hey guys, i was trying to make symbol maker show all available symbols even if you dont have the dye item in inventory, but somehow it doesnt work like I wanted, could you help me with that please? for (L2Henna temp : _hennaEquipList) { // Player must have at least one dye in inventory to be able to see the henna that can be applied with it. if ((_player.getInventory().getItemByItemId(temp.getDyeId())) != null) { writeD(temp.getSymbolId()); // symbolid writeD(temp.getDyeId()); // itemid of dye writeD(L2Henna.getAmountDyeRequire()); // amount of dyes required writeD(temp.getPrice()); // amount of adenas required writeD(1); // meet the requirement or not } } Tryed removing that IF, but somehow shows only few symbols (the first ones from henna.xml)
-
Nevermind, managed to do it, thanks for the help, topic may be locked :)
-
Sorry, but there is nothing like that :/
-
Oh yeah, i found that too, but it reads from xml, and i dont have idea how to make like player condition, example: if player (or target) == bla bla, duration = x. Simple help wouldbe very usefull for me :-)
-
please help me someone :'(
-
Acis 320 :)