Tried adding a fourth click, i have them reading the same packetId but when i actually click it reads previous click. For example when i right click i have 4 options
White
Green
Blue
Red
when i click white it reads correct message, when i click green it doesn't display anything. When i click blue it reads Greens message and when i click Red it reads Blue Message
If I am correct, where you have "Case 1234:" the "1234" would need to be the ID for the object/npc, prior to going into the switch statement you need to determine 1st option, 2nd option, ect. It really is hard to tell the issue you are having, but check your client-side code as well.
Click the image below to check out my server development thread, "Project Lord of The Rings"
If I am correct, where you have "Case 1234:" the "1234" would need to be the ID for the object/npc, prior to going into the switch statement you need to determine 1st option, 2nd option, ect. It really is hard to tell the issue you are having, but check your client-side code as well.
If you are refereing to the actionhandler class i already have it set. It is just reading the wrong npcClick method and i'm not sure why.