Jump to content


Photo

Clockwork - Free Online Highscores and Stats


  • Please log in to reply
199 replies to this topic

#1 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 06 November 2010 - 10:47 PM

CLOCKWORK

Free Online Highscores and Stats


>>>madewithclockwork.com<<<



How many people are playing your game right now? Ever wanted online highscores?
Add internet functionality to your game with Clockwork!

NOTICE


In case it isn't obvious, I just don't have any more time to continue working on/updating/supporting Clockwork. I'm entering my senior year of high school, and life is just too time consuming to continue developing this service.

The service will continue to run as-is for at least until February 1st, 2013, after which it will be shut down along with gmhighscores.com

If you'd like to run your own version of Clockwork, the source code will be permanently hosted at https://github.com/rlord/clockwork. If you host it on your own site, there should be a place in the SDK to switch the server it connects to. Feel free to submit pull requests.

If you need support, the best place to get it is to post in this thread topic, and I will be shutting down the support website.

Thanks for supporting the GMH and Clockwork over all these years. :) It's been a wonderful chapter in my life.

Features:
- Online Highscores
----- Access in game
----- Embed on your website
- Automatic and Custom Statistics
- Fancy Graphs
- MD5 Encryption, to keep teh hax0rz out

Requirements:
- Game Maker 8 Pro
- Basic Knowledge of GML

NEWS
We are actively working on Clockwork 2.0. You can look at the progress and the remaining tasks to be completed here:

https://trello.com/b...aae7a58073881c0

NEED HELP? - check out the help files. Or email or PM me, and I'll try to be helpful. Or post in this thread.

FOUND A BUG? - it would be awesome if you reported it by emailing me at robert_REMOVETHIS_@madewithclockwork.com, or you can just PM me.


GOT AN AWESOME IDEA? - PM me!

Thanks for choosing Clockwork!

>>http://www.madewithclockwork.com



Edited by Jub Jub, 29 July 2012 - 07:06 PM.

  • 0

#2 Docopoper

Docopoper

    You are observant!

  • GMC Member
  • 1287 posts
  • Version:GM:Studio

Posted 06 November 2010 - 11:23 PM

Yay! it's up!

I have a suggestion, not a high priority one, but to include some kind of variable protection system that you get with clockwork, so you can stop people memory editing your high scores.
  • 0

#3 G.I.L.

G.I.L.

    GMC Member

  • New Member
  • 64 posts

Posted 07 November 2010 - 03:37 AM

Yes! Its finally here! The website design is great and I like that you've improved the security. Now onto making some games!!!
  • 0

#4 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 07 November 2010 - 02:43 PM

Yay! it's up!

I have a suggestion, not a high priority one, but to include some kind of variable protection system that you get with clockwork, so you can stop people memory editing your high scores.


Good idea... I added it to the "considering" list. It would be difficult, but I think it is possible sometime in the future.

Yes! Its finally here! The website design is great and I like that you've improved the security. Now onto making some games!!!


Awesome, thanks! :)
  • 0

#5 norisak

norisak

    GMC Member

  • GMC Member
  • 130 posts
  • Version:GM8

Posted 07 November 2010 - 04:34 PM

It wont submit if I put characters like æ or ' or " or ø or ^. Can you make a script that filters away the characters that wont work so if someone gets a great score and they cant submit it :blink:
  • 0

#6 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 07 November 2010 - 08:34 PM

It wont submit if I put characters like æ or ' or " or ø or ^. Can you make a script that filters away the characters that wont work so if someone gets a great score and they cant submit it :blink:


Good point! Here is a script which will filter a player's name of bad characters, and return the cleaned string:


/***************************************************
  cw_highscore_name_clean(str)
 
  DESCRIPTION:
  Cleans a player's name of strange symbols, for submitting to Clockwork.
 
  ARGUMENTS:
  str - the string to be cleaned
  
  RETURNS: The string, cleaned
 ***************************************************/
{
    cw_temp_i = 0;
    cw_temp_string = "";
    while (cw_temp_i < string_length(argument0))
    {
        cw_temp_i += 1;
        cw_temp_currentchar = ord(string_char_at(argument0,cw_temp_i));
        if ( (cw_temp_currentchar >= 48 and cw_temp_currentchar <= 57) or (cw_temp_currentchar >= 65 and cw_temp_currentchar <= 90) or (cw_temp_currentchar >= 97 and cw_temp_currentchar <= 122) )
        {
            cw_temp_string = cw_temp_string + chr(cw_temp_currentchar);
        }
    }
    
    return cw_temp_string;
}


I will also put this script into the example code when I push out the next SDK update.

Thanks for pointing that out to me!

-Robert

Edited by Jub Jub, 07 November 2010 - 08:37 PM.

  • 0

#7 norisak

norisak

    GMC Member

  • GMC Member
  • 130 posts
  • Version:GM8

Posted 09 November 2010 - 07:45 PM

You should make so that you can delete a single score in the highscores, incase of hackers.
  • 0

#8 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 11 November 2010 - 03:34 AM

You should make so that you can delete a single score in the highscores, incase of hackers.


Yes, that is on the to-do list. However, Clockwork has fairly good security, and I would say that the most likely way that hackers will add highscores is by decompiling your game.
  • 0

#9 Docopoper

Docopoper

    You are observant!

  • GMC Member
  • 1287 posts
  • Version:GM:Studio

Posted 11 November 2010 - 09:22 PM

or using Cheat Engine... it's really easy to cheat with it. and highscores are usually displayed as a numerical value on the screen, so you can just search for it's memory... far easier than intercepting the message to clockwork. that's why I suggested the protection thing.
  • 0

#10 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 11 November 2010 - 10:38 PM

or using Cheat Engine... it's really easy to cheat with it. and highscores are usually displayed as a numerical value on the screen, so you can just search for it's memory... far easier than intercepting the message to clockwork. that's why I suggested the protection thing.


Check out this site: https://www.mochimed...-mochiads-games

It's some possible methods for protecting your games' scores and stuff. The methods are intended for flash, but they could be easily used with game maker as well.

-Robert
  • 0

#11 Gamechaser_net

Gamechaser_net

    GMC Member

  • New Member
  • 0 posts

Posted 12 November 2010 - 07:26 PM

I would love to use this, but after setting everything up, I get this error:

___________________________________________
ERROR in
action number 8
of Create Event
for object obj_player:

Error defining an external function.

I merged the games and in my obj_player under some other stuff that goes on when it is created put the code that you provide on your site. I filled it out with the correct info.
Help would be appreachated.
  • 0

#12 2DLuis

2DLuis

    Graphic Designer

  • GMC Member
  • 2493 posts
  • Version:GM8

Posted 12 November 2010 - 08:31 PM

Great web design.
  • 0

#13 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 12 November 2010 - 08:56 PM

I would love to use this, but after setting everything up, I get this error:

___________________________________________
ERROR in
action number 8
of Create Event
for object obj_player:

Error defining an external function.

I merged the games and in my obj_player under some other stuff that goes on when it is created put the code that you provide on your site. I filled it out with the correct info.
Help would be appreachated.


Make sure that 39.dll is in the same folder as your game.


Great web design.


Thanks!

I also have a couple of bugs that I need to fix with the SDK which should be out in about 4 hours.

Edited by Jub Jub, 12 November 2010 - 08:57 PM.

  • 0

#14 Fenatti

Fenatti

    GMC Member

  • New Member
  • 5 posts

Posted 13 November 2010 - 09:05 AM

how to let players see the highscores?
http://www.madewithc...s/ID/highscores
they cant see it because they dont know the password

Edited by Fenatti, 13 November 2010 - 09:11 AM.

  • 0

#15 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 13 November 2010 - 02:58 PM

how to let players see the highscores?
http://www.madewithc...s/ID/highscores
they cant see it because they dont know the password


You can access the highscores from in-game, and show it to the user that way. The clockwork help files explain how to do that at http://www.madewithclockwork.com/help

Hope that helps,

-Robert

EDIT: You can also embed them in your website.
EDIT 2: You can also now go to madewithclockwork.com/games/ID/highscores to see the highscores publicly.

Edited by Jub Jub, 27 January 2011 - 03:45 AM.

  • 0

#16 Fenatti

Fenatti

    GMC Member

  • New Member
  • 5 posts

Posted 13 November 2010 - 03:48 PM

Well, I tried that.

In script cw_highscore_get:
Error in code at line 15:
if (global.cw_active == 0) {exit;}
^
at position 17: Unknown variable cw_active


You know maybe whats wrong?
  • 0

#17 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 13 November 2010 - 05:04 PM

Well, I tried that.

In script cw_highscore_get:
Error in code at line 15:
if (global.cw_active == 0) {exit;}
^
at position 17: Unknown variable cw_active


You know maybe whats wrong?


Did you call cw_start()?

This page explains how to start Clockwork: http://www.madewithc.../gettingstarted
  • 0

#18 jackyboyhenry

jackyboyhenry

    just jack

  • GMC Member
  • 466 posts

Posted 15 November 2010 - 04:13 PM

very pro looking site :)
  • 0

#19 Docopoper

Docopoper

    You are observant!

  • GMC Member
  • 1287 posts
  • Version:GM:Studio

Posted 16 November 2010 - 09:11 PM

Is there any way to trick clockwork int giving me level sharing? eg. through error reporting or statistics? (I don't really know how the error reporting works though)
  • 0

#20 Jub Jub

Jub Jub

    GMC Member

  • GMC Member
  • 15 posts

Posted 17 November 2010 - 03:26 AM

Is there any way to trick clockwork int giving me level sharing? eg. through error reporting or statistics? (I don't really know how the error reporting works though)


Error Reporting doesn't really work right now...

I also will be implementing level sharing sometime in the future...if you look at the first post, level sharing is in the "considering" list.

very pro looking site :)

Thanks!

Edited by Jub Jub, 17 November 2010 - 03:50 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users