Jump to content

phunni

Members
  • Posts

    3200
  • Joined

  • Last visited

Everything posted by phunni

  1. I think I did - but it's all irrelevant now. Thanks anyway. I've dug out my old compaq ipaq pda and installed linux on it. I can sync with the supplied desktop software (kind of equivalent to the palm desktop thing) on Linux and I think an evolution solution is not far away. Cheers
  2. Hmmmm... would you be able to zip all the code up and send it to me? I think I'll need to actually try this for myself. Obviously I won't redistribute any code.
  3. The odd thing is - it doesn't look anything like XP - pretty good imitation of previous windows look and feel, but the screenshots don't look like windows XP at all, at least I don't think so
  4. Importing an upackaged class would be fine - but uuInOut is in a package - or it's declared to be
  5. Your import statement just imports uuInOut - but it should be fully package qualified - i.e.: import uuPack.uuInOut; Have you tried that? It wouldcertainly cause some problems if you haven't :wink:
  6. Is fluxbox included in 9.1? It wasn't in 9.0 which I thought was a shame
  7. Hope this isn't too basic - I'm trying to assume no knowledge OK - here goes: (deep breath) There are two steps to putting a class into a package - I'll use the example of a simple HelloWorld class. 1) Create the directory structire for a package - so, if we want org.mandrakeusers.HelloWorld then we create an org directory containing a mandrakeusers directory containing HelloWorld.class Note: We often use domain names in reverse to guaruntee uniqueness of packages 2) We need to put a package decalration at the very top of our class so: package org.mandrakeusers; public class HelloWorld { ... } Note: package declarations MUST be at the top of the class - only comments can go above HelloWorld is now in a package. You can have as many classes in one package as you like. In order to use HelloWorld in aonther class, we have two options: 1) simply refer to it by it's full package name - e.g.: org.mandrakeusers.HelloWorld hello = new org.mandrakeusers.HelloWorld(); 2) import it and then refer to it without the package structure: import org.mandrakeusers.HelloWorld; public class Whatever{ ... HelloWorld hello = new HelloWorld(); ... } Note that you can use wildcards to import packages - although they only import the classes in the specified directory so: import org.mandrakeusers.* will NOT import any classes in org.mandrakusers.otherproject. In order for the class to be found the org directory - NOT the class file - needs to be directly on the classpath. So if my classpath = /home/user/MyClasses then the structure will be: /home/user/MyClasses/org/mandrakeusers.HelloWorld.class Final thing to mention is privacy declarations: private = only visible to this class public = visible to all classes protected = visible to subclasses and classes in the same package default = visible to classes in the same package I realise that I probably should have put this on the web somewhererr and just linked to it - but, frankly, I couldn't be bothered :) Any questions - or anything unclear, then let me know Phew!
  8. If I get a chance later - I'll put together a simple step by step guide to packages in Java - it's pretty straightforward
  9. The compiler and runtime should be fairly standard, regardless of platform - although there are some differences and it could just be a problem with the linux version. I would suggest that this is a last resort diagnosis though. If you could fnd out if it's ok to show me the source - via private message if you'd prefer - we might be able to figure this out further
  10. I use fluxbox as my window manager and have written a script called autostart.sh which gets run when fluxbox is started. I tried to use a package that was supposed to randomly set my background based on images in a given directory - this didn't work so I wrote a simple Java class to do the same. I then wrote a simple shell script to run it and added this to autostart.sh as something to run when fluxbox is started. Nothing happens. If, however, I run my script in a konsole - all works beautifully. What's going on here? My script is as follows export CLASSPATH=$CLASSPATH:~/.fluxbox java BackgroundChanger ~/.fluxbox/backgrounds
  11. Could it be a package problem? Is uuInOut in a package? What happens if you declare both classes as public? These are just initial thoughts - and may be red herrings. BTW uuInOut should be called UuInOut if you want to be a good java boy(girl?) :wink:
  12. Hmmmm - I do seem to have those files installed - but I'm still getting problems. Is there anything else that should be installed under ~/.wolf? I tried to run a local server so that a friend of mine could play a quick game with me - but if I ran the server from Linux, it failed - he would get kicked all the time. When we ran it from Windows (with me playing as a client on Linux) all fine
  13. BTW punkbuster is installed :)
  14. I recently lost most of the files in my home directory. I already had Return to Castle Wolfensteing installed on my system, but I get complaintswhen connecting to a multiplayer server about files missing in my ~/.wolf directory - especially relating to punkbuster. Does anything need to be put here, and if so what?
  15. phunni

    Film software

    I want to try to make some animated films primarily just using software - i.e. create the images using software - make movies using animations of those images in an acceptable format. Is there any software for linux that can do this? I have seen film gimp, but I'm not yet sure if this is exactly what I'm looking for - perhaps a few people can help me out there.
  16. using galeon (1.2.5) as my browser by the way. I did try it in mozilla - same result
  17. I have put the skin in ~/mplayer/Skin as that was where it seemed to look for it. It tries to find the default skin (which isn't there - I had to create the Skin directory). I have a folder called "phony" in my Skin directory that contains the skin - I put this there because that was the logical response to the tutorial.
  18. Woo hoo - compiled and installed! Now - is there a way of configuring it? I ask for two reasons? 1) It doesn't seem to find my skin - it's in the right place 2) It crashes every time :( when I try to view the test movie - whatever trailer that is - It just crashes. Is there a way to buffer the movie?
  19. I have had MySQL installed but not running for ages - nothing seems to fail. I have also had in not installed and no problems. You can probably get rid of it if you think it may be unnecessary
  20. It was installed. I also installed the statc devel package in case that was an issue - I still get the same errors :(
  21. Got the following errors during make && make install : libvo/libvo.a(vo_gif89a.o): In function `config': vo_gif89a.o(.text+0x2c0): undefined reference to `EGifOpenFileName' vo_gif89a.o(.text+0x313): undefined reference to `MakeMapObject' vo_gif89a.o(.text+0x377): undefined reference to `EGifPutScreenDesc' libvo/libvo.a(vo_gif89a.o): In function `flip_page': vo_gif89a.o(.text+0x510): undefined reference to `QuantizeBuffer' vo_gif89a.o(.text+0x5c8): undefined reference to `EGifPutExtension' vo_gif89a.o(.text+0x608): undefined reference to `EGifPutImageDesc' vo_gif89a.o(.text+0x630): undefined reference to `EGifPutLine' libvo/libvo.a(vo_gif89a.o): In function `uninit': vo_gif89a.o(.text+0x7a8): undefined reference to `FreeMapObject' vo_gif89a.o(.text+0x82b): undefined reference to `EGifPutComment' vo_gif89a.o(.text+0x838): undefined reference to `EGifCloseFile' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 I was logged in as root and am confident that I have all the dependencies. My configure worked fine - any ideas?
  22. Thanks - pbweb.x86 got it working! woo hoo! game on!
  23. I did install punkbuster, but it still doesn't work. I will try to upgrade to 1.4.1 and see what happens
  24. Anybody know why I can't enable punkbuster for multiplayer RTCW? I have upgraded to 1.4 GOTY and the installer said it was installing punkbuster. I am quite limited in which games I can join unless I can get this working. When I click on the punkbuster:Disabled box - I get a dialog asking if I want to enable punkbuster; I click yes but nothing happens - still disabled :(
×
×
  • Create New...