| @@ -0,0 +1,130 @@ | ||
| using UnityEngine; | ||
| using System.Collections; | ||
| using UnityEngine.UI; | ||
|
|
||
| // The game controller will classify and decide which will be a server | ||
| // when a class is a server this will hold all of the functionality to update clients | ||
| public class ServerVars : MonoBehaviour { | ||
|
|
||
| public float current_size; | ||
| public CanvasGroup start_game; | ||
| public bool game_started = false; | ||
|
|
||
| // games timed values stored on server for rounds | ||
| public static float round_time = 10; | ||
| public static float game_timer; | ||
|
|
||
| // games current killer | ||
| public bool killer_selected = false; | ||
| public int killer = 0; | ||
| private bool round_complete = false; | ||
|
|
||
|
|
||
|
|
||
| // Simple UI Functions to be used on buttons | ||
| public void startGame(){ | ||
| game_started = true; | ||
|
|
||
| } | ||
|
|
||
| void Start () { | ||
| game_timer = round_time; | ||
|
|
||
| } | ||
|
|
||
| // Update is called once per frame | ||
| void Update () { | ||
| if(Network.isServer){ | ||
| float new_size = FindObjectOfType<GameController> ().GetComponent<Canvas> ().scaleFactor; | ||
| networkView.RPC("updateSize", RPCMode.All, new_size); | ||
| networkView.RPC("updateGameStart", RPCMode.All, game_started); | ||
| if(game_started){ | ||
| // when the game begins select a killer | ||
| if(!killer_selected){ | ||
| CharacterController[] players = FindObjectsOfType<CharacterController>(); | ||
| killer = Random.Range(0, players.Length); | ||
| killer_selected = true; | ||
| networkView.RPC("updateKiller", RPCMode.All, killer); | ||
| } | ||
| // next increment through the rounds | ||
| else if(round_complete == true){ | ||
| CharacterController[] players = FindObjectsOfType<CharacterController>(); | ||
| bool k_found = true; | ||
| // check if the other players have found the killer | ||
| for(int i = 0; i<players.Length; i++){ | ||
| if(players[i].guess_target != killer && players[i].currentID != killer){ | ||
| k_found = false; | ||
| } | ||
| } | ||
|
|
||
| if(k_found == false){ | ||
| for(int i = 0; i<players.Length; i++){ | ||
| if(players[i].currentID == killer && k_found == false){ | ||
| for(int j = 0; j < players.Length; j++){ | ||
| if(players[j].currentID == players[i].guess_target){ | ||
| players[j].living = false; | ||
| } | ||
| } | ||
| } | ||
| else{ | ||
|
|
||
| } | ||
| } | ||
| } | ||
| round_complete = false; | ||
| } | ||
| else{ | ||
| incrementRounds(); | ||
| networkView.RPC("updateTimer", RPCMode.All, game_timer); | ||
| } | ||
| } | ||
|
|
||
| if(!game_started){ | ||
| start_game.alpha = 1; | ||
| start_game.blocksRaycasts = true; | ||
| } | ||
| else{ | ||
| start_game.alpha = 0; | ||
| start_game.blocksRaycasts = false; | ||
| } | ||
|
|
||
| } | ||
| else{ | ||
| start_game.alpha = 0; | ||
| start_game.blocksRaycasts = false; | ||
| } | ||
| FindObjectOfType<GameController> ().resizePlayers (); | ||
| } | ||
|
|
||
| void incrementRounds(){ | ||
| if (game_timer > 0) { | ||
| game_timer -= Time.deltaTime; | ||
| } | ||
| else{ | ||
| game_timer = round_time; | ||
| round_complete = true; | ||
| } | ||
| } | ||
|
|
||
| [RPC] | ||
| void updateTimer(float new_timer){ | ||
| game_timer = new_timer; | ||
| } | ||
|
|
||
| [RPC] | ||
| void updateKiller(int killer_val){ | ||
| killer = killer_val; | ||
| } | ||
|
|
||
| [RPC] | ||
| void updateGameStart(bool new_start){ | ||
| game_started = new_start; | ||
| } | ||
|
|
||
|
|
||
| [RPC] | ||
| void updateSize(float new_size){ | ||
| current_size = new_size; | ||
|
|
||
| } | ||
| } |
| @@ -0,0 +1,69 @@ | ||
| using UnityEngine; | ||
| using System.Collections; | ||
| using UnityEngine.UI; | ||
|
|
||
| public class TargetPanel : MonoBehaviour { | ||
|
|
||
| public int panel_position = 0; | ||
| public ServerVars server_vars; | ||
| public CanvasGroup dead_overlay; | ||
|
|
||
| // Use this for initialization | ||
| void Start () { | ||
|
|
||
| } | ||
|
|
||
| // Update is called once per frame | ||
| void Update () { | ||
| CharacterController[] players = FindObjectsOfType<CharacterController> (); | ||
| bool player_dead = false; | ||
| for(int i = 0; i < players.Length; i++){ | ||
| if(players[i].currentID == panel_position){ | ||
| GetComponent<Image>().sprite = players[i].GetComponent<Image>().sprite; | ||
| if(players[i].living == false){ | ||
| player_dead = true; | ||
| } | ||
| } | ||
|
|
||
|
|
||
| } | ||
| if(player_dead){ | ||
| dead_overlay.alpha = 1; | ||
| dead_overlay.blocksRaycasts = true; | ||
| } | ||
| else{ | ||
| dead_overlay.alpha = 0; | ||
| dead_overlay.blocksRaycasts = false; | ||
| } | ||
|
|
||
| ServerVars serv_vars = FindObjectOfType<ServerVars> (); | ||
| GameController g_conn = FindObjectOfType < GameController >(); | ||
| if (panel_position == g_conn.playerID) { | ||
| transform.parent.GetComponent<Image>().color = Color.green; | ||
| } | ||
| else if (g_conn.curr_kill_target == panel_position) { | ||
| transform.parent.GetComponent<Image>().color = Color.red; | ||
| } | ||
| else{ | ||
| transform.parent.GetComponent<Image>().color = Color.white; | ||
| } | ||
| } | ||
|
|
||
| public void selectTarget(){ | ||
| ServerVars s = FindObjectOfType<ServerVars> (); | ||
| GameController g = FindObjectOfType < GameController >(); | ||
| CharacterController[] p = FindObjectsOfType<CharacterController> (); | ||
| if(p.Length > panel_position){ | ||
| if (g.select_target == true) { | ||
| g.curr_kill_target = panel_position; | ||
| g.display_target_selector = false; | ||
| g.select_target = false; | ||
| } | ||
| else{ | ||
| g.curr_kill_target = panel_position; | ||
|
|
||
| } | ||
| } | ||
|
|
||
| } | ||
| } |
| @@ -0,0 +1,15 @@ | ||
| using UnityEngine; | ||
| using System.Collections; | ||
|
|
||
| public class can : MonoBehaviour { | ||
|
|
||
| // Use this for initialization | ||
| void Start () { | ||
|
|
||
| } | ||
|
|
||
| // Update is called once per frame | ||
| void Update () { | ||
|
|
||
| } | ||
| } |
| @@ -0,0 +1,39 @@ | ||
| Microsoft Visual Studio Solution File, Format Version 11.00 | ||
| # Visual Studio 2008 | ||
|
|
||
| Project("{38176A39-47BD-C2E7-563D-80460B1C0600}") = "Social-Final", "Assembly-CSharp-vs.csproj", "{D8BB1960-3FCF-B781-5346-73E1DD71AE5D}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(MonoDevelopProperties) = preSolution | ||
| StartupItem = Assembly-CSharp.csproj | ||
| Policies = $0 | ||
| $0.TextStylePolicy = $1 | ||
| $1.inheritsSet = null | ||
| $1.scope = text/x-csharp | ||
| $0.CSharpFormattingPolicy = $2 | ||
| $2.inheritsSet = Mono | ||
| $2.inheritsScope = text/x-csharp | ||
| $2.scope = text/x-csharp | ||
| $0.TextStylePolicy = $3 | ||
| $3.FileWidth = 120 | ||
| $3.TabWidth = 4 | ||
| $3.EolMarker = Unix | ||
| $3.inheritsSet = Mono | ||
| $3.inheritsScope = text/plain | ||
| $3.scope = text/plain | ||
| EndGlobalSection | ||
|
|
||
| EndGlobal |
| @@ -0,0 +1,39 @@ | ||
| Microsoft Visual Studio Solution File, Format Version 11.00 | ||
| # Visual Studio 2008 | ||
|
|
||
| Project("{38176A39-47BD-C2E7-563D-80460B1C0600}") = "Social-Final", "Assembly-CSharp.csproj", "{D8BB1960-3FCF-B781-5346-73E1DD71AE5D}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {D8BB1960-3FCF-B781-5346-73E1DD71AE5D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(MonoDevelopProperties) = preSolution | ||
| StartupItem = Assembly-CSharp.csproj | ||
| Policies = $0 | ||
| $0.TextStylePolicy = $1 | ||
| $1.inheritsSet = null | ||
| $1.scope = text/x-csharp | ||
| $0.CSharpFormattingPolicy = $2 | ||
| $2.inheritsSet = Mono | ||
| $2.inheritsScope = text/x-csharp | ||
| $2.scope = text/x-csharp | ||
| $0.TextStylePolicy = $3 | ||
| $3.FileWidth = 120 | ||
| $3.TabWidth = 4 | ||
| $3.EolMarker = Unix | ||
| $3.inheritsSet = Mono | ||
| $3.inheritsScope = text/plain | ||
| $3.scope = text/plain | ||
| EndGlobalSection | ||
|
|
||
| EndGlobal |
| @@ -0,0 +1,15 @@ | ||
| <Properties> | ||
| <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="MonoDevelop.Default" /> | ||
| <MonoDevelop.Ide.Workbench ActiveDocument="Assets\Created Assets\Scripts\TargetPanel.cs"> | ||
| <Files> | ||
| <File FileName="Assets\Created Assets\Scripts\ServerVars.cs" Line="44" Column="59" /> | ||
| <File FileName="Assets\Created Assets\Scripts\GameController.cs" Line="124" Column="2" /> | ||
| <File FileName="Assets\Created Assets\Scripts\CharacterController.cs" Line="34" Column="8" /> | ||
| <File FileName="Assets\Created Assets\Scripts\TargetPanel.cs" Line="4" Column="43" /> | ||
| </Files> | ||
| </MonoDevelop.Ide.Workbench> | ||
| <MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
| <BreakpointStore /> | ||
| </MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
| <MonoDevelop.Ide.DebuggingService.PinnedWatches /> | ||
| </Properties> |
| @@ -0,0 +1,42 @@ | ||
| <!-- | ||
| This file defines some of the browsers that Microsoft's implementation provides in | ||
| <windir>\Microsoft.NET\Framework\<ver>\CONFIG\Browsers\*.browser | ||
|
|
||
| It is not derived from any file distributed with Microsoft's implementation. Since | ||
| we can't distribute MS's browser files, we use browscap.ini to determine | ||
| browser capabilities. Then, if and only if the application contains App_Browser/*.browser | ||
| files and we are using .NET 2.0 or higher, we supplement the capabilities with the | ||
| information in those files and the files in this directory. The primary goal of this file | ||
| is provide browser definitions that might be referenced in App_Browser/*.browser files. | ||
| --> | ||
| <browsers> | ||
| <defaultBrowser id="Default"> | ||
| </defaultBrowser> | ||
| <browser id="Default"> | ||
| <identification> | ||
| <userAgent match="." /> | ||
| </identification> | ||
| </browser> | ||
| <browser id="IE6to9" parentID="Default"> | ||
| <identification> | ||
| <capability name="majorver" match="^[6-9]" /> | ||
| <capability name="browser" match="^(IE|AOL)$" /> | ||
| </identification> | ||
| </browser> | ||
| <browser id="Opera8to9" parentID="Default"> | ||
| <identification> | ||
| <capability name="majorver" match="^[8-9]" /> | ||
| <capability name="browser" match="^Opera$" /> | ||
| </identification> | ||
| </browser> | ||
| <browser id="Safari" parentID="Default"> | ||
| <identification> | ||
| <capability name="browser" match="^Safari$" /> | ||
| </identification> | ||
| </browser> | ||
| <browser id="Mozilla" parentID="Default"> | ||
| <identification> | ||
| <capability name="browser" match="^Mozilla" /> | ||
| </identification> | ||
| </browser> | ||
| </browsers> |
| @@ -0,0 +1,48 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <settingsMap> | ||
| <map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | ||
| mapperType="Mono.Web.Util.MembershipSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" | ||
| platform="Unix"> | ||
|
|
||
| <!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be | ||
| any expression understood by the mapper to designate the section region to modify. | ||
| --> | ||
| <what value="providers"> | ||
| <!-- 'what' can contain any number of occurrences of any three elements: | ||
| replace - replace the designated region | ||
| add - add a new entry to the region | ||
| clear - clear the region | ||
| remove - remove the designatedregion | ||
| The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the | ||
| mapper to peruse. | ||
| --> | ||
| <replace name="AspNetSqlMembershipProvider" | ||
| type="System.Web.Security.SqliteMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | ||
| connectionStringName="LocalSqliteServer" /> | ||
| </what> | ||
| </map> | ||
|
|
||
| <map sectionType="System.Web.Configuration.RoleManagerSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | ||
| mapperType="Mono.Web.Util.RoleManagerSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" | ||
| platform="Unix"> | ||
|
|
||
| <!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be | ||
| any expression understood by the mapper to designate the section region to modify. | ||
| --> | ||
| <what value="providers"> | ||
| <!-- 'what' can contain any number of occurrences of any three elements: | ||
| replace - replace the designated region | ||
| add - add a new entry to the region | ||
| clear - clear the region | ||
| remove - remove the designatedregion | ||
| The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the | ||
| mapper to peruse. | ||
| --> | ||
| <replace name="AspNetSqlRoleProvider" | ||
| type="System.Web.Security.SqliteRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | ||
| connectionStringName="LocalSqliteServer" /> | ||
| </what> | ||
| </map> | ||
| </settingsMap> |
| @@ -0,0 +1,154 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
|
|
||
| <configuration> | ||
|
|
||
| <system.web> | ||
| <monoSettings> | ||
| <compilersCompatibility> | ||
| <compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/nowarn:0169" | ||
| type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
| </compilersCompatibility> | ||
| </monoSettings> | ||
|
|
||
| <authorization> | ||
| <allow users="*" /> | ||
| </authorization> | ||
| <httpHandlers> | ||
| <add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.master" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.resources" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.skin" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.browser" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.sitemap" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.webinfo" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.resx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.Config" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.vb" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.csproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.vbproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.licx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.dll" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /> | ||
| <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /> | ||
| <add verb="*" path="*.svc" type="System.ServiceModel.Channels.SvcHttpHandlerFactory, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
| <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| </httpHandlers> | ||
| <httpModules> | ||
| <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add name="RoleManager" type="System.Web.Security.RoleManagerModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| </httpModules> | ||
| <authentication mode="Forms"> | ||
| <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/"> | ||
| <credentials passwordFormat="Clear"> | ||
| <!--<user name="gonzalo" password="gonz"/>--> | ||
| </credentials> | ||
| </forms> | ||
| </authentication> | ||
| <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" /> | ||
| <globalization requestEncoding="utf-8" | ||
| responseEncoding="utf-8" | ||
| fileEncoding="utf-8"/> | ||
| <!-- | ||
| culture="en-US" | ||
| uiculture="en-US" /> | ||
| --> | ||
| <sessionState mode="InProc" /> | ||
| <pages> | ||
| <namespaces> | ||
| <add namespace="System" /> | ||
| <add namespace="System.Collections" /> | ||
| <add namespace="System.Collections.Specialized" /> | ||
| <add namespace="System.Configuration" /> | ||
| <add namespace="System.Text" /> | ||
| <add namespace="System.Text.RegularExpressions" /> | ||
| <add namespace="System.Web" /> | ||
| <add namespace="System.Web.Caching" /> | ||
| <add namespace="System.Web.SessionState" /> | ||
| <add namespace="System.Web.Security" /> | ||
| <add namespace="System.Web.Profile" /> | ||
| <add namespace="System.Web.UI" /> | ||
| <add namespace="System.Web.UI.WebControls" /> | ||
| <!-- <add namespace="System.Web.UI.WebControls.WebParts" /> --> | ||
| <add namespace="System.Web.UI.HtmlControls" /> | ||
| </namespaces> | ||
| </pages> | ||
| <webControls clientScriptsLocation="/web_scripts" /> | ||
| <compilation debug="false" defaultLanguage="c#" explicit="true" strict="false" > | ||
| <assemblies> | ||
| <!--<add assembly="mscorlib" /> --> | ||
| <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
| <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
| <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/> | ||
| <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/> | ||
| <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> | ||
| <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> | ||
| <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
| <add assembly="*" /> <!-- Add assemblies in bin directory --> | ||
| </assemblies> | ||
| <expressionBuilders> | ||
| <add expressionPrefix="Resources" | ||
| type="System.Web.Compilation.ResourceExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add expressionPrefix="ConnectionStrings" | ||
| type="System.Web.Compilation.ConnectionStringsExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| <add expressionPrefix="AppSettings" | ||
| type="System.Web.Compilation.AppSettingsExpressionBuilder, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
| </expressionBuilders> | ||
| <buildProviders> | ||
| <add extension=".aspx" type="System.Web.Compilation.PageBuildProvider" /> | ||
| <add extension=".ascx" type="System.Web.Compilation.UserControlBuildProvider" /> | ||
| <add extension=".master" type="System.Web.Compilation.MasterPageBuildProvider" /> | ||
| <add extension=".asmx" type="System.Web.Compilation.WebServiceBuildProvider" /> | ||
| <add extension=".ashx" type="System.Web.Compilation.WebHandlerBuildProvider" /> | ||
| <add extension=".soap" type="System.Web.Compilation.WebServiceBuildProvider" /> | ||
| <add extension=".resx" type="System.Web.Compilation.ResXBuildProvider" /> | ||
| <add extension=".resources" type="System.Web.Compilation.ResourcesBuildProvider" /> | ||
| <add extension=".wsdl" type="System.Web.Compilation.WsdlBuildProvider" /> | ||
| <add extension=".xsd" type="System.Web.Compilation.XsdBuildProvider" /> | ||
| <add extension=".js" type="System.Web.Compilation.ForceCopyBuildProvider" /> | ||
| <add extension=".lic" type="System.Web.Compilation.IgnoreFileBuildProvider" /> | ||
| <add extension=".licx" type="System.Web.Compilation.IgnoreFileBuildProvider" /> | ||
| <add extension=".exclude" type="System.Web.Compilation.IgnoreFileBuildProvider" /> | ||
| <add extension=".refresh" type="System.Web.Compilation.IgnoreFileBuildProvider" /> | ||
| </buildProviders> | ||
| </compilation> | ||
| <httpRuntime executionTimeout="110" | ||
| maxRequestLength="4096" | ||
| useFullyQualifiedRedirectUrl="false" | ||
| minFreeThreads="8" | ||
| minLocalRequestFreeThreads="4" | ||
| appRequestQueueLimit="5000" /> | ||
| <clientTarget> | ||
| <add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" /> | ||
| <add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" /> | ||
| <add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" /> | ||
| <add alias="downlevel" userAgent="Unknown" /> | ||
| </clientTarget> | ||
|
|
||
| <siteMap> | ||
| <providers> | ||
| <add name="AspNetXmlSiteMapProvider" | ||
| description="Default site map provider that reads in .sitemap xml files." | ||
| type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | ||
| siteMapFile="Web.sitemap" /> | ||
| </providers> | ||
| </siteMap> | ||
| </system.web> | ||
|
|
||
| </configuration> |
| @@ -0,0 +1,27 @@ | ||
| <configuration> | ||
| <dllmap dll="i:cygwin1.dll" target="libc.dylib" os="!windows" /> | ||
| <dllmap dll="libc" target="libc.dylib" os="!windows"/> | ||
| <dllmap dll="intl" target="libintl.dylib" os="!windows"/> | ||
| <dllmap dll="intl" name="bind_textdomain_codeset" target="libc.dylib" os="solaris"/> | ||
| <dllmap dll="libintl" name="bind_textdomain_codeset" target="libc.dylib" os="solaris"/> | ||
| <dllmap dll="libintl" target="libintl.dylib" os="!windows"/> | ||
| <dllmap dll="i:libxslt.dll" target="libxslt.dylib" os="!windows"/> | ||
| <dllmap dll="i:odbc32.dll" target="libodbc.dylib" os="!windows"/> | ||
| <dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/> | ||
| <dllmap dll="oci" target="libclntsh.dylib" os="!windows"/> | ||
| <dllmap dll="db2cli" target="libdb2_36.dylib" os="!windows"/> | ||
| <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.dylib" os="!windows" /> | ||
| <dllmap dll="i:msvcrt" target="libc.dylib" os="!windows"/> | ||
| <dllmap dll="i:msvcrt.dll" target="libc.dylib" os="!windows"/> | ||
| <dllmap dll="sqlite" target="libsqlite.0.dylib" os="!windows"/> | ||
| <dllmap dll="sqlite3" target="libsqlite3.0.dylib" os="!windows"/> | ||
| <dllmap dll="libX11" target="libX11.dylib" os="!windows" /> | ||
| <dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/> | ||
| <dllmap dll="libcups" target="libcups.so.2" os="!windows"/> | ||
| <dllmap dll="i:kernel32.dll"> | ||
| <dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/> | ||
| <dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/> | ||
| <dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/> | ||
| <dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/> | ||
| </dllmap> | ||
| </configuration> |
| @@ -0,0 +1 @@ | ||
| listen 3902588235 0 0 |
| @@ -0,0 +1,47 @@ | ||
| -debug | ||
| -target:library | ||
| -nowarn:0169 | ||
| -out:Temp/Assembly-CSharp.dll | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/Managed/UnityEngine.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/4.6.1/UnityEngine.UI.dll" | ||
| -define:UNITY_4_6_1 | ||
| -define:UNITY_4_6 | ||
| -define:UNITY_STANDALONE_WIN | ||
| -define:ENABLE_MICROPHONE | ||
| -define:ENABLE_TEXTUREID_MAP | ||
| -define:ENABLE_UNITYEVENTS | ||
| -define:ENABLE_NEW_HIERARCHY | ||
| -define:ENABLE_AUDIO_FMOD | ||
| -define:UNITY_STANDALONE | ||
| -define:ENABLE_MONO | ||
| -define:ENABLE_TERRAIN | ||
| -define:ENABLE_SUBSTANCE | ||
| -define:ENABLE_GENERICS | ||
| -define:INCLUDE_WP8SUPPORT | ||
| -define:ENABLE_MOVIES | ||
| -define:ENABLE_WWW | ||
| -define:ENABLE_IMAGEEFFECTS | ||
| -define:ENABLE_4_6_FEATURES | ||
| -define:INCLUDE_WP_BLUE_SUPPORT | ||
| -define:ENABLE_WEBCAM | ||
| -define:INCLUDE_METROSUPPORT | ||
| -define:RENDER_SOFTWARE_CURSOR | ||
| -define:ENABLE_NETWORK | ||
| -define:ENABLE_PHYSICS | ||
| -define:ENABLE_CACHING | ||
| -define:ENABLE_CLOTH | ||
| -define:ENABLE_2D_PHYSICS | ||
| -define:ENABLE_SHADOWS | ||
| -define:ENABLE_AUDIO | ||
| -define:ENABLE_NAVMESH_CARVING | ||
| -define:ENABLE_DUCK_TYPING | ||
| -define:ENABLE_SINGLE_INSTANCE_BUILD_SETTING | ||
| "Assets/Created Assets/Scripts/CharacterController.cs" | ||
| "Assets/Created Assets/Scripts/GameController.cs" | ||
| "Assets/Created Assets/Scripts/MenuScreen.cs" | ||
| "Assets/Created Assets/Scripts/MenuToggle.cs" | ||
| "Assets/Created Assets/Scripts/ServerVars.cs" | ||
| "Assets/Created Assets/Scripts/TargetPanel.cs" | ||
| Assets/can.cs | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Runtime.Serialization.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Xml.Linq.dll" |
| @@ -0,0 +1,51 @@ | ||
| -debug | ||
| -target:library | ||
| -nowarn:0169 | ||
| -out:Temp/Assembly-CSharp.dll | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/4.6.1/UnityEngine.UI.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll" | ||
| -define:UNITY_4_6_1 | ||
| -define:UNITY_4_6 | ||
| -define:UNITY_STANDALONE_WIN | ||
| -define:ENABLE_MICROPHONE | ||
| -define:ENABLE_TEXTUREID_MAP | ||
| -define:ENABLE_UNITYEVENTS | ||
| -define:ENABLE_NEW_HIERARCHY | ||
| -define:ENABLE_AUDIO_FMOD | ||
| -define:UNITY_STANDALONE | ||
| -define:ENABLE_MONO | ||
| -define:ENABLE_TERRAIN | ||
| -define:ENABLE_SUBSTANCE | ||
| -define:ENABLE_GENERICS | ||
| -define:INCLUDE_WP8SUPPORT | ||
| -define:ENABLE_MOVIES | ||
| -define:ENABLE_WWW | ||
| -define:ENABLE_IMAGEEFFECTS | ||
| -define:ENABLE_4_6_FEATURES | ||
| -define:INCLUDE_WP_BLUE_SUPPORT | ||
| -define:ENABLE_WEBCAM | ||
| -define:INCLUDE_METROSUPPORT | ||
| -define:RENDER_SOFTWARE_CURSOR | ||
| -define:ENABLE_NETWORK | ||
| -define:ENABLE_PHYSICS | ||
| -define:ENABLE_CACHING | ||
| -define:ENABLE_CLOTH | ||
| -define:ENABLE_2D_PHYSICS | ||
| -define:ENABLE_SHADOWS | ||
| -define:ENABLE_AUDIO | ||
| -define:ENABLE_NAVMESH_CARVING | ||
| -define:ENABLE_DUCK_TYPING | ||
| -define:ENABLE_SINGLE_INSTANCE_BUILD_SETTING | ||
| -define:ENABLE_PROFILER | ||
| -define:UNITY_EDITOR | ||
| -define:UNITY_EDITOR_WIN | ||
| "Assets/Created Assets/Scripts/CharacterController.cs" | ||
| "Assets/Created Assets/Scripts/GameController.cs" | ||
| "Assets/Created Assets/Scripts/MenuScreen.cs" | ||
| "Assets/Created Assets/Scripts/MenuToggle.cs" | ||
| "Assets/Created Assets/Scripts/ServerVars.cs" | ||
| "Assets/Created Assets/Scripts/TargetPanel.cs" | ||
| Assets/can.cs | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Runtime.Serialization.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Xml.Linq.dll" |
| @@ -0,0 +1,51 @@ | ||
| -debug | ||
| -target:library | ||
| -nowarn:0169 | ||
| -out:Temp/Assembly-CSharp.dll | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/4.6.1/UnityEngine.UI.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll" | ||
| -define:UNITY_4_6_1 | ||
| -define:UNITY_4_6 | ||
| -define:UNITY_STANDALONE_WIN | ||
| -define:ENABLE_MICROPHONE | ||
| -define:ENABLE_TEXTUREID_MAP | ||
| -define:ENABLE_UNITYEVENTS | ||
| -define:ENABLE_NEW_HIERARCHY | ||
| -define:ENABLE_AUDIO_FMOD | ||
| -define:UNITY_STANDALONE | ||
| -define:ENABLE_MONO | ||
| -define:ENABLE_TERRAIN | ||
| -define:ENABLE_SUBSTANCE | ||
| -define:ENABLE_GENERICS | ||
| -define:INCLUDE_WP8SUPPORT | ||
| -define:ENABLE_MOVIES | ||
| -define:ENABLE_WWW | ||
| -define:ENABLE_IMAGEEFFECTS | ||
| -define:ENABLE_4_6_FEATURES | ||
| -define:INCLUDE_WP_BLUE_SUPPORT | ||
| -define:ENABLE_WEBCAM | ||
| -define:INCLUDE_METROSUPPORT | ||
| -define:RENDER_SOFTWARE_CURSOR | ||
| -define:ENABLE_NETWORK | ||
| -define:ENABLE_PHYSICS | ||
| -define:ENABLE_CACHING | ||
| -define:ENABLE_CLOTH | ||
| -define:ENABLE_2D_PHYSICS | ||
| -define:ENABLE_SHADOWS | ||
| -define:ENABLE_AUDIO | ||
| -define:ENABLE_NAVMESH_CARVING | ||
| -define:ENABLE_DUCK_TYPING | ||
| -define:ENABLE_SINGLE_INSTANCE_BUILD_SETTING | ||
| -define:ENABLE_PROFILER | ||
| -define:UNITY_EDITOR | ||
| -define:UNITY_EDITOR_WIN | ||
| "Assets/Created Assets/Scripts/CharacterController.cs" | ||
| "Assets/Created Assets/Scripts/GameController.cs" | ||
| "Assets/Created Assets/Scripts/MenuScreen.cs" | ||
| "Assets/Created Assets/Scripts/MenuToggle.cs" | ||
| "Assets/Created Assets/Scripts/ServerVars.cs" | ||
| "Assets/Created Assets/Scripts/TargetPanel.cs" | ||
| Assets/can.cs | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Runtime.Serialization.dll" | ||
| -r:"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\System.Xml.Linq.dll" |