Thread: BattleScape Webclient

Results 1 to 8 of 8
  1. #1 BattleScape Webclient 
    Registered Member
    Chiief's Avatar
    Join Date
    Jun 2010
    Posts
    1,542
    Thanks given
    69
    Thanks received
    242
    Rep Power
    611
    Trying to change my battlescape client to a webclient.

    I have gotten the cache loading from a different area to work. I cannot get so it auto downloads the cache though. I know it is the streamloader method, but I've been trying for a long time..

    Someone please help?
    Reply With Quote  
     

  2. #2  
    5|-|0U7B0><0r |<1LL3r

    Khanz's Avatar
    Join Date
    Apr 2008
    Posts
    291
    Thanks given
    15
    Thanks received
    7
    Rep Power
    153
    Well it is possible and you should search for some turorials
    Reply With Quote  
     

  3. #3  
    Registered Member
    Chiief's Avatar
    Join Date
    Jun 2010
    Posts
    1,542
    Thanks given
    69
    Thanks received
    242
    Rep Power
    611
    I know its possible.. I've searched for tutorials found 2 webclient tutorial's. Ric's which is non-renamed, and some other guy's, which sucks.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2007
    Age
    21
    Posts
    1,948
    Thanks given
    113
    Thanks received
    608
    Rep Power
    1093
    I released one, just rip shit from there.
    Reply With Quote  
     

  5. #5  
    Owner of Zantarix Notepad's Avatar
    Join Date
    Oct 2008
    Age
    23
    Posts
    580
    Thanks given
    21
    Thanks received
    32
    Rep Power
    67
    the code is already in the client you just have to un comment it
    Reply With Quote  
     

  6. #6  
    RawR

    ┐Serenity?'s Avatar
    Join Date
    Jan 2008
    Age
    23
    Posts
    576
    Thanks given
    19
    Thanks received
    4
    Rep Power
    188
    Quote Originally Posted by Winfeild_ View Post
    the code is already in the client you just have to un comment it

    So whats the code
    Not hosting Servers. Got me a job that requires me away from pc for 4-6 weeks at a time.
    Reply With Quote  
     

  7. #7  
    Member

    Join Date
    Dec 2008
    Posts
    1,010
    Thanks given
    531
    Thanks received
    225
    Rep Power
    268
    Quote Originally Posted by ┐Serenity? View Post
    So whats the code
    If you didn't find it you cant of been working too hard.
    Reply With Quote  
     

  8. #8  
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    22
    Posts
    2,648
    Thanks given
    933
    Thanks received
    82
    Rep Power
    382
    Im thinking of releasing my BattleScape Client...

    Code:
    	private StreamLoader streamLoaderForName(int i, String s, String s1, int j, int k)
    	{
    		byte abyte0[] = null;
    		int l = 5;
            try
            {
                if(decompressors[0] != null) {
                    abyte0 = decompressors[0].decompress(i);
    			}
                if(abyte0 == null)
                {
                    drawLoadingText(0, "Connecting To Server...");
                    new Update("http://website.com/cache.zip", "cache.zip", signlink.findcachedir());
                    abyte0 = decompressors[0].decompress(i);
    			}
            } catch (Exception e) {
    			e.printStackTrace();
    		}
    		if(abyte0 != null)
    		{
                		StreamLoader streamLoader = new StreamLoader(abyte0);
                		return streamLoader;
    		}
    		while (true) {
    			drawLoadingText(0, "Error loading... Please Report!");
    			try {
    				Thread.sleep(1000);
    			} catch (Exception e) {
    				e.printStackTrace();
    			}
    		}
    	}
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •