Try triggering it with a command and see if the problem is the dialogue. I'd assume its just not being called however.
|
Hello,
I want to add a dialogue for the first time a player join. I tried to send the dialogue along with the starter items (player.java) but no dialogue appear when the account logs in.
Any ideas? I'm using Rome 718 (loading 728 I believe).
In addition, does anyone know how to make two different npcs talk into the same dialogue? I only seem able to put 1 face.
Thank you!!
Try triggering it with a command and see if the problem is the dialogue. I'd assume its just not being called however.
The dialogue works fine. I can't figure out how to send it properly when the player first log in.
Make a check for new player and call it in LoginManager.java under the sendLogin method.
I dont have a LoginManager, only LoginPacketsEncoder. Do you have an exemple of how to check for new player? I'm sorry I have never done anything like this before...
Adding that in my loginpacketsencoder (and switching private int starter to public int starter = 0 (in player.java)) will prevent me from logging in...
any other ideas?
Don't add it there.
Player.java buddy. find init() or something like that and find where it adds the starter and do what someone mentioned above (Although an int is 4 scrublords)
Code:public boolean started = false; if (started == false) { player.lock(); player.startDialogue("Dialogue"); started = true; }
fixed thanks
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |