Jump to content
SSForum.net is back!

Recommended Posts

Posted (edited)

Going to go ahead and clean OP...

 

Added poll for the name.

 

Here is a example image of what has already been done thus far:

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/Aphelion/Screenshot-1324327159377.png?t=1324327175

 

 

 

Will Implement a roadmap sometime soon. (todo list).

Edited by jabjabjab

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

  • Replies 391
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

The problem with java isn't the memory. It's the lack of client side protection. You won't be able to stop cheaters without introducing a hell of a lot of lag by making everything server side.

 

If you're really clever you may be able to minimize the impact of this, or you may not be able to.

Freedom is the right to be wrong.
Posted

Ehh, true.

 

But then again, what is a game to protect without it's people (Im not saying im going to finish this, Im just stating that if something was to be had, it would be better than stagnating in security)

 

But honestly, I don't want to turn this topic into a discussion about something weighing pro's and con's and what not. I just want to do something different for a change.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted
No worries. I will just need to learn how to work with packets and I should be fine :D

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted (edited)

Take a look at TWCore: http://www.twcore.or...runk/twcore/src

It's already in java and has about 60% of the available (subspace) packets implemented.

 

If you need to export the source code from TWCore's Subversion repository, you need an account which you can create on http://www.twcore.org/register .

Edited by Maverick

Check out your zone population statistics at stats.sshq.net!

 

 

Maverick

Subspace Statistics Administrator

Retired SSCU Trench Wars Super Moderator

TWCore Coordinator Administrator

Posted (edited)

I've used lwjgl for 2D stuff and it is not incredibly hard.

 

Anyhow, the big thing to avoid in java is massive object creation in hot spots.

Edited by JoWie
Posted
Well I have my little 800x600 window of blank space flying a warbird with workable thrust, magnitude, collision of the borders and slowing down using booleans, and Am working on energy and weaponry atm.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/ScreenShot.png?t=1314604233

 

Moving everything over to a stable timer thread to keep the data from slowing from render ticks.

 

Im also having an issue involving pressing more than one arrow key. Anyone know where to point me to fix this?

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

public class Main extends JPanel implements KeyListener, Runnable {
boolean isUpPressed, isDownPressed, isSpacePressed;
static JFrame f;
public static void main(String[] args) {
   	f = new JFrame();
   	f.setSize(600,300);
   	f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   	f.setContentPane(new Main());
   	f.setVisible(true);
}
public Main() {
   	setFocusable(true);
   	addKeyListener(this);
   	new Thread(this).start();
}
public void keyTyped(KeyEvent ke) {
}
public void keyPressed(KeyEvent ke) {
   	switch(ke.getKeyCode()) {
       	case KeyEvent.VK_UP: isUpPressed = true; break;
       	case KeyEvent.VK_DOWN: isDownPressed = true; break;
       	case KeyEvent.VK_SPACE: isSpacePressed = true; break;
   	}
}
public void keyReleased(KeyEvent ke) {
   	switch(ke.getKeyCode()) {
       	case KeyEvent.VK_UP: isUpPressed = false; break;
       	case KeyEvent.VK_DOWN: isDownPressed = false; break;
       	case KeyEvent.VK_SPACE: isSpacePressed = false; break;
   	}
}
public void run() {
   	while(true) {
       	try {
           	String s = "up pressed: " + isUpPressed + ", down pressed: " + isDownPressed +
                   	", spacePressed: " + isSpacePressed;
           	f.setTitle(s);
           	Thread.sleep(200);
       	} catch(Exception exc) {
           	exc.printStackTrace();
           	break;
       	}
   	}
}
}

 

sauce: http://ubuntuforums.org/showthread.php?p=9285209

Posted

Well I got the update thread working now (yay learning)

 

Now Im working on the weapons GUI... fun.

 

Also got the number for energy in the top corner working

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/ScreenShot2.png?t=1314728714

 

Got working bullets,

GUI almost done,

 

More fun.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted (edited)
tm_master told me he codes java for a living. He said he works on all those java updates your computer needs. Java 6 etc. He works for the actual company. Maybe you can ask him if you need any tips. Plus I am curious if he actually knows anything. =) Edited by Avast
Posted

lol @ oracle.

 

 

What I do know is this: I can do some major obfuscation to the class file compilations.

 

Im actually pretty damn good from bringing code from obfuscation level, though this takes a severe amount of patience, is possible, but if you dont know what your doing you will fail bad at it.

 

I taught myself how to do this by doing minecraft in a decompile (the classic, and it was harder) but no I do know a little about the obfuscation world.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted
Security by obscurity is not good enough, you need to implement proper security measures. Anyway, do what you think is right. You'll likely not use Continuum/Subspace encryption as that will be more of a ball ache than getting ASSS to work with your client. If that's the case then security is something you can think more about once you get to that hill.
Posted

Well I have the multiple keys working now.

 

I dont want this to be moved to the dev forum because this forum gets most activity btw.

 

When I get the weapons working, I will throw a jar out there for silly proof of work and not photoshops :p

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

Working on the Font Engine now.. woot.. (/kills self)

 

if you want to see what it looks like atm, http://pastebin.com/7YEedQ0X

 

I've completely moved off the rediculous render update method (which lags when a load is heavier) and duped the delta int method from the API so I could retain this in my update thread.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/ScreenShot3.png?t=1314929620

 

 

 

Got the Font Engine working... Moving on to the chat.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted
http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/ScreenShot4.png?t=1314978074

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

Im having a tough moment right now...

 

When I applied the settings for the ships using a cfg, everything just went whack, so I tried to weigh down the equations to suit a ship, then jump to the next one and try to fix this to where I could just weigh the settings to make identical with continuum's physics.

 

Unfortunately, Im having a lot of issues trying to do this. I think my method of moving the ship around isnt right. I may need to recode this. Dunno... Im using X, Y, MagnitudeX,MagnitudeY, and rotation of 40 from 0-39 and going back to 0 or 39 depending on rotation. I dont know why I'm not using the vector libraries java has, but I think doing it this way is fine..

 

I think It's just the type of ticks im using... Im just updating a variable asking if it is greater than 0, then subtracting it, and when it is 0 to do the action. I think I have this idea wrong....

 

 

Other than that, I have all the settings loading from a cfg into variables in the SettingsManager class I've made.

Fusha> Don't fight the gravity

Fusha> Make the gravity

Fusha> Your friend

Fusha> Bounce

Posted

Don't really like any of the three suggested names :(

 

Anyways, good work on this. Although Java has its issues with security, I'm sure you'll be able to figure something out.

http://i277.photobucket.com/albums/kk74/lera_ss/Signatures/Spider1.jpg
Posted
all 3 names suck

SSC Distension Owner
SSCU Trench Wars Developer


3:JabJabJab> sometimes i feel like when im in this mood im like a productive form of Cheese
Dr Brain> Pretty much everything you said was wrong. Except where you called me a lazy jerk with no time. That was true.
3:KrynetiX> do you ever open your web browser and type ?go google
5:Ceiu> Wow. My colon decided that was a good time to evacuate itself.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...