Thread: Need Help On HighScores Thingy

Results 1 to 10 of 10
  1. #1 Need Help On HighScores Thingy 
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    I need help on highscores. I want to remove admins and owner off the highscores so only player mods and normal players are on there and no admins and owners r on there.

    link:
    http://rune-zone-isle.no-ip.info/highscore/

    Please help me on this!!

    don't banned me for saying that link, im not advertising sorry just need help on it.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Shkic's Avatar
    Join Date
    Jun 2008
    Posts
    200
    Thanks given
    14
    Thanks received
    0
    Rep Power
    117
    I can help for U with PHP, but firstly I need yours help in Java. Could you upload this thing "com.mysql.jdbc.Driver"? Becouse i have this error then I logout:

    Code:
    [shkic]: Logged in.
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at highscore.createCon(highscore.java:11)
            at Client.logout(Client.java:7189)
            at Button.doAction(Button.java:807)
            at Client.parseIncomingPackets(Client.java:3042)
            at Client.packetProcess(Client.java:1007)
            at Client.packetSending(Client.java:975)
            at PlayerManager.process(PlayerManager.java:119)
            at Server.main(Server.java:41)
    MySQL Error:DELETE FROM `skills` WHERE playerName = 'shkic';
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:45)
            at Client.logout(Client.java:7190)
            at Button.doAction(Button.java:807)
            at Client.parseIncomingPackets(Client.java:3042)
            at Client.packetProcess(Client.java:1007)
            at Client.packetSending(Client.java:975)
            at PlayerManager.process(PlayerManager.java:119)
            at Server.main(Server.java:41)
    MySQL Error:DELETE FROM `skillsoverall` WHERE playerName = 'shkic';
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:46)
            at Client.logout(Client.java:7190)
            at Button.doAction(Button.java:807)
            at Client.parseIncomingPackets(Client.java:3042)
            at Client.packetProcess(Client.java:1007)
            at Client.packetSending(Client.java:975)
            at PlayerManager.process(PlayerManager.java:119)
            at Server.main(Server.java:41)
    MySQL Error:INSERT INTO `skills` (`id`,`playerName`,`Attacklvl`,`Attackxp`,`Defe
    ncelvl`,`Defencexp`,`Strengthlvl`,`Strengthxp`,`Hitpointslvl`,`Hitpointsxp`,`Ran
    gelvl`,`Rangexp`,`Prayerlvl`,`Prayerxp`,`Magiclvl`,`Magicxp`,`Cookinglvl`,`Cooki
    ngxp`,`Woodcuttinglvl`,`Woodcuttingxp`,`Fletchinglvl`,`Fletchingxp`,`Fishinglvl`
    ,`Fishingxp`,`Firemakinglvl`,`Firemakingxp`,`Craftinglvl`,`Craftingxp`,`Smithing
    lvl`,`Smithingxp`,`Mininglvl`,`Miningxp`,`Herblorelvl`,`Herblorexp`,`Agilitylvl`
    ,`Agilityxp`,`Thievinglvl`,`Thievingxp`,`Slayerlvl`,`Slayerxp`,`Farminglvl`,`Far
    mingxp`,`Runecraftlvl`,`Runecraftxp`) VALUES ('shkic',99,518376780,99,29049640,9
    9,518060720,99,544651522,99,515007690,99,28958479,99,538944336,99,514910000,99,5
    14910000,99,514999100,99,514910000,99,514915300,99,514910000,99,515504000,99,514
    910000,99,514936730,99,514915544,99,517630655,99,514910000,99,514915584,99,51491
    0000);
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:48)
            at Client.logout(Client.java:7190)
            at Button.doAction(Button.java:807)
            at Client.parseIncomingPackets(Client.java:3042)
            at Client.packetProcess(Client.java:1007)
            at Client.packetSending(Client.java:975)
            at PlayerManager.process(PlayerManager.java:119)
            at Server.main(Server.java:41)
    MySQL Error:INSERT INTO `skillsoverall` (`id,`playerName`,`lvl`,`xp`) VALUES ('s
    hkic',2178,1857707060);
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:49)
            at Client.logout(Client.java:7190)
            at Button.doAction(Button.java:807)
            at Client.parseIncomingPackets(Client.java:3042)
            at Client.packetProcess(Client.java:1007)
            at Client.packetSending(Client.java:975)
            at PlayerManager.process(PlayerManager.java:119)
            at Server.main(Server.java:41)
    [shkic]: Logged out.
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at highscore.createCon(highscore.java:11)
            at Client.logout(Client.java:7189)
            at PlayerManager.saveGame(PlayerManager.java:321)
            at PlayerManager.removePlayer(PlayerManager.java:311)
            at PlayerManager.process(PlayerManager.java:143)
            at Server.main(Server.java:41)
    MySQL Error:DELETE FROM `skills` WHERE playerName = 'shkic';
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:45)
            at Client.logout(Client.java:7190)
            at PlayerManager.saveGame(PlayerManager.java:321)
            at PlayerManager.removePlayer(PlayerManager.java:311)
            at PlayerManager.process(PlayerManager.java:143)
            at Server.main(Server.java:41)
    MySQL Error:DELETE FROM `skillsoverall` WHERE playerName = 'shkic';
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:46)
            at Client.logout(Client.java:7190)
            at PlayerManager.saveGame(PlayerManager.java:321)
            at PlayerManager.removePlayer(PlayerManager.java:311)
            at PlayerManager.process(PlayerManager.java:143)
            at Server.main(Server.java:41)
    MySQL Error:INSERT INTO `skills` (`id`,`playerName`,`Attacklvl`,`Attackxp`,`Defe
    ncelvl`,`Defencexp`,`Strengthlvl`,`Strengthxp`,`Hitpointslvl`,`Hitpointsxp`,`Ran
    gelvl`,`Rangexp`,`Prayerlvl`,`Prayerxp`,`Magiclvl`,`Magicxp`,`Cookinglvl`,`Cooki
    ngxp`,`Woodcuttinglvl`,`Woodcuttingxp`,`Fletchinglvl`,`Fletchingxp`,`Fishinglvl`
    ,`Fishingxp`,`Firemakinglvl`,`Firemakingxp`,`Craftinglvl`,`Craftingxp`,`Smithing
    lvl`,`Smithingxp`,`Mininglvl`,`Miningxp`,`Herblorelvl`,`Herblorexp`,`Agilitylvl`
    ,`Agilityxp`,`Thievinglvl`,`Thievingxp`,`Slayerlvl`,`Slayerxp`,`Farminglvl`,`Far
    mingxp`,`Runecraftlvl`,`Runecraftxp`) VALUES ('shkic',99,518376780,99,29049640,9
    9,518060720,99,544651522,99,515007690,99,28958479,99,538944336,99,514910000,99,5
    14910000,99,514999100,99,514910000,99,514915300,99,514910000,99,515504000,99,514
    910000,99,514936730,99,514915544,99,517630655,99,514910000,99,514915584,99,51491
    0000);
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:48)
            at Client.logout(Client.java:7190)
            at PlayerManager.saveGame(PlayerManager.java:321)
            at PlayerManager.removePlayer(PlayerManager.java:311)
            at PlayerManager.process(PlayerManager.java:143)
            at Server.main(Server.java:41)
    MySQL Error:INSERT INTO `skillsoverall` (`id,`playerName`,`lvl`,`xp`) VALUES ('s
    hkic',2178,1857707060);
    java.lang.NullPointerException
            at highscore.query(highscore.java:24)
            at highscore.save(highscore.java:49)
            at Client.logout(Client.java:7190)
            at PlayerManager.saveGame(PlayerManager.java:321)
            at PlayerManager.removePlayer(PlayerManager.java:311)
            at PlayerManager.process(PlayerManager.java:143)
            at Server.main(Server.java:41)
    Reply With Quote  
     

  3. #3  
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    you find the link in that guys highscores thread...
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Amg... where it checks the levels, put "if(playerRights < 1) {" then a "}" at the end of the code.
    Reply With Quote  
     

  5. #5  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    33
    Posts
    6,017
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    No...First just go into your mysql data base and delete the people you don't want on there.

    then go into your server and where you are saving them to the highscores (Assuming logout here) add something like

    Delete your old one first.

    if (playerRights > 2){
    do the saveing or w/e
    }
    Reply With Quote  
     

  6. #6  
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    Quote Originally Posted by pro k0er View Post
    No...First just go into your mysql data base and delete the people you don't want on there.

    then go into your server and where you are saving them to the highscores (Assuming logout here) add something like

    Delete your old one first.

    if (playerRights > 2){
    do the saveing or w/e
    }
    so wait, I put this:
    if (playerRights > 2){
    do the saveing or w/e
    }
    in my logout in server files

    What do i put belore the playRights thing??
    Reply With Quote  
     

  7. #7  
    ,,
    Segadora's Avatar
    Join Date
    Oct 2006
    Age
    31
    Posts
    324
    Thanks given
    3
    Thanks received
    3
    Rep Power
    269
    I make it in next version, upcomming in weekend probably
    Who bothers
    Reply With Quote  
     

  8. #8  
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    Quote Originally Posted by Segadora View Post
    I make it in next version, upcomming in weekend probably
    ok sweet thanks.
    when you do make it can you message me when you did please?
    Reply With Quote  
     

  9. #9  
    Member Need Help On HighScores Thingy Market Banned


    Join Date
    Nov 2006
    Posts
    3,292
    Thanks given
    29
    Thanks received
    22
    Rep Power
    4355
    Quote Originally Posted by Segadora View Post
    I make it in next version, upcomming in weekend probably
    Idk wat will i do without you
    Spoiler for Signature:



    Nick David Matt Kevin Zack Corey Jeff GOD DAMMIT
    Reply With Quote  
     

  10. #10  
    ,,
    Segadora's Avatar
    Join Date
    Oct 2006
    Age
    31
    Posts
    324
    Thanks given
    3
    Thanks received
    3
    Rep Power
    269
    look at http://segadora.org for updates, this will probably be there on sunday
    Who bothers
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •