Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 10
 1 
 on: 2017-02-21 10:58:27 
Started by kovacsdev - Last post by kovacsdev
I would like to know more about websocket implementation.
Maybe should be Firebase also suitable for this purpose?

 2 
 on: 2017-02-21 10:54:26 
Started by numerical - Last post by theagentd
MediaTracker is a very outdated way of loading images. I strongly recommend using ImageIO.read() instead!

 3 
 on: 2017-02-21 10:28:44 
Started by kovacsdev - Last post by VaTTeRGeR
The communication flow should always be user <-> server <-> user.
Everything else is going to end in a burning train wreck.

Communication happens everywhere it needs to happen, it's just a means to get the data across, what exactly is your question?

 4 
 on: 2017-02-21 09:30:59 
Started by princec - Last post by princec
Says the user:

So, I appear to have resolved the issue.

I ran Steam -> Uninstall ... (again) on Revenge of the Titans, then went into the library directory (in this case E:\Games\SteamLibrary\SteamApps\common) and manually renamed "Revenge of the Titans" to "Revenge of the Titans -- old", in order to get a completely fresh install. I then re-ran Steam -> Install on the game, and the game now starts up.

The files left-over after the Steam -> Uninstall.. are all dated 2014-01-10, and include meta-index files, a few .dlls, zoneinfo files (lib/zi), and some font-related files.

The meta-index files are of particular interest; based on the content of the files (they list Java class paths), and some brief searching on Google, it appears they're used by Java to reduce load times on JARs. If there was a bad class (outdated, obsolete, etc.) listed in one of those files it's possible that was causing the conflict.

Unfortunately I have no idea what created them. It is entirely possible the system that had Minecraft installed, with Java tweaking to get it working, caused the issue, and I've simply been transferring this data along until it finally broke something else.


Cas Smiley

 5 
 on: 2017-02-21 09:13:50 
Started by kovacsdev - Last post by kovacsdev
I am in the implementation of a “one server-many client” type application, which means quiz question should be broadcasted from a privileged user to all the users and after that results should be collected. Question is the web service part, where real-time communication should happen.
There are two types of users in this case, privileged users are, who can send answers to another users. Real-time means in this case, that question have to appear immediately after sending to standard users.

 6 
 on: 2017-02-21 08:16:58 
Started by princec - Last post by Icecore
Maybe Windows try force use own Java..
Or maybe its bug JVM (that was fixed in next version)
 - so maybe try ships more new version of Java

 7 
 on: 2017-02-21 08:09:38 
Started by BurntPizza - Last post by Icecore
files were stored on the server to use a UUID for the file name, and then store the real file name in a database with a reference to the UUID
You don’t need create new file system)
unique UUID is good idea for any file system, but
You can use - base Folder tree structure for users
Simple create new folder per user,
It direct sync with folder on user system
-if user try write duplicate files - behave as normal file system do)

(+ of course caching folders tree structure for faster search ^^)

 8 
 on: 2017-02-21 07:36:14 
Started by numerical - Last post by numerical
already posted

 9 
 on: 2017-02-21 07:34:03 
Started by numerical - Last post by numerical
Hello,

Here is the code for MediaTracker object it doesnt loads image, the image is located in package DrawImage, also what is the difference between getDocumentBase() and getCodeBase()

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
   package DrawImage;
     
    import java.net.*;    
    import java.awt.*;
   
    public class LoadImage extends java.applet.Applet
    {
        Image uc  ;
        URL base;
        MediaTracker mt;      
   
       public void init()
       {
             mt = new MediaTracker(this);
           try{
                  base = getDocumentBase();
                  }catch(Exception e){}
       
           uc = getImage(base, "src//DrawImage//java.gif");
           mt.addImage(uc,1);
       
           try{
           mt.waitForAll();
           }catch(InterruptedException e){}    
   }
   
       public void paint(Graphics g)
   {  
           g.drawImage(uc, 45  , 45, Color.yellow, this);
       }        
   }  


 


 10 
 on: 2017-02-21 07:16:39 
Started by numerical - Last post by numerical
thanks for the detailed reply, changed the file path good now

Pages: [1] 2 3 ... 10
 
numerical (20 views)
2017-02-21 07:32:16

numerical (20 views)
2017-02-21 07:31:46

theagentd (129 views)
2017-02-18 13:42:33

theagentd (132 views)
2017-02-18 13:35:16

h.pernpeintner (1296 views)
2017-01-24 22:39:11

h.pernpeintner (1284 views)
2017-01-24 22:38:32

Galdo (1844 views)
2017-01-12 13:44:09

Archive (1945 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2484 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2305 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!