Alchemist Chest Event error

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Alchemist Chest Event error

Post by shippou »

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

Image

I hope someone can help me :)
And im not good with java programin :S

I use the latest nightly version of the server.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

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
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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

I created a test server, a clean one.
And its write this error.

Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

done it alredy but the first issue apeard again
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

Its the same :S.

No error and nothing happen after click just close the window :S.
Even if i have a key or not.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

Well fuck, so l2j still doesn't support bypasses without QuestState.
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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

Ahh thankyou its solved it :)!
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks »

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.
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou »

Yes I think to :3 thats why wanted it to work on my server :)

Thanks Again :mrgreen:
Post Reply