Launcher
This commit is contained in:
parent
1169300639
commit
b6178aa6e9
|
|
@ -0,0 +1,17 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
||||
|
|
@ -0,0 +1,336 @@
|
|||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# =========================
|
||||
# Operating System Files
|
||||
# =========================
|
||||
|
||||
# OSX
|
||||
# =========================
|
||||
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
##
|
||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Ll]og/
|
||||
|
||||
# Visual Studio 2015 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUNIT
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# .NET Core
|
||||
project.lock.json
|
||||
project.fragment.lock.json
|
||||
artifacts/
|
||||
**/Properties/launchSettings.json
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_i.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
*.VC.db
|
||||
*.VC.VC.opendb
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# Visual Studio code coverage results
|
||||
*.coverage
|
||||
*.coveragexml
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||
# in these scripts will be unencrypted
|
||||
PublishScripts/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/packages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignorable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Windows Store app package directories and files
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
Package.StoreAssociation.xml
|
||||
_pkginfo.txt
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.jfm
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
orleans.codegen.cs
|
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||
#bower_components/
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
*.ndf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
node_modules/
|
||||
|
||||
# Typescript v1 declaration files
|
||||
typings/
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
||||
*.vbw
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
paket-files/
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
*.sln.iml
|
||||
|
||||
# CodeRush
|
||||
.cr/
|
||||
|
||||
# Python Tools for Visual Studio (PTVS)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Cake - Uncomment if you are using it
|
||||
# tools/**
|
||||
# !tools/packages.config
|
||||
|
||||
# Telerik's JustMock configuration file
|
||||
*.jmconfig
|
||||
|
||||
# BizTalk build output
|
||||
*.btp.cs
|
||||
*.btm.cs
|
||||
*.odx.cs
|
||||
*.xsd.cs
|
||||
|
|
@ -0,0 +1,556 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
<Item class="Workspace" referent="RBX0">
|
||||
<Properties>
|
||||
<Ref name="CurrentCamera">RBX1</Ref>
|
||||
<double name="DistributedGameTime">0</double>
|
||||
<CoordinateFrame name="ModelInPrimary">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<string name="Name">Workspace</string>
|
||||
<Ref name="PrimaryPart">null</Ref>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="Camera" referent="RBX1">
|
||||
<Properties>
|
||||
<Ref name="CameraSubject">null</Ref>
|
||||
<token name="CameraType">0</token>
|
||||
<CoordinateFrame name="CoordinateFrame">
|
||||
<X>21.9769001</X>
|
||||
<Y>13.1075497</Y>
|
||||
<Z>-9.91257381</Z>
|
||||
<R00>-0.342057496</R00>
|
||||
<R01>-0.313667655</R01>
|
||||
<R02>0.885781765</R02>
|
||||
<R10>-7.45057971e-009</R10>
|
||||
<R11>0.942642868</R11>
|
||||
<R12>0.333802998</R12>
|
||||
<R20>-0.939678967</R20>
|
||||
<R21>0.114179812</R21>
|
||||
<R22>-0.322438091</R22>
|
||||
</CoordinateFrame>
|
||||
<CoordinateFrame name="Focus">
|
||||
<X>-0.167192921</X>
|
||||
<Y>4.76264477</Y>
|
||||
<Z>-1.85178542</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<string name="Name">Camera</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Model" referent="RBX2">
|
||||
<Properties>
|
||||
<CoordinateFrame name="ModelInPrimary">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<string name="Name">Base</string>
|
||||
<Ref name="PrimaryPart">null</Ref>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="Part" referent="RBX3">
|
||||
<Properties>
|
||||
<bool name="Anchored">true</bool>
|
||||
<float name="BackParamA">-0.5</float>
|
||||
<float name="BackParamB">0.5</float>
|
||||
<token name="BackSurface">0</token>
|
||||
<token name="BackSurfaceInput">0</token>
|
||||
<float name="BottomParamA">-0.5</float>
|
||||
<float name="BottomParamB">0.5</float>
|
||||
<token name="BottomSurface">0</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<int name="BrickColor">194</int>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>0</X>
|
||||
<Y>1.99999952</Y>
|
||||
<Z>-0.5</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">true</bool>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<token name="FormFactor">2</token>
|
||||
<float name="Friction">0.300000012</float>
|
||||
<float name="FrontParamA">-0.5</float>
|
||||
<float name="FrontParamB">0.5</float>
|
||||
<token name="FrontSurface">0</token>
|
||||
<token name="FrontSurfaceInput">0</token>
|
||||
<float name="LeftParamA">-0.5</float>
|
||||
<float name="LeftParamB">0.5</float>
|
||||
<token name="LeftSurface">0</token>
|
||||
<token name="LeftSurfaceInput">0</token>
|
||||
<bool name="Locked">false</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">Part</string>
|
||||
<float name="Reflectance">0</float>
|
||||
<float name="RightParamA">-0.5</float>
|
||||
<float name="RightParamB">0.5</float>
|
||||
<token name="RightSurface">0</token>
|
||||
<token name="RightSurfaceInput">0</token>
|
||||
<Vector3 name="RotVelocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<float name="TopParamA">-0.5</float>
|
||||
<float name="TopParamB">0.5</float>
|
||||
<token name="TopSurface">0</token>
|
||||
<token name="TopSurfaceInput">0</token>
|
||||
<float name="Transparency">0</float>
|
||||
<Vector3 name="Velocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<bool name="archivable">true</bool>
|
||||
<token name="shape">1</token>
|
||||
<Vector3 name="size">
|
||||
<X>18</X>
|
||||
<Y>0.400000006</Y>
|
||||
<Z>18</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SpawnLocation" referent="RBX4">
|
||||
<Properties>
|
||||
<bool name="AllowTeamChangeOnTouch">false</bool>
|
||||
<bool name="Anchored">true</bool>
|
||||
<float name="BackParamA">-0.5</float>
|
||||
<float name="BackParamB">0.5</float>
|
||||
<token name="BackSurface">0</token>
|
||||
<token name="BackSurfaceInput">0</token>
|
||||
<float name="BottomParamA">-0.5</float>
|
||||
<float name="BottomParamB">0.5</float>
|
||||
<token name="BottomSurface">4</token>
|
||||
<token name="BottomSurfaceInput">0</token>
|
||||
<int name="BrickColor">194</int>
|
||||
<CoordinateFrame name="CFrame">
|
||||
<X>0</X>
|
||||
<Y>2.39999986</Y>
|
||||
<Z>-0.5</Z>
|
||||
<R00>1</R00>
|
||||
<R01>0</R01>
|
||||
<R02>0</R02>
|
||||
<R10>0</R10>
|
||||
<R11>1</R11>
|
||||
<R12>0</R12>
|
||||
<R20>0</R20>
|
||||
<R21>0</R21>
|
||||
<R22>1</R22>
|
||||
</CoordinateFrame>
|
||||
<bool name="CanCollide">false</bool>
|
||||
<int name="Duration">0</int>
|
||||
<float name="Elasticity">0.5</float>
|
||||
<token name="FormFactor">2</token>
|
||||
<float name="Friction">0.300000012</float>
|
||||
<float name="FrontParamA">-0.5</float>
|
||||
<float name="FrontParamB">0.5</float>
|
||||
<token name="FrontSurface">0</token>
|
||||
<token name="FrontSurfaceInput">0</token>
|
||||
<float name="LeftParamA">-0.5</float>
|
||||
<float name="LeftParamB">0.5</float>
|
||||
<token name="LeftSurface">0</token>
|
||||
<token name="LeftSurfaceInput">0</token>
|
||||
<bool name="Locked">true</bool>
|
||||
<token name="Material">256</token>
|
||||
<string name="Name">SpawnLocation</string>
|
||||
<bool name="Neutral">true</bool>
|
||||
<float name="Reflectance">0</float>
|
||||
<float name="RightParamA">-0.5</float>
|
||||
<float name="RightParamB">0.5</float>
|
||||
<token name="RightSurface">0</token>
|
||||
<token name="RightSurfaceInput">0</token>
|
||||
<Vector3 name="RotVelocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<int name="TeamColor">194</int>
|
||||
<float name="TopParamA">-0.5</float>
|
||||
<float name="TopParamB">0.5</float>
|
||||
<token name="TopSurface">3</token>
|
||||
<token name="TopSurfaceInput">0</token>
|
||||
<float name="Transparency">1</float>
|
||||
<Vector3 name="Velocity">
|
||||
<X>0</X>
|
||||
<Y>0</Y>
|
||||
<Z>0</Z>
|
||||
</Vector3>
|
||||
<bool name="archivable">true</bool>
|
||||
<token name="shape">1</token>
|
||||
<Vector3 name="size">
|
||||
<X>2</X>
|
||||
<Y>0.400000006</Y>
|
||||
<Z>1</Z>
|
||||
</Vector3>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="RunService" referent="RBX5">
|
||||
<Properties>
|
||||
<string name="Name">Run Service</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ContentProvider" referent="RBX6">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ContentFilter" referent="RBX7">
|
||||
<Properties>
|
||||
<string name="Name">ContentFilter</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="KeyframeSequenceProvider" referent="RBX8">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Players" referent="RBX9">
|
||||
<Properties>
|
||||
<int name="MaxPlayers">12</int>
|
||||
<string name="Name">Players</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterPack" referent="RBX10">
|
||||
<Properties>
|
||||
<string name="Name">StarterPack</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="StarterGui" referent="RBX11">
|
||||
<Properties>
|
||||
<string name="Name">StarterGui</string>
|
||||
<bool name="ShowDevelopmentGui">true</bool>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="ScreenGui" referent="RBX12">
|
||||
<Properties>
|
||||
<string name="Name">3DViewUI</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="TextButton" referent="RBX13">
|
||||
<Properties>
|
||||
<bool name="Active">true</bool>
|
||||
<bool name="AutoButtonColor">true</bool>
|
||||
<Color3 name="BackgroundColor3">4288914085</Color3>
|
||||
<float name="BackgroundTransparency">0.400000006</float>
|
||||
<Color3 name="BorderColor3">4279970357</Color3>
|
||||
<int name="BorderSizePixel">0</int>
|
||||
<token name="Font">0</token>
|
||||
<token name="FontSize">0</token>
|
||||
<string name="Name">Transparency</string>
|
||||
<UDim2 name="Position">
|
||||
<XS>1</XS>
|
||||
<XO>-155</XO>
|
||||
<YS>1</YS>
|
||||
<YO>-50</YO>
|
||||
</UDim2>
|
||||
<bool name="Selected">false</bool>
|
||||
<UDim2 name="Size">
|
||||
<XS>0</XS>
|
||||
<XO>150</XO>
|
||||
<YS>0</YS>
|
||||
<YO>20</YO>
|
||||
</UDim2>
|
||||
<token name="SizeConstraint">0</token>
|
||||
<token name="Style">0</token>
|
||||
<string name="Text">Change Base Transparency</string>
|
||||
<Color3 name="TextColor3">4283256141</Color3>
|
||||
<float name="TextTransparency">0</float>
|
||||
<bool name="TextWrap">false</bool>
|
||||
<token name="TextXAlignment">2</token>
|
||||
<token name="TextYAlignment">1</token>
|
||||
<bool name="Visible">true</bool>
|
||||
<int name="ZIndex">1</int>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="LocalScript" referent="RBX14">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">LocalScript</string>
|
||||
<ProtectedString name="Source">function onClicked()
|
||||
if (game.Workspace.Base.Part.Transparency == 0) then
|
||||
game.Workspace.Base.Part.Transparency = 0.5
|
||||
elseif (game.Workspace.Base.Part.Transparency == 0.5) then
|
||||
game.Workspace.Base.Part.Transparency = 1
|
||||
elseif (game.Workspace.Base.Part.Transparency == 1) then
|
||||
game.Workspace.Base.Part.Transparency = 0
|
||||
end
|
||||
end
|
||||
|
||||
script.Parent.MouseButton1Down:connect(onClicked)</ProtectedString>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="TextButton" referent="RBX15">
|
||||
<Properties>
|
||||
<bool name="Active">true</bool>
|
||||
<bool name="AutoButtonColor">true</bool>
|
||||
<Color3 name="BackgroundColor3">4288914085</Color3>
|
||||
<float name="BackgroundTransparency">0.400000006</float>
|
||||
<Color3 name="BorderColor3">4279970357</Color3>
|
||||
<int name="BorderSizePixel">0</int>
|
||||
<token name="Font">0</token>
|
||||
<token name="FontSize">0</token>
|
||||
<string name="Name">BackgroundColor</string>
|
||||
<UDim2 name="Position">
|
||||
<XS>1</XS>
|
||||
<XO>-155</XO>
|
||||
<YS>1</YS>
|
||||
<YO>-75</YO>
|
||||
</UDim2>
|
||||
<bool name="Selected">false</bool>
|
||||
<UDim2 name="Size">
|
||||
<XS>0</XS>
|
||||
<XO>150</XO>
|
||||
<YS>0</YS>
|
||||
<YO>20</YO>
|
||||
</UDim2>
|
||||
<token name="SizeConstraint">0</token>
|
||||
<token name="Style">0</token>
|
||||
<string name="Text">Change Background Color</string>
|
||||
<Color3 name="TextColor3">4283256141</Color3>
|
||||
<float name="TextTransparency">0</float>
|
||||
<bool name="TextWrap">false</bool>
|
||||
<token name="TextXAlignment">2</token>
|
||||
<token name="TextYAlignment">1</token>
|
||||
<bool name="Visible">true</bool>
|
||||
<int name="ZIndex">1</int>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="LocalScript" referent="RBX16">
|
||||
<Properties>
|
||||
<bool name="Disabled">false</bool>
|
||||
<Content name="LinkedSource"><null></null></Content>
|
||||
<string name="Name">LocalScript</string>
|
||||
<ProtectedString name="Source">function onClicked()
|
||||
if (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/blue.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/red.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/red.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/green.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/green.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/green.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/green.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/green.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/green.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/green.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/orange.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/orange.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/orange.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/orange.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/orange.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/orange.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/orange.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/black.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/black.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/black.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/black.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/black.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/black.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/black.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/white.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/white.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/white.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/white.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/white.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/white.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/white.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/greenscreen.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/greenscreen.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/greenscreen.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/greenscreen.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/greenscreen.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/greenscreen.jpg"
|
||||
elseif (game.Lighting.Sky.SkyboxBk == "rbxasset://Sky/greenscreen.jpg") then
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/blue.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/blue.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/blue.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/blue.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/blue.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/blue.jpg"
|
||||
else
|
||||
game.Lighting.Sky.SkyboxBk = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxDn = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxFt = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxLf = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxRt = "rbxasset://Sky/red.jpg"
|
||||
game.Lighting.Sky.SkyboxUp = "rbxasset://Sky/red.jpg"
|
||||
end
|
||||
end
|
||||
|
||||
script.Parent.MouseButton1Down:connect(onClicked)</ProtectedString>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="SoundService" referent="RBX17">
|
||||
<Properties>
|
||||
<token name="AmbientReverb">0</token>
|
||||
<float name="DistanceFactor">10</float>
|
||||
<float name="DopplerScale">1</float>
|
||||
<string name="Name">Soundscape</string>
|
||||
<float name="RolloffScale">1</float>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="CollectionService" referent="RBX18">
|
||||
<Properties>
|
||||
<string name="Name">CollectionService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="PhysicsService" referent="RBX19">
|
||||
<Properties>
|
||||
<string name="Name">PhysicsService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="BadgeService" referent="RBX20">
|
||||
<Properties>
|
||||
<string name="Name">BadgeService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Geometry" referent="RBX21">
|
||||
<Properties>
|
||||
<string name="Name">Geometry</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="RenderHooksService" referent="RBX22">
|
||||
<Properties>
|
||||
<string name="Name">RenderHooksService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="SocialService" referent="RBX23">
|
||||
<Properties>
|
||||
<string name="Name">SocialService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Debris" referent="RBX24">
|
||||
<Properties>
|
||||
<int name="MaxItems">1000</int>
|
||||
<string name="Name">Debris</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Timer" referent="RBX25">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="ScriptInformationProvider" referent="RBX26">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Selection" referent="RBX27">
|
||||
<Properties>
|
||||
<string name="Name">Selection</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="Lighting" referent="RBX28">
|
||||
<Properties>
|
||||
<Color3 name="Ambient">4286874756</Color3>
|
||||
<float name="Brightness">1</float>
|
||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
||||
<float name="GeographicLatitude">41.7332993</float>
|
||||
<string name="Name">Lighting</string>
|
||||
<Color3 name="ShadowColor">4290230204</Color3>
|
||||
<string name="TimeOfDay">14:00:00</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
<Item class="Sky" referent="RBX29">
|
||||
<Properties>
|
||||
<bool name="CelestialBodiesShown">false</bool>
|
||||
<string name="Name">Sky</string>
|
||||
<Content name="SkyboxBk"><url>rbxasset://Sky/null_plainsky512_bk.jpg</url></Content>
|
||||
<Content name="SkyboxDn"><url>rbxasset://Sky/null_plainsky512_dn.jpg</url></Content>
|
||||
<Content name="SkyboxFt"><url>rbxasset://Sky/null_plainsky512_ft.jpg</url></Content>
|
||||
<Content name="SkyboxLf"><url>rbxasset://Sky/null_plainsky512_lf.jpg</url></Content>
|
||||
<Content name="SkyboxRt"><url>rbxasset://Sky/null_plainsky512_rt.jpg</url></Content>
|
||||
<Content name="SkyboxUp"><url>rbxasset://Sky/null_plainsky512_up.jpg</url></Content>
|
||||
<int name="StarCount">3000</int>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="ChangeHistoryService" referent="RBX30">
|
||||
<Properties>
|
||||
<string name="Name">ChangeHistoryService</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="MeshContentProvider" referent="RBX31">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
<Item class="TextureContentProvider" referent="RBX32">
|
||||
<Properties>
|
||||
<string name="Name">Instance</string>
|
||||
<bool name="archivable">true</bool>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,674 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
; Script generated by the Inno Script Studio Wizard.
|
||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
|
||||
#define AppVer "1.18-Final"
|
||||
|
||||
[Setup]
|
||||
; NOTE: The value of AppId uniquely identifies this application.
|
||||
; Do not use the same AppId value in installers for other applications.
|
||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||
AppId={{B84DBE54-11F6-43AB-AC95-A71164168899}
|
||||
AppName=RBXLegacy
|
||||
AppVersion={#AppVer}
|
||||
AppVerName=RBXLegacy {#AppVer}
|
||||
AppPublisher=Bitl
|
||||
DefaultDirName=C:\RBXLegacy
|
||||
DefaultGroupName=RBXLegacy
|
||||
AllowNoIcons=yes
|
||||
OutputDir=.
|
||||
OutputBaseFilename=RBXLegacySetup_{#AppVer}
|
||||
SetupIconFile=RBXLegacy\RBXLegacyIcon.ico
|
||||
Compression=lzma2/ultra64
|
||||
SolidCompression=yes
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "Create a icon on your Desktop"; GroupDescription: "Icons"
|
||||
Name: "quicklaunchicon"; Description: "Create a icon on your Quick Start Menu"; GroupDescription: "Icons"; Flags: unchecked; OnlyBelowVersion: 0,6.1
|
||||
|
||||
[Files]
|
||||
Source: "RBXLegacy\RBXLegacyLauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\RBXLegacyLauncher.exe.config"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\README.TXT"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\changelog.txt"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\info.txt"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\clients\*"; DestDir: "{app}\clients"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "RBXLegacy\maps\*"; DestDir: "{app}\maps"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "RBXLegacy\models\*"; DestDir: "{app}\models"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "RBXLegacy\avatar\*"; DestDir: "{app}\avatar"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "RBXLegacy\scripts\*"; DestDir: "{app}\scripts"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "RBXLegacy\udppipe.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\Open.Nat.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "RBXLegacy\discord-rpc.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"
|
||||
Name: "{group}\{cm:UninstallProgram,RBXLegacy}"; Filename: "{uninstallexe}"
|
||||
Name: "{commondesktop}\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"; Tasks: desktopicon
|
||||
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"; Tasks: quicklaunchicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\RBXLegacyLauncher.exe"; Description: "Play RBXLegacy"; Flags: nowait postinstall skipifsilent
|
||||
Filename: "{app}\README.TXT"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent unchecked
|
||||
Filename: "{app}\changelog.txt"; Description: "View the changelog"; Flags: postinstall shellexec skipifsilent unchecked
|
||||
30
README.md
30
README.md
|
|
@ -1,5 +1,29 @@
|
|||
### Dedicated Server
|
||||
<img src="https://cdn.discordapp.com/attachments/327072930066333697/349348817423958017/rbxlegacylogo2.png" alt="RBXLegacy"/><br>
|
||||
RBXLegacy - version 2.0
|
||||
## Overview
|
||||
|
||||
RBXLegacy is a launcher and website for ROBLOX's clients from 2007 - 2012, designed so you can play online and through a Local Area Network.
|
||||
|
||||
This is the source code for RBXLegacy's launcher, dedicated server, and site.
|
||||
|
||||
## Installing
|
||||
|
||||
The latest stable version will always be found on the official Discord in `#downloads`. You can ask a friend to get an invite for the Discord.
|
||||
|
||||
You can also download it from this repository to receive changes as soon as they are committed.
|
||||
|
||||
## Contributing
|
||||
|
||||
If you find any problem(s) in RBXLegacy, [feel free to submit an issue here.](https://github.com/Bitl/RBXLegacy-src/issues)
|
||||
|
||||
If you know how to solve an (existing) issue in RBXLegacy, [you can submit a pull request for it.](https://github.com/Bitl/RBXLegacy-src/pulls)
|
||||
|
||||
And of course, we welcome everyone with new ideas. [You can post your idea in issues as well.](https://github.com/Bitl/RBXLegacy-src/issues)
|
||||
|
||||
## Licence
|
||||
|
||||
RBXLegacy is licenced under the [GPL](https://github.com/Bitl/RBXLegacy-src/blob/master/LICENSE.MD), but some components of it may use different licences.
|
||||
|
||||
Open.NAT is licened under the MIT Licence. Please look in the Open.NAT folder for more information.
|
||||
|
||||
This is the dedicated server for RBXLegacy.
|
||||
|
||||
Work has not started on the dedicated server yet.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||
<External>null</External>
|
||||
<External>nil</External>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
# SharpDevelop 4.4
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RBXLegacyLauncher", "RBXLegacyLauncher\RBXLegacyLauncher.csproj", "{F92FFBED-2767-4676-9711-BB89CDA58A43}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,47 @@
|
|||
namespace RBXLegacyLauncher
|
||||
{
|
||||
partial class DocForm
|
||||
{
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing) {
|
||||
if (components != null) {
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DocForm));
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox1.Location = new System.Drawing.Point(1, 2);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.ReadOnly = true;
|
||||
this.richTextBox1.Size = new System.Drawing.Size(426, 359);
|
||||
this.richTextBox1.TabIndex = 0;
|
||||
this.richTextBox1.Text = resources.GetString("richTextBox1.Text");
|
||||
//
|
||||
// DocForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.ClientSize = new System.Drawing.Size(429, 361);
|
||||
this.Controls.Add(this.richTextBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "DocForm";
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace RBXLegacyLauncher
|
||||
{
|
||||
public partial class DocForm : Form
|
||||
{
|
||||
public DocForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace RBXLegacyLauncher
|
||||
{
|
||||
internal sealed class Program
|
||||
{
|
||||
static string ProcessInput(string s)
|
||||
{
|
||||
return s;
|
||||
}
|
||||
[STAThread]
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new MainForm());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
#region Using directives
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
#endregion
|
||||
|
||||
[assembly: AssemblyTitle("RBXLegacyLauncher")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("RBXLegacyLauncher")]
|
||||
[assembly: AssemblyCopyright("Copyright 2016")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{F92FFBED-2767-4676-9711-BB89CDA58A43}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>RBXLegacyLauncher</RootNamespace>
|
||||
<AssemblyName>RBXLegacyLauncher</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<ApplicationIcon>Resources\rbxlegacyicon2.ico</ApplicationIcon>
|
||||
<NoWin32Manifest>False</NoWin32Manifest>
|
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||
<NoStdLib>False</NoStdLib>
|
||||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<SignAssembly>False</SignAssembly>
|
||||
<DelaySign>False</DelaySign>
|
||||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<BaseAddress>4194304</BaseAddress>
|
||||
<RegisterForComInterop>False</RegisterForComInterop>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>Full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<DebugType>None</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
|
||||
<StartAction>Program</StartAction>
|
||||
<StartProgram>..\..\..\RBXLegacy\release\RBXLegacy\RBXLegacyLauncher.exe</StartProgram>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Open.Nat">
|
||||
<HintPath>Resources\Open.Nat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CharacterCustomization.cs" />
|
||||
<Compile Include="CharacterCustomization.Designer.cs">
|
||||
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DocForm.cs" />
|
||||
<Compile Include="DocForm.Designer.cs">
|
||||
<DependentUpon>DocForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SDKForm.cs" />
|
||||
<Compile Include="SDKForm.Designer.cs">
|
||||
<DependentUpon>SDKForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UtilityFuncs.cs" />
|
||||
<Compile Include="ServerPrefs.cs" />
|
||||
<Compile Include="ServerPrefs.Designer.cs">
|
||||
<DependentUpon>ServerPrefs.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.cs" />
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CharacterCustomization.resx">
|
||||
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DocForm.resx">
|
||||
<DependentUpon>DocForm.Designer.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SDKForm.resx">
|
||||
<DependentUpon>SDKForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ServerPrefs.resx">
|
||||
<DependentUpon>ServerPrefs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
|
|
@ -0,0 +1,405 @@
|
|||
namespace RBXLegacyLauncher
|
||||
{
|
||||
partial class SDKForm
|
||||
{
|
||||
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing) {
|
||||
if (components != null) {
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SDKForm));
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||
this.textBox7 = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Location = new System.Drawing.Point(8, 7);
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(336, 357);
|
||||
this.tabControl1.TabIndex = 0;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.checkBox4);
|
||||
this.tabPage1.Controls.Add(this.button4);
|
||||
this.tabPage1.Controls.Add(this.textBox3);
|
||||
this.tabPage1.Controls.Add(this.label4);
|
||||
this.tabPage1.Controls.Add(this.textBox2);
|
||||
this.tabPage1.Controls.Add(this.label3);
|
||||
this.tabPage1.Controls.Add(this.checkBox3);
|
||||
this.tabPage1.Controls.Add(this.button3);
|
||||
this.tabPage1.Controls.Add(this.checkBox5);
|
||||
this.tabPage1.Controls.Add(this.button2);
|
||||
this.tabPage1.Controls.Add(this.button1);
|
||||
this.tabPage1.Controls.Add(this.label2);
|
||||
this.tabPage1.Controls.Add(this.label1);
|
||||
this.tabPage1.Controls.Add(this.textBox1);
|
||||
this.tabPage1.Controls.Add(this.checkBox2);
|
||||
this.tabPage1.Controls.Add(this.checkBox1);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(328, 331);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "CLIENTINFO EDITOR";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.Location = new System.Drawing.Point(5, 106);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(192, 20);
|
||||
this.checkBox4.TabIndex = 34;
|
||||
this.checkBox4.Text = "Use Sudppipe (RECOMMENDED)";
|
||||
this.checkBox4.UseVisualStyleBackColor = true;
|
||||
this.checkBox4.CheckedChanged += new System.EventHandler(this.CheckBox4CheckedChanged);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(246, 183);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(75, 23);
|
||||
this.button4.TabIndex = 33;
|
||||
this.button4.Text = "Help";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.Button4Click);
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Location = new System.Drawing.Point(8, 185);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(232, 20);
|
||||
this.textBox3.TabIndex = 32;
|
||||
this.textBox3.TextChanged += new System.EventHandler(this.TextBox3TextChanged);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Location = new System.Drawing.Point(6, 166);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(71, 16);
|
||||
this.label4.TabIndex = 31;
|
||||
this.label4.Text = "Client Version";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(8, 143);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(311, 20);
|
||||
this.textBox2.TabIndex = 30;
|
||||
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Location = new System.Drawing.Point(7, 127);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 13);
|
||||
this.label3.TabIndex = 29;
|
||||
this.label3.Text = "Client MD5";
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.Location = new System.Drawing.Point(5, 89);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(175, 20);
|
||||
this.checkBox3.TabIndex = 28;
|
||||
this.checkBox3.Text = "Client uses a single EXE to run";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(9, 264);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(312, 23);
|
||||
this.button3.TabIndex = 27;
|
||||
this.button3.Text = "New clientinfo.txt";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.Button3Click);
|
||||
//
|
||||
// checkBox5
|
||||
//
|
||||
this.checkBox5.Location = new System.Drawing.Point(5, 71);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(310, 20);
|
||||
this.checkBox5.TabIndex = 26;
|
||||
this.checkBox5.Text = "Loads assets from servers online";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
this.checkBox5.CheckedChanged += new System.EventHandler(this.CheckBox5CheckedChanged);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(9, 293);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(150, 30);
|
||||
this.button2.TabIndex = 25;
|
||||
this.button2.Text = "Load";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.Button2Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(168, 293);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(154, 30);
|
||||
this.button1.TabIndex = 24;
|
||||
this.button1.Text = "Save";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Location = new System.Drawing.Point(4, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(307, 30);
|
||||
this.label2.TabIndex = 23;
|
||||
this.label2.Text = "Check the check boxes corresponding to what your client supports.";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Location = new System.Drawing.Point(6, 208);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(92, 16);
|
||||
this.label1.TabIndex = 22;
|
||||
this.label1.Text = "Client Description";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(9, 226);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(310, 34);
|
||||
this.textBox1.TabIndex = 21;
|
||||
this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged);
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.Location = new System.Drawing.Point(5, 53);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(307, 20);
|
||||
this.checkBox2.TabIndex = 20;
|
||||
this.checkBox2.Text = "Allows the launcher to set custom IDs";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
this.checkBox2.CheckedChanged += new System.EventHandler(this.CheckBox2CheckedChanged);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.Location = new System.Drawing.Point(5, 34);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(307, 24);
|
||||
this.checkBox1.TabIndex = 19;
|
||||
this.checkBox1.Text = "Allows players to set custom names";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.button7);
|
||||
this.tabPage2.Controls.Add(this.textBox4);
|
||||
this.tabPage2.Controls.Add(this.textBox5);
|
||||
this.tabPage2.Controls.Add(this.textBox6);
|
||||
this.tabPage2.Controls.Add(this.textBox7);
|
||||
this.tabPage2.Controls.Add(this.label5);
|
||||
this.tabPage2.Controls.Add(this.label6);
|
||||
this.tabPage2.Controls.Add(this.label7);
|
||||
this.tabPage2.Controls.Add(this.label8);
|
||||
this.tabPage2.Controls.Add(this.button5);
|
||||
this.tabPage2.Controls.Add(this.button6);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(328, 331);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "INFO EDITOR";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(167, 269);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(150, 57);
|
||||
this.button7.TabIndex = 32;
|
||||
this.button7.Text = "Save";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
this.button7.Click += new System.EventHandler(this.Button7Click);
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Location = new System.Drawing.Point(6, 154);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.Size = new System.Drawing.Size(311, 20);
|
||||
this.textBox4.TabIndex = 31;
|
||||
this.textBox4.TextChanged += new System.EventHandler(this.TextBox4TextChanged);
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
this.textBox5.Location = new System.Drawing.Point(6, 112);
|
||||
this.textBox5.Name = "textBox5";
|
||||
this.textBox5.Size = new System.Drawing.Size(312, 20);
|
||||
this.textBox5.TabIndex = 30;
|
||||
this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged);
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
this.textBox6.Location = new System.Drawing.Point(5, 68);
|
||||
this.textBox6.Name = "textBox6";
|
||||
this.textBox6.Size = new System.Drawing.Size(313, 20);
|
||||
this.textBox6.TabIndex = 29;
|
||||
this.textBox6.TextChanged += new System.EventHandler(this.TextBox6TextChanged);
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
this.textBox7.Location = new System.Drawing.Point(6, 25);
|
||||
this.textBox7.Name = "textBox7";
|
||||
this.textBox7.Size = new System.Drawing.Size(311, 20);
|
||||
this.textBox7.TabIndex = 28;
|
||||
this.textBox7.TextChanged += new System.EventHandler(this.TextBox7TextChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(5, 135);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(71, 16);
|
||||
this.label5.TabIndex = 27;
|
||||
this.label5.Text = "Script MD5";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Location = new System.Drawing.Point(5, 91);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(76, 18);
|
||||
this.label6.TabIndex = 26;
|
||||
this.label6.Text = "Script Path";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Location = new System.Drawing.Point(5, 48);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(76, 17);
|
||||
this.label7.TabIndex = 25;
|
||||
this.label7.Text = "Default Client";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Location = new System.Drawing.Point(5, 7);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(44, 15);
|
||||
this.label8.TabIndex = 24;
|
||||
this.label8.Text = "Version";
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(5, 180);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(312, 83);
|
||||
this.button5.TabIndex = 23;
|
||||
this.button5.Text = "New info.txt";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.Button5Click);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(6, 269);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(150, 57);
|
||||
this.button6.TabIndex = 22;
|
||||
this.button6.Text = "Load";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
this.button6.Click += new System.EventHandler(this.Button6Click);
|
||||
//
|
||||
// SDKForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.ClientSize = new System.Drawing.Size(354, 376);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "SDKForm";
|
||||
this.Text = "RBXLegacy SDK";
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.tabPage2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
private System.Windows.Forms.CheckBox checkBox4;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox textBox7;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.TextBox textBox5;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.CheckBox checkBox5;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.TabControl tabControl1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,326 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
|
||||
namespace RBXLegacyLauncher
|
||||
{
|
||||
public partial class SDKForm : Form
|
||||
{
|
||||
public SDKForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
// clientinfo
|
||||
|
||||
void CheckBox1CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox1.Checked == true)
|
||||
{
|
||||
GlobalVars.ClientCreator_UsesPlayerName = true;
|
||||
}
|
||||
else if (checkBox1.Checked == false)
|
||||
{
|
||||
GlobalVars.ClientCreator_UsesPlayerName = false;
|
||||
}
|
||||
}
|
||||
|
||||
void CheckBox2CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox2.Checked == true)
|
||||
{
|
||||
GlobalVars.ClientCreator_UsesID = true;
|
||||
}
|
||||
else if (checkBox2.Checked == false)
|
||||
{
|
||||
GlobalVars.ClientCreator_UsesID = false;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox1TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.ClientCreator_SelectedClientDesc = textBox1.Text;
|
||||
}
|
||||
|
||||
void Button2Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var ofd = new OpenFileDialog())
|
||||
{
|
||||
ofd.Filter = "Text files (*.txt)|*.txt";
|
||||
ofd.FilterIndex = 2;
|
||||
ofd.FileName = "clientinfo.txt";
|
||||
ofd.Title = "Load clientinfo.txt";
|
||||
if (ofd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string line1;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8;
|
||||
|
||||
using(StreamReader reader = new StreamReader(ofd.FileName))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||
|
||||
Boolean bline1 = Convert.ToBoolean(Decryptline1);
|
||||
GlobalVars.ClientCreator_UsesPlayerName = bline1;
|
||||
|
||||
Boolean bline2 = Convert.ToBoolean(Decryptline2);
|
||||
GlobalVars.ClientCreator_UsesID = bline2;
|
||||
|
||||
Boolean bline3 = Convert.ToBoolean(Decryptline3);
|
||||
GlobalVars.ClientCreator_LoadsAssetsOnline = bline3;
|
||||
|
||||
Boolean bline4 = Convert.ToBoolean(Decryptline4);
|
||||
GlobalVars.ClientCreator_LegacyMode = bline4;
|
||||
|
||||
Boolean bline5 = Convert.ToBoolean(Decryptline5);
|
||||
GlobalVars.ClientCreator_HasRocky = bline5;
|
||||
|
||||
GlobalVars.ClientCreator_SelectedClientMD5 = Decryptline6;
|
||||
|
||||
int iline7 = Convert.ToInt32(Decryptline7);
|
||||
GlobalVars.ClientCreator_SelectedClientVersion = iline7;
|
||||
|
||||
GlobalVars.ClientCreator_SelectedClientDesc = Decryptline8;
|
||||
|
||||
checkBox1.Checked = GlobalVars.ClientCreator_UsesPlayerName;
|
||||
checkBox2.Checked = GlobalVars.ClientCreator_UsesID;
|
||||
checkBox5.Checked = GlobalVars.ClientCreator_LoadsAssetsOnline;
|
||||
checkBox3.Checked = GlobalVars.ClientCreator_LegacyMode;
|
||||
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
||||
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
||||
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
||||
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Button1Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var sfd = new SaveFileDialog())
|
||||
{
|
||||
sfd.Filter = "Text files (*.txt)|*.txt";
|
||||
sfd.FilterIndex = 2;
|
||||
sfd.FileName = "clientinfo.txt";
|
||||
sfd.Title = "Save clientinfo.txt";
|
||||
|
||||
if (sfd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string[] lines = {
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_UsesPlayerName.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_UsesID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_LoadsAssetsOnline.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_LegacyMode.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_HasRocky.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_SelectedClientMD5.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_SelectedClientVersion.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ClientCreator_SelectedClientDesc.ToString())
|
||||
};
|
||||
File.WriteAllText(sfd.FileName, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CheckBox5CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox5.Checked == true)
|
||||
{
|
||||
GlobalVars.ClientCreator_LoadsAssetsOnline = true;
|
||||
}
|
||||
else if (checkBox5.Checked == false)
|
||||
{
|
||||
GlobalVars.ClientCreator_LoadsAssetsOnline = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button3Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.ClientCreator_UsesPlayerName = false;
|
||||
GlobalVars.ClientCreator_UsesID = false;
|
||||
GlobalVars.ClientCreator_LoadsAssetsOnline = false;
|
||||
GlobalVars.ClientCreator_LegacyMode = false;
|
||||
GlobalVars.ClientCreator_SelectedClientDesc = "";
|
||||
GlobalVars.ClientCreator_SelectedClientMD5 = "";
|
||||
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||
GlobalVars.ClientCreator_HasRocky = false;
|
||||
checkBox1.Checked = GlobalVars.ClientCreator_UsesPlayerName;
|
||||
checkBox2.Checked = GlobalVars.ClientCreator_UsesID;
|
||||
checkBox5.Checked = GlobalVars.ClientCreator_LoadsAssetsOnline;
|
||||
checkBox3.Checked = GlobalVars.ClientCreator_LegacyMode;
|
||||
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
||||
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
||||
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
||||
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion.ToString();
|
||||
}
|
||||
|
||||
void CheckBox3CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox3.Checked == true)
|
||||
{
|
||||
GlobalVars.ClientCreator_LegacyMode = true;
|
||||
}
|
||||
else if (checkBox3.Checked == false)
|
||||
{
|
||||
GlobalVars.ClientCreator_LegacyMode = false;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox2TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBox2.Text = textBox2.Text.ToUpper();
|
||||
GlobalVars.ClientCreator_SelectedClientMD5 = textBox2.Text.ToUpper();
|
||||
}
|
||||
|
||||
void TextBox3TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox3.Text, out parsedValue))
|
||||
{
|
||||
if (textBox3.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.ClientCreator_SelectedClientVersion = Convert.ToInt32(textBox3.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void CheckBox4CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox4.Checked == true)
|
||||
{
|
||||
GlobalVars.ClientCreator_HasRocky = true;
|
||||
}
|
||||
else if (checkBox4.Checked == false)
|
||||
{
|
||||
GlobalVars.ClientCreator_HasRocky = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button4Click(object sender, EventArgs e)
|
||||
{
|
||||
DocForm doc = new DocForm();
|
||||
doc.Show();
|
||||
}
|
||||
|
||||
// info
|
||||
|
||||
void Button6Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var ofd = new OpenFileDialog())
|
||||
{
|
||||
ofd.Filter = "Text files (*.txt)|*.txt";
|
||||
ofd.FilterIndex = 2;
|
||||
ofd.FileName = "info.txt";
|
||||
ofd.Title = "Load info.txt";
|
||||
if (ofd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string line1;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4;
|
||||
|
||||
using(StreamReader reader = new StreamReader(ofd.FileName))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||
|
||||
GlobalVars.InfoEditor_Version = Decryptline1;
|
||||
GlobalVars.InfoEditor_DefaultClient = Decryptline2;
|
||||
GlobalVars.InfoEditor_ScriptPath = Decryptline3;
|
||||
GlobalVars.InfoEditor_ScriptMD5 = Decryptline4;
|
||||
|
||||
textBox7.Text = GlobalVars.InfoEditor_Version;
|
||||
textBox6.Text = GlobalVars.InfoEditor_DefaultClient;
|
||||
textBox5.Text = GlobalVars.InfoEditor_ScriptPath;
|
||||
textBox4.Text = GlobalVars.InfoEditor_ScriptMD5.ToUpper();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Button7Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var sfd = new SaveFileDialog())
|
||||
{
|
||||
sfd.Filter = "Text files (*.txt)|*.txt";
|
||||
sfd.FilterIndex = 2;
|
||||
sfd.FileName = "info.txt";
|
||||
sfd.Title = "Save info.txt";
|
||||
|
||||
if (sfd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string[] lines = {
|
||||
SecurityFuncs.Base64Encode(GlobalVars.InfoEditor_Version.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.InfoEditor_DefaultClient.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.InfoEditor_ScriptPath.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.InfoEditor_ScriptMD5.ToString())
|
||||
};
|
||||
File.WriteAllText(sfd.FileName, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Button5Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.InfoEditor_Version = "";
|
||||
GlobalVars.InfoEditor_DefaultClient = "";
|
||||
GlobalVars.InfoEditor_ScriptPath = "";
|
||||
GlobalVars.InfoEditor_ScriptMD5 = "";
|
||||
textBox7.Text = GlobalVars.InfoEditor_Version;
|
||||
textBox6.Text = GlobalVars.InfoEditor_DefaultClient;
|
||||
textBox5.Text = GlobalVars.InfoEditor_ScriptPath;
|
||||
textBox4.Text = GlobalVars.InfoEditor_ScriptMD5.ToUpper();
|
||||
}
|
||||
|
||||
void TextBox7TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.InfoEditor_Version = textBox7.Text;
|
||||
}
|
||||
|
||||
void TextBox6TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.InfoEditor_DefaultClient = textBox6.Text;
|
||||
}
|
||||
|
||||
void TextBox5TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.InfoEditor_ScriptPath = textBox5.Text;
|
||||
}
|
||||
|
||||
void TextBox4TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBox4.Text = textBox4.Text.ToUpper();
|
||||
GlobalVars.InfoEditor_ScriptMD5 = textBox4.Text.ToUpper();
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,374 @@
|
|||
namespace RBXLegacyLauncher
|
||||
{
|
||||
partial class ServerPrefs
|
||||
{
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing) {
|
||||
if (components != null) {
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerPrefs));
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.textBox11 = new System.Windows.Forms.TextBox();
|
||||
this.textBox12 = new System.Windows.Forms.TextBox();
|
||||
this.textBox9 = new System.Windows.Forms.TextBox();
|
||||
this.textBox10 = new System.Windows.Forms.TextBox();
|
||||
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||
this.textBox8 = new System.Windows.Forms.TextBox();
|
||||
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.checkBox11 = new System.Windows.Forms.CheckBox();
|
||||
this.label45 = new System.Windows.Forms.Label();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.label29 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox1.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textBox1.Location = new System.Drawing.Point(6, 6);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ReadOnly = true;
|
||||
this.textBox1.Size = new System.Drawing.Size(259, 311);
|
||||
this.textBox1.TabIndex = 0;
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Location = new System.Drawing.Point(12, 12);
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.tabControl1.Size = new System.Drawing.Size(276, 343);
|
||||
this.tabControl1.TabIndex = 1;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.numericUpDown1);
|
||||
this.tabPage1.Controls.Add(this.textBox11);
|
||||
this.tabPage1.Controls.Add(this.textBox12);
|
||||
this.tabPage1.Controls.Add(this.textBox9);
|
||||
this.tabPage1.Controls.Add(this.textBox10);
|
||||
this.tabPage1.Controls.Add(this.textBox5);
|
||||
this.tabPage1.Controls.Add(this.textBox8);
|
||||
this.tabPage1.Controls.Add(this.textBox6);
|
||||
this.tabPage1.Controls.Add(this.label6);
|
||||
this.tabPage1.Controls.Add(this.textBox4);
|
||||
this.tabPage1.Controls.Add(this.label5);
|
||||
this.tabPage1.Controls.Add(this.textBox2);
|
||||
this.tabPage1.Controls.Add(this.label4);
|
||||
this.tabPage1.Controls.Add(this.checkBox11);
|
||||
this.tabPage1.Controls.Add(this.label45);
|
||||
this.tabPage1.Controls.Add(this.textBox3);
|
||||
this.tabPage1.Controls.Add(this.label29);
|
||||
this.tabPage1.Controls.Add(this.label3);
|
||||
this.tabPage1.Controls.Add(this.label2);
|
||||
this.tabPage1.Controls.Add(this.comboBox1);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(268, 317);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "PREFERENCES";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(7, 175);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(237, 20);
|
||||
this.numericUpDown1.TabIndex = 67;
|
||||
this.numericUpDown1.Value = new decimal(new int[] {
|
||||
53640,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.ValueChanged += new System.EventHandler(this.NumericUpDown1ValueChanged);
|
||||
//
|
||||
// textBox11
|
||||
//
|
||||
this.textBox11.Location = new System.Drawing.Point(179, 69);
|
||||
this.textBox11.Name = "textBox11";
|
||||
this.textBox11.Size = new System.Drawing.Size(55, 20);
|
||||
this.textBox11.TabIndex = 65;
|
||||
this.textBox11.Text = "1";
|
||||
this.textBox11.TextChanged += new System.EventHandler(this.TextBox11TextChanged);
|
||||
//
|
||||
// textBox12
|
||||
//
|
||||
this.textBox12.Location = new System.Drawing.Point(179, 44);
|
||||
this.textBox12.Name = "textBox12";
|
||||
this.textBox12.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox12.TabIndex = 64;
|
||||
this.textBox12.Text = "1";
|
||||
this.textBox12.TextChanged += new System.EventHandler(this.TextBox12TextChanged);
|
||||
//
|
||||
// textBox9
|
||||
//
|
||||
this.textBox9.Location = new System.Drawing.Point(122, 69);
|
||||
this.textBox9.Name = "textBox9";
|
||||
this.textBox9.Size = new System.Drawing.Size(55, 20);
|
||||
this.textBox9.TabIndex = 63;
|
||||
this.textBox9.Text = "1";
|
||||
this.textBox9.TextChanged += new System.EventHandler(this.TextBox9TextChanged);
|
||||
//
|
||||
// textBox10
|
||||
//
|
||||
this.textBox10.Location = new System.Drawing.Point(122, 44);
|
||||
this.textBox10.Name = "textBox10";
|
||||
this.textBox10.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox10.TabIndex = 62;
|
||||
this.textBox10.Text = "1";
|
||||
this.textBox10.TextChanged += new System.EventHandler(this.TextBox10TextChanged);
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
this.textBox5.Location = new System.Drawing.Point(64, 69);
|
||||
this.textBox5.Name = "textBox5";
|
||||
this.textBox5.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox5.TabIndex = 61;
|
||||
this.textBox5.Text = "1";
|
||||
this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged);
|
||||
//
|
||||
// textBox8
|
||||
//
|
||||
this.textBox8.Location = new System.Drawing.Point(64, 44);
|
||||
this.textBox8.Name = "textBox8";
|
||||
this.textBox8.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox8.TabIndex = 60;
|
||||
this.textBox8.Text = "1";
|
||||
this.textBox8.TextChanged += new System.EventHandler(this.TextBox8TextChanged);
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
this.textBox6.Location = new System.Drawing.Point(6, 69);
|
||||
this.textBox6.Name = "textBox6";
|
||||
this.textBox6.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox6.TabIndex = 59;
|
||||
this.textBox6.Text = "1";
|
||||
this.textBox6.TextChanged += new System.EventHandler(this.TextBox6TextChanged);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.label6.Location = new System.Drawing.Point(3, 28);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(225, 13);
|
||||
this.label6.TabIndex = 57;
|
||||
this.label6.Text = "Enter the User ID of the players you want to blacklist.";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Location = new System.Drawing.Point(6, 44);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.Size = new System.Drawing.Size(54, 20);
|
||||
this.textBox4.TabIndex = 56;
|
||||
this.textBox4.Text = "1";
|
||||
this.textBox4.TextChanged += new System.EventHandler(this.TextBox4TextChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label5.Location = new System.Drawing.Point(3, 6);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(141, 21);
|
||||
this.label5.TabIndex = 55;
|
||||
this.label5.Text = "Blacklisted Players";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(7, 263);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(237, 20);
|
||||
this.textBox2.TabIndex = 53;
|
||||
this.textBox2.Text = "5";
|
||||
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Location = new System.Drawing.Point(6, 242);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(79, 18);
|
||||
this.label4.TabIndex = 52;
|
||||
this.label4.Text = "Respawn Time";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// checkBox11
|
||||
//
|
||||
this.checkBox11.Checked = true;
|
||||
this.checkBox11.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox11.Location = new System.Drawing.Point(6, 289);
|
||||
this.checkBox11.Name = "checkBox11";
|
||||
this.checkBox11.Size = new System.Drawing.Size(202, 17);
|
||||
this.checkBox11.TabIndex = 51;
|
||||
this.checkBox11.Text = "Enable UPnP (Universal Plug n\' Play)";
|
||||
this.checkBox11.UseVisualStyleBackColor = true;
|
||||
this.checkBox11.CheckedChanged += new System.EventHandler(this.CheckBox11CheckedChanged);
|
||||
//
|
||||
// label45
|
||||
//
|
||||
this.label45.Location = new System.Drawing.Point(6, 154);
|
||||
this.label45.Name = "label45";
|
||||
this.label45.Size = new System.Drawing.Size(26, 18);
|
||||
this.label45.TabIndex = 49;
|
||||
this.label45.Text = "Port";
|
||||
this.label45.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Location = new System.Drawing.Point(6, 219);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(237, 20);
|
||||
this.textBox3.TabIndex = 47;
|
||||
this.textBox3.Text = "12";
|
||||
this.textBox3.TextChanged += new System.EventHandler(this.TextBox3TextChanged);
|
||||
//
|
||||
// label29
|
||||
//
|
||||
this.label29.Location = new System.Drawing.Point(0, 198);
|
||||
this.label29.Name = "label29";
|
||||
this.label29.Size = new System.Drawing.Size(69, 18);
|
||||
this.label29.TabIndex = 46;
|
||||
this.label29.Text = "Player Limit";
|
||||
this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label3.Location = new System.Drawing.Point(6, 113);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(56, 14);
|
||||
this.label3.TabIndex = 14;
|
||||
this.label3.Text = "Chat Type";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label2.Location = new System.Drawing.Point(3, 92);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(89, 21);
|
||||
this.label2.TabIndex = 13;
|
||||
this.label2.Text = "General";
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Items.AddRange(new object[] {
|
||||
"Classic",
|
||||
"Bubble",
|
||||
"Both"});
|
||||
this.comboBox1.Location = new System.Drawing.Point(6, 130);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(238, 21);
|
||||
this.comboBox1.TabIndex = 12;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1SelectedIndexChanged);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Controls.Add(this.textBox1);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(268, 317);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "INFORMATION";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(216, 7);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(49, 23);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "Reset";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||
//
|
||||
// ServerPrefs
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScroll = true;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.ClientSize = new System.Drawing.Size(299, 361);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(305, 300);
|
||||
this.Name = "ServerPrefs";
|
||||
this.Text = "Server Preferences";
|
||||
this.Load += new System.EventHandler(this.ServerPrefsLoad);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.tabPage2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox textBox12;
|
||||
private System.Windows.Forms.TextBox textBox11;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.TextBox textBox8;
|
||||
private System.Windows.Forms.TextBox textBox5;
|
||||
private System.Windows.Forms.TextBox textBox10;
|
||||
private System.Windows.Forms.TextBox textBox9;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Label label45;
|
||||
private System.Windows.Forms.CheckBox checkBox11;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.TabControl tabControl1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,331 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.Net;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Open.Nat;
|
||||
|
||||
namespace RBXLegacyLauncher
|
||||
{
|
||||
public partial class ServerPrefs : Form
|
||||
{
|
||||
public ServerPrefs()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
void ServerPrefsLoad(object sender, EventArgs e)
|
||||
{
|
||||
textBox1.AppendText("Client: " + GlobalVars.SelectedClient);
|
||||
textBox1.AppendText(Environment.NewLine);
|
||||
textBox1.AppendText("IP: " + GetExternalIPAddress());
|
||||
textBox1.AppendText(Environment.NewLine);
|
||||
textBox1.AppendText("Port: " + GlobalVars.RobloxPort.ToString());
|
||||
textBox1.AppendText(Environment.NewLine);
|
||||
textBox1.AppendText("Map: " + GlobalVars.Map);
|
||||
textBox1.AppendText(Environment.NewLine);
|
||||
textBox1.AppendText("Players: " + GlobalVars.PlayerLimit);
|
||||
textBox1.AppendText(Environment.NewLine);
|
||||
textBox1.AppendText("RBXLegacy Version: " + GlobalVars.Version);
|
||||
|
||||
if (GlobalVars.PlayerLimit == 0)
|
||||
{
|
||||
//We need at least a limit of 12 players.
|
||||
GlobalVars.PlayerLimit = 12;
|
||||
textBox3.Text = GlobalVars.PlayerLimit.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
textBox3.Text = GlobalVars.PlayerLimit.ToString();
|
||||
}
|
||||
|
||||
if (GlobalVars.ServerPort == 0)
|
||||
{
|
||||
//We need at least a limit of 12 players.
|
||||
GlobalVars.ServerPort = GlobalVars.DefaultRobloxPort;
|
||||
numericUpDown1.Text = GlobalVars.ServerPort.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
numericUpDown1.Text = GlobalVars.ServerPort.ToString();
|
||||
}
|
||||
|
||||
if (GlobalVars.upnp == true)
|
||||
{
|
||||
checkBox11.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
checkBox11.Checked = false;
|
||||
}
|
||||
|
||||
comboBox1.SelectedText = GlobalVars.ChatType;
|
||||
}
|
||||
|
||||
string GetExternalIPAddress()
|
||||
{
|
||||
string url = "http://checkip.dyndns.org";
|
||||
System.Net.WebRequest req = System.Net.WebRequest.Create(url);
|
||||
System.Net.WebResponse resp = req.GetResponse();
|
||||
System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream());
|
||||
string response = sr.ReadToEnd().Trim();
|
||||
string[] a = response.Split(':');
|
||||
string a2 = a[1].Substring(1);
|
||||
string[] a3 = a2.Split('<');
|
||||
string a4 = a3[0];
|
||||
return a4;
|
||||
}
|
||||
|
||||
void NumericUpDown1ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(numericUpDown1.Text, out parsedValue))
|
||||
{
|
||||
if (numericUpDown1.Text.Equals(""))
|
||||
{
|
||||
//set it to the normal port, 53640. it wouldn't make any sense if we set it to 0.
|
||||
GlobalVars.ServerPort = GlobalVars.DefaultRobloxPort;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.ServerPort = Convert.ToInt32(numericUpDown1.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.ServerPort = GlobalVars.DefaultRobloxPort;
|
||||
}
|
||||
}
|
||||
|
||||
void ComboBox1SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
GlobalVars.ChatType = comboBox1.SelectedText;
|
||||
}
|
||||
|
||||
void TextBox2TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox2.Text, out parsedValue))
|
||||
{
|
||||
if (textBox2.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.RespawnTime = 5;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.RespawnTime = Convert.ToInt32(textBox2.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.RespawnTime = 5;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox3TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox3.Text, out parsedValue))
|
||||
{
|
||||
if (textBox3.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.PlayerLimit = 12;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.PlayerLimit = Convert.ToInt32(textBox3.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.PlayerLimit = 12;
|
||||
}
|
||||
}
|
||||
|
||||
void Button1Click(object sender, EventArgs e)
|
||||
{
|
||||
LauncherFuncs.ResetServerPrefs();
|
||||
LauncherFuncs.WriteServerPrefs("serverhost_config.txt");
|
||||
DialogResult result = MessageBox.Show("Your server configuration has been reset to the default values.","RBXLegacy Launcher - Server Preferences", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
protected override void OnFormClosing(FormClosingEventArgs e)
|
||||
{
|
||||
base.OnFormClosing(e);
|
||||
LauncherFuncs.WriteServerPrefs("serverhost_config.txt");
|
||||
}
|
||||
|
||||
void CheckBox11CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox11.Checked == true)
|
||||
{
|
||||
GlobalVars.upnp = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.upnp = false;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox4TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox4.Text, out parsedValue))
|
||||
{
|
||||
if (textBox4.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist1 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist1 = Convert.ToInt32(textBox4.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist1 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox8TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox8.Text, out parsedValue))
|
||||
{
|
||||
if (textBox8.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist2 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist2 = Convert.ToInt32(textBox8.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist2 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox10TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox10.Text, out parsedValue))
|
||||
{
|
||||
if (textBox10.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist3 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist3 = Convert.ToInt32(textBox10.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist3 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox12TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox12.Text, out parsedValue))
|
||||
{
|
||||
if (textBox12.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist4 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist4 = Convert.ToInt32(textBox12.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist4 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox6TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox6.Text, out parsedValue))
|
||||
{
|
||||
if (textBox6.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist5 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist5 = Convert.ToInt32(textBox6.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist5 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox5TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(numericUpDown1.Text, out parsedValue))
|
||||
{
|
||||
if (numericUpDown1.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist6 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist6 = Convert.ToInt32(numericUpDown1.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist6 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox9TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox9.Text, out parsedValue))
|
||||
{
|
||||
if (textBox9.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist7 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist7 = Convert.ToInt32(textBox9.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist7 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void TextBox11TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
int parsedValue;
|
||||
if (int.TryParse(textBox11.Text, out parsedValue))
|
||||
{
|
||||
if (textBox11.Text.Equals(""))
|
||||
{
|
||||
GlobalVars.blacklist8 = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist8 = Convert.ToInt32(textBox11.Text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalVars.blacklist8 = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,836 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using Microsoft.Win32;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace RBXLegacyLauncher
|
||||
{
|
||||
public static class GlobalVars
|
||||
{
|
||||
public static string ClientDir = "";
|
||||
public static string ScriptsDir = "";
|
||||
public static string MapsDir = "";
|
||||
public static string CustomPlayerDir = "";
|
||||
public static string IP = "localhost";
|
||||
public static string Version = "";
|
||||
public static string MD5 = "";
|
||||
public static string SharedArgs = "";
|
||||
public static string DefaultScript = "";
|
||||
public static string DefaultScriptMD5 = "";
|
||||
public static bool AdminMode = false;
|
||||
// server settings
|
||||
public static string Map = "Baseplate.rbxl";
|
||||
public static int RobloxPort = 53640;
|
||||
public static int ServerPort = 53640;
|
||||
public static int DefaultRobloxPort = 53640;
|
||||
public static int PlayerLimit = 12;
|
||||
public static int RespawnTime = 5;
|
||||
public static bool upnp = true;
|
||||
public static int blacklist1 = 0;
|
||||
public static int blacklist2 = 0;
|
||||
public static int blacklist3 = 0;
|
||||
public static int blacklist4 = 0;
|
||||
public static int blacklist5 = 0;
|
||||
public static int blacklist6 = 0;
|
||||
public static int blacklist7 = 0;
|
||||
public static int blacklist8 = 0;
|
||||
public static string ChatType = "Both";
|
||||
// player settings
|
||||
public static int UserID = 0;
|
||||
public static string PlayerName = "Player";
|
||||
// launcher settings
|
||||
public static bool CloseOnLaunch = false;
|
||||
public static bool LocalPlayMode = false;
|
||||
// client shit
|
||||
public static string SelectedClient = "";
|
||||
public static bool UsesPlayerName = false;
|
||||
public static bool UsesID = true;
|
||||
public static string SelectedClientDesc = "";
|
||||
public static bool LoadsAssetsOnline = false;
|
||||
public static bool LegacyMode = false;
|
||||
public static string SelectedClientMD5 = "";
|
||||
public static int SelectedClientVersion = 0;
|
||||
public static bool HasRocky = false;
|
||||
// clientinfo creator
|
||||
public static bool ClientCreator_UsesPlayerName = false;
|
||||
public static bool ClientCreator_UsesID = false;
|
||||
public static bool ClientCreator_LoadsAssetsOnline = false;
|
||||
public static string ClientCreator_SelectedClientDesc = "";
|
||||
public static bool ClientCreator_LegacyMode = false;
|
||||
public static string ClientCreator_SelectedClientMD5 = "";
|
||||
public static int ClientCreator_SelectedClientVersion = 0;
|
||||
public static bool ClientCreator_HasRocky = false;
|
||||
// info editor
|
||||
public static string InfoEditor_Version = "";
|
||||
public static string InfoEditor_DefaultClient = "";
|
||||
public static string InfoEditor_ScriptPath = "";
|
||||
public static string InfoEditor_ScriptMD5 = "";
|
||||
// charcustom
|
||||
public static string Custom_Hat1ID_Offline = "NoHat.rbxm";
|
||||
public static string Custom_Hat2ID_Offline = "NoHat.rbxm";
|
||||
public static string Custom_Hat3ID_Offline = "NoHat.rbxm";
|
||||
public static int Custom_TShirt = 0;
|
||||
public static int Custom_Shirt = 0;
|
||||
public static int Custom_Pants = 0;
|
||||
public static string Custom_IconType = "NBC";
|
||||
public static int HeadColorID = 24;
|
||||
public static int TorsoColorID = 23;
|
||||
public static int LeftArmColorID = 24;
|
||||
public static int RightArmColorID = 24;
|
||||
public static int LeftLegColorID = 119;
|
||||
public static int RightLegColorID = 119;
|
||||
public static string FaceID = "DefaultFace.rbxm";
|
||||
public static string HeadID = "DefaultHead.rbxm";
|
||||
public static string ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
public static string ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
|
||||
public static string ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
public static string ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
public static string ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||
public static string ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||
public static DiscordRpc.RichPresence presence;
|
||||
public static string appid = "378626645038333952";
|
||||
public static string imagekey_large = "rbxlegacy_logo_large";
|
||||
}
|
||||
|
||||
public class LauncherFuncs
|
||||
{
|
||||
public LauncherFuncs()
|
||||
{
|
||||
}
|
||||
|
||||
public static void ReadConfigValues(string cfgpath)
|
||||
{
|
||||
string line1;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8, Decryptline9, Decryptline10, Decryptline11, Decryptline12, Decryptline13, Decryptline14, Decryptline15, Decryptline16, Decryptline17, Decryptline18, Decryptline19, Decryptline20, Decryptline21, Decryptline22, Decryptline23, Decryptline24, Decryptline25, Decryptline26;
|
||||
|
||||
using(StreamReader reader = new StreamReader(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\" + cfgpath))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||
Decryptline9 = SecurityFuncs.Base64Decode(result[8]);
|
||||
Decryptline10 = SecurityFuncs.Base64Decode(result[9]);
|
||||
Decryptline11 = SecurityFuncs.Base64Decode(result[10]);
|
||||
Decryptline12 = SecurityFuncs.Base64Decode(result[11]);
|
||||
Decryptline13 = SecurityFuncs.Base64Decode(result[12]);
|
||||
Decryptline14 = SecurityFuncs.Base64Decode(result[13]);
|
||||
Decryptline15 = SecurityFuncs.Base64Decode(result[14]);
|
||||
Decryptline16 = SecurityFuncs.Base64Decode(result[15]);
|
||||
Decryptline17 = SecurityFuncs.Base64Decode(result[16]);
|
||||
Decryptline18 = SecurityFuncs.Base64Decode(result[17]);
|
||||
Decryptline19 = SecurityFuncs.Base64Decode(result[18]);
|
||||
Decryptline20 = SecurityFuncs.Base64Decode(result[19]);
|
||||
Decryptline21 = SecurityFuncs.Base64Decode(result[20]);
|
||||
Decryptline22 = SecurityFuncs.Base64Decode(result[21]);
|
||||
Decryptline23 = SecurityFuncs.Base64Decode(result[22]);
|
||||
Decryptline24 = SecurityFuncs.Base64Decode(result[23]);
|
||||
Decryptline25 = SecurityFuncs.Base64Decode(result[24]);
|
||||
Decryptline26 = SecurityFuncs.Base64Decode(result[25]);
|
||||
|
||||
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||
GlobalVars.CloseOnLaunch = bline1;
|
||||
|
||||
int iline2 = Convert.ToInt32(Decryptline2);
|
||||
GlobalVars.UserID = iline2;
|
||||
|
||||
GlobalVars.PlayerName = Decryptline3;
|
||||
|
||||
GlobalVars.SelectedClient = Decryptline4;
|
||||
|
||||
GlobalVars.Custom_Hat1ID_Offline = Decryptline5;
|
||||
GlobalVars.Custom_Hat2ID_Offline = Decryptline6;
|
||||
GlobalVars.Custom_Hat3ID_Offline = Decryptline7;
|
||||
|
||||
int iline8 = Convert.ToInt32(Decryptline8);
|
||||
GlobalVars.HeadColorID = iline8;
|
||||
|
||||
int iline9 = Convert.ToInt32(Decryptline9);
|
||||
GlobalVars.TorsoColorID = iline9;
|
||||
|
||||
int iline10 = Convert.ToInt32(Decryptline10);
|
||||
GlobalVars.LeftArmColorID = iline10;
|
||||
|
||||
int iline11 = Convert.ToInt32(Decryptline11);
|
||||
GlobalVars.RightArmColorID = iline11;
|
||||
|
||||
int iline12 = Convert.ToInt32(Decryptline12);
|
||||
GlobalVars.LeftLegColorID = iline12;
|
||||
|
||||
int iline13 = Convert.ToInt32(Decryptline13);
|
||||
GlobalVars.RightLegColorID = iline13;
|
||||
|
||||
GlobalVars.ColorMenu_HeadColor = Decryptline14;
|
||||
GlobalVars.ColorMenu_TorsoColor = Decryptline15;
|
||||
GlobalVars.ColorMenu_LeftArmColor = Decryptline16;
|
||||
GlobalVars.ColorMenu_RightArmColor = Decryptline17;
|
||||
GlobalVars.ColorMenu_LeftLegColor = Decryptline18;
|
||||
GlobalVars.ColorMenu_RightLegColor = Decryptline19;
|
||||
|
||||
int iline20 = Convert.ToInt32(Decryptline20);
|
||||
GlobalVars.Custom_TShirt = iline20;
|
||||
int iline21 = Convert.ToInt32(Decryptline21);
|
||||
GlobalVars.Custom_Shirt = iline21;
|
||||
int iline22 = Convert.ToInt32(Decryptline22);
|
||||
GlobalVars.Custom_Pants = iline22;
|
||||
|
||||
GlobalVars.Custom_IconType = Decryptline23;
|
||||
|
||||
GlobalVars.FaceID = Decryptline24;
|
||||
GlobalVars.HeadID = Decryptline25;
|
||||
|
||||
bool bline26 = Convert.ToBoolean(Decryptline26);
|
||||
GlobalVars.AdminMode = bline26;
|
||||
}
|
||||
|
||||
public static void ReadServerPrefs(string cfgpath)
|
||||
{
|
||||
string line1;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8, Decryptline9, Decryptline10, Decryptline11, Decryptline12, Decryptline13, Decryptline14, Decryptline15;
|
||||
|
||||
using(StreamReader reader = new StreamReader(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\" + cfgpath))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||
Decryptline9 = SecurityFuncs.Base64Decode(result[8]);
|
||||
Decryptline10 = SecurityFuncs.Base64Decode(result[9]);
|
||||
Decryptline11 = SecurityFuncs.Base64Decode(result[10]);
|
||||
Decryptline12 = SecurityFuncs.Base64Decode(result[11]);
|
||||
Decryptline13 = SecurityFuncs.Base64Decode(result[12]);
|
||||
Decryptline14 = SecurityFuncs.Base64Decode(result[13]);
|
||||
Decryptline15 = SecurityFuncs.Base64Decode(result[14]);
|
||||
|
||||
GlobalVars.Map = Decryptline1;
|
||||
|
||||
int iline2 = Convert.ToInt32(Decryptline2);
|
||||
GlobalVars.ServerPort = iline2;
|
||||
|
||||
int iline3 = Convert.ToInt32(Decryptline3);
|
||||
GlobalVars.DefaultRobloxPort = iline3;
|
||||
|
||||
int iline4 = Convert.ToInt32(Decryptline4);
|
||||
GlobalVars.PlayerLimit = iline4;
|
||||
|
||||
int iline5 = Convert.ToInt32(Decryptline5);
|
||||
GlobalVars.RespawnTime = iline5;
|
||||
|
||||
int iline6 = Convert.ToInt32(Decryptline6);
|
||||
GlobalVars.blacklist1 = iline6;
|
||||
int iline7 = Convert.ToInt32(Decryptline7);
|
||||
GlobalVars.blacklist2 = iline7;
|
||||
int iline8 = Convert.ToInt32(Decryptline8);
|
||||
GlobalVars.blacklist3 = iline8;
|
||||
int iline9 = Convert.ToInt32(Decryptline9);
|
||||
GlobalVars.blacklist4 = iline9;
|
||||
int iline10 = Convert.ToInt32(Decryptline10);
|
||||
GlobalVars.blacklist5 = iline10;
|
||||
int iline11 = Convert.ToInt32(Decryptline11);
|
||||
GlobalVars.blacklist6 = iline11;
|
||||
int iline12 = Convert.ToInt32(Decryptline12);
|
||||
GlobalVars.blacklist7 = iline12;
|
||||
int iline13 = Convert.ToInt32(Decryptline13);
|
||||
GlobalVars.blacklist8 = iline13;
|
||||
|
||||
bool bline14 = Convert.ToBoolean(Decryptline14);
|
||||
GlobalVars.upnp = bline14;
|
||||
|
||||
GlobalVars.ChatType = Decryptline15;
|
||||
}
|
||||
|
||||
public static void WriteConfigValues(string cfgpath)
|
||||
{
|
||||
string[] lines = {
|
||||
SecurityFuncs.Base64Encode(GlobalVars.CloseOnLaunch.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.UserID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.PlayerName.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.SelectedClient.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat1ID_Offline.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat2ID_Offline.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat3ID_Offline.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.HeadColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.TorsoColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.LeftArmColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.RightArmColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.LeftLegColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.RightLegColorID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_HeadColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_TorsoColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_LeftArmColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_RightArmColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_LeftLegColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_RightLegColor.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_TShirt.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_Shirt.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_Pants.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Custom_IconType.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.FaceID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.HeadID.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.AdminMode.ToString())
|
||||
};
|
||||
File.WriteAllText(cfgpath, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||
}
|
||||
|
||||
public static void WriteServerPrefs(string cfgpath)
|
||||
{
|
||||
string[] lines = {
|
||||
SecurityFuncs.Base64Encode(GlobalVars.Map.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ServerPort.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.DefaultRobloxPort.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.PlayerLimit.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.RespawnTime.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist1.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist2.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist3.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist4.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist5.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist6.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist7.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.blacklist8.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.upnp.ToString()),
|
||||
SecurityFuncs.Base64Encode(GlobalVars.ChatType.ToString())
|
||||
};
|
||||
File.WriteAllText(cfgpath, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||
}
|
||||
|
||||
public static void ResetConfigValues()
|
||||
{
|
||||
string line1;
|
||||
string Decryptline2;
|
||||
using(StreamReader reader = new StreamReader(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\info.txt"))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
|
||||
GlobalVars.CloseOnLaunch = false;
|
||||
GlobalVars.UserID = 0;
|
||||
GlobalVars.PlayerName = "Player";
|
||||
GlobalVars.SelectedClient = Decryptline2;
|
||||
GlobalVars.ServerPort = 53640;
|
||||
GlobalVars.Custom_Hat1ID_Offline = "NoHat.rbxm";
|
||||
GlobalVars.Custom_Hat2ID_Offline = "NoHat.rbxm";
|
||||
GlobalVars.Custom_Hat3ID_Offline = "NoHat.rbxm";
|
||||
GlobalVars.HeadColorID = 24;
|
||||
GlobalVars.TorsoColorID = 23;
|
||||
GlobalVars.LeftArmColorID = 24;
|
||||
GlobalVars.RightArmColorID = 24;
|
||||
GlobalVars.LeftLegColorID = 119;
|
||||
GlobalVars.RightLegColorID = 119;
|
||||
GlobalVars.ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
GlobalVars.ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
|
||||
GlobalVars.ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
GlobalVars.ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||
GlobalVars.ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||
GlobalVars.ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||
GlobalVars.Custom_TShirt = 0;
|
||||
GlobalVars.Custom_Shirt = 0;
|
||||
GlobalVars.Custom_Pants = 0;
|
||||
GlobalVars.Custom_IconType = "NBC";
|
||||
GlobalVars.AdminMode = false;
|
||||
}
|
||||
|
||||
public static void ResetServerPrefs()
|
||||
{
|
||||
GlobalVars.Map = "Baseplate.rbxl";
|
||||
GlobalVars.ServerPort = 53640;
|
||||
GlobalVars.DefaultRobloxPort = 53640;
|
||||
GlobalVars.PlayerLimit = 12;
|
||||
GlobalVars.RespawnTime = 5;
|
||||
GlobalVars.upnp = true;
|
||||
GlobalVars.blacklist1 = 0;
|
||||
GlobalVars.blacklist2 = 0;
|
||||
GlobalVars.blacklist3 = 0;
|
||||
GlobalVars.blacklist4 = 0;
|
||||
GlobalVars.blacklist5 = 0;
|
||||
GlobalVars.blacklist6 = 0;
|
||||
GlobalVars.blacklist7 = 0;
|
||||
GlobalVars.blacklist8 = 0;
|
||||
GlobalVars.ChatType = "Both";
|
||||
}
|
||||
|
||||
public static void ReadClientValues(string clientpath)
|
||||
{
|
||||
string line1;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8;
|
||||
|
||||
using(StreamReader reader = new StreamReader(clientpath))
|
||||
{
|
||||
line1 = reader.ReadLine();
|
||||
}
|
||||
|
||||
if (!SecurityFuncs.IsBase64String(line1))
|
||||
return;
|
||||
|
||||
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||
string[] result = ConvertedLine.Split('|');
|
||||
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||
|
||||
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||
GlobalVars.UsesPlayerName = bline1;
|
||||
|
||||
bool bline2 = Convert.ToBoolean(Decryptline2);
|
||||
GlobalVars.UsesID = bline2;
|
||||
|
||||
bool bline3 = Convert.ToBoolean(Decryptline3);
|
||||
GlobalVars.LoadsAssetsOnline = bline3;
|
||||
|
||||
bool bline4 = Convert.ToBoolean(Decryptline4);
|
||||
GlobalVars.LegacyMode = bline4;
|
||||
|
||||
bool bline5 = Convert.ToBoolean(Decryptline5);
|
||||
GlobalVars.HasRocky = bline5;
|
||||
|
||||
GlobalVars.SelectedClientMD5 = Decryptline6;
|
||||
|
||||
int iline7 = Convert.ToInt32(Decryptline7);
|
||||
GlobalVars.SelectedClientVersion = iline7;
|
||||
|
||||
GlobalVars.SelectedClientDesc = Decryptline8;
|
||||
|
||||
GlobalVars.MD5 = GlobalVars.SelectedClientMD5;
|
||||
}
|
||||
|
||||
public static void ReadClientValuesBCC(string ClientName)
|
||||
{
|
||||
string clientpath = GlobalVars.ClientDir + @"\\" + ClientName + @"\\clientinfo.txt";
|
||||
|
||||
if (!File.Exists(clientpath))
|
||||
{
|
||||
GlobalVars.SelectedClient = "2008";
|
||||
}
|
||||
|
||||
ReadClientValues(clientpath);
|
||||
}
|
||||
|
||||
public static void GeneratePlayerID()
|
||||
{
|
||||
CryptoRandom random = new CryptoRandom();
|
||||
int randomID = 0;
|
||||
int randIDmode = random.Next(0,7);
|
||||
if (randIDmode == 0)
|
||||
{
|
||||
randomID = random.Next(0, 99);
|
||||
}
|
||||
else if (randIDmode == 1)
|
||||
{
|
||||
randomID = random.Next(0, 999);
|
||||
}
|
||||
else if (randIDmode == 2)
|
||||
{
|
||||
randomID = random.Next(0, 9999);
|
||||
}
|
||||
else if (randIDmode == 3)
|
||||
{
|
||||
randomID = random.Next(0, 99999);
|
||||
}
|
||||
else if (randIDmode == 4)
|
||||
{
|
||||
randomID = random.Next(0, 999999);
|
||||
}
|
||||
else if (randIDmode == 5)
|
||||
{
|
||||
randomID = random.Next(0, 9999999);
|
||||
}
|
||||
else if (randIDmode == 6)
|
||||
{
|
||||
randomID = random.Next(0, 99999999);
|
||||
}
|
||||
else if (randIDmode == 7)
|
||||
{
|
||||
randomID = random.Next();
|
||||
}
|
||||
//2147483647 is max id.
|
||||
GlobalVars.UserID = randomID;
|
||||
}
|
||||
}
|
||||
|
||||
public class SecurityFuncs
|
||||
{
|
||||
public SecurityFuncs()
|
||||
{
|
||||
}
|
||||
|
||||
public static string Base64Decode(string base64EncodedData)
|
||||
{
|
||||
var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData);
|
||||
return System.Text.Encoding.UTF8.GetString(base64EncodedBytes);
|
||||
}
|
||||
|
||||
public static string Base64Encode(string plainText)
|
||||
{
|
||||
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
|
||||
return System.Convert.ToBase64String(plainTextBytes);
|
||||
}
|
||||
|
||||
public static bool IsBase64String(string s)
|
||||
{
|
||||
s = s.Trim();
|
||||
return (s.Length % 4 == 0) && Regex.IsMatch(s, @"^[a-zA-Z0-9\+/]*={0,3}$", RegexOptions.None);
|
||||
}
|
||||
|
||||
public static bool checkClientMD5(string client)
|
||||
{
|
||||
string rbxexe = "";
|
||||
if (GlobalVars.LegacyMode == true)
|
||||
{
|
||||
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + client + "\\RobloxApp.exe";
|
||||
}
|
||||
else
|
||||
{
|
||||
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + client + "\\RobloxPlayer.exe";
|
||||
}
|
||||
using (var md5 = MD5.Create())
|
||||
{
|
||||
using (var stream = File.OpenRead(rbxexe))
|
||||
{
|
||||
byte[] hash = md5.ComputeHash(stream);
|
||||
string clientMD5 = BitConverter.ToString(hash).Replace("-", "");
|
||||
if (clientMD5.Equals(GlobalVars.MD5))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GlobalVars.AdminMode == false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static bool checkScriptMD5()
|
||||
{
|
||||
string rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\scripts\\CSMPFunctions.lua";
|
||||
using (var md5 = MD5.Create())
|
||||
{
|
||||
using (var stream = File.OpenRead(rbxexe))
|
||||
{
|
||||
byte[] hash = md5.ComputeHash(stream);
|
||||
string clientMD5 = BitConverter.ToString(hash).Replace("-", "");
|
||||
if (clientMD5.Equals(GlobalVars.DefaultScriptMD5))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GlobalVars.AdminMode == false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetLocalIPAddress()
|
||||
{
|
||||
string str = "";
|
||||
foreach (IPAddress address in Dns.GetHostEntry(Dns.GetHostName()).AddressList)
|
||||
{
|
||||
if (address.AddressFamily == AddressFamily.InterNetwork)
|
||||
{
|
||||
str = address.ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
class CryptoRandom : RandomNumberGenerator
|
||||
{
|
||||
private static RandomNumberGenerator r;
|
||||
|
||||
public CryptoRandom()
|
||||
{
|
||||
r = RandomNumberGenerator.Create();
|
||||
}
|
||||
|
||||
///<param name=”buffer”>An array of bytes to contain random numbers.</param>
|
||||
public override void GetBytes(byte[] buffer)
|
||||
{
|
||||
r.GetBytes(buffer);
|
||||
}
|
||||
|
||||
public override void GetNonZeroBytes(byte[] data)
|
||||
{
|
||||
r.GetNonZeroBytes(data);
|
||||
}
|
||||
public double NextDouble()
|
||||
{
|
||||
byte[] b = new byte[4];
|
||||
r.GetBytes(b);
|
||||
return (double)BitConverter.ToUInt32(b, 0) / UInt32.MaxValue;
|
||||
}
|
||||
|
||||
///<param name=”minValue”>The inclusive lower bound of the random number returned.</param>
|
||||
///<param name=”maxValue”>The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue.</param>
|
||||
public int Next(int minValue, int maxValue)
|
||||
{
|
||||
return (int)Math.Round(NextDouble() * (maxValue - minValue - 1)) + minValue;
|
||||
}
|
||||
public int Next()
|
||||
{
|
||||
return Next(0, Int32.MaxValue);
|
||||
}
|
||||
|
||||
///<param name=”maxValue”>The inclusive upper bound of the random number returned. maxValue must be greater than or equal 0</param>
|
||||
public int Next(int maxValue)
|
||||
{
|
||||
return Next(0, maxValue);
|
||||
}
|
||||
}
|
||||
|
||||
//Discord Rich Presence Integration :D
|
||||
public class DiscordRpc
|
||||
{
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void ReadyCallback();
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void DisconnectedCallback(int errorCode, string message);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void ErrorCallback(int errorCode, string message);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void JoinCallback(string secret);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void SpectateCallback(string secret);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void RequestCallback(JoinRequest request);
|
||||
|
||||
public struct EventHandlers
|
||||
{
|
||||
public ReadyCallback readyCallback;
|
||||
public DisconnectedCallback disconnectedCallback;
|
||||
public ErrorCallback errorCallback;
|
||||
public JoinCallback joinCallback;
|
||||
public SpectateCallback spectateCallback;
|
||||
public RequestCallback requestCallback;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public struct RichPresence
|
||||
{
|
||||
public string state; /* max 128 bytes */
|
||||
public string details; /* max 128 bytes */
|
||||
public long startTimestamp;
|
||||
public long endTimestamp;
|
||||
public string largeImageKey; /* max 32 bytes */
|
||||
public string largeImageText; /* max 128 bytes */
|
||||
public string smallImageKey; /* max 32 bytes */
|
||||
public string smallImageText; /* max 128 bytes */
|
||||
public string partyId; /* max 128 bytes */
|
||||
public int partySize;
|
||||
public int partyMax;
|
||||
public string matchSecret; /* max 128 bytes */
|
||||
public string joinSecret; /* max 128 bytes */
|
||||
public string spectateSecret; /* max 128 bytes */
|
||||
public bool instance;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public struct JoinRequest
|
||||
{
|
||||
public string userId;
|
||||
public string username;
|
||||
public string avatar;
|
||||
}
|
||||
|
||||
public enum Reply
|
||||
{
|
||||
No = 0,
|
||||
Yes = 1,
|
||||
Ignore = 2
|
||||
}
|
||||
|
||||
[DllImport("discord-rpc", EntryPoint = "Discord_Initialize", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Initialize(string applicationId, ref EventHandlers handlers, bool autoRegister, string optionalSteamId);
|
||||
|
||||
[DllImport("discord-rpc", EntryPoint = "Discord_Shutdown", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Shutdown();
|
||||
|
||||
[DllImport("discord-rpc", EntryPoint = "Discord_RunCallbacks", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void RunCallbacks();
|
||||
|
||||
[DllImport("discord-rpc", EntryPoint = "Discord_UpdatePresence", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void UpdatePresence(ref RichPresence presence);
|
||||
|
||||
[DllImport("discord-rpc", EntryPoint = "Discord_Respond", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Respond(string userId, Reply reply);
|
||||
}
|
||||
|
||||
public static class TextLineRemover
|
||||
{
|
||||
public static void RemoveTextLines(IList<string> linesToRemove, string filename, string tempFilename)
|
||||
{
|
||||
// Initial values
|
||||
int lineNumber = 0;
|
||||
int linesRemoved = 0;
|
||||
DateTime startTime = DateTime.Now;
|
||||
|
||||
// Read file
|
||||
using (var sr = new StreamReader(filename))
|
||||
{
|
||||
// Write new file
|
||||
using (var sw = new StreamWriter(tempFilename))
|
||||
{
|
||||
// Read lines
|
||||
string line;
|
||||
while ((line = sr.ReadLine()) != null)
|
||||
{
|
||||
lineNumber++;
|
||||
// Look for text to remove
|
||||
if (!ContainsString(line, linesToRemove))
|
||||
{
|
||||
// Keep lines that does not match
|
||||
sw.WriteLine(line);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Ignore lines that DO match
|
||||
linesRemoved++;
|
||||
InvokeOnRemovedLine(new RemovedLineArgs { RemovedLine = line, RemovedLineNumber = lineNumber});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Delete original file
|
||||
File.Delete(filename);
|
||||
|
||||
// ... and put the temp file in its place.
|
||||
File.Move(tempFilename, filename);
|
||||
|
||||
// Final calculations
|
||||
DateTime endTime = DateTime.Now;
|
||||
InvokeOnFinished(new FinishedArgs {LinesRemoved = linesRemoved, TotalLines = lineNumber, TotalTime = endTime.Subtract(startTime)});
|
||||
}
|
||||
|
||||
private static bool ContainsString(string line, IEnumerable<string> linesToRemove)
|
||||
{
|
||||
foreach (var lineToRemove in linesToRemove)
|
||||
{
|
||||
if(line.Contains(lineToRemove))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static event RemovedLine OnRemovedLine;
|
||||
public static event Finished OnFinished;
|
||||
|
||||
public static void InvokeOnFinished(FinishedArgs args)
|
||||
{
|
||||
Finished handler = OnFinished;
|
||||
if (handler != null) handler(null, args);
|
||||
}
|
||||
|
||||
public static void InvokeOnRemovedLine(RemovedLineArgs args)
|
||||
{
|
||||
RemovedLine handler = OnRemovedLine;
|
||||
if (handler != null) handler(null, args);
|
||||
}
|
||||
}
|
||||
|
||||
public delegate void Finished(object sender, FinishedArgs args);
|
||||
|
||||
public class FinishedArgs
|
||||
{
|
||||
public int TotalLines { get; set; }
|
||||
public int LinesRemoved { get; set; }
|
||||
public TimeSpan TotalTime { get; set; }
|
||||
}
|
||||
|
||||
public delegate void RemovedLine(object sender, RemovedLineArgs args);
|
||||
|
||||
public class RemovedLineArgs
|
||||
{
|
||||
public string RemovedLine { get; set; }
|
||||
public int RemovedLineNumber { get; set; }
|
||||
}
|
||||
|
||||
// you need this once (only), and it must be in this namespace
|
||||
/*
|
||||
namespace System.Runtime.CompilerServices
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class
|
||||
| AttributeTargets.Method)]
|
||||
public sealed class ExtensionAttribute : Attribute {}
|
||||
}
|
||||
*/
|
||||
|
||||
public static class RichTextBoxExtensions
|
||||
{
|
||||
public static void AppendText(this RichTextBox box, string text, Color color)
|
||||
{
|
||||
box.SelectionStart = box.TextLength;
|
||||
box.SelectionLength = 0;
|
||||
|
||||
box.SelectionColor = color;
|
||||
box.AppendText(text);
|
||||
box.SelectionColor = box.ForeColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue