I've tried to create a new column in my SQL called townID. I suppose it'll work somewhat like a faction. Except the ID is only going to used when a player hits respawn or uses a SOE.
The only place I've worked inside was L2PcInstance.java, and I've added the value "townID" to the SQL strings:
private static final String INSERT_CHARACTER
private static final String UPDATE_CHARACTER
private static final String RESTORE_CHARACTER
These have all been changed to access the ID integer, which will be 0 - 2, 0 being no town assigned, 1 being elven village, and 2 being dark elven village.
Everything gets entered into the table just fine, except my character starts in some odd location, where X Y and Z are all set to NULL, and curHp, curMp, etc, are set to 0.
I'm using l2jserver and the latest svn version for gracia. I can post more of my code if you'd like, but I've found myself stuck on this point. Thanks for any help!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Do not put things in my mouth I never mentioned monkey.
https://l2jmobius.org/forum/index.php?topic=3230
This topic is a shitshow.
Great moderation...
Quality stuff...
On my forum you would be banned in the first hour.
Oh wait, you are banned.
Sadge...
You are now the problem of people that don't even care.
Continue with your empty threats.
I am done with this bullshit.
@Mobius Your words are fantastic; I've never seen so much crap come out of just one mouth.
Every time you try to explain yourself, you show even more that you're nothing but a natural-born scammer, a deceiver of innocent people.
-
worst part isn’t even that...
You go and buy a project that’s supposedly sold as 'premium,' paying several dollars or euros for crappy code made by his friends. Then, after 2 or 3 days, the fixes are leaked by those same friends.
There’s a rumor that this is done on purpose so that newcomers keep buying and continue being scammed.
That might be a lie, but it could also be true.
I prefer to believe it because there’s plenty of evidence against this lousy scammer.
Question
dpbBryan
I've tried to create a new column in my SQL called townID. I suppose it'll work somewhat like a faction. Except the ID is only going to used when a player hits respawn or uses a SOE.
The only place I've worked inside was L2PcInstance.java, and I've added the value "townID" to the SQL strings:
These have all been changed to access the ID integer, which will be 0 - 2, 0 being no town assigned, 1 being elven village, and 2 being dark elven village.
Everything gets entered into the table just fine, except my character starts in some odd location, where X Y and Z are all set to NULL, and curHp, curMp, etc, are set to 0.
I'm using l2jserver and the latest svn version for gracia. I can post more of my code if you'd like, but I've found myself stuck on this point. Thanks for any help!
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.