Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Melssj5

Pages: 1 2 3 [4] 5 6 ... 8
Support / Problems creating an executable jar
« on: May 17, 2007, 05:38:05 pm »
Hi, this is more a java than a jpct problem. Anyway please help, I cant create an executable jar. I am using Eclipse, exporting the jar, setting the main class and when trying to execute it just nothing happends. It seems it began to process something for the mouse icon, but after a few seconds nothing happens.

I have tried to do it manually but its the same. Y¡The MANIFEST file has only 2 entries. The version and the main class options set.

Please am I missing something?

Support / Problem receiving data from a Socket.
« on: May 15, 2007, 04:51:38 pm »
Hi, I am having a problem at receiving some data via a network.

I use the DataInputStream to read the data from a Socket. I always used to ask first for the number of bytes to receive, then create a byte array and store the data on there. The problem is that I need to read the data without asking the number of bytes. I tried reading until getting the -1 from the read method that means the end of the transmition, but the -1 is never read until  the client closes the stream. That would be easy to solve just asking the client to close the stream, but the problem is that the client WONT close any stream because is not programmed on java but on another language that doesnt allow to close the streams.

What I am doing now is this:

1.- creating a byte array of 197 slots.

2.- read on it until the number of bytes read is different from the array length.

3.- store the parts on a file, if the number of bytes is different from the array length then add the new part to the file and finish.

this works but I am afraid that is the number of bytes to read is multiple of the array length then the server will blocked until getting new data. and thats a problem because I need to answer inmediatly with another things.

Feedback / MS Virtual Machine and Pocket PCs
« on: February 28, 2007, 12:11:44 am »
Hi, I need this urgently so please help me.

I need to know if pocket PCs have or can have a jvm installed, QTEK devices hace the ms jvm installed by default.

So my questions are:

POCKET PCs have or can have a jvm, not the j2me but the j2se?

Does the ms jvm run the same byte code than the normal jvm.

Feedback / calling to a pre created dialup connection
« on: February 14, 2007, 10:00:52 pm »
Hi, I hope anyone can help me, I need to began an internet connection from my java app. What I need this because my app asumes that not everyone has a 24/7 connection, so based on a Schedule on certain times I need to send some data and close the connection when finished. How can I do that.

The dial up connection is already done and has on it the username and the password.

Feedback / Merry Chrismass
« on: December 25, 2006, 03:36:04 am »
Merry Chrismass to everyone.

Support / two faces on the same plane!
« on: December 17, 2006, 11:16:38 am »
How can I solve this:

when two faces of objects are exactly at the same plane it generates a crossing texture showing efect or something like that. I mean that sometimes you se one, sometimes you see another, or mixed? can I fix this without remodeling the map making it appear just one of them.

Support / Merging optimize something?
« on: December 17, 2006, 08:13:54 am »
Hello, I just want to know if merging objects improve the performance or resource asigment, or it just dont affect on anything?

Bugs / Exception and cant find the source
« on: November 06, 2006, 08:13:30 pm »
Hi, I tried to separate the rendering from the event handling but I have this Null pointer exception and cant find the source.

at null.null(Unknown Source)
   at Flier_Match.FMCliente.sistema.ManejadorEventos.ejecutarComandos( Compiled Code))
   at Code))

I tried putting some console mesasges but nothing seems to be null and the trace didnt show me any clue.

Support / Code for radar!
« on: November 01, 2006, 06:31:55 pm »
Hey Egon, is it okay if I use your radar implementation of the car demo on my game? I guess that I have lost all my math skills. BTW: Why dont you release a radar implementation on the next jpct release? that would be helpful! of course that the blit images, the scale, the plane must be parameters but anyway would be good.

Another question does your radar  show the relative position but on which plane are projected the plants over ZY or its relative to the car direction?

relative to car or relative to world.

Support / Networking optimized!
« on: November 01, 2006, 06:00:27 pm »
My game FM recolects the events from the clients, passes them to the server, the server proces them, and return the state of all the clients to each client. now doing this means, 100% comunication with the server for each iteration, is this too bad?

Is this too heavy to do what I am doing?

    private SimpleVector posicion;
    private Direccion direccion;
    private int vida;//less tha 100
    private String nick;//less than 8 chars
    private int id;//one digit
    public NodoRed sig;//a reference
    public int cambio;//one digit

this are the fields that are being transmited from the server to the client.

I read somewhere that is not a good idea to do this for each iteration, maybe for one every 10 of them to keep a better performance, but I did on this way to avoid people cheating so, all the control is on the server.

Any suggestions? the game runs very very slow maybe 2 or 3 fps when the client is on a remote machine via LAN.

Support / Simultaneous Open AL sounds
« on: October 31, 2006, 07:32:56 pm »
Hi, I was checking the code examples provided on lwjgl and I made some modifications but I had problems when trying to play several sounds simultaneously. Like if only one sound could be played at a time!

Feedback / Software development
« on: October 20, 2006, 05:43:30 pm »
Hi, I asked something similar about 1 years ago, but just for curiosity, now that my project has died, I wonder why most of projects fails? In my case I found with some difficulties that couldnt solve on a easy way to integrate with the whole system. Any change would represent a major change on some places inside the code, I never definen a work plan nor made any ingeniering on it, just went to write code to do what I had on mind. But  sadly all my efforts on this project were useless and now, I just spent time on nothing. (Well I got experience).

I may want to ask, how to achive on a software project. Of course on the universitry I have received how to make RUP design, but I really cant find a real use of that. Actually I cant find a real way on which I cant really get help from the documentation for developing, maybe for making future changes but not by now.

I guess that everything have to be modular to can reuse the it on future version or future projects. But can I find a path to follow to avoid forgetting developing on a rigth way.

Egon told me once that he usese Xtreme Programming, but I guess I am using code and fix, and my project failed as supposed to be.

So, anyone can told advices about that? can Anyone here like Egon, Raft, Rolz, or anyother achieve on 3d projects? The succesfull projects have followed any kind of methodology?

Feedback / RFID
« on: September 12, 2006, 09:51:28 pm »
Hi, this is not a jpct question, anyway, anybody know where  can I download for free a framework to work with RFID, I need a simulator of a reader and some java libs to work with RFID. Please if anyone knows it!!!!!!!!  :roll:

Feedback / Free e books
« on: August 28, 2006, 04:50:36 pm »

I left this link to some free e-books about game programming.

Support / hide the cursor!"
« on: July 18, 2006, 06:23:42 am »
Hi, How can I hide the cursor when in fullscreen?

Pages: 1 2 3 [4] 5 6 ... 8