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
Stack Sub Code
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Stack Sub Code
i believe it would work, just modify SQL command as in patch.
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Stack Sub Code
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
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Stack Sub Code
there is added new SQL string, just replace new one with old one for restore skills.
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Stack Sub Code
ohh you mean i only change the new string from the code with this one?
Thanks alot.
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();