Did some more work on the Instances today.
Now using Signal to Client to sent invite. Then need to type join ### to enter the instance.
Detects if you have Free Waypoint or not.
Later might add detect if have regular Waypoint or not, else have super high prices, so basically buy the 1 million regular waypoint to get discount price, sort of like having a grocery store membership card.
Signals used in combo with qglobals will allow for signals to be filtered, and used for other types of stuff in the future. The instance leader and the person getting invited must be in the same zone for it to work. There is code to check for this, and will hopefully prevent any unexpected issues in the future if players were in 2 different zones.
Commands:
Instance (brings up instance menu)
Invite NAME
Join NUMBER
As you can see from the screenshot, both players will be told the instance number to use. If you forget, then just re-invite the player.
The top half of the screenshot was Hunter inviting Xdude. The second half was Xdude receiving the message, and joining the instance.
Will put the code into nro soon (within the hour from now) for testing.
Might try to add other menu commands, like list who is invited into the current zone guild instance, who joined/accepted the guild instance, etc. Need to add a delete instance maybe by the creator only, and maybe even remove player from instance command by the creator.
Haven't used any DBI yet for the script, but might start using it for a few limited things if needed. Still having random instances not seeing qglobals but could because of spamming #reloadquest with each little update, which usually can be fixed by exiting the zone, closing the zone, then going back in.
At the end, would like to polish it up by making this script 1 file with 0 plugins, so it can be passed around without needing to check if has plugin or if plugin is up to date.
More ideas and feedback are welcome. Thanks everyone that has helped so far.