Könnten wir es per teamviewer machen ?
Beiträge von Peter Vogel
-
-
wie macht man das denn genau ?
Ich verstehe nicht wie das geht
Nein, die Tabelle musst Du schon von Hand in der DB anlegen
-
Macht der das nicht Automatisch ?
-
Hast Du auch die Tabelle in der DB angelegt? Dein Log sagt nämlich NEIN
Code
Alles anzeigenCREATE TABLE IF NOT EXISTS `perso` ( `id` int(12) NOT NULL AUTO_INCREMENT, `pid` varchar(50) NOT NULL DEFAULT '', `persoCop` text NOT NULL, `persoMed` text NOT NULL, `persoCiv` text NOT NULL, `persoEast` text NOT NULL, `Erstellungsdatum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `Aenderungsdatum` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`,`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Öffne mal deine DB und gehe mal auf deine Altislife DB anschliessend führst Du den Code von oben einfach mal aus. Und dann versuchst es nochmal
Das steht bei meiner DB schon drinne
-
-
nicht mal sortiert der Kram , kein wunder dass ich das überlesen habe. Der Button gehört aber zu den Controls und vielleicht sollte man den dann auch darein packen .
So ich habe Dir das jetzt mal umgebaut und vielleicht sollte man den Anweisungen aus dem TUT folgen, das hat schon seinen Grund warum das genau da eingefügt werden soll. Lösche einfach das txt am Dateinamen und überschreibe deine
- Sucht die pInteraction.hpp und fügt unter class pInteraction_Menu folgendes hinzu
In der Anleitung steht es doch das man es unter class pInteraction_Menu hinzufügen soll
-
Probiere es aus, falls es nicht geht müssen wir weitersuchen. Programmieren ist keine exakte Wissenschaft sondern eher "try and error". Also zu mindestens kenne ich keinen Entwickler der wirklich beim ersten mal alles zu 100% hinbekommt. Es geht immer darum, dass man was macht und das anschliessend testet. Danach schaut man sich das Ergebnis an und sucht gegebenen falls nach den Fehlern
Es klappt immernoch nicht
-
ich glaube du hast da was vergessen aus dem Tutorial
schau dir mal den Punkt nochmal an
Es ist drinne das ist direkt das erst.
-
Na der arma3 User benötigt in der DB die Brechtigung für "DELETE". So die Copinteraction sieht ok aus, dann mal bitte noch die pInteraction.hpp anhängen.
Habe das jetzt gefixt mit der DB
Code
Alles anzeigen#define BGX 0.35 #define BGY 0.2 #define BGW 0.46 class pInteraction_Menu { idd = 37400; movingEnable = 0; enableSimulation = 1; class ButtonNine : life_RscButtonMenu { idc = 37458; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.47; w = 0.24; h = 0.038; }; class controlsBackground { class RscTitleBackground: life_RscText { colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; class MainBackground: life_RscText { idc = -1; colorBackground[] = {0,0,0,0.7}; x = BGX; y = BGY + (11 / 250); w = BGW; h = 0.6 - (22 / 250) + 0.05; }; class Title: life_RscTitle { colorBackground[] = {0,0,0,0}; idc = 37401; text = "$STR_pInAct_Title"; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; }; class controls { class ButtonClose: Life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_Global_Close"; onButtonClick = "closeDialog 0;"; x = BGX; y = 0.8 - (1 / 25) + 0.05; w = (6.25 / 40); h = (1 / 25); }; class ButtonOne: Life_RscButtonMenu { idc = 37450; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.07; w = 0.4; h = 0.038; }; class ButtonTwo: Life_RscButtonMenu { idc = 37451; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.12; w = 0.4; h = 0.038; }; class ButtonThree: Life_RscButtonMenu { idc = 37452; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.17; w = 0.4; h = 0.038; }; class ButtonFour: Life_RscButtonMenu { idc = 37453; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.22; w = 0.4; h = 0.038; }; class ButtonFive: Life_RscButtonMenu { idc = 37454; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.27; w = 0.4; h = 0.038; }; class ButtonSix: Life_RscButtonMenu { idc = 37455; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.32; w = 0.4; h = 0.038; }; class ButtonSeven: Life_RscButtonMenu { idc = 37456; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.37; w = 0.4; h = 0.038; }; class ButtonEight: Life_RscButtonMenu { idc = 37457; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.42; w = 0.4; h = 0.038; }; }; }; class vInteraction_Menu { idd = 37400; movingEnable = 0; enableSimulation = 1; class controlsBackground { class RscTitleBackground: life_RscText { colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; class MainBackground: life_RscText { idc = -1; colorBackground[] = {0,0,0,0.7}; x = BGX; y = BGY + (11 / 250); w = BGW; h = 0.6 - (22 / 250); }; class Title: life_RscTitle { colorBackground[] = {0,0,0,0}; idc = 37401; text = "$STR_vInAct_Title"; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; }; class controls { class ButtonClose: Life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_Global_Close"; onButtonClick = "closeDialog 0;"; x = BGX; y = 0.8 - (1 / 25); w = (6.25 / 40); h = (1 / 25); }; class ButtonOne: Life_RscButtonMenu { idc = 37450; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.07; w = 0.4; h = 0.038; }; class ButtonTwo: Life_RscButtonMenu { idc = 37451; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.12; w = 0.4; h = 0.038; }; class ButtonThree: Life_RscButtonMenu { idc = 37452; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.17; w = 0.4; h = 0.038; }; class ButtonFour: Life_RscButtonMenu { idc = 37453; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.22; w = 0.4; h = 0.038; }; class ButtonFive: Life_RscButtonMenu { idc = 37454; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.27; w = 0.4; h = 0.038; }; class ButtonSix: Life_RscButtonMenu { idc = 37455; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.32; w = 0.4; h = 0.038; }; }; };
man kann die datei nicht hochladen
-
so dein DB User hat keine Berechtigungen zum löschen
Code[10:16:48:103923 +01:00] [Thread 3964] extDB3: SQL: Initialized: Add Quotes around TEXT Datatypes mode: 2 [10:16:48:104052 +01:00] [Thread 3964] extDB3: SQL: Initialized: NULL = "" [10:16:48:104089 +01:00] [Thread 3964] extDB3: Locked [10:16:48:111589 +01:00] [Thread 3648] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'vehicles' [10:16:48:111603 +01:00] [Thread 1860] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'houses' [10:16:48:111619 +01:00] [Thread 3648] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteDeadVehicles [10:16:48:111645 +01:00] [Thread 1860] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteOldHouses [10:16:48:111779 +01:00] [Thread 2848] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'gangs' [10:16:48:111799 +01:00] [Thread 2848] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteOldGangs
eventuell kann Rom hier weiterhelfen. Übrigens fehlen noch die Clientlogs die sind unter %localappdata%\Arma 3\ zu finden auf deinem Rechner. Den anderen Fehler von gestern habe ich jetzt nicht mehr gesehen.
Habe das jetzt gefixt müsste dieses script jetzt klappen ?
-
hier wäre der Client und extDB log wichtig
Es gibt da nämlich einen Fehler
Code
Alles anzeigen22:53:44 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:54:40 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:54:49 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:54:51 Client: Remote object 3:0 not found 22:54:53 Warning: Cleanup player - person 2:1372 not found 22:54:58 Unaccessible 22:54:59 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:55:38 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:55:43 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:55:48 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]" 22:55:53 "extDB3: Protocol Error: [0,""Error MariaDBQueryException Exception""]"
-
so du musst in den Prozeduren noch den User ändern
Code[22:22:54:506192 +01:00] [Thread 3344] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'vehicles' [22:22:54:506199 +01:00] [Thread 2132] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'houses' [22:22:54:506213 +01:00] [Thread 3344] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteDeadVehicles [22:22:54:506225 +01:00] [Thread 2132] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteOldHouses [22:22:54:506387 +01:00] [Thread 1820] extDB3: SQL: Error MariaDBQueryException: DELETE command denied to user 'arma3'@'localhost' for table 'gangs' [22:22:54:506403 +01:00] [Thread 1820] extDB3: SQL: Error MariaDBQueryException: Input: CALL deleteOldGangs
Was muss ich ändern ??
-
- Öffne nun die init.sqf aus dem Verzeichnis Altis_Life.Altis\core und füge dies über der Switch-Case-Anweisung von den Fraktions-Inits hinzu
CodeCODE: INIT.SQF diag_log "::Client:: Pruefe Personalausweisdaten."; 0 cutText ["Ueberpruefe Daten des Personalausweises...","BLACK FADED"]; 0 cutFadeOut 99999999; waitUntil{fvs_persoReady};
Bei mir steht ingame das etwas mit diesem Schritt nicht stimmt
Das habe ich gefixt.
Jetzt habe ich aber ein anderes Problem, ich dieses Formular ausgefüllt und dann mache ich auch unten überall ein haken hin und wenn ich dann auf apply drücke dann geht es nicht weiter dann muss ich es immer wieder neu ausfüllen.
-
Hier nochmal die aktuellen logs und die actionkeyhandler
-
- Öffne nun die init.sqf aus dem Verzeichnis Altis_Life.Altis\core und füge dies über der Switch-Case-Anweisung von den Fraktions-Inits hinzu
CodeCODE: INIT.SQF diag_log "::Client:: Pruefe Personalausweisdaten."; 0 cutText ["Ueberpruefe Daten des Personalausweises...","BLACK FADED"]; 0 cutFadeOut 99999999; waitUntil{fvs_persoReady};
Bei mir steht ingame das etwas mit diesem Schritt nicht stimmt
-
allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};
So in der server.cfg eintragen muss zu 100% funktionieren
Es steht bei mir genau so drinne
-
Der einzige Fehler der in der RPT steht ist der hier:
Could not load 'core\pmenu\perso'. Extension not listed in allowedPreprocessFileExtensions
Lösung:
In der server.cfg
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html"};
einfügen
Steht bei mir in der Server.cfg schon drinne
-
Wozu brauchst du die actionKey ? die wird in dem Tutorial doch garnicht benötigt xD oder versteh ich was falsch
Verstehe ich auch nicht xD
Code17:54:24 Error: Object(4 : 3) not found 17:54:27 Scripting function 'stig_sz_msg_add' is not allowed to be remotely executed 17:54:27 Scripting function 'stig_sz_msg_del' is not allowed to be remotely executed 17:54:36 Scripting function 'stig_sz_msg_add' is not allowed to be remotely executed 17:54:39 Scripting function 'stig_sz_msg_del' is not allowed to be remotely executed
Und das Sperrzonen System bitte vernünftig machen ist anscheinend nirgends gewhitelistet in der RemoteExec.hpp
einmal bitte den client log nochJa wo finde ich nochmal denn client log
-
-
Ich habe die ganze zeit ein Problem in der core/ Init.sqf