-
Posts
143 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by povis111
-
-
wow, it's still alive, i didn't check this project for more than a year :gusta: https://www.assembla.com/code/L2JLisvus/subversion/nodes/507/trunk
-
probably a wrong bypass string with less than required parameters sent from the npc as "command" , this would fix the problem. source: http://javarevisited.blogspot.com/2012/02/how-to-solve-javautilnosuchelementexcep.html
private static void sendReport(String event, L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command); if(st.hasMoreTokens()) st.nextToken(); String message = ""; String _type = null; L2GameClient info = player.getClient().getConnection().getClient(); try { if(st.hasMoreTokens()) _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); } }
-
-
yes KnD Movie Maker
-
i have this error but npc is working
1. WARNING in \BossRespawn.java (at line 57)long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time");^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The static method getStatsSet(int) from the type GrandBossManager should be accessed in a static wayIt says that the getStatsSet(int) is a static void and static voids don't need new instances so..
this
long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time");
to this
long delay = GrandBossManager.getStatsSet(boss).getLong("respawn_time");
-
what is that funny? ’Insider
For every armor upgrade you will have to do a special quest.
It takes time to make quests, so you won't fit into a "hour or two".
-
as i see that no one puts suggestions here, try this
if DecLevel == True and not st.player.isGM() : pXp = st.player.getExp() here I make the mistake--------->tXp = Experience.LEVEL[NewLevel] if pXp > tXp: st.player.removeExpAndSp(pXp - tXp, 0) st.player.setClassId(int(event))
to that
if DecLevel == True and not st.player.isGM() : if st.getPlayer().getLevel() > NewLevel : st.getPlayer().removeExpAndSp(st.getPlayer().getExp() - ExperienceData.getInstance().getExpForLevel(NewLevel), 0) st.player.setClassId(int(event))
won't hurt :D it's all about the tabs in python ya'know ;)
-
that error isn't related at all
-
well, as i can see the "string value" isn't even used, you should delete that line if ya haven't change anything there before :)
-
i think Elfo has had a system made with pin and shared.
-
It's related with gameserver.network.serverpackets ConfirmDlg.java this packet sends a dialogue window similar to trade/party etc.. and gameserver.network.clientpackets DlgAnswer.java catches the answer. That's all ya need to know, now start coding ;)
-
Hello there, l2jhellas had the same problem. It's a code problem. If you're using hellas, i can post a fix.
-
-
1.jumping
2.taming monsters as pets
3.fake online
4.no
-
i wanted help how to install l2off server because i wanted on gooogle not good turtorial . Thanks for ansnwer
Skype : Krejcomut REd photo
i used this:
and this: http://www.maxcheaters.com/topic/146083-guide-how-to-set-up-an-l2off-server/
by looking throught these for an hour, i've managed to understand how the server is setuped. GL :D
-
It's not a matter of trying - it's about writing support for it.
HAuthD doesn't support it natively, neither does C4\C1 AuthD
GF authd supports it natively.
It's a good thing that Smeli's server supports C1-GF clients :D
-
The C4 packs generally have x_self.sql that creates accounts and adds the server into the dbo.server auth tables.
So it's simple, add it manually.
If super simple SQL tables scares you that much tho - i'd have to say stop what your doing now and go back to l2j.
l2j is easy, i want bigger challenges :) Btw, did anyone tried to make/made auto accounts creation for l2off?
-
What pack u use?
Elhaym
-
Hello, after lots of time spending on l2j servers, i've decided to try to run and develop(if i'll be capable of) l2off server. Well, to run the server itself was pretty easy, but i don't get how the accounts are created. Firstly, there's no autoreg, as i didn't find any hints on that. Secondly, sql server is not mysql and dbo.user_auth 'password' column has different data type(bytes as i saw in the message) :lol: . Would somenone mind to tell me how accounts are created or link me to a source of information in which i could find what i'm looking for? :gusta:
-
I would still use the one that makes connections every time a bypass is cought though, because the code seems more simple and i use more values like: clan name, hero, etc :D
-
-
dont mess with the stupid methods, moderate it directly from the packet @ byte,
if (statement)
writeD( )//ur id goes there
else
writeD( )// classic relation
to calculate the ID perform the bitwise operations providen by l2j, or sniff them from phx
xdem
i guess i will have to try sniffing packets with phx, thanks :)
EDIT: after all day of searching and sniffing, i've found out that relationchanged packet works only when some other clan related packets are sent, makes it impossilble to use alone... Thanks for the help and have great holidays.
-
Yes, then I added the relation for the fists change controlled @ L2PcInstance :) Anyway, what's your idea? :P
RelationChanged should control the icon in the title but it doesn't :/ and i don't understand why
-
I guess you're right. It's about _relation and its sending info via UserInfo.java
For example
// 0x40 leader rights // siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader) writeD(_relation);
I guess the same with dat fist. Somehow.. :D
public static final int RELATION_MUTUAL_WAR = 0x08000; // double fist public static final int RELATION_1SIDED_WAR = 0x10000; // single fist
Check L2PcInstance for the use @ public int getRelation(L2PcInstance target)
if (getClan().isAtWarWith(target.getClan().getClanId())) result |= RelationChanged.RELATION_MUTUAL_WAR;
Boom, double fist :P
Well, the problem is,
// 0x40 leader rights // siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader) writeD(_relation);
is used for sieges, not for clan wars... so, in my thinking, RelationChanged should control the title but it doesn't. I tried changing the relation, it didn't work :/
aCis core buffer 290 rev.
in Server Shares & Files [L2J]
Posted
sorry, will reupload this friday, when i get my hands on the old pc :/