
Hier die Source:
Code:
ECHO OFF :: Registrierung TITLE Control Panel - Registrierung COLOR 7 FOR /f %%X IN (%WINDIR%\System32\lic.dll) DO SET DLL=%%X CLS SET LKEY=85BE-387A-F573-15F9-8179-76C8-6D72 IF /i "%DLL%"=="%LKEY%" GOTO:DLL ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. SET /P KEY=Lizenzschlssel: IF /i "%KEY%"=="%LKEY%" GOTO:SAVE CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Lizenzschlssel nicht korrekt! Taste drcken um Programm zu beenden .. ECHO. PAUSE>NUL EXIT :: Lizenz sichern :SAVE ECHO %KEY% >> %WINDIR%\System32\lic.dll :: Programm bereits aktiviert :DLL CLS :: Hauptmenü :MENU TITLE Control Panel - Hauptmen COLOR 7 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO 1: Server verwalten ECHO 2: Dienste verwalten ECHO 3: Tools installieren ECHO. ECHO 4: Hilfe ECHO. SET /P wahl=^> IF /i "%wahl%"=="1" GOTO:1 IF /i "%wahl%"=="2" GOTO:2 IF /i "%wahl%"=="3" GOTO:3 IF /i "%wahl%"=="4" GOTO:HELP IF /i "%wahl%"=="dellic" GOTO:DELLIC IF /i "%wahl%"=="exit" GOTO:EXIT ECHO. ECHO Falsche Auswahl! PING Localhost -n 2 > NUL GOTO:MENU :: Server verwalten :1 TITLE Control Panel - Server verwalten COLOR 7 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO 1: Server starten ECHO 2: Zonen starten ECHO. ECHO 3: Server stoppen ECHO 4: Zonen stoppen ECHO. SET /P wahl=^> IF /i "%wahl%"=="1" GOTO:OSERVER IF /i "%wahl%"=="2" GOTO:OZONEN IF /i "%wahl%"=="3" GOTO:XSERVER IF /i "%wahl%"=="4" GOTO:XZONEN IF /i "%wahl%"=="menu" GOTO:MENU IF /i "%wahl%"=="exit" GOTO:EXIT ECHO. ECHO Falsche Auswahl! PING Localhost -n 2 > NUL GOTO:1 :: Server starten :OSERVER COLOR 7 SC START AccountLogDB_Server SC START Character_DB_Server0 SC START GameLog_DB_Server0 SC START Login_Server SC START Manager_Server0 SC START AESIRGAMES_OdinRestServer CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Server wurde gestartet .. PING Localhost -n 2 >NUL GOTO:1 :: Zonen starten :OZONEN COLOR 7 SC START Zone_Server00 SC START Zone_Server01 SC START Zone_Server02 SC START Zone_Server03 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zonen wurden gestartet .. PING Localhost -n 2 >NUL GOTO:1 :: Server stoppen :XSERVER COLOR 7 SC STOP AccountLogDB_Server SC STOP Character_DB_Server0 SC STOP GameLog_DB_Server0 SC STOP Login_Server SC STOP Manager_Server0 SC STOP AESIRGAMES_OdinRestServer CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Server wurde gestoppt .. PING Localhost -n 2 >NUL GOTO:1 :: Zonen stoppen :XZONEN COLOR 7 SC STOP Zone_Server00 SC STOP Zone_Server01 SC STOP Zone_Server02 SC STOP Zone_Server03 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zonen wurden gestoppt .. PING Localhost -n 2 >NUL GOTO:1 :: Dienste verwalten :2 TITLE Control Panel - Dienste verwalten COLOR 7 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO 1: Dienste anzeigen ECHO 2: Statuscheck ECHO. ECHO 3: Dienst l”schen ECHO 4: Alle Dienste l”schen ECHO. SET /P wahl=^> IF /i "%wahl%"=="1" GOTO:SHOWSERVICES IF /i "%wahl%"=="2" GOTO:STATUSCHECK IF /i "%wahl%"=="3" GOTO:DELSERVICE IF /i "%wahl%"=="4" GOTO:DELSERVICES IF /i "%wahl%"=="menu" GOTO:MENU IF /i "%wahl%"=="exit" GOTO:EXIT ECHO. ECHO Falsche Auswahl! PING Localhost -n 2 > NUL GOTO:2 :: Dienste anzeigen :SHOWSERVICES COLOR 7 START services.msc CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Erfolgreich ausgefhrt .. PING Localhost -n 2 >NUL GOTO:2 :: Statuscheck :STATUSCHECK TITLE Informationen abrufen .. COLOR 7 SET ON=Gestartet SET OFF=Beendet ECHO. SC query AccountLogDB_Server | find /i "RUNNING" && (SET STATUS0=%ON%) || (SET STATUS0=%OFF%) CLS ECHO. SC query Character_DB_Server0 | find /i "RUNNING" && (SET STATUS1=%ON%) || (SET STATUS1=%OFF%) CLS ECHO. SC query GameLog_DB_Server0 | find /i "RUNNING" && (SET STATUS2=%ON%) || (SET STATUS2=%OFF%) CLS ECHO. SC query Login_Server | find /i "RUNNING" && (SET STATUS3=%ON%) || (SET STATUS3=%OFF%) CLS ECHO. SC query Manager_Server0 | find /i "RUNNING" && (SET STATUS4=%ON%) || (SET STATUS4=%OFF%) CLS ECHO. SC query AESIRGAMES_OdinRestServer | find /i "RUNNING" && (SET STATUS5=%ON%) || (SET STATUS5=%OFF%) CLS ECHO. SC query Zone_Server00 | find /i "RUNNING" && (SET STATUS6=%ON%) || (SET STATUS6=%OFF%) CLS ECHO. SC query Zone_Server01 | find /i "RUNNING" && (SET STATUS7=%ON%) || (SET STATUS7=%OFF%) CLS ECHO. SC query Zone_Server02 | find /i "RUNNING" && (SET STATUS8=%ON%) || (SET STATUS8=%OFF%) CLS ECHO. SC query Zone_Server03 | find /i "RUNNING" && (SET STATUS9=%ON%) || (SET STATUS9=%OFF%) CLS ECHO. PING localhost -n 2 >NUL CLS TITLE Control Panel - Statuscheck ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO AccountLog %STATUS0% ECHO. ECHO Character %STATUS1% ECHO. ECHO GameLog %STATUS2% ECHO. ECHO LoginServer %STATUS3% ECHO. ECHO WorldManager %STATUS4% ECHO. ECHO RestServer %STATUS5% ECHO. ECHO Zone00 %STATUS6% ECHO. ECHO Zone01 %STATUS7% ECHO. ECHO Zone02 %STATUS8% ECHO. ECHO Zone03 %STATUS9% ECHO. PAUSE GOTO:2 :DELSERVICE CLS TITLE Control Panel - Dienst l”schen COLOR 7 ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Welchen Dienst m”chtest du l”schen? ECHO. ECHO 1: AccountLog ECHO 2: Character ECHO 3: GameLog ECHO. ECHO 4: LoginServer ECHO 5: WorldManager ECHO 6: RestServer ECHO. ECHO 7: Zone00 ECHO 8: Zone01 ECHO 9: Zone02 ECHO 10: Zone03 ECHO. SET /P wahl=^> IF /i "%wahl%"=="1" GOTO:DELACCOUNT IF /i "%wahl%"=="2" GOTO:DELCHARACTER IF /i "%wahl%"=="3" GOTO:DELGAMELOG IF /i "%wahl%"=="4" GOTO:DELLOGIN IF /i "%wahl%"=="5" GOTO:DELWORLD IF /i "%wahl%"=="6" GOTO:DELREST IF /i "%wahl%"=="7" GOTO:DELZONE0 IF /i "%wahl%"=="8" GOTO:DELZONE1 IF /i "%wahl%"=="9" GOTO:DELZONE2 IF /i "%wahl%"=="10" GOTO:DELZONE3 IF /i "%wahl%"=="menu" GOTO:MENU IF /i "%wahl%"=="exit" GOTO:EXIT ECHO. ECHO Falsche Auswahl! PING Localhost -n 2 > NUL GOTO:DELSERVICE :: AccountLog löschen :DELACCOUNT SC DELETE AccountLogDB_Server CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO AccountLog wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Character löschen :DELCHARACTER SC DELETE Character_DB_Server0 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Character wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: GameLog löschen :DELGAMELOG SC DELETE GameLog_DB_Server0 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO GameLog wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: LoginServer :DELLOGIN SC DELETE Login_Server CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO LoginServer wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: WorldManager :DELWORLD SC DELETE Manager_Server0 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO WorldManager wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: RestServer :DELREST SC DELETE AESIRGAMES_OdinRestServer CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO RestServer wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Zone00 :DELZONE0 SC DELETE Zone_Server00 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zone00 wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Zone01 :DELZONE1 SC DELETE Zone_Server01 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zone01 wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Zone02 :DELZONE2 SC DELETE Zone_Server02 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zone02 wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Zone03 :DELZONE3 SC DELETE Zone_Server03 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Zone03 wurde erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:DELSERVICE :: Alle Dienste löschen :DELSERVICES SC DELETE AccountLogDB_Server SC DELETE Character_DB_Server0 SC DELETE GameLog_DB_Server0 SC DELETE Login_Server SC DELETE Manager_Server0 SC DELETE AESIRGAMES_OdinRestServer SC DELETE Zone_Server00 SC DELETE Zone_Server01 SC DELETE Zone_Server02 SC DELETE Zone_Server03 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Alle Dienste wurden erfolgreich gel”scht! PING Localhost -n 2 >NUL GOTO:2 :: Tools installieren :3 TITLE Control Panel - Tools installieren COLOR 7 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Welchen Tool m”chtest du installieren? ECHO. ECHO 1: SHN Editor - Pro ECHO. SET /P wahl=^> IF /i "%wahl%"=="1" GOTO:SHNEDITORPRO IF /i "%wahl%"=="menu" GOTO:MENU IF /i "%wahl%"=="exit" GOTO:EXIT ECHO. ECHO Falsche Auswahl! PING Localhost -n 2 > NUL GOTO:3 :: SHN Editor - Pro installieren :SHNEDITORPRO XCOPY "SHN EDITOR.exe" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\" /Y mkdir %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\ ECHO ^<?xml version="1.0" encoding="utf-8"?^> > %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<configuration^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<configSections^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" ^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<section name="SHNDecrypt.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</sectionGroup^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</configSections^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<userSettings^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<SHNDecrypt.Properties.Settings^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<setting name="userName" serializeAs="String"^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<value^>Fiesta Archive^</value^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</setting^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<setting name="serial" serializeAs="String"^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^<value^>G4BWRC-BTT5G3-T377ZL-TNLZA1-15Q^</value^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</setting^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</SHNDecrypt.Properties.Settings^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</userSettings^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config ECHO ^</configuration^> >> %USERPROFILE%\AppData\Local\Unk\SHN_Editor.exe_Url_pwwtsv3o5s54yfxawnydl0l2xthm25ix\1.0.1.5\user.config START "SHNEDITOR" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\SHN EDITOR.exe" CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO SHN Editor Pro wurde erfolgreich installiert und gestartet. ECHO Im Startmen wurde ein Eintrag erstellt! ECHO. PAUSE GOTO:3 :: Hilfe :HELP TITLE Control Panel - Hilfe COLOR 7 CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Befehle: ECHO. ECHO Menu: Zum Startmen wechseln ECHO Exit: Control Panel beenden ECHO. PAUSE GOTO:MENU :: Lizenz löschen :DELLIC TITLE Control Panel - Lizenz l”schen COLOR 7 CLS DEL /S /Q c:\windows\system32\lic.dll CLS ECHO Odin Control Panel [Version 1.0] ECHO Copyright (c) 2014 Fiesta Archive. Alle Rechte vorbehalten. ECHO. ECHO Lizenz wurde erfolgreich gel”scht! Taste drcken um Programm zu beenden .. PAUSE>NUL :: Control Panel schließen :EXIT EXIT






