Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
Solved: Need help/explaination with this error please!

Reply  
Thread Tools
mrimpact's Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2010
29-Jul-2010, 05:10 AM #1
Solved: Need help/explaination with this error please!
Here's my code

Code:
public void getBountyHeadIcon(Player p) {
        p.appearanceUpdateReq = true;
        p.updateReq = true;
    if (p == null) {
        return;
    }
    int totalPrice1 = en.items.getItemValue(p.equipment[0]) + en.items.getItemValue(p.equipment[1]) + 

en.items.getItemValue(p.equipment[2]) + en.items.getItemValue(p.equipment[3]) + en.items.getItemValue(p.equipment[4]) + 

en.items.getItemValue(p.equipment[5]) + en.items.getItemValue(p.equipment[6]) + en.items.getItemValue(p.equipment[7]) + 

en.items.getItemValue(p.equipment[8]) + en.items.getItemValue(p.equipment[9]) + en.items.getItemValue(p.equipment[10] + 

en.items.getItemValue(p.equipment[11]) + en.items.getItemValue(p.equipment[12]) + en.items.getItemValue(p.equipment[13]));
    int totalPrice2 = en.items.getItemValue(p.items[0]) * p.itemsN[0] + en.items.getItemValue(p.items[1]) * p.itemsN[1] + 

en.items.getItemValue(p.items[2]) * p.itemsN[2] + en.items.getItemValue(p.items[3]) * p.itemsN[3] + en.items.getItemValue

(p.items[4]) * p.itemsN[4] + en.items.getItemValue(p.items[5]) * p.itemsN[5] + en.items.getItemValue(p.items[6]) * p.itemsN

[6] + en.items.getItemValue(p.items[7]) * p.itemsN[7] + en.items.getItemValue(p.items[8]) * p.itemsN[8] + 

en.items.getItemValue(p.items[9]) * p.itemsN[9] + en.items.getItemValue(p.items[10]) * p.itemsN[10] + en.items.getItemValue

(p.items[11]) * p.itemsN[11] + en.items.getItemValue(p.items[12]) * p.itemsN[12] + en.items.getItemValue(p.items[13]) * 

p.itemsN[13] + en.items.getItemValue(p.items[14]) * p.itemsN[14] + en.items.getItemValue(p.items[15]) * p.itemsN[15] + 

en.items.getItemValue(p.items[16]) * p.itemsN[16] + en.items.getItemValue(p.items[17]) * p.itemsN[17] + 

en.items.getItemValue(p.items[18]) * p.itemsN[18] + en.items.getItemValue(p.items[19]) * p.itemsN[19] + 

en.items.getItemValue(p.items[20]) * p.itemsN[20] + en.items.getItemValue(p.items[21]) * p.itemsN[21] + 

en.items.getItemValue(p.items[22]) * p.itemsN[22] + en.items.getItemValue(p.items[23]) * p.itemsN[23];
    int finalPrice = totalPrice1 + totalPrice2;
    if (finalPrice  < 10000) {
        p.headIconSkull = 6;
    } else if (finalPrice  < 100000 || > 100000) {
        p.headIconSkull = 5;
    } else if (finalPrice  < 500000 || > 500000) {
        p.headIconSkull = 4;
    } else if (finalPrice  < 1000000 || > 1000000) {
        p.headIconSkull = 3;
    } else {
        p.headIconSkull = 2;
            p.appearanceUpdateReq = true;
            p.updateReq = true;
    }
    p.headIconSkull = p.headIconSkull;
    p.updateReq = p.appearanceUpdateReq = true;
    }
My error
Code:
Compiling now...
.\net\com\codeusa\model\games\BountyHunter.java:150: illegal start of expression

        } else if (finalPrice  < 100000 || > 100000) {
                                           ^
.\net\com\codeusa\model\games\BountyHunter.java:152: illegal start of expression

        } else if (finalPrice  < 500000 || > 500000) {
                                           ^
.\net\com\codeusa\model\games\BountyHunter.java:154: illegal start of expression

        } else if (finalPrice  < 1000000 || > 1000000) {
                                            ^
3 errors
Press any key to continue . . .
Ent's Avatar
Ent Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 3,237 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
29-Jul-2010, 06:37 AM #2
You have marked this thread solved, but have no responses. Is this correct?
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Sims castaway stories ..Please please can someone help me with this :( :( Pantheress13 Games 0 29-Aug-2009 10:17 PM
plz help me with this error . my explorer gives error every time i close any folder anuj.jiet07 Windows Vista 0 16-May-2009 11:29 AM
Windows Vista home premium-I am fit to be tied with this error--PLEASE HELP xfile47 Windows Vista 35 03-Sep-2008 04:15 PM
error VMM32.VXD can anyone help me with this error bobobean Earlier Versions of Windows 4 09-Apr-2005 11:50 AM
PLEASE, I need help badly with this HJT log Busdriver Virus & Other Malware Removal 0 21-Feb-2005 01:14 PM


Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:20 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.