WackyToaster's Recent Forum Activity

  • [quote:3c8x10tk]I think bug and request reports must be made if you want to see changes, though.

    Nah, changes and bugfixes must be made if Scirra wants to see money, though.

    We´ll see if they fix it, else I´ll go through the slog of creating reports

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:2n6spwau]hello WackyToaster, go to Settings, Save & Backup and remove the option "Periodically back up active project", I think. (when on the train)

    Well, I don´t think disabling autosave/backup is the preferred option here. I mean I could just switch it to local backup I guess. I´d still rather not have to meddle with the settings in this case though.

  • Now that I´m on vacation and got more time to dev around, I stumbled over some annoyances in C3. I´ll just use this to drop everything I find. I don´t want to post these in either the suggestions or github issue thing, because they are minor and I honestly can´t be bothered to file a complete report (for each?) about. Feel free to expand the list.

    Array Editor

    • It´s impossible to delete the number 0 out of the array fields. You have to change it to a different number first, then you can delete it. I´d assume 0 is seen as 'empty' but that isn´t exactly true.
    • Would be awesome if I could navigate the editor with the arrow keys.

    Image Editor

    • Two finger zooming is very slow in image editor (on a 4k laptop with touchscreen at least) It seems to go at a fixed maximum speed.
    • Trying to set the brush size to e.g. 250 by typing it in the field results in 1250 (then defaults to the maximum of 500) since it doesn´t let me delete everything out of it. One number always has to be present.

    Bullet behavior

    • Would be great if I could not only set the initial speed, but also the initial angle.

    Conditions, Events & Eventsheet

    • From C2 I´m used to navigate through most of the Condition and Event creation with keyboard. In C2 pressing 'enter' in this window does the next logical operation (letting me pick the object). In C3 a popup will tell me that I have to pick an object (duh)
    • When searching through events I get this awesome list of all the events that contain my keyword. Sadly I get no "edit this event" option when I click on it, the closest thing I get is "go to"
    • Global constant variables: DOTHEYREALLYHAVETOBEINALLCAPSBECAUSEITHINKITLOOKSUGLY
    • When creating (e.g.) a condition for my Object 'zing' I use the search bar to quickly find it between all the Objects. However when I type 'zing' the first shown (and selected) Object will not be 'zing' but 'amazing' because it´s alphabetically ordered. I´d rather have the closest match first though.
    • If I do this, it would be really neat to either get multiple windows for each selected action or some sort of 'batch edit' where I can edit all selected one after another. Or maybe even both, either way it would save a ton of navigating.

    Misc

    • If I can check for 'If [Sprite] is overlapping [Tiled background/9-patch]' why doesn´t it work the other way around? Is there a particular reason for that?
    • Also, if I can check for said overlap, I´d love to at least be able to disable the collision checking on Tiled backgrounds and 9-patches
    • When I was deving on the train (with a garbage on-off internet connection) the autosave would constantly ask me to sign in my gdrive again.
  • Did some translating, here are a few things to note.

    • Some stuff is germanized and shouldn´t be translated, but could be hard-translated. The question is where to draw the line, but it´s very common to germanize englisch phrasings in the IT-sector. (To a degree where you know the englisch word but forgot how one would call it in german )
    • Some stuff like "Angle" seems to reoccur quite a bunch of times, couldn´t that be condensed somehow?
    • Sometimes it´s hard to translate something since it´s out of context.
    • There´s some reoccuring phrasings like "On X happening", if several translators work on it some might translate it a bit different, but it has to be consistent.
  • I´ll help with german. I´m still waiting for paypal btw.

  • Try this, no warranty. If you alter the coins by more than one, it will reset the coins. (Press c to try it) But I´m pretty sure if you are dedicated you will be able to cheat anyway. But it´s probably enough of a scriptkiddy speedbump. <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes">

    https://drive.google.com/open?id=0B7-sv ... 2ZwdEtRaEk

  • I suppose that´s because you have to wait for the ajax request to complete. There´s the "On ajax completed" trigger, inside there you then can use the AJAX.lastdata

  • Well it depends on what your game does. Specifically, what values do you worry about beeing cheated? Score? Player health?

    I see there are two categories: Static and Dynamic values (that you want to protect)

    Static values you can theoretically compare to a different static value, so in case someone tinkers with said value (e.g. Player jump strenght = 9999) then the event "Player jump strength = 123" would not be true and anti-cheat would kick in. Consider though, that a cheater might be able to adjust both values, so I´d make the second value be send from a server, rather than beeing inside the app.

    For coins (dynamic value) I´m not sure what the best method is. You probably want to check for "was that possible?". E.g. having coins always go up by 1, it´s not possible to suddenly go up by more than one coin (indicating cheating) Also you could use a server, that instead of counting the coins up, you send a request to the server, and the server then responds if the coin pickup was legitimate. Only then you count up the coins. You also likely have to use some protection for that so someone can´t simply fake the server response. That could probably be done using sessionIDs and hashing + salting.

    I´m no expert on that subject though, take it with a grain of salt. But maybe you can google some of the stuff I said and find a solution.

  • Well, you can do that pretty easy without any plugins.

    Make a php file on your server.

    <?php
    $t=time();
    echo($t);
    ?>[/code:8bui4z18]
    This will output the unix timestamp. You can then convert the timestamp using "date()" (Refer to this for how to do it:
     (php.net/manual/en/function.date.php)
    
    Then request the file via AJAX. Using AJAX.LastData gives you the output of the php file. Then you just have to compare the result to whatever you consider day or nighttime. Don´t forget there are timezones and it´s not everywhere day or night    not sure if that matters for you though.
  • post the code with the function, that makes it much easier to see any possible problem

  • Not sure if that´s the issue but I think you don´t need the ' things and they might be the problem already. Try this.

    "fname=lance&input=" & chatinput.text[/code:p4op1j99]
    
    [code:p4op1j99] On AJAX completed --> browser.log AJAX.lastData[/code:p4op1j99] will give you the server response. Maybe there´s a hint there. Maybe you can try calling this from a browser (not sure if you have to use GET in this case instead of POST) and see if that works.
    
    Also I recommend using mysqli instead of mysql, escape user intput (mysql_real_escape_string) and use prepared statements. (It´s sort of a pain but once you understand how everything works it´s no big hassle)
  • Probably because ON TOUCH only fires once. Try IS TOUCHING

WackyToaster's avatar

WackyToaster

Member since 18 Feb, 2014

Twitter
WackyToaster has 26 followers

Connect with WackyToaster

Blogs