Make a true hero
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Make a true hero
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4412
L2JDP Revision Number:7664
Hello everyone
I know that exists the //sethero but once the player restart he lose the hero status.
There is anyway to put one player like a true hero? on the monument and so on
» Find Revision
L2J Revision Number:4412
L2JDP Revision Number:7664
Hello everyone
I know that exists the //sethero but once the player restart he lose the hero status.
There is anyway to put one player like a true hero? on the monument and so on
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Make a true hero
Open 'characters' table in Navicat (database), so copy the player's charId and class_id
Now open 'heroes' table and click on + to create a new line, then paste the charId in the first column, the class_id in the second, 1 to third, 0 to fourth and nothing to 'message'
Start/Restart gameserver
Now open 'heroes' table and click on + to create a new line, then paste the charId in the first column, the class_id in the second, 1 to third, 0 to fourth and nothing to 'message'
Start/Restart gameserver

-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
I tried but didnt work ...
Maybe its because there is because the server is new and there is no one hero ?
Maybe its because there is because the server is new and there is no one hero ?
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Make a true hero
you saved after adding the line and rebooted server?
edit:
try this
INSERT INTO heroes VALUES
((SELECT char_id FROM characters WHERE char_name='PLAYERNAME'), (SELECT class_id FROM characters WHERE char_name='PLAYERNAME'), 1, 0, '');
and replace PLAYERNAME with your player name
edit:
try this
INSERT INTO heroes VALUES
((SELECT char_id FROM characters WHERE char_name='PLAYERNAME'), (SELECT class_id FROM characters WHERE char_name='PLAYERNAME'), 1, 0, '');
and replace PLAYERNAME with your player name
-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
Well i tryed to do exacly like that but doesnt work
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Make a true hero
But are you saving the modify? And when you are making it, is the server closed?

-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
yes and i tryed to restart the server but nothing is changing.
I am also trying to put the hero item time on the server but its a bit confuse on the post.
I dunno wich codes are right .
Cause i want to aplly that patch on my server aswell.
I am also trying to put the hero item time on the server but its a bit confuse on the post.
I dunno wich codes are right .
Cause i want to aplly that patch on my server aswell.
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Make a true hero
Restart? No, the server must be closed while you apply the modify.. If you're online and change those values, database cannot save themGizZ wrote:yes and i tryed to restart the server

-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
Well thanks for trying to help me but didnt work ....
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: Make a true hero
Guys, I dont know what is a problem?
Do as SolidSnake wrote. It must work ;p

Do as SolidSnake wrote. It must work ;p
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
I did it and dosent work but probably is because the first cycle from the server didnt finish yet.
Maybe wean he is on the second cycle or something will work
Maybe wean he is on the second cycle or something will work
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: Make a true hero
Try to make manual heros. It should change period from 1 to 2.GizZ wrote:I did it and dosent work but probably is because the first cycle from the server didnt finish yet.
Maybe wean he is on the second cycle or something will work
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
The funny thing is i use that manual hero thing on the character and wean i reboot the server it stills the same periode and the hero is a normal player again .
And i want to get a mod like i saw in the mod section that with one item a player get hero status but for a periode only.
Anyway for now i just want to put working the manual heros.
Maybe do manual heros and save olympiad ?
And i want to get a mod like i saw in the mod section that with one item a player get hero status but for a periode only.
Anyway for now i just want to put working the manual heros.
Maybe do manual heros and save olympiad ?
-
- Posts: 53
- Joined: Thu May 13, 2010 5:00 pm
Re: Make a true hero
well my last idea didnt work asweel ...
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Make a true hero
Manual hero command give only the hero effects, so you have the aura, the skills, the chat and other privileges
Only the Olympiad system saves the heroes connecting to database
Anyway the table should be like this screen

charId -> You can find it in the 'characters' table
class_id -> as charId
count -> Must be 1 or more
played -> Try 1
message -> nothing
Close the table and when navicat ask you if 'Save - Don't save - Cancel', choose 'Save'..
Now re-open the table and see if your modify is really saved or not
If yes, start server, login and check if your pg is an hero
Only the Olympiad system saves the heroes connecting to database
Anyway the table should be like this screen

charId -> You can find it in the 'characters' table
class_id -> as charId
count -> Must be 1 or more
played -> Try 1
message -> nothing
Close the table and when navicat ask you if 'Save - Don't save - Cancel', choose 'Save'..
Now re-open the table and see if your modify is really saved or not
If yes, start server, login and check if your pg is an hero

