Berthammer's Forum Posts

  • 9 posts
  • Hey there, online highscore works perfect for me, but:

    How can I protect it from beeing cheated. For example you just have to enter this into the browser

    "http://myurl/post.php?name=Cheater&score=1000000"

    to get a highscore.

    Is there a possibility that the php script can only be called directly by the game/server?

    Or is there another solution for this problem?

    I allready tried to put this into the php files:

    <?php

    if($_SERVER["REQUEST_URI"] == $_SERVER['PHP_SELF']){

    die("not allowed");

    }

    ?>

    But this only works if you call the php script directly without parameters ("http://myurl/post.php")

    Thanks for your help!

  • Perfect, thanks! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey there,

    would it be possible to add an "set text alignment"-action to the official sprite font plugin? It would be nice to have such an action so that I can change the horizontal and also vertical alignment.

    Thanks a lot and greetings,

    Berthammer

    PS.: I know that it is available in the "unofficial plugin" but since I'm changing my project to the official one I'm missing this action now. :-)

  • Hey there,

    I'm Berthammer from Germany. Really love Construct 2 and the community is fantastic! At the moment I'm working on a kinda point and click adventure. For this I chose Construct 2 instead of other adventure-game-engines because it offers much more possibilities that I can use to design the game.

    Greetings!

    Berthammer

  • Link to .capx file (required!):

    reneberthiaume.de/bugreport2.capx

    Onlineversion:

    reneberthiaume.de/bugreport2.html

    Steps to reproduce:

    1. Click on the canvas to move the sprite with pathfinding.

    2. Rightclick to go to layout 2.

    3. Click again on the canvas to move the sprite with pathfinding.

    Observed result:

    On layout 2 there is still the obstacle-map from layout 1

    even though there is no obstacle.

    Expected result:

    Sprite can move around the whole canvas since there is no

    obstacle. (A workaround would be to regenerate the obstacle-map

    on the start of every layout.)

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 64 bit

    Construct 2 version:

    129 beta

  • Fantastic! Thanks a lot! :-)

  • Today I found out that the box will be destroyed when I pick instance

    with UID 7 (instead of 2) after switching layouts. So it seems that Construct 2 creates new UIDs after switching the layouts, even though it shows the same old UID when I make a Family.UID check and put it to a textbox.

  • Forgot to say that the red box has the persist behavior. :-) Thanks!

  • Link to .capx file (required!):

    reneberthiaume.de/bugreport.capx

    Onlineversion:

    reneberthiaume.de/bugreport.html

    Steps to reproduce:

    1. Click on "delete box" => The red box will be deleted using families and pick by UID. Everything fine.

    2. Now reload the project and this time click on "go to layout 2".

    3. Click on "go to layout 1".

    4. Click again on "delete box". This time the red box won't disappear. I'm not sure if this is a problem conserning UID, since the UID still seems to be the same.

    Observed result:

    Red box hasn't been destroyed after switching to layout 2 and

    back to layout 1.

    Expected result:

    Red box should be destroyed. (Like it did in r126)

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 64 bit

    Construct 2 version:

        

    r127, r128.2

  • 9 posts