Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

jdubz999

Member
  • Content Count

    35
  • Joined

  • Last visited

Community Reputation

1 Neutral

About jdubz999

  • Rank
    Member

Contact Methods

  1. Yea, I built almost the same rig about a year ago, works great for unity and also for arma 2. Also, if you want to bring your price down ditch the liquid cooler, they are really only if you want to overclock or if you have an i7 or above.
  2. Not sure what happened, what time did you try to download it because, it seems that there was too much traffic on it. Also does anyone have a full(paid) dropbox account. See the issue is only a certain amount of people a day can download it because with my account it only allows for twenty gigs to be downloaded a day, so that is why they stopped the link.
  3. Sorry guys I have been a little bit busy lately and was not able to reuplaod. https://dl.dropbox.com/u/53788862/CSTRIKE4.rar
  4. Sorry every one I accidently deleted the file and was out of town for a while the link is updated now
  5. would it be possible to save the stats using playerprefs? I have been trying all day and have not come up with a solution yet.
  6. All right here it is! https://dl.dropbox.com/u/53788862/CSTRIKE4.rar it is MODIFIED i do not have original project. I modified this over 6 months ago and do not plan to revamp it. I have moved on to other projects!
  7. I am using a tutorial provied by smart fox to use the server but I get to the log in part and it does not load the level. Here is a video with my issue: http://www.youtube.com/watch?v=-oSifNK-0Uw&feature=youtu.be Here is the script that is giving me that issue using UnityEngine; using System; using System.Collections; using SmartFoxClientAPI; using SmartFoxClientAPI.Data; using SmartFoxClientAPI.Util; public class LoginGUI : MonoBehaviour { private SmartFoxClient smartFox; private bool shuttingDown = false; private string serverIP = "127.0.0.1"; private string serverPort = "3000"; public string zone = "simpleChat"; public bool debug = true; public GUISkin gSkin; private string username = ""; private string loginErrorMessage = ""; /************ * Unity callback methods ************/ void OnApplicationQuit() { shuttingDown = true; } private bool connectionAttempt = false; // // void Awake() { Application.runInBackground = true; if ( SmartFox.IsInitialized() ) { smartFox = SmartFox.Connection; } else { try { smartFox = new SmartFoxClient(debug); smartFox.runInQueueMode = true; } catch ( Exception e ) { loginErrorMessage = e.ToString(); } } // Register callback delegate SFSEvent.onConnection += OnConnection; SFSEvent.onConnectionLost += OnConnectionLost; SFSEvent.onLogin += OnLogin; SFSEvent.onRoomListUpdate += OnRoomList; SFSEvent.onDebugMessage += OnDebugMessage; } void FixedUpdate() { smartFox.ProcessEventQueue(); } void OnGUI() { GUI.skin = gSkin; GUI.Label(new Rect(2, -2, 680, 70), "", "SFSLogo"); //connectionAttempt = true; //smartFox.Connect(serverIP, Convert.ToInt32(serverPort)); if (!connectionAttempt) { GUI.Label(new Rect(10, 116, 100, 100), "IP: "); serverIP = GUI.TextField(new Rect(100, 116, 200, 20), serverIP, 25); GUI.Label(new Rect(10, 136, 100, 100), "Port: "); serverPort = GUI.TextField(new Rect(100, 136, 200, 20), serverPort, 25); if (GUI.Button(new Rect(100, 166, 100, 24), "Connect") || (Event.current.type == EventType.keyDown && Event.current.character == '\n')) { connectionAttempt = true; smartFox.Connect(serverIP, Convert.ToInt32(serverPort)); } } else if (smartFox.IsConnected()) { // Login GUI.Label(new Rect(10, 116, 100, 100), "Username: "); username = GUI.TextField(new Rect(100, 116, 200, 20), username, 25); GUI.Label(new Rect(10, 218, 100, 100), loginErrorMessage); if ( GUI.Button(new Rect(100, 166, 100, 24), "Login") || (Event.current.type == EventType.keyDown && Event.current.character == '\n')) { smartFox.Login(zone, username, ""); } } else { GUI.Label(new Rect(10, 150, 100, 100), "Waiting for connection"); GUI.Label(new Rect(10, 218, 100, 100), loginErrorMessage); } } /************ * Helper methods ************/ private void UnregisterSFSSceneCallbacks() { // This should be called when switching scenes, so callbacks from the backend do not trigger code in this scene SFSEvent.onConnection -= OnConnection; SFSEvent.onConnectionLost -= OnConnectionLost; SFSEvent.onLogin -= OnLogin; SFSEvent.onRoomListUpdate -= OnRoomList; SFSEvent.onDebugMessage -= OnDebugMessage; } /************ * Callbacks from the SFS API ************/ void OnConnection(bool success, string error) { if ( success ) { SmartFox.Connection = smartFox; } else { loginErrorMessage = error; } } void OnConnectionLost() { loginErrorMessage = "Connection lost / no connection to server"; } public void OnDebugMessage(string message) { Debug.Log("[sFS DEBUG] " + message); } public void OnLogin(bool success, string name, string error) { if ( success ) { // Lets wait for the room list } else { // Login failed - lets display the error message sent to us loginErrorMessage = error; } } void OnRoomList(Hashtable roomList) { // When room list is updated we are ready to move on to the island UnregisterSFSSceneCallbacks(); Application.LoadLevel("Room_1"); } }
  8. jdubz999

    Port forwarding

    ok it works over lan but not over the actual Internet, I am using ulink any suggestions?
  9. jdubz999

    Port forwarding

    I am making a multiplayer game(almost done) and the networking works in a vm(virtualbox Windows 8) through lan but when I do it with two standalone computers it fails to find my server over lan. Do I need to forward the port to my computer?
  10. got it here(just don't tell anyone) http://dl.dropbox.com/u/53788862/CSTRIKE%20%281%29.zip
  11. its back up for me now. Oma could you lock the post. Thanks
  12. When I go to gamebanana is just displays a white screen. Is this happening with anyone else?
  13. does anyone know how to press a key through script like if I hit a collider then It will press the key "W" thanks!
  14. Thanks, I thought I was doing something wrong when the multiplayer in my game was not working
×
×
  • Create New...