We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

Alchemist Chest Event error

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

Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 10:54 am

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 11:06 am

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 12:30 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 3:25 pm

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

Image

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

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 3:41 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 4:22 pm

done it alredy but the first issue apeard again

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

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 4:28 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 4:36 pm

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 4:46 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 5:08 pm

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 6:50 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 7:13 pm

Ahh thankyou its solved it :)!

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

Re: Alchemist Chest Event error

Post by jurchiks » Sat Feb 08, 2014 7:20 pm

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: 67
Joined: Thu Jun 25, 2009 9:27 pm

Re: Alchemist Chest Event error

Post by shippou » Sat Feb 08, 2014 7:41 pm

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

Thanks Again :mrgreen:

Post Reply