Ndiswrapper and kde problem

hi!!
i have arch with all the newst updates i use ndiswrapper and when i boot my arch i write this in the root tty1 console iwconfig wlan0 essid osv and connect to my network with dhcpcd but wen i write startx the kde is startting very slowly no i mean it wont start but wen i write dhcpcd -k wlan0 and turn of the network then it starts good
i dont know if this is in use to know but i cannot ping 127.0.0.1 or myhost localhost osv.

glad:  You can make this much easier on yourself by using the 'network' daemon on the DAEMONS array in rc.conf.  The comments in that file describe exactly how to properly configure it.
I use the folowing settings:
lo="lo 127.0.0.1"
wlan0="dhcp"
wlan_wlan0="wlan0 essid MyESSID"
INTERFACES=(lo wlan0)

Similar Messages

  • Catalyst and KDE Compositing Problem

    Hi,
    I'm new to Arch and just installed it using the chakra-livecd.
    I've had some issues with fglrx, but after installing the newest version from kensais repo + the patched xorg-server from AUR it works.
    Dmesg gets spammed with this error:
    [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7fa230d2b000,handle:0xe7532000
    I've stopped getting them logged with the help of this post: http://bbs.archlinux.org/viewtopic.php? … 25#p571625
    Is there any way to get those errors out of dmesg, or to completly fix them?
    As for my KDE problem:
    I only have the thumbnails in Cover Switch.
    Present Windows, Taskbar, and the Desktop Grid don't show any thumbnails (black/grey boxes).
    thanks for your time

    Just checked the output of "kwin --replace"
    Another Error-Spam \o/
    kwin(2779) KWin::checkGLError: GL error ( PostPaint ): 0x "500"
    /edit: Hooray, renaming ~/.kde4/share/config/kwinrc and restartin kwin fixed my KDE problem.
    /edit2: Just downgraded to 2.6.28, modified catalyst from AUR (dependencies to 2.6.28 and removing .29 Patch), and my dmesg is clear \o/
    So far I had to modify the PKGBUILD for my X-Fi (PCIe Versions need patching, i guess i should drop a comment at the ctxfi package) and catalyst. I expected this to be quite hard for me, but using yaourt and reading the PKGBUILDS was enough.
    Last edited by stray (2009-06-22 07:54:49)

  • Gnome and KDE 4.1 without mixing?

    I'm running Gnome and love it, but wanted to give KDE 4.1 a chance so I installed it too. When logging in (GDM) I choose whether I want to run Gnome or KDE 4.1,  but when I boot KDE the kde menus are full Gnome stuff, and when I boot Gnome, the menus are full of KDE stuff. It's a mix I don't like. Either I run Gnome or KDE.
    Is there a way to stop the Gnome menus scanning the KDE apps and the KDE menus to stop scanning the Gnome apps?
    Besides that, when I'm in Gnome and open a nautilus bookmark from the "Places" menu, Konquerer starts up happily and makes me think, "What a mess. Is this the way it's supposed to work?"
    If I want to run Gnome only and KDE only, do I need to make a dual boot with two separate Arch installations?
    Last edited by thunderogg (2008-08-01 08:54:02)

    The menu "problem" is due to both desktops using the standard menu item location (Freedesktop.org, I believe defines this).  If you want completely separate, you don't have to dual boot with two separate Arch installs, just create a new user and make a shared data location that your KDE and Gnome user can access.  For example:
    /home/thunderogg could be thunderogg, your Gnome user
    /home/kthunderogg could be kthunderogg, your KDE user
    Create a new /home/shared folder with permissions for both users and save your documents there.  That's the only way that I know of to have both installed and not have a menu mess.

  • Wine and KDE shortcuts

    Using the Window-Specific workarounds I'm able to disable KDE global shortcuts.  For example, in Diablo 2, ALT-F2 does not bring up the run dialog.  GREAT!
    My problem is that there are occasions that I want my full-screen wine application to loose focus or minimize; for example to make a Skype call.  When someone calls me the Skype dialog and KDE taskbar pop to the front allowing me to minimize my wine application.  However, I have no way of making a call without exiting the application.
    I'm kind of at a loss here.  I don't want to disable the KDE global shortcuts but I'd like some way of minimizing the full-screen wine application.  Does anyone have a creative suggestion?

    simongmzlj wrote:You could start wine games in another xserver...
    Very cool idea!  Google found me this: http://ubuntuforums.org/showthread.php? … b&t=634067
    This is way simpler than I thought it'd be.  Thanks.

  • Gkrellm and KDE

    I have recently been having problems with Gkrellm and KDE.  I have gkrellm set to be dockable.  However, when I move gkrellm to the right of the screen and it docks there, the KDE panel shrinks in width a little bit, and shifts to the right.  Any ideas why this is happening?

    When you open up Konsole (or whatever terminal program you are using) it logs you in automatically for the terminal session. So you are logged in to KDE and also Konsole. As a test, open up more Konsoles and see how many users you have.
    Last edited by michy99 (2010-03-20 01:47:23)

  • Ndiswrapper and core install

    I am trying to get one of my old computers running with Arch, and have been having some issues. 
    I have been trying to use ndiswrapper to use my Trendnet TEW423PI wireless card.  There should be no problems with that, as I have used it in the past with other computers and ndiswrapper and it worked perfect.
    I installed all the packages on the core CD (base, base-devel), which I downloaded yesterday.  Then I downloaded the ndiswrapper package and moved it to the computer, but when I tried to install it, it complained that it requires kernel 2.6-36 or newer, whereas the CD installed 2.6.33.  I tried installing it with the --nodeps option and it still doesnt work.  It installs, but with a "line 4: ndiswrapper command not found" error before it finishes. There is no ndiswrapper in /bin or /usr/bin or anywhere else it ought to be.
    I downloaded the source files and compiled it myself with makepkg, and it gives the exact same error when I try to install.
    I want to avoid, if at all possible, upgrading the kernel because the computer has no internet, and moving all the required files there manually would be a headache.  I just need to get this installed once, so I can get the wireless connection running and upgrade, then I should have no issues whatsoever.
    What should I do now?
    -- I think this would be the right forum for this, if it isnt and someone wants to move it to installation or networking or wherever, feel free.  But it seemed more like an upgrade issue than anything else.
    Thanks

    Use a cable and -Syu, or download the packages on another box and move them over using a usb stick or similar? Or install from archboot which has .36?

  • Is X-windows and GUI desktops supported on the ODA "engineered system" running a RAC database?  If it is, what is the yum command needed to install the X-windows, Gnome, and KDE package groups?

    Is X-windows and GUI desktops supported on the ODA "engineered system" running a RAC database?  If it is, what is the yum command needed to install the X-windows, Gnome, and KDE package groups?

    While I agree with the direction of the suggestions with installing packages for X-windows, we do not have a blanket 'apply any package' recommendation.
    In particular we do not support altering the kernel (although we do have exceptions which we review on a case by case basis).
    Basically, if the you want to alter functionality that would not impact core functionality you are usually fine.
    A good guideling is : The more dependencies that there are between the package / rpm you are considering using the higher the potential impact on functionality - meaning higher chance for problems
    Note: We do use VNC including Real and Tiger regularly , but we have no hard recommendation on how you may want to use X-windows. I have never seen a limitation other than comments on bugs
    or incompatibility within the X-window product itself with certain kernel levels.
    Patching may overwrite some packages that you may install, however,  _depending on packages/rpms added_ there is also the possibility that you will break existing functionality to the point
    that patching itself will fail ( we have already seen a few cases of this in which case the proper mitigation is to remove / roll-back any alterations to the ODA before patching, and then adding the packages/rpms
    back after the patching is completed.
    From what you are discussing the impact should be low without conflicts, but please consider the above, and if you have specific packages which you consider potential problems
    please create an SR so that we can review packages / rpms on an individual basis.
    Once again: the main criteria for not supporting rpms is regarding the kernel itself
    Chuck

  • Weird line on the right edge of the screen with fglrx and KDE Plasma

    Hey there,
    I am using an AMD Radeon R9 280X with the fglrx driver for my 2-monitor setup: One 1366x768 monitor on the left side, one 1920x1080 monitor on the right side. My current DE is Plasma with KDE 5, but the bug also existed (though not as bad) with Cinnamon.
    Now to the problem: On the right edge of the screen is the 2-pixel-width vertical line currently in grey, which even exist in full-screen applications.
    On Cinnamon the situation is a little bit different: Here it only appears sometimes, but then it flashes frequently, though full-screen applications cover it.
    Interestingly I can hover my mouse pointer over it.
    Here are two screenshots: One with the whole line and one showing the above described.
    I configured my screens with amdccle and/or the KDE 5 display manager. Here's the generated xorg.conf:
    Section "ServerLayout"
    Identifier "amdcccle Layout"
    EndSection
    Section "Files"
    FontPath "/usr/share/fonts/adobe-source-sans-pro/"
    FontPath "/usr/share/fonts/cyrillic/"
    EndSection
    Section "Module"
    EndSection
    Section "ServerFlags"
    Option "Xinerama" "off"
    Option "RandR" "on"
    EndSection
    Section "Monitor"
    Identifier "DFP6"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "Primary" "true"
    EndSection
    Section "Monitor"
    Identifier "DFP7"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "LeftOf" "DFP6"
    EndSection
    Section "Monitor"
    Identifier "0-DFP6"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "PreferredMode" "1920x1080"
    Option "TargetRefresh" "60"
    Option "Position" "1366 0"
    Option "Rotate" "normal"
    Option "Disable" "false"
    Option "Primary" "true"
    EndSection
    Section "Monitor"
    Identifier "0-DFP7"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "PreferredMode" "1366x768"
    Option "TargetRefresh" "60"
    Option "Position" "0 312"
    Option "Rotate" "normal"
    Option "Disable" "false"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    Option "Monitor-DFP6" "0-DFP6"
    Option "Monitor-DFP7" "0-DFP7"
    BusID "PCI:1:0:0"
    EndSection
    Thanks for any help in advance
    Last edited by Quanttek (2015-05-03 12:57:23)

    ewaller wrote:Now that it interesting    This only happens on the big screen?
    Yes, this only happens on the big screen
    ewaller wrote:Not that it matters (as the full screen display overwrites it), but what type of interface is it?  HDMI, VGA?
    DVI
    ewaller wrote:What does the display report as its current resolution in the on screen menu?
    It reports 1920x1080 as it's current resolution
    As a test I changed the resolution to 1400x1050 in the KDE menu, but the monitor reports it as 1680x1050. Though the bug still persists.
    ewaller wrote:What effects to you use in KDE?  Although this is mitigated by your having had the problem with Cinnamon
    I use the standard configuration of effects in KDE. But the bug persists even when I turn off compositing.
    There is a small difference in the bug between Cinnamon and KDE: First off the line has a smaller width in Cinnamon and full-screen applications covered it.
    Also it isn't an offset per se off the whole X screen, but instead only of the KDE/Cinnamon "workspace".  E.g. windows snap with the line, but behind the flickering you can still see the current window, e.g. when moved to the right.
    (Sorry for not answering for so long)
    EDIT: Also the flickering gets more extreme the smaller the reosultion was I changed to inbetween http://i.imgur.com/WQ4fkmf.jpg
    Last edited by Quanttek (2015-05-02 18:21:23)

  • I don't want all those GNOME and KDE libs on my system!

    Kde Libraries/Base/Bindings - 80 megs
    Full KDE - 200 megs
    Full GNOME - 80 megs
    Base Gnome - 55 megs
    I hear so many people saying "Ew, it's using gnome-libs  I don't wanna install that"  I have said this many times.  It's seemed like a lot of usage on my hard drive with all those packages...  In reality, 50 megs for GNOME libs or 80 megs for KDE isn't a lot at all.. Heck, UT2004 is around 90 times bigger than installing base KDE and GNOME libs.  Thanks to modern technology, most PCs have 80 - 120 gigs on them..  Even with this 30 gig hard drive,  150 megs does not even put a dent.  Unless your using a floppy for your hard drive, it won't hurt to install gnome and kde libaries.  You need a gig and a half for just winblows stuff!  Just because it says:
    Targets: hal-0.2.97-2 libgsf-1.9.1-1 gnome-desktop-2.8.0-1 nautilus-2.8.1-1
    nautilus-cd-burner-2.8.1-1 libdvdcss-1.2.8-1 libdvdread-0.9.4-2
    libdvdnav-0.1.9-2 faac-1.24-1 faad2-2.0-5 hermes-1.3.3-1
    libmikmod-3.1.11-1 gtk-1.2.10-4 mjpegtools-1.6.2-1 gst-plugins-0.8.5-1
    totem-0.99.19-2
    Total Package Size: 11.5 MB
    Proceed with upgrade? [Y/n]
    It seems like a lot of depedencies, being on four lines and all... But it's really not that much.  I won't hurt to have it on your PC.
    Just my .2 for the day 

    xerxes2 wrote:
    kth5 wrote:hmm, i have exactly the same scenario on my laptop. it's only a Celeron 700  + 256MB ram. i run kde, mozilla thunderbird, several konsole session, xchat2, xmms plus some more konqueror session w/o any problem. only thing that is lagging behind is my GFX card which needs a share of the system memory. anway, my system in KDE w/ all these apps up needs only ~120MB the rest is filled up w/ diskcache or whatever. it's not bad for a desktop system that is not supposed to render 3D or viewing 100MB+ large files from memory. 
    I'm impressed!
    I havn't tried kde since 3.2.0 and it was totally unusuable due to bugs, crashes, bloat and so forth,
    the kde devs must been busy since then... 
    I was even quite impressed with KDE 3.3.x.  I use KDM for my default DM all the time.. GDM is too buggy..  WDM/XDM too ugly... I actually made KDM look pretty sexy.. People say you can't, but it's not that hard... I'll make some screenies if anyone want some

  • Kf5 and kde 4.13 cohabitation : issue launching dolphin

    After installing the new (kf5) package group from [extra], I went back to my usual openbox desktop. When trying to launch dolphin (kde 4.13 version from [extra]) I got this :
    % dolphin
    Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
    Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
    No dolphin windows appears and the program does not exit until CTRL-C.
    Since kf5 relies on recent dependencies and the problem was looking related to upower, I did update upower to
    aur/upower-git-systemd
    and dolphin is now running fine.
    The two previous "No such signal" lines are still there, though.

    Until recently veromix worked fine but now it doesn't. I think this is the problem:
    File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 22, in <module>
    from PyKDE4.plasma import Plasma
    RuntimeError: the sip module implements API v11.0 but the PyKDE4.plasma module requires API v10.1
    According to their changelog they changed it for their sip v4.15.5 release http://www.riverbankcomputing.com/stati … /ChangeLog
    Downgrading sip, python2-sip and python-sip to [extra] brings this:
    File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 20, in <module>
    from PyQt4.QtCore import *
    RuntimeError: the sip module implements API v10.0 to v10.1 but the PyQt4.QtCore module requires API v11.0
    so I guess PyKDE is just lagging behind and everyone else is already using the new thing?
    edit: Maybe they made a mistake with their release tarball? I have not tested it, but I got the PKGBUILD from here: https://projects.archlinux.org/svntogit … e/PKGBUILD and made it build from the kde 4.13 branch of their git repository and it works: http://pastebin.com/raw.php?i=rdjEJ9tU
    Well, except for
    Error connecting to veromix-service:
    org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.veromix.pulseaudio.qt exited with status 1
    But maybe that solves itself after the next kde restart.
    edit2: It didn't.
    For some reason it doesn't launch some dbus service foobar.
    python2 /usr/share/apps/plasma/plasmoids/veromix-plasmoid/dbus-service/veromix-service-qt.py
    Then it works.
    Also, in the last kde update the former issue with pykde got solved I think.
    Last edited by haagch (2014-03-25 17:19:33)

  • KDE problems

    Since upgrading to xorg 7 and kde 3.5.1 i have the following strange problem.
    And i cant see whats missing , i even tried reinstalling xorg and kde.
    KDE starts up fine even the jittery startup audio is fixed but when i open a window be it a terminal or browser and then minimise it to put it in the kicker it disappears.
    But if i open the terminal again it says number 2 and on and on.
    I dont know where kde is putting these apps but they are not dead.
    But i cant see them on the task bar to maximise them its blank apart from the time and my start button and icons.
    HELP
    Justin Smithies

    I have found something out if this helps ?
    If i click my middle mouse button on the desktop i can see the opened terminal / browsers and open them.
    Why are they no longer going to the task bar ?
    How do i get this feature back that when i minimise an app it goes to the task bar, not just disapears until i click the middle button on the desktop ?
    Justin Smithies

  • Xdg-open, magnets and KDE

    I had a problem to open magnet files from chromium. The torrent client didn't seem to launch.
    $ xdg-mime query default "x-scheme-handler/magnet"
    transmission-qt.desktop
    mime type seemed to be linked to the correct application.
    Trying to launch xdg-open from terminal :
    $ xdg-open "magnet:?somemagnet"
    QWidget: Cannot create a QWidget when no GUI is being used
    /usr/bin/xdg-open: line 513: 1568 Aborted (core dumped) kde-open --noninteractive "$1"
    I don't know why this doesn't work, or why I can't find any reference of other people with the same problem.
    I resolved the problem by patching xdg-open. I removed the --noninteractive flag from kde-open command, and all seems to work fine now. Still it troubles me why the xdg-open script doesn't work out of the box. Any ideas?

    Related bug reports in xdg-utils and KDE:
    Bug 269823 - kde-open --noninteractive foo.noassoc crashes
    Bug 16295 - xdg-open is inconsistent across desktop environments (also see http://cgit.freedesktop.org/xdg/xdg-uti … bf7ce76cb3)
    EDIT: I've opened a bug report at KDE: https://bugs.kde.org/show_bug.cgi?id=336117
    EDIT: And there's already a bug report in Arch: https://bugs.archlinux.org/task/40795
    Last edited by joschi (2014-06-12 12:24:56)

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • BOSD, Battery issues and Heating problem after iOS 8 upgrade

    i have upgraded my iPad mini to iOS 8. Ever since I upgraded to iOS 8 am facing blue screen issues and heating problem as well. This is really frustrating even the patch iOS 8.0.2 dint solve the problem. Are you guys listening our complaints. When will you fixing it.

    The same thing happened to me on my 2012 Subaru Outback.  I'm not sure this will help you since you have a Honda, but I'm posting this just in case.
    I paired the audio on my car with my iPhone 6.  However, when I turned the car off and back on again, the iPhone would not pair automatically.  I had to manually connect the iPhone with the car.  Turns out there are two separate bluetooth pairings on my car: one for phone which allows up to 5 devices and one for audio which allows only one device.  So I did the second bluetooth pairing for the phone (had already done the audio), and that fixed it.  YMMV

  • I am making code to try to make a game and my problem is that my code......

    I am making code to try to make a game and my problem is that my code
    will not let it change the hit everytime so im getting the first guy to hit 1 then next hits 8 and so on and always repeats.
    Another problem is that I would like it to attack with out me telling it how much times to attack. I am using Object oriented programming.
    Here is the code for my objects:
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class rockCrab {
         //Wounding formula
         double sL = 70;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 50;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         rockCrab() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              double done = rint(fH - fA);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("Rockcrab hit" +done);
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class self {
         //Wounding formula
         double sL = 1;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 1;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         self() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("You hit" +done);
    }Here is the main code that writes what the objects do:
    class fight {
         public static void main(String[] args) {
              self instance1 = new self();
              rockCrab instance2 = new rockCrab();
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
    }when the code is run it says something like this:
    you hit 1
    RockCrabs health is 9
    RockCrab hit 7
    your health is 38
    you hit 1
    RockCrabs health is 8
    RockCrab hit 7
    your health is 31
    you hit 1
    RockCrabs health is 7
    RockCrab hit 7
    your health is 24
    you hit 1
    RockCrabs health is 6
    RockCrab hit 7
    your health is 17
    my point is whatever some one hits it always repeats that
    my expected output would have to be something like
    you hit 1
    RockCrabs health is 9
    RockCrab hit 9
    your health is 37
    you hit 3
    RockCrabs health is 6
    RockCrab hit 4
    your health is 33
    you hit 2
    RockCrabs health is 4
    RockCrab hit 7
    your health is 26
    you hit 3
    RockCrabs health is 1
    RockCrab hit 6
    your health is 20
    Edited by: rade134 on Jun 4, 2009 10:58 AM

    [_Crosspost_|http://forums.sun.com/thread.jspa?threadID=5390217] I'm locking.

Maybe you are looking for

  • PDF in PDF/A konvertieren

    Wenn ich ein PDF in ein PDF/A umwandeln möchte, dann gibt mir das Acrobat XI nicht die Wahl "PDF/A" auszuwählen, da es dieses gar nicht anzeigt. Was tun?

  • Is there ANY way to hook up l and r rca cable to x-

    or am I looking at getting a converter?

  • Ignoring negative values at summary level

    Folks, I have a number of branches that have a number of customers each. I want a report at branch level (no customers detail in the report) that will ignore any negative values. i.e. Branch 1...Cust 1...10 Branch 1...Cust 2...-20 Branch 1...Cust 3..

  • Div inside another div

    Ok..is it just me, or does auto height really do squat when it comes to expanding and contracting of content in other divs that it surrounds? I have a div surrounding 2 divs, one that floats to the left, and one that floats to the right. If the div t

  • CRM on demand/Pim sync want to sync appointment

    Hello Experts When i use Pim Sync to synchronize my appointments with CRM on demand Pim sync wants to add appointments that arent deposited in my CRM System. For example certain public holidays. Has this acurred to anybody except me? Is there a way t