Page 1 of 1

Stack Sub Code

Posted: Sun May 23, 2010 1:15 pm
by Removed20180815
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4204
L2JDP Revision 7415

Well i found this piece of code on the old forum and i wanna ask if it can be converted to work with the current rev.
This is it: http://www.l2jserver.com/old-forum/thre ... adid=22754
I would like to make a stack sub server and i wanna implement that. What need to be changed to the code in order to work with the current rev. Thx alot

Re: Stack Sub Code

Posted: Sun May 23, 2010 1:32 pm
by JIV
i believe it would work, just modify SQL command as in patch.

Re: Stack Sub Code

Posted: Sun May 23, 2010 8:22 pm
by Removed20180815
hmm what do you mean? Should i add the exact code as there in my epilogue source or ? i saw that there is nothing about sql there. Can you explain better what you meant? ty

Re: Stack Sub Code

Posted: Sun May 23, 2010 8:51 pm
by JIV
there is added new SQL string, just replace new one with old one for restore skills.

Re: Stack Sub Code

Posted: Sun May 23, 2010 10:59 pm
by Removed20180815
ohh you mean i only change the new string from the code with this one?

Code: Select all

 // Retrieve all skills of this L2PcInstance from the databasecon = L2DatabaseFactory.getInstance().getConnection();PreparedStatement statement = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR);statement.setInt(1, getObjectId());statement.setInt(2, getClassIndex());ResultSet rset = statement.executeQuery(); 
Thanks alot.