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.
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
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.
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.
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.
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.
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.
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.