Jump to content


  1. Solero

    1. Community Guidelines   (249 visits to this link)

      Read these before posting anything.

    2. Community Discord   (344 visits to this link)

      Come and hang out with us - we won't bite!

    3. Announcements

      Site news and announcements will be posted here by staff.

    4. Suggestions and Feedback

      Have any comments or suggestions you'd like to share? Post them here!

  2. CPPS

    1. General

      For general discussion pertaining to Club Penguin private servers.

    2. Support

      If you need help getting something to work, let us know and we'll be sure to help.

    3. Showcase

      Show off that cool project you've been working on~

    4. Tutorials

      Share us your knowledge!

    5. Releases

      A sub-forum exclusively made for you to release all of your amazing content in!

  3. Programming

    1. General

      Discuss general programming concepts and topics that are unrelated to Club Penguin.

    2. Releases

      Release your sweet programming projects to the community!

  4. General

    1. General Chat

      General chatter that doesn't belong in any other category! :-)

    2. Introductions

      Welcome! Please introduce yourself! 

    3. Gaming

      Platform is irrelevant; if you want to talk about vidya games, discuss them here! You can discuss game modifications, too.

    4. Tutorials

      Share us your Non-CPPS/Programming tutorials here!

    5. Music

      Share your favorite tunes! 🔥

  5. Archives

    1. Public Archives

      Useful topics from older communities.

  • Who's Online   0 Members, 0 Anonymous, 2 Guests (See full list)

    There are no registered users currently online

  • Member Statistics

    Total Members
    Most Online
    Newest Member
  • Recent Status Updates

  • Posts

    • Hi people, in this tutorial we are going to add a leaderboard system where we will display the total scores in a table which you earned by playing some games which give you score. First of all, we need to make some service-side changes and then move onto the web-side changes. This is a simple system, so first open your database and click the table 'penguins' and create a column named 'score', make sure it's INT(Integer) and also has a default value, '0'. Next, we would want to update that 'score' column whenever they play a mini-game so what we will do is go to the following folder: /Houdini/Houdini/Handlers/Games/ and open the __init__.py file. Well, I had to use the MYSQL module because I couldn't really understand sqlalchemy  and MYSQLdb  module seemed easy, so yeah. If you don't have the module, install it using the following command: pip install MySQLdb After that in the file, import this import MySQLdb after import math, time Now, we need to use the module so paste this code after the maxScorePerMinute = { array db = MySQLdb.connect(host="localhost", user="root", passwd="pass", db="houdini", autocommit=True) cur = db.cursor() Find the def handleSendGameOver(self, data): function and inside if self.server.stampGroups.isStampRoom(self.room.Id): after coinsEarned = determineCoinsEarned(self.room.Id, data.Score) add this: ID1 = self.user.ID cur.execute("UPDATE penguins SET score = score + %s WHERE ID = %s " % (data.Score, ID1)) Do the same for the next else statement: http://prntscr.com/ibb3b4 Restart Houdini, now onto the web-server part. <html> <head> <title>Leaderboard</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <center><h1>TOP 10 Score Leaderboard</h1></center> <center> <?php $db = new mysqli('localhost','root','pass','houdini'); if ($db->connect_error) { die('Error : ('. $db->connect_errno .') '. $db->connect_error); } $results = $db->query("SELECT username, score FROM penguins ORDER BY score DESC LIMIT 10"); echo "<table border='1' <tr> <th>Username</th> <th>Score</th> </tr>"; while($row = $results->fetch_array()) { echo '<tr>'; echo '<td>'.$row["username"].'</td>'; echo '<td>'.$row["score"].'</td>'; echo '</tr>'; } echo '</table>'; $db->close(); ?> </center> </body> </html> You can change the LIMIT 10 to whatever number you like. So, whenever someone plays a game their score will get updated and it will display on the leaderboard. Thanks, Dev.
    • Hey, I'm not sure how to add a custom stamp into as3, could anyone help me solve this?   thanks  
    • Penguin Hangout - The New CPPS! Hello! I am Chandler010, owner of Penguin Hangout. I invite YOU to a new CPPS releasing very soon!    Penguin Hangout is unlike any other CPPS. Penguin Hangout is a mixture of ALL Club Penguins eras! With active and nice staff, friendly environment,  and multiple parties, we guarantee you fun on our island! Join other Penguins as you Waddle and explore the island. We can't wait for you to join us on the island THIS FEBRUARY! Discord - https://discord.gg/Kn2XZ8m   Waddle On! 
    • Hello, I'm new to Linux and I've recently noticed that when I play Minecraft, after 30 minutes or so the system freezes! When it's frozen, I can't do anything and I just force a shut down by holding on the power button. I've tried waiting it out but nothing seems to be happening. I've tried changing my Java, updating drivers, limiting RAM usage, and I've searched this up on Google and haven't found anything. In game, I also see blocks at the edge of my screen that are partly transparent. Also, sometimes my screen flashes black only in game. I usually get around 30-40 fps when using Linux. This doesn't happen in Windows but when I play on Windows I usually get around 15-25 fps on a low render distance. When I used to use Ubuntu, the screen flashes and the transparent blocks didn't happen but the crashes still occured. This only happens in Minecraft but with any other application the OS runs just fine. Thanks       I didn't find the right solution from the internet.
      References: https://forums.linuxmint.com/viewtopic.php?t=155201 Video Advertising Examples
  • Topics

  • Popular Contributors

    Nobody has received reputation this week.