Jump to content
Zeeyo

Discussion Prelude (C0) L2Off Serverpack

Recommended Posts

On 7/1/2018 at 8:21 PM, *real*savormix said:

You must be on a very old W10 version or not even using Windows 10. All known methods to run old clients, one by one, were killed by cumulative Win10 updates. If you find another workaround and make it publically known, MS will definitely include a patch that negates it in one of their upcoming updates.

 

Not true, take for example L2oldskool C3 client, runs fine under latest Windows 10, and their launcher.bat was made long time before Windows 10 cumulative updates.

 

Spoiler

REM Check Windows Version
ver | findstr /i "5\.0\." > nul
if %ERRORLEVEL% EQU 0 goto ver_2000
ver | findstr /i "5\.1\." > nul
if %ERRORLEVEL% EQU 0 goto ver_XP
ver | findstr /i "5\.2\." > nul
if %ERRORLEVEL% EQU 0 goto ver_2003
ver | findstr /i "6\.0\." > nul
if %ERRORLEVEL% EQU 0 goto ver_Vista
ver | findstr /i "6\.1\." > nul
if %ERRORLEVEL% EQU 0 goto ver_Win7
ver | findstr /i "6\.2\." > nul
if %ERRORLEVEL% EQU 0 goto ver_Win7

:ver_2000
echo 2000
goto runL2
:ver_XP
echo xp
goto runL2
:ver_2003
echo 2003
goto runL2

:runL2
SET L2DIR=%~dp0
ECHO Current directory: %L2DIR%
if exist "%L2DIR%\CoreDEFAULT.dll" (
    ren "%L2DIR%\Core.dll" Core7.dll
    ren "%L2DIR%\CoreDEFAULT.dll" Core.dll
)
if not exist "%L2DIR%\l2.exe" goto ERR2
START /MIN l2.exe
goto END


:ver_Vista
echo Vista
goto BatchGotAdmin
:ver_Win7
echo Windows7
goto BatchGotAdmin
:BatchGotAdmin
:-------------------------------------
REM  --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges, please wait...
    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    exit /B

:gotAdmin
    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0"
:--------------------------------------
if exist "%SystemRoot%\SysWOW64\cmd.exe" SET SYSDIR="%SystemRoot%\SysWOW64"
goto STEP0
SET SYSDIR="%SystemRoot%\System32"

:STEP0
SET L2DIR=%~dp0
ECHO Current directory: %L2DIR%
pause
if exist "%L2DIR%\CoreDEFAULT.dll" (
    ren "%L2DIR%\Core.dll" Core7.dll
    ren "%L2DIR%\CoreDEFAULT.dll" Core.dll
)
pause
if not exist "%L2DIR%\l2.exe" goto ERR2
CD SYSTEM
if not exist "%SYSDIR%\rsaenh.dll" goto ERR3
if exist ".\rsaenh.dll.bak" goto STEP1
takeown /f "%SYSDIR%\rsaenh.dll"
icacls "%SYSDIR%\rsaenh.dll" /grant %USERNAME%:F
move /Y "%SYSDIR%\rsaenh.dll" "%SYSDIR%\rsaenh.dll.bak"
if not exist "%SYSDIR%\rsaenh.dll.bak" goto ERR4
:--------------------------------------


:STEP1
if exist "%SYSDIR%\rsaenh.dll" del "%SYSDIR%\rsaenh.dll"

:CRTWAIT
if exist waitl2run.bat del waitl2run.bat
:: Waiting 10 seconds and moving rsaenh.dll back to SYSTEM folder.
echo @echo off>waitl2run.bat
echo cls>>waitl2run.bat
echo TIMEOUT /T 10>>waitl2run.bat
echo move /Y "%SYSDIR%\rsaenh.dll.bak" "%SYSDIR%\rsaenh.dll">>waitl2run.bat
echo EXIT>>waitl2run.bat

START /MIN %L2DIR%\l2.exe
START /MIN waitl2run.bat
goto END
:--------------------------------------


:ERR2
COLOR 0C
echo.
echo. L2.exe not found.
echo. Place this file into your system folder.
pause
goto END
:--------------------------------------

:ERR3
COLOR 0C
echo.
echo. "%SYSDIR%\rsaenh.dll" could not be found.
pause SET /P ANSWER=Should i try to execute L2.exe (y/n)?

if /i {%ANSWER}={y}{goto YES}
if /i {%ANSWER}={Y}{goto YES}
if /i {%ANSWER}={yes}{goto YES}
if /i {%ANSWER}={YES}{goto YES}
if /i {%ANSWER}={Yes}{goto YES}
goto NO
:YES
START /MIN %L2DIR%\l2.exe
:NO
goto END
:--------------------------------------


goto END

:ERR4
COLOR 0C
echo.
echo. Could not move "%SYSDIR%\rsaenh.dll"
echo. You need to run this script as administrator.
pause
goto END
:--------------------------------------

 

:END

 

 

Share this post


Link to post
Share on other sites
On Sunday, July 08, 2018 at 1:10 PM, lordofdest said:

Changes:

win10 support

l2encdec rsa key

multi-window

 

l2.ini:

isl2netlog=true

serveraddr=127.0.0.1

startupfullscreen=false

 

Notes: Run in compatibility with win xp

 

Link:

Mega

 

this is C1 system patch..not Prelude...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Posts

    • We made a small update to our website and added youtube videos from our players from previous seasons. Also added twitch live videos (will be available to watch after server goes live). Users who wish can already register their accounts for the upcoming season. Visit our website for full information: http://l2ovc.com/
    • your link redirects to l2mythras =)
    • L2Hallate High Five Server I welcome everyone I wanted to present new server High Five Server x 4. We are adding all efforts so that server is friendly for everyone player's. We invite everyone to play together. We guarantee the lack of lag and ddos. The server does not provide wipes and is focused on long-term game. New webside and forum Official start 01.09.2018 17.00 GMT+1 Beta test started
      Links:
      Website: https://www.l2hallate.com/
      Forum:   https://www.l2hallate.com/forum-1 Experience (EXP): 4x
      Skill Points (SP): 4x
      Adena : 4x
      Drop Items: 3x
      Spoil: 2x
      Recs-Keys: 2x
      Quest Experience (EXP): 2x
      Quest Skill Points (SP): 2x
      Quest Adena: 2x
      Quest Drop Items: 2x
      Weight Limit: 1x
      Manor: 2x
      Extract Fish: 2x Accesories
      Pets, Clan Section
      AA Exchange, Event Exchange, Sell (Epic bosses)

      Ant Queen - Respawn = 36 hour Respawn Random + - 17 hour
      Beleth - Respawn = 192 hour Respawn Random + - 36 hour
      Baium - Respawn = 120 hour Respawn Random + - 10 hour
      Antharas - Respawn = 192 hour Respawn Random + - 12 hour
      Valakas - Respawn = 264 hour Respawn Random + - 12 hour Instances: Normal Freya - Required players 10-27
      Instances: Hard Freya - Required players 36-45
      Instances: Frintezza - Required players 36-45
      Instances: Zaken Daytime - lvl-83, Required players 9-27
      Instances: Zaken Daytime - lvl-60, Required players 9-27
      Instances: Zaken Nightly - lvl-60, Required players 72-450
      Instances: Tiat, Required players 36-45
      Instances: Beleth, Required players 36   Safe Enchant: 3
      Max. Enchant: 16
      Normal Scroll chance: 60%
      Blessed Scroll chance: 60% Elemental Max. Level: Level 7
      Elemental Stone chance: 40%
      Elemental Crystal chance: 30%
      Sub-Class Max. Level : 85
      Off-line Shop mode
      Vitality System
      Unique Community Board
      Drop list Search Engine
      Wedding System
      Event Engine
      Clan tab
      Achievement Engine
      Player ranking
      Personal control panel
      Max. Clients per PC : 2
      Olympiads Max. Enchant : 6
      Anti-Bot
      Geodata and Pathnodes
      Raid Boss event
      All quest and instances working
      Everything inside is made in java, nothing python
      Skills using official formulas
      Simulate Official Kernels
      Protection
      AntiBot protection
      DDoS protection
      The subsidy reduced to a minimum
      Location:France Buff Slots : 20+4
      Dance and Songs Slots : 12
      Duration of buffs - retail   Mini Events
      Team vs Team
      Team vs Team advanced
      Capture the Flag
      Domination
      Mass Domination
      Deathmatch
      Last Man Standing
      Lucky Chest
      Mutant
      Treasure Hunt
      Treasure Hunt PVP
      Battlefield


      More Info in Game. See you there :)
    • I do not need long words. Best of the best pts.
  • Topics

×