Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (583)
Games in Android Showcase (163)
games submitted by our members
Games in WIP (633)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / Archived Projects / JautOGL-My game project on on: 2006-10-19 00:04:39
Hi to everyone. After publishing an article on java .net (<a href="">Development of a 3D Multiplayer Racing Game</a>) i decided to start o project based on this work. You can find more information on the following:

<a href=""></a>

I look for developers participating in my project. Any comments and ideas are welcome.
2  Game Development / Networking & Multiplayer / Re: !!! localhost all OK, but in reality packets never arrive !!! HELP !!! on: 2006-05-30 14:27:26
Riven it is just a class. It does not have a main. I have another class that calls it. Anyway...

As for the waiting time i fixed it because one minute was a lot of time and i forgot to erase the comment.

The problem is not there i think... I really do not know...

Thanks for your response
3  Game Development / Networking & Multiplayer / Re: !!! localhost all OK, but in reality packets never arrive !!! HELP !!! on: 2006-05-30 13:56:56
Dear Riven,

The information i added were not available to me at the time of my first post. Athough you really misunderstood me, i apologise for my "attitude", i just wanted to be specific and our discussion not to take irrelevant extensions. Sory again Riven and CaptainJester.

As far as the information you gave me is concerned, i have already done port forwarding and nothing changed. Both from the sides of client and server. Have you checked the code Riven?
4  Game Development / Networking & Multiplayer / Re: !!! localhost all OK, but in reality packets never arrive !!! HELP !!! on: 2006-05-30 11:41:21
Friend, you bring me problems...If you do not understand let the others understand. I do not have something to change, if you want to see the problem just put an IP address. p.x. Replace the word "localhost". It is simple and you confuse the others in what i ask!

Please, check the problem. I have turned off the firewalls, i have checked the packet size and till the packets never arrive to the server when the systems runs on internet. I repeat that localhost and in a lan network all look fine.
5  Game Development / Networking & Multiplayer / Re: !!! localhost all OK, but in reality packets never arrive !!! HELP !!! on: 2006-05-29 18:42:19
i know my friend...of course...this is when i have the problem !!!
6  Game Development / Networking & Multiplayer / !!! localhost all OK, but in reality packets never arrive !!! HELP !!! on: 2006-05-29 17:54:23
I have a serious problem with the application i work. I implement a multiplayer mode for a game using NIO. Wher i run the application all look fine but when i install the server in another computer the packets never arrive through network.

How can i fix this problem???

Here is the code:


import java.nio.*;
import java.nio.channels.*;

public class NIOServer {

  public final static int DEFAULT_PORT = 3120;
  public final static int MAX_PACKET_SIZE = 65507;

  public static void main(String[] args) {

    int port = DEFAULT_PORT;
    try {
      DatagramChannel channel =;
      DatagramSocket socket = channel.socket();
      SocketAddress address = new InetSocketAddress(port);
      ByteBuffer buffer = ByteBuffer.allocateDirect(MAX_PACKET_SIZE);
      while (true) {
        SocketAddress client = channel.receive(buffer);
        //data s=buffer.getBytes();
        channel.send(buffer, client);
      } // end while
    }  // end try
    catch (IOException ex) {
    }  // end catch

  }  // end main



import java.nio.*;
import java.nio.channels.*;
import java.util.*;

public class NIOClient{
   public  final static int DEFAULT_PORT = 3120;
     private final static int LIMIT = 1000;
    int port = DEFAULT_PORT;
    SocketAddress remote;
    DatagramChannel channel;
    Selector selector;
    ByteBuffer buffer;
   public NIOClient(){
         remote = new InetSocketAddress("localhost", port);
         channel =;
            selector =;
            channel.register(selector, SelectionKey.OP_READ | SelectionKey.OP_WRITE);
            buffer = ByteBuffer.allocate(4);
      catch (IOException ex) {

     public int channel(int k){
        int r=0;
        try {
            int n = 0;
            int numbersRead = 0;
               // wait one minute for a connection
              Set readyKeys = selector.selectedKeys();
              Iterator iterator = readyKeys.iterator();
                   if (iterator.hasNext()) {
                     SelectionKey key = (SelectionKey);
                     if (key.isReadable()) {
                          int echo = buffer.getInt();
                          System.out.println("Read: " + echo);
                     if (key.isWritable()) {
                          System.out.println("Wrote: " + k);
                         if (n == LIMIT) {
                            // All packets have been written; switch to read-only mode
      }  // end try
       catch (IOException ex) {
       return r;
7  Java Game APIs & Engines / JOGL Development / Re: Speed Issues with Jogl on: 2006-03-26 14:11:48
As i have mentioned in another post i have exactly the same problem in a pc with an Asus 128 MB. I have not managed to fix it...
8  Java Game APIs & Engines / JOGL Development / Re: low performance, better graphic card.... STRANGE!!! on: 2006-03-26 14:06:44
completely no change in anything...

I think that this card has some problems maybe...
9  Java Game APIs & Engines / JOGL Development / low performance, better graphic card.... STRANGE!!! on: 2006-03-22 20:54:08
Hi to everyone !

I develop a game using JOGL and something very strange happens. Shocked

I have 2 PCs with the following bacic characteristics:

         -2.0 GHz CPU
         -ASUS A9550 128 MB GRAPHICS CARD
         -max resolution: 1280x1024

         -I.7 GHz Cetrino CPU
         -GeForce FX Go5200 64 MB
         -max resolution: 1280x800 (wide screen)

Although it seems that the base station can give better performance the opposite happens and i mean that the game in the base station runs very slowly. On laptop everything seems OK.

I tried to play with the resolution or with the options of the two graphics cards but nothing changes...

What is the reason for this strange mulfunction??? Huh
10  Java Game APIs & Engines / JOGL Development / Vector Graphics Support on: 2005-11-14 22:26:49
Hello to everyone here...This is my first message!!!  Cool

Does anyone know if jogl and generally OpenGL supports Vector Graphics???  Huh
Pages: [1]
Ralphanese (22 views)
2015-05-29 13:07:55

Gibbo3771 (18 views)
2015-05-29 06:54:17

Ralphanese (23 views)
2015-05-28 16:52:52

theagentd (31 views)
2015-05-27 22:21:17

theagentd (38 views)
2015-05-27 22:21:08

CopyableCougar4 (27 views)
2015-05-27 19:24:50

MrMapcom (24 views)
2015-05-23 20:26:16

MrMapcom (33 views)
2015-05-23 20:23:34

Waterwolf (39 views)
2015-05-20 15:01:45

chrislo27 (46 views)
2015-05-20 03:42:21
Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02 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‑
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!