Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • SOUPSOUP: just get a vpn
      August 13, 2018, 06:44:28 PM
    • jme: _^_ will answer all of your javascript questions
      August 12, 2018, 07:11:00 PM
    • doomsale: and where is boxman?
      August 10, 2018, 03:16:59 AM
    • doomsale: Where can i play the Moparscape MMORPG with the Metallica instrumentals?
      August 10, 2018, 03:16:47 AM
    • doomsale: no longer clicking on doors and dummies at east bank
      August 10, 2018, 03:16:07 AM
    • doomsale: were all grown up now huh?
      August 10, 2018, 03:15:58 AM
    • _^_: hey everyone look at my graphs [link]
      August 06, 2018, 01:52:16 PM
    • braedyn: Someone pl0x help me out with PI Lottery!!
      August 03, 2018, 02:12:25 AM
    • Travas: p3n1s
      July 26, 2018, 09:46:33 PM
    • Krackkid: You up :eggplant:
      July 23, 2018, 06:18:17 PM
    • DeathsChaos9: no
      July 23, 2018, 03:53:31 PM
    • Emulous: Come check out Emulous: [link]
      July 22, 2018, 03:37:19 PM
    • Emulous:[link]
      July 22, 2018, 03:37:00 PM
    • Travas: ur mom
      July 21, 2018, 06:04:50 PM
    • YNRDAB: Watcha big ballers up too?
      July 20, 2018, 11:01:06 AM
    • dark250: i need help for coding client
      July 19, 2018, 08:27:37 AM
    • Travas: yes
      July 14, 2018, 02:19:44 PM
    • drubrkletern: lmao racist and sexist much?
      July 14, 2018, 01:11:52 PM
    • Cole1497: yeah i got you lil boat give me a second
      July 13, 2018, 03:19:35 AM
    • B0ATY.: yo can anyone unban my ip, i got banned for saying i hope someone gets aids :p
      July 12, 2018, 09:16:00 PM

    Author Topic: illegal start of type  (Read 309 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    illegal start of type
    « on: May 09, 2015, 01:09:07 AM »
    Can someone help me on this error i don't understand whats missing or what i have to add.
    Runescape Gambling

    OfflineJustin Bieber

    • Member
    • ****
    • Posts: 2,941
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #1 on: May 09, 2015, 01:19:02 AM »
    how the fuck do we know if you didn't even post the code at that line?
    Runescape Gambling

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #2 on: May 09, 2015, 01:23:15 AM »
    Just remove the "*/" (no quotes)
    from line 13422...
    how the fuck do we know if you didn't even post the code at that line?
    really dude? read the console. He has symbols for the end of a comment. SMH.
    Runescape Gambling

    OfflineJustin Bieber

    • Member
    • ****
    • Posts: 2,941
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #3 on: May 09, 2015, 03:50:25 AM »
    what if there was an opening comment a few lines before that? "helping" people with out-of-context syntax errors doesn't help them avoid getting the same errors over and over again.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #4 on: May 09, 2015, 07:21:11 AM »
    Just remove the "*/" (no quotes)
    from line 13422...
    how the fuck do we know if you didn't even post the code at that line?
    really dude? read the console. He has symbols for the end of a comment. SMH.

    oh okay i got ya that makes perfect sense lol thank you

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #5 on: May 09, 2015, 01:53:23 PM »
    what if there was an opening comment a few lines before that? "helping" people with out-of-context syntax errors doesn't help them avoid getting the same errors over and over again.
    If there was an open comment, there would be completely different errors.. (Probably 100 errors because of a missing end bracket)
    Or if it was only a partial open comment, then it would show the same error but in a different place for a different symbol.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #6 on: May 09, 2015, 02:02:39 PM »
    what if there was an opening comment a few lines before that? "helping" people with out-of-context syntax errors doesn't help them avoid getting the same errors over and over again.
    If there was an open comment, there would be completely different errors.. (Probably 100 errors because of a missing end bracket)
    Or if it was only a partial open comment, then it would show the same error but in a different place for a different symbol.

    I see, im getting a new error not sure how to fix this at all iv'e been looking all morning!

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #7 on: May 09, 2015, 02:05:25 PM »
    "cannot find symbol" quite literally means what it says.

    It cannot find the symbol.
    Look around in the code and see if it was commented out.
    If it wasn't. Then you need to define it.

    Looks like both missing symbols are ints.
    So if you can't find any commented lines where they got commented, define two ints in the class. one being xpCounter, another being expAdded.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: illegal start of type
    « Reply #8 on: May 09, 2015, 02:57:32 PM »
    "cannot find symbol" quite literally means what it says.

    It cannot find the symbol.
    Look around in the code and see if it was commented out.
    If it wasn't. Then you need to define it.

    Looks like both missing symbols are ints.
    So if you can't find any commented lines where they got commented, define two ints in the class. one being xpCounter, another being expAdded.

    Nvm buddy just needed to declare all of these thank you so much, now i learned something new! :) cheers

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal