Kyatric's Recent Forum Activity

  • http://www.scirra.com/forum/read-first-how-to-report-bugs_topic43329.html

    Please read the way to report bugs and edit your post in consequence.

  • Damnit, you two have been doing some serious bug hunting for the past hours :D

    Well, it can only make C2 better.

  • I've heard about this promotion via a GDC talk the two promoters of the bundle gave. The talk isn't that pertinent, but it seems to point a pattern. The more the promotion comes to its deadline, the more games and stuff are added (like the two bundle for the price of one).

    As you said, they already added another game to the bundle.

    8 Days to go, the million is almost obtained, I guess they will have another nice sum to offer to charity on this promotion.

    Considering the games, I'm personnaly not that attracted to them. I've tried hammerfall (awesome game, but very difficult imo).

    The others game don't appeal much to me, and I haven't been able to connect to steel storm's website and see what type of game it is. Guess their server suffered from sudden glory thanks to/because of the bundle.

  • I think though that if Microsoft was in googles position that they'd be doing the exact same thing.

    Well Microsoft have been in Google's position for years prior to the rise of Google. Who held the OS monopoly ? Who added "connectivity" under the form of silent spies on XP, vista and later, reporting any of your connection to massive data servers ?

    They are attacking google for what they've been doing on their own Messenger protocol for years (listening widely to the "grid", picking keywords).

    They might not admit it, but I haven't forgot about all of this. Attacking your competition on such a practice, when you've been yourself leader and pioneer of it for years is really ridiculous.

    Every internet surfer for the past decade have been aware (or should be) that we are tracked day by day, request by request. it's not a theory conspiracy, it's more a fact to acknowledge.

    In South Korea they seem to be stuck with it! Read this blog post - the government mandated ActiveX controls for online banking in the 90s, and now nobody knows how to upgrade from IE6 without breaking everything...

    Korea's situation is pretty peculiar. Social security numbers have been closely linked with internet connection. They have a different relationship towards connection on the internet compared to a lot of other countries.

    I wasn't aware though that they were stuck with IE6 neither why they were in this situation. Once again it proves why the results of the test should be looked up closely. Yet the pattern is engaging for "easy diss".

  • What if I'll make a Czech translation of the page (and I believe, there are users who'd translate it into other languages). Would it be possible to switch the language automatically according to the ip of a viewer? I you're ok, I could send you the translation tomorrow.

    Good idea. And if not switching, at least proposing little flag buttons to access the proper language (I love little flags buttons on webpages ^^)

  • Well, when you see that the last motivationnal purposed video from microsoft which pick on google is posted on... youtube.

    Well yeah, shame doesn't kill, so why bother.

    Nevertheless, I would take the result from "The Register" with some perspective. An IQ test can't qualify to "dumb" as the type of intelligence tested is very restrictive.

    Moreover, such type of test should depend on the regionality, and be adapted. (If I take the test in english, as a non-native english speaker the test will be harder for me and I may miss subtilties that I wouldn't have in my own language).

    Yet you can believe that people, in mid 2011 still stuck with IE 6.0 are "retarded". At least they are in the upgrade of their browser. ^^

  • Extract from editime.js

    AddStringParam("\"data\"", "Data to encode", "\"\"");
    AddExpression(0, ef_return_string, "Encode MD5 (Hexa)", "Encoding", "encodeMD5", "Encodes the data provided with MD5 algorithm. Hexadecimal output.");
    AddStringParam("\"data\"", "Data to encode", "\"\"");
    AddExpression(1, ef_return_string, "Encode MD5 (Base64)", "Encoding", "encodeMD5B", "Encodes the data provided with MD5 algorithm. Base64 output.");

    I think there is an error in the way the sdk is using the parameters of the function AddExpression.

    AddExpression(0, ef_return_string, "Encode MD5 (Hexa)", "Encoding", "encodeMD5", "Encodes the data provided with MD5 algorithm. Hexadecimal output.");

    0 : First param _ ExpressionId

    ef_return_string : Flag

    "Encode MD5 (Base64)" : Supposed string to be used as "name" of the expression in the ACE Table

    "Encoding" : Group

    "encodeMD5" : Referal name string in runtime (related expression will be found using this string). String to appear in events too.

    "Encodes the data provided with MD5 algorithm. Hexadecimal output." : Explanation/comment in the ACE table.

    So the error is in the fact that "encodeMD5" is used as expression name in the ACE table. Supposed name is not used at all seemingly.

    Maybe I made a mistake in the understanding of this function. Please correct me if so.

  • Menu: Save as project

    Creating a new folder in the commondiag window

    Naming the folder "Hash-test", validating

    Filling the folder name field with "hash test" as name for my project (mistake, I know now that I'm reviewing each points)

    On save :

    ---------------------------
    Construct 2 Check failure
    ---------------------------
    Check failure!  This is probably a bug:
    
    Saving project to folder that does not exist
    
    Condition: FileExists(project_folder.c_str())
    File: Projects\Project.cpp
    Line: 420
    Function: void __thiscall Project::SaveToNewFolder(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)
    Build: release 49 (32-bit) checked
    Component: Construct 2 IDE
    (Last Win32 error: 2)
    
    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way.  Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports!  Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
    ---------------------------
    Abandonner   Recommencer   Ignorer   
    ---------------------------
    

    The folder exists though. In fact the first few times I tried creating a folder and saving a project in it, to me, I had to fill the field with the name of my project (I hadn't paid enough attention to the label of the field).

    C2 r49; Windows XP; FireFox 5; ATI Radeon HD 4800

    (Switching to r50 now ^^)

  • Oops, on further inspection it looks like an oversight in the SDK. 'singleglobal' objects can't have properties right now. You'll have to work around it with actions to set the settings.

    As those properties are not vital to the user at this stade of the plugin, I'll comment the lines refering to the properties (as it seems to me the code should work once the properties are part of the 'singleglobal' flaged objects.)

    I'll be uncommenting them when the changelog of a future build will indicate me to ;)

    BTW I think MD5 is better described as a hash than encryption - I think encryption is supposed to be reversible.

    You're right, thanks for the notice.

    JS is a fun language to work with, and the design of C2's extensions make them quite forward/"simple" to make. (cheers on the smart comments)

    It's thrilling.

    Yes, please call this Hash as it is easily reversible. You don't want to give folks the wrong idea about the plugin's purpose. The goal of the hash algorithm (MD5) is to verify that the data hasn't been changed.

    Also, why not do SHA-1 if you are going to do a cryptographic hash algorithm.. MD5 has already been broken. <img src="smileys/smiley19.gif" border="0" align="middle" />

    Category name changed to Hash, and reference to cryptography removed.

    I intend to implement SHA-1 and SHA-256 in the same plugin. I'll first have to get the md5 different outputs to correctly work and then implement the other.

    It should end as a multi-algorithms Hash plugin.

  • The property name accessed in runtime.js has to exactly match the property name in edittime.js. I noticed you have

    "Hex output format" in edittime.js and

    "Hexadecimal output format" in runtime.js,

    so at runtime you'll get a "property does not exist"/"property is undefined" error. If you change them to match does that fix it?

    No it doesn't. The name change was a test I didn't finished, as I was wondering if maybe the length of the properties entered in play.

    I just tried with "Hex output format" for both, and still "this.properties is undefined Line 50". It's the whole properties array which is absent, not that single property.

    EDIT: I even tried "Hexoutput" as name of the property and it still didn't work.

    So it's not a length thing. I'll keep on looking.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • <font color="blue">This is a work in progress, the current plugin is broken.</font>

    http://dl.dropbox.com/u/36472942/construct/plugin/wip/md5_0.e.zip

    I've been working on turning a JS implementation of the MD5 algorithm into a plugin.

    Basicly, it is an expression that allows you to encrypt the data you feed it with into hexadecimal MD5.

    I've had a previous version that worked. (You might try it and use it if you want)

    As the implementation of the algorithm has several output formats (hexa, base64 and even allows different types of encryption in the spectrum of the same functions use) I'm working on allowing the user to choose between them.

    At the moment I'm stuck, as I've been adding properties to my object. And now, in the runtime, firebug tells me that "this.properties" isn't defined, blocking the whole process.

    Well, it is in my edittime.js though.

    (My test project is an object MD5 and an object text. On startup of layout, I set Text.text to MD5.Encrypt("Hello world !").)

    I've used the structure/code from the plugin text to guide me. I've also looked in about all of the plugins code, and it seems to me they are all following the same pattern.

    Right now, I can't seem to find what's wrong. I'll look over it later (and/or tommorrow) but if in the mean time the community can bring me an answer i'll be more than happy ^^

    I'm still new to JS, and mainly learning it by going through C2's plugins and behaviors folders ^^ (looking a bit over jquery's documentation for future plugins too)

    Edit: I'll favor the occasion to suggest an option in C2 that allows to reload/rehash the plugins and behaviors (if it is possible). As of now, on any change on my plugin, I have to quit and launch again the editor, and set up my test project (save/load can't really work as any change on the plugins makes old saves incompatible). Doable, but tedious. If it can be added harmlessly, I'll be thankful.

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,402 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs