Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
is there any ship rotating program that works?

 
Post new topic   Reply to topic Printable version
 View previous topic  How do I start a soccer arena ? Post :: Post commands.hlp  View next topic  
Author Message
VampZ
Guest


Offline

PostPosted: Thu Mar 13, 2003 12:59 pm    Post subject: is there any ship rotating program that works? Reply to topic Reply with quote

not shipbuilder b/c it won't run with my video card and not SSM because all it produces is a green / black blob. Please help. ty.
Back to top
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Thu Mar 13, 2003 2:28 pm    Post subject: Reply to topic Reply with quote

How about SScustomizer?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Thu Mar 13, 2003 5:08 pm    Post subject: Reply to topic Reply with quote

How about photoshop?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
VampZ
Guest


Offline

PostPosted: Thu Mar 13, 2003 11:31 pm    Post subject: Reply to topic Reply with quote

nevermind, made my own
Back to top
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Fri Mar 14, 2003 12:47 am    Post subject: Reply to topic Reply with quote

ha, nice sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Fri Mar 14, 2003 6:46 am    Post subject: Reply to topic Reply with quote

He's joking.....right? icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Fri Mar 14, 2003 12:38 pm    Post subject: Reply to topic Reply with quote

Well making a rotator is ez... maybe I'll make one...
_________________
3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku"
Back to top
View users profile Send private message Add User to Ignore List Send email
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Fri Mar 14, 2003 2:10 pm    Post subject: Reply to topic Reply with quote

!!
Damn, I should start speeding up the pace on those tutorials...easy he say...
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Sat Mar 15, 2003 2:02 am    Post subject: Reply to topic Reply with quote

Wee it's done! Slight bug however... it outputs an entirely black bmp sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Mar 15, 2003 9:22 am    Post subject: Reply to topic Reply with quote

OO, Black? Can I have the program? PLEASE?
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Mar 15, 2003 1:39 pm    Post subject: Reply to topic Reply with quote

Does no one use mine?
http://forums.minegoboom.com/viewtopic.php?t=553
I read the PSP manual for filters and they just alter pixels and stuff. Someone with Photoshop should make a plugin to do this (seems the plugin maker only comes on the Photoshop CD).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Sat Mar 15, 2003 3:06 pm    Post subject: Reply to topic Reply with quote

I didn't know any plugin maker on the CD... hmm...
Anyway, my rotation sucked and the background turned blue suddenly(???), so no go icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
VampZ
Guest


Offline

PostPosted: Sun Mar 16, 2003 12:16 pm    Post subject: Reply to topic Reply with quote

here you go



EZRotatev1.1.zip - 15.67 KB
File downloaded or viewed 36 time(s)
Back to top
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Mon Mar 17, 2003 3:00 am    Post subject: Reply to topic Reply with quote

I did "java SSRotate" and got an error :( using JDK 1.4.1_02
A bit of a shame it doesn't do bmp's either.




hs_err_pid4291467709.log - 2.77 KB
File downloaded or viewed 36 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Mar 17, 2003 9:52 am    Post subject: Reply to topic Reply with quote

Erm, smong, why aren't you using the API's image manipulation stuff?
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Mon Mar 17, 2003 3:02 pm    Post subject: Reply to topic Reply with quote

I am using the API's in Rapid-Q to rotate the image in my ship rotator. Could you explain further?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Mar 17, 2003 8:03 pm    Post subject: Reply to topic Reply with quote

Example i found in a Java 2 game programming book:

Code: Show/Hide

     import java.applet.*;
     import java.awt.*;
     import java.awt.geom.*;
     import java.util.*;
         
     public class ImageTest extends Applet
     { 
          // the Images to render
          private Image[] images;

          // filename description of our images
          private final String[] filenames = { "simon.gif", "tj2gp.gif", "blade.gif" };

          public void init()
          {
               // get the base URL
               java.net.URL appletBaseURL = getCodeBase();

               // allocate memory for the images and load 'em in
               int n = filenames.length;
               images = new Image[n];
               for(int i = 0; i < n; i++)
               {
                    images[i] = getImage(appletBaseURL, filenames[i]);
               }
          }

          public void paint(Graphics g)
          {
               // cast the sent Graphics context to get a usable Graphics2D object
               Graphics2D g2d = (Graphics2D)g;

               // save an identity transform                 
               final AffineTransform identity = new AffineTransform();

               // used to transform our images
               AffineTransform at = new AffineTransform();
       
               Random r = new Random();

               int width = getSize().width;
               int height = getSize().height;

               int numImages = filenames.length;

               // render 100 images, each with a random transformation
               for(int i = 0; i < 100; i++)
               {
                    // clear the transformation
                    at.setTransform(identity);

                    // randomly set up the translation and rotation
                    at.translate(r.nextInt()%width, r.nextInt()%height);
                    at.rotate(Math.toRadians(360*r.nextDouble()));

                    // draw the image           
                    g2d.drawImage(images[i%numImages], at, this);
               }
          }
     }    // ImageTest
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
VampZ
Guest


Offline

PostPosted: Mon Mar 17, 2003 9:07 pm    Post subject: Reply to topic Reply with quote

uhm, did you try opening it using the provided shortcut / what happened?

at SSRotate.<init>(SSRotate.java:46)

46 is

final JFileChooser fc = new JFileChooser(new File("loaded.gif"));

maybe it's looking for loaded.gif in the same directory as java.exe instead of the .clas file, use the provided shortcut should fix this.

maybe windows upped security. if that doesn't work try making loaded.gif not read only.

bitmaps are platform dependent. It woudln't be fair to my solaris users to include them icon_smile.gif. Also different programs change the colors to 256 differently, so therefore i don't want you to be forced into using a crappy decolorizer(word?).

Just try the provided shortcut.
Back to top
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Mar 18, 2003 2:50 am    Post subject: Reply to topic Reply with quote

Ok, now I've tried the shortcut and "javawindows SSRotate". I've also made loaded.gif non-read only. The "start-in" folder setting of the shortcut is the folder I unzipped everything to, actually I think it was zipped in a folder anyway.

I get a different error, seems to be the same as last time except:
Code: Show/Hide

Dynamic libraries:
0x52000000 - 0x52007000    C:\WINDOWS\SYSTEM\INDICDLL.DLL

(It gets as far as the bit saying please wait while loading).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
VampZ
Guest


Offline

PostPosted: Wed Mar 19, 2003 5:34 am    Post subject: Reply to topic Reply with quote

what does the entire error say? is that it ?
Back to top
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Wed Mar 19, 2003 4:10 pm    Post subject: Reply to topic Reply with quote

about pshop plugin... i aint got the plugin maker. supposedly you have to "request" the SDK for PShop 7 from Adobe (who does that). The best bet might be a macro that enlargens, copies, rotates, and applies the redner->lighting effect?
_________________
Signatures just seem so quaint.
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Mar 22, 2003 11:58 am    Post subject: Reply to topic Reply with quote

VampZ wrote:
what does the entire error say? is that it ?

No, I said it looked the same as last time except the bit I quoted. I've attached the log this time.




full "indicdll.dll" error log file

hs_err_pid4291419841.log - 2.77 KB
File downloaded or viewed 27 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
VampZ
Guest


Offline

PostPosted: Wed Apr 09, 2003 7:28 pm    Post subject: Reply to topic Reply with quote

Made v1.2 - now supporting uncompressed bitmaps ooooooooo
you shouldn't get the error now as I'm using the platform standard file chooser instead of JFileChooser.

Advantages:

- Doesn't have a set image size
- Doesn't have a set # row / colums (you can use it for more than just ships!)
- Thinking of switching to Solaris? Java supports multiple platforms so don't let your image rotating program be what's holding you back




EZRotatev1.2.zip - 17.22 KB
File downloaded or viewed 24 time(s)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 50 page(s) served in previous 5 minutes.

phpBB Created this page in 0.871359 seconds : 48 queries executed (96.3%): GZIP compression disabled