Jump to content

Psyancy

Legendary Member
  • Posts

    1,560
  • Credits

  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by Psyancy

  1. gr8 xd i never used any of these ;p Isn't any other way changing this?
  2. What's the hard part? i did this on a friend 2 days ago in 2 minutes
  3. Here is the ShowBoard.java /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.network.serverpackets; import java.util.List; public class ShowBoard extends L2GameServerPacket { private static final String _S__6E_SHOWBOARD = "[S] 7b ShowBoard"; private String _htmlCode; private String _id; private List<String> _arg; public ShowBoard(String htmlCode, String id) { _id = id; _htmlCode = htmlCode; // html code must not exceed 8192 bytes } public ShowBoard(List<String> arg) { _id = "1002"; _htmlCode = null; _arg = arg; } private byte[] get1002() { int len = _id.getBytes().length * 2 + 2; for (String arg : _arg) { len += (arg.getBytes().length + 4) * 2; } byte data[] = new byte[len]; int i = 0; for (int j = 0; j < _id.getBytes().length; j++, i += 2) { data[i] = _id.getBytes()[j]; data[i + 1] = 0; } data[i++] = 8; data[i++] = 0; for (String arg : _arg) { for (int j = 0; j < arg.getBytes().length; j++, i += 2) { data[i] = arg.getBytes()[j]; data[i + 1] = 0; } data[i++] = 0x20; data[i++] = 0x0; data[i++] = 0x8; data[i++] = 0x0; } return data; } @Override protected final void writeImpl() { writeC(0x7b); writeC(0x01); //c4 1 to show community 00 to hide writeS("bypass _bbshome"); // top writeS("bypass _bbsgetfav"); // favorite writeS("bypass _bbsloc"); // region writeS("bypass _bbsclan"); // clan writeS("bypass _bbsmemo"); // memo writeS("bypass _bbsmail"); // mail writeS("bypass _bbsfriends"); // friends writeS("bypass bbs_add_fav"); // add fav. if (!_id.equals("1002")) { // getBytes is a very costly operation, and should only be called once byte htmlBytes[] = null; if (_htmlCode != null) htmlBytes = _htmlCode.getBytes(); byte idBytes[] = _id.getBytes(); byte data[] = new byte[2 + 2 + 2 + idBytes.length * 2 + 2 * ((_htmlCode != null) ? htmlBytes.length : 0)]; int i = 0; for (int j = 0; j < idBytes.length; j++, i += 2) { data[i] = _id.getBytes()[j]; data[i + 1] = 0; } data[i++] = 8; data[i++] = 0; if (_htmlCode != null) { for (int j = 0; j < htmlBytes.length; i += 2, j++) { data[i] = htmlBytes[j]; data[i + 1] = 0; } } data[i++] = 0; data[i] = 0; //writeS(_htmlCode); // current page writeB(data); } else { writeB(get1002()); } } /* (non-Javadoc) * @see net.sf.l2j.gameserver.serverpackets.ServerBasePacket#getType() */ @Override public String getType() { return _S__6E_SHOWBOARD; } } I can't see anything related to the size, i also checked the HtmCache.java as well changed a value but still nothing
  4. still not working properly like sdw said. The problem is that you can't find topics old and new ones by using a keyword for example if you type gracia and search for it you'll end up with a result of 1,2 server topics, 2,3 discussions or requests,etc. It won't show all the topics who got gracia on their title or their content, it will show up just 6,7 of them. Check the picture i posted before, it's the same thing, same results just now maybe 3,4 more results than before.
  5. Hello guys, i've seen this question somewhere before here but i can't find it so i made a new topic. I have a problem with the html size of Community Board, if the size of the htm file is small something like 6,7 kb Community Board will open normally but if i was trying some things and the htm file became bigger about 14kb and now my community board won't show up when i'm clicking to open it, if i change to the old htm file it will be fine. So my question here is, anyone know how to change this value and where? So i can increase the size and put longer htm files in size? Thanks in advance!
  6. It's just annoying you can't find anything. It's even bad for what this community is, most members here are coming either to sell/buy/trade, post their private servers or players seeking for a new private server, or resources in general, if you can't find either of these it's just pointless. You just have to search for whatever you want by yourself, imagine a share back in 2k12 an npc or something it will take hours to find it IF you even find it. @Maxtor Do something about that.
  7. As title says, i was trying today to find some old resources for example for gracia epilogue npcs, etc and i couldn't find anything, i tried the word gracia, gracia final, epilogue, gracia epilogue but still nothing. Searching via google showed me some topics but still not all of them. Is there any possible way of making these topics or in general old topics visible? For example if i search for gracia i only get these results.
  8. I wasn't offended at all mate, i just said that it looked like that, if we care about every little thing and every opinion of every people we would all be depressed or "divas";p depends on what they said (good or bad things) i just get it like that and i just said my opinion on what it looked in my eyes. I don't have any problem against him, or you (i said you because he mentioned ur name) it was just my opinion.
  9. selling shared website aka someone's else work is a scam, scam is scam obviously so yeah it sounds like that. anyway, i'm not here to make drama, i just speak as designer and said my opinion about what you said and how it looks, that's all.
  10. Right. xd like the rest designers here are scammers
  11. It's like totally another forum software, i know because i've work on it, a lot of things are changed, even the database is different, in order to upgrade from ipb to ips you need to convert your database so it will work on ips and almost everything from ipb is not even working on ips, they now started to make apps like feedbacks, awards, etc and some of them cannot be the same that means the old ones are lost
  12. Psyancy

    interlude [L2J]L2LOL

    The unique thing is to change exp from x50 to x7k?
  13. Psyancy

    interlude [L2J]L2LOL

    Seriously? XD from x50 to x7k? wtf?
  14. Just mark a forum as read and you won't see it on unread content, move your mouse to a section and click on its icon to mark it as read.
  15. Are you serious here? You're a server owner and you don't know anything about you say. You can't get access using php script, the only way you can do this is if you only give him access on your database and he can add accesslevel via database only. But from what i've seen here she only asked you about mysql user/pass so she can add scripts on your website (i guess online/offline status and maybe player statistics?!) so she can't get access at all. and even if she added something on a script you cannot get access in game using a command because if the command isn't implented on core side and registered on usercommands or voicedcommands you just can't use them.
  16. Στα topics/posts μόνο; και ουσιαστικά αυτό που έβαλες είναι για να σε πηγαίνει στο top του post και λειτουργεί μονο για τα posts/topics
  17. You can find the splash files located on your Systextures folder in your Lineage II directory sp_32b_01. sp_32b_02 and so on and also sp_256_01, sp_256_02 and so on and you can decrypt these files using an decryption tool and then you can design your own splash screens, save them as they were for example sp_32b_01. sp_32b_02, etc and sp_256_01, sp_256_02, etc and you encrypt these files, paste them on your systextures folder and you're done. There is a tutorial by viRUS as well if you want to check the steps:
×
×
  • Create New...