-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "aus #613 neuen cmd connectToServer genutzt; script_mod.hpp un…
…d script_macros.hpp con common nutzen" This reverts commit 59f9781.
- Loading branch information
Showing
27 changed files
with
146 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
#include "\A3\Ui_f\hpp\defineResincl.inc" | ||
/* | ||
Original idea/code: http://killzonekid.com/farewell-my-arma-friends/ | ||
Modified for Spotlight: https://github.com/ampersand38/Server-Spotlight | ||
*/ | ||
params | ||
[ | ||
["_buttons", []], | ||
["_IP", "127.0.0.1"], | ||
["_PORT", "2302"], | ||
["_PASS", ""], | ||
["_TIMEOUT", 30] | ||
]; | ||
|
||
ctrlactivate ((ctrlparent (_buttons select 0)) displayctrl 105); | ||
|
||
/* | ||
1 _IP | ||
2 _PORT | ||
3 _PASS | ||
4 IDC_CANCEL | ||
5 IDD_MISSION | ||
6 IDD_DEBRIEFING | ||
7 IDD_MP_SETUP | ||
8 IDD_MULTIPLAYER | ||
9 IDC_MULTI_TAB_DIRECT_CONNECT | ||
10 IDD_IP_ADDRESS | ||
11 IDC_IP_ADDRESS | ||
12 IDC_IP_PORT | ||
13 IDC_MULTI_SESSIONS | ||
14 IDC_OK | ||
15 IDC_MULTI_JOIN | ||
16 IDD_PASSWORD | ||
17 IDC_PASSWORD | ||
18 diag_tickTime + _TIMEOUT | ||
*/ | ||
onEachFrame format [ | ||
" | ||
onEachFrame | ||
{ | ||
ctrlActivate (findDisplay %8 displayCtrl %9); | ||
onEachFrame | ||
{ | ||
private _ctrlServerAddress = findDisplay %10 displayCtrl 2300; | ||
_ctrlServerAddress controlsGroupCtrl %11 ctrlSetText ""%1""; | ||
_ctrlServerAddress controlsGroupCtrl %12 ctrlSetText ""%2""; | ||
ctrlActivate (_ctrlServerAddress controlsGroupCtrl %14); | ||
onEachFrame | ||
{ | ||
((findDisplay %8 displayCtrl %13) lbData 0) call | ||
{ | ||
if (diag_tickTime > %18) then | ||
{ | ||
onEachFrame {}; | ||
}; | ||
if !(_this isEqualTo '') then | ||
{ | ||
findDisplay %8 displayCtrl %13 lbSetCurSel 0; | ||
onEachFrame | ||
{ | ||
ctrlActivate (findDisplay %8 displayCtrl %15); | ||
onEachFrame | ||
{ | ||
if (diag_tickTime > %18) then | ||
{ | ||
onEachFrame {}; | ||
}; | ||
if (!isNull findDisplay %16) then | ||
{ | ||
private _ctrlPassword = findDisplay %16 displayCtrl %17; | ||
_ctrlPassword ctrlSetTextColor [0,0,0,0]; | ||
_ctrlPassword ctrlSetText ""%3""; | ||
ctrlActivate (findDisplay %16 displayCtrl %14); | ||
}; | ||
if (getClientStateNumber >= 3) then | ||
{ | ||
onEachFrame {}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
", _IP, _PORT, _PASS, IDC_CANCEL, IDD_MISSION, IDD_DEBRIEFING, IDD_MP_SETUP, IDD_MULTIPLAYER, | ||
IDC_MULTI_TAB_DIRECT_CONNECT, IDD_IP_ADDRESS, IDC_IP_ADDRESS, IDC_IP_PORT, IDC_MULTI_SESSIONS, | ||
IDC_OK, IDC_MULTI_JOIN, IDD_PASSWORD, IDC_PASSWORD, diag_tickTime + _TIMEOUT]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.