- Joined
- Aug 21, 2005
- Messages
- 3,699
While making a system for a clan project, I encountered a problem I haven't been able to solve so far...
Some of you might (or might not) know the "InputMsg" function made by vexorian: it displays a dialog with certain options and returns an integer declaring the chosen option. Well, it has always been working so far, but it looks like the dialog is causing a thread crash as soon as it is shown.
In-game, writing "-dialog" will show a test dialog, which is working perfectly fine.
But when you create a team, and try to disband it (using the abilities on your hero), the disband dialog shows, but the dialog crashes and thus I'm currently not able to disband my team... Online tests also showed the same happens when inviting another player to your team. Those are the only 2 occasions I use dialogs.
The functions that make use of the Dialog are: Team.invitePlayer and Team.disband...
What is the cause of this problem and how do I solve it?
Some of you might (or might not) know the "InputMsg" function made by vexorian: it displays a dialog with certain options and returns an integer declaring the chosen option. Well, it has always been working so far, but it looks like the dialog is causing a thread crash as soon as it is shown.
In-game, writing "-dialog" will show a test dialog, which is working perfectly fine.
But when you create a team, and try to disband it (using the abilities on your hero), the disband dialog shows, but the dialog crashes and thus I'm currently not able to disband my team... Online tests also showed the same happens when inviting another player to your team. Those are the only 2 occasions I use dialogs.
The functions that make use of the Dialog are: Team.invitePlayer and Team.disband...
What is the cause of this problem and how do I solve it?