Decompile an .swf file ?

06/29/2013 01:14 Rayfi#1
Hi everyone,

By searching files on LoL, I saw a file that should be interesting

C:/Riot Games/League of Legends/RADS/projects/lol_air_client/releases/0.0.1.30/deploy/assets/customgame/tournamentCode.swf

There are certainly within the tournament code of league of legends no ?

So I wanted to know how can we see the source code of a file .swf not animated.

Thanks you in advance.
06/29/2013 01:34 muk-as#2
google

swf decompiler
and u can see ActionScript files in swf and others
06/29/2013 01:38 Rayfi#3
Link please ?

Rather avoid downloading something that does not answer my services.
06/29/2013 01:43 I3URN3R#4
[Only registered and activated users can see links. Click Here To Register...]
06/29/2013 01:46 Rayfi#5
This [Only registered and activated users can see links. Click Here To Register...]

Is good ?
06/29/2013 09:59 --cheers#6
there is nothing interesting in this file
06/29/2013 13:06 'Gatekeeper#7
Quote:
package tc { import flash.display.*; import flash.text.*; public dynamic class TournamentCodePanel extends movieclip { public var codeInput:textfield; public var codeValidationText:textfield; public var joinGameButton:movieclip; } }//package tc
Nothing to see here.
06/29/2013 19:52 Rayfi#8
Yes, I see.

If you have any interesting files and if you have good in ActionScript, let's share here.
06/30/2013 03:22 'Gatekeeper#9
i have modded files for custom gamemodes but i wont share them here ;) since all questiones are done, wergez or zorkas can close this byebye have agood night (i live alc) cya
08/19/2014 19:06 eddy5641#10
To create a tournament code, use this code [c# Using PVPNetConnect]:
private PracticeGameConfig GenerateGameConfig()
{
try
{
NameInvalidLabel.Visibility = Visibility.Hidden;
PracticeGameConfig gameConfig = new PracticeGameConfig();
gameConfig.GameName = NameTextBox.Text;
gameConfig.GamePassword = PasswordTextBox.Text;
gameConfig.MaxNumPlayers = Convert.ToInt32(TeamSizeComboBox.SelectedItem) * 2;
switch ((string)GameTypeComboBox.SelectedItem)
{
case "Blind Pick":
gameConfig.GameTypeConfig = 1;
break;

case "No Ban Draft":
gameConfig.GameTypeConfig = 3;
break;

case "All Random":
gameConfig.GameTypeConfig = 4;
break;

case "Open Pick":
gameConfig.GameTypeConfig = 5;
break;

case "Blind Draft":
gameConfig.GameTypeConfig = 7;
break;

case "Infinite Time Blind Pick":
gameConfig.GameTypeConfig = 11;
break;

case "One for All":
gameConfig.GameTypeConfig = 14;
break;

case "Captain Pick":
gameConfig.GameTypeConfig = 12;
break;

default: //Tournament Draft
gameConfig.GameTypeConfig = 6;
break;
}
switch ((string)((Label)MapListBox.SelectedItem).Content)
{
case "The Crystal Scar":
gameConfig.GameMap = GameMap.TheCrystalScar;
gameConfig.GameMode = "ODIN";
break;

case "Howling Abyss":
gameConfig.GameMap = GameMap.HowlingAbyss;
gameConfig.GameMode = "ARAM";
break;

case "The Twisted Treeline":
gameConfig.GameMap = GameMap.TheTwistedTreeline;
gameConfig.GameMode = "CLASSIC";
if (gameConfig.MaxNumPlayers > 6)
{
NameInvalidLabel.Content = "Team size must be lower or equal to 3";
NameInvalidLabel.Visibility = Visibility.Visible;
CreateGameButton.IsEnabled = false;
return gameConfig;
}
break;

default:
gameConfig.GameMap = GameMap.SummonersRift;
gameConfig.GameMode = "CLASSIC";
break;
}
switch ((string)AllowSpectatorsComboBox.SelectedItem)
{
case "None":
gameConfig.AllowSpectators = "NONE";
break;

case "Lobby Only":
gameConfig.AllowSpectators = "LOBBYONLY";
break;

case "Friends List Only":
gameConfig.AllowSpectators = "DROPINONLY";
break;

default:
gameConfig.AllowSpectators = "ALL";
break;
}
CreateGameButton.IsEnabled = true;
return gameConfig;
}
catch { return null; }
}