Alchemist Chest Event error
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Alchemist Chest Event error
Hello I have some problem whith this event.
Trick or transmutation.
I founded a thread but when i put it in my server events its generate a lot of error.
viewtopic.php?f=73&t=15024&p=74372&hili ... ist#p74372
I hope someone can help me
And im not good with java programin :S
I use the latest nightly version of the server.
Trick or transmutation.
I founded a thread but when i put it in my server events its generate a lot of error.
viewtopic.php?f=73&t=15024&p=74372&hili ... ist#p74372
I hope someone can help me
And im not good with java programin :S
I use the latest nightly version of the server.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Try this. It's a very old script, can be improved a lot, but at least it works and isn't completely terrible.
Spawn the NPCs (13036 - chest, 32132 - servitor, they both should stand next to each other) wherever you want.
Don't forget to add the script to scripts.cfg
Spawn the NPCs (13036 - chest, 32132 - servitor, they both should stand next to each other) wherever you want.
Don't forget to add the script to scripts.cfg
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
Hy again,
thx for the event.
Im try my best before is uploaded this.
And there is an other problem.
The event now loading with out error, the npc-s get the htm.
But when want to use the functions in the base htm noting is happening no error nothing the chat window is dissapear, i tryed to mod the htm links but it not working. :S
<button action="bypass -h Quest TrickOrTransmutation 13036-1.htm" value="Proceed" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
otr like this
<a action="bypass -h Quest TrickOrTransmutation 13036-1.htm">Proceed</a><br>
tried both npc but the same no java error log or server error just nothing.
thx for the event.
Im try my best before is uploaded this.
And there is an other problem.
The event now loading with out error, the npc-s get the htm.
But when want to use the functions in the base htm noting is happening no error nothing the chat window is dissapear, i tryed to mod the htm links but it not working. :S
<button action="bypass -h Quest TrickOrTransmutation 13036-1.htm" value="Proceed" width=120 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
otr like this
<a action="bypass -h Quest TrickOrTransmutation 13036-1.htm">Proceed</a><br>
tried both npc but the same no java error log or server error just nothing.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
I created a test server, a clean one.
And its write this error.
And its write this error.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Replace getNpcId() with getId().
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
done it alredy but the first issue apeard again
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Which NPC and which bypass does not work?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
Both NPC show their first html text, and if you want to use its function basiclyy nothing happen.
The chat windows dissapear, no item exchange or anithing.
Both NPC is doing the same.
But the funnyest thing is no error messege ingame or server log.
I can show to you on my test server.
The chat windows dissapear, no item exchange or anithing.
Both NPC is doing the same.
But the funnyest thing is no error messege ingame or server log.
I can show to you on my test server.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Try this.
You do not have the required permissions to view the files attached to this post.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
Its the same :S.
No error and nothing happen after click just close the window :S.
Even if i have a key or not.
No error and nothing happen after click just close the window :S.
Even if i have a key or not.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Well fuck, so l2j still doesn't support bypasses without QuestState.
Use this (replace the existing constructor):
Use this (replace the existing constructor):
Code: Select all
public TrickOrTransmutation(){ super(-1, "TrickOrTransmutation", "events"); addStartNpc(CHEST, SERVITOR); // this will ensure state is created addFirstTalkId(CHEST, SERVITOR); addTalkId(CHEST, SERVITOR);}
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
Ahh thankyou its solved it !
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Alchemist Chest Event error
Enjoy It's a cool event IMHO.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 74
- Joined: Thu Jun 25, 2009 9:27 pm
Re: Alchemist Chest Event error
Yes I think to :3 thats why wanted it to work on my server
Thanks Again
Thanks Again