Posts by Jesse

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.

    I'm sorry for the double post. Actually, I figured out what my issue was. The equation was converting the integers into floating point numbers and thus it would not display properly over 1,000,000 in the text boxes. If I place the equations inside of an Int(), it works properly. Hope this helps anyone else in the future!

    Vaxx, I thought that too, however it doesn't reach over 4.2 billion. The calculations reach, with all items at 99, a max of 6,979,500 at 1.5x and 7,385,400 at 1.6x. The game in question has a set limit of stacks of 99 (or 100) for these items, so either way, there's no way it could reach that number easily with that amount. As I said in the first post, the display works fine if I don't use the multiplier of 1.5 or 1.6. With no multiplier, there's no issue if it goes beyond 1 million. With the multipliers, however, it does. In fact, at it's lowest, it will show this:

    1.0002e+006

    This means having the lower prices items at 99 (max of 891,000) and the less_goblet_box value being at 91 with the multiplier being 1.5. It should show 1,000,200, but instead it overflows, but again, only when the multiplier is set. Any other ideas?

    Okay, so, the problem I'm having is that I'm working on an application for an MMO I play and wanted to give friends and other people an updated version of an in-game tool that was never updated by the developers. I made a PHP version that works fine, however, when making it in Fusion 2.5, I have a slight problem.

    The overall idea is that it calculates the number of items entered into edit boxes, multiplies each one by a certain amount and spit out the calculation to a text string for viewing. Basically, the calculation for display grabs all the values in the edit boxes, adds them up in real-time into Global Values (A-E) and then spit out the integer into a string using Str$. Now, this works fine until I have it change event groups. The calculations are the same, except for the addition of a multiplier for two of the groups. Here's how one of them looks:

    Set Global Value C to ( Edit Value( "less_goblet_box" ) * 800 ) + ( Edit Value( "goblet_box" ) * 1600 ) + ( Edit Value( "great_goblet_box" ) * 2400 ) + ( Edit Value( "major_goblet_box" ) * 3200 )

    Now that works fine, spits out the number and we're done. Now, if I do this:

    Set Global Value C to (( Edit Value( "less_goblet_box" ) * 800 ) + ( Edit Value( "goblet_box" ) * 1600 ) + ( Edit Value( "great_goblet_box" ) * 2400 ) + ( Edit Value( "major_goblet_box" ) * 3200 ))*1.5

    and have it be called by either an edit box or a string object, it'll display fine unless the amount reaches 1,000,000. Once it reaches that, it overflows. Not on the one without the multiplier, just on the one with the multiplier. Now, I had it do the calculation on the edit box/string object before doing it this way, but with the same results. Is there any reason why it would be doing this?

    I should, but I'm not good at coding shaders. I'm still learning C++ and shader code to me is still very foreign. I guess I should look more into it. Just maybe thought there'd be a different way to achieve this effect.

    Okay so, I made my own day and night system, complete with a timer showing what time it is and a sunrise and moonrise depending on the time of day. I can set the background color of the frame to be any color I want with "Set background color to RGB(xxx,xxx,xxx)" easily enough, however the effect is very jagged and leaves much to the imagination. I am remaking Zelda II: Adventure of Link and wanted to implement some new changes, one of them being a day to night system. The reason I bring this up is because I wanted to know if there was a good way of fading from one color to another without having to resort to frame-sized actives that fade out and let another active take over. I'd like it to be done exclusively with color replacement methods and the background color or background objects.

    Any thoughts? By the way, I looked into Colorizer and it seems a tad difficult to even get started with it. Perhaps that can be used later on in another project.

    Okay, so, for the most part, I have the animations working very well and fluidly. One thing that is not working as I intended is the animations when you're doing a jump attack. Okay, here's an example of what I'm talking about:

    When he stands still, jumps and attacks, it shows perfectly. When he stands still and attacks it works perfectly. When he attacks while jumping and moving, he does MAYBE the first frame of animation for a few milliseconds and then goes back to the animation sequence for jumping and/or falling. I want him to be able to keep doing the attack animation without reverting back to the jumping/falling animation until it's done, just as it works when he does an aerial attack while standing still.

    I've tried various ways, but they seem to not be working. Attached application since showing the code would be tedious and hard to read.

    Thanks for any help I receive!

    Tried searching and what not only to com up empty. Plus the 200 search limit bugs me...

    Anyway, I'm trying to make my application act as a window without having a heading or menu bar. I want to be able to move the app window like I would any other window when the user clicks the custom heading and then drags it around like a normal window.

    Example:
    Please login to see this link.

    When people click on the heading in that image, I want them to be able to move the app around. How can I accomplish this? Thanks.

    Jesse~

    Hey everyone,

    Does anyone happen to know what other DLL's or external programs the ODBC and SQL Server extensions call upon opening/use?

    Multimedia Fusion 2 Dev is finally working again in Linux (for me) using a developmental version of Wine and everytime I open up a project that requires the SQL Server extension, it won't open saying that it can't load it even though it's been installed. Even after the program has been built on a Windows machine and executed on Linux under Wine, it still says an external program it needs is not installed, etc etc.

    I made a new project to check if the extension was installed and it's not loading it OR the ODBC extension. So yeah, what DLL/External Program do they use to load? If I knew, I could easily install it under Wine, provided it works.

    Thanks for any and all help and replies.

    Jesse~

    LB, thanks bunches. I had to modify your code a bit get rid of "" instead of "NewLine$" and it worked flawlessly. Now that the unneeded junk is out of the way, it was able to compare text properly and the checks are working as they should.

    Tested with two different accounts within the table data on our database, an Administrator account vs a player account, and the Administrator account passed all three checks while the player account only passed the account name and password check. Authority check didn't pass on the player account which is just what I wanted.

    Thanks to everyone for your replies and help. I gained quite a bit of knowledge with this and will continue to do my best to learn more about developing in MMF2 as well as actual programming. You all are great.

    Thanks, Jesse~

    Fimbul and LB, thanks for your replies.

    I went ahead and added the ability to view the output of each query result to string objects instead of edit boxes seeing as the edit boxes were not multi-line. I found out it's adding a new line character (not command) to the output in MMF2, so I'm trying to figure out how to get rid of it or bypass it completely.

    I'm gonna try several things to see if they work. This will also help me with learning to develop better in MMF2 since I don't get a chance to use it often and this will be a great learning experience, mostly in the area of application development.

    Again, thanks guys and I'll post again if I need further assistance.

    Jesse~

    Yeah, in actuality, after further testing, if the authority is compared, they are both one letter and the check fails. It lets anyone on as long as their name and password match to whats on the database.

    Okay LB, then what do you suggest? Still need a way to compare strings to see if they match perfectly.

    Jesse~

    The data would only be sent to the program if the data is correct. The SQL queries sent to the database only send back data if it's correct. If any of it is incorrect, you get blank data. Also, a lot of people know the database queries as they are freely available, but the program will only send out the queries already coded into it. Plus, access to the actual moderation area will only be available if certain criteria is met, compared and verified.

    Now, as for your reply, here's the thing. I'm trying to compare strings to strings inside of edit box objects. I don't know if the same would apply. I've done:

    Code
    Edittext$("example1") = Edittext$("example1_verify"): Set Global Value A to 1

    Now, when it tries to compare the text and it's the same (I've been using test outputs to check the data on-screen), the Global Values don't change. Basically, once the comparisons pass the checks and set their respective global values to 1 and all three pass, they let you proceed.

    So, any ideas?

    EDIT:
    Nevermind, your idea to turn the strings into values worked beautifully. Thanks for the info.

    EDIT2:
    The edit boxes will be off-screen and hidden. As long as the values go into them, they'll work. They are out in the open only for testing.

    Jesse~

    Hi everyone,

    I wanted to know if there was a way to do string or text comparison. I'm not talking about number of letters to number of letters, but letter for letter comparison, or my case, word for word and number for number.

    Heres my situation:

    I'm designing a moderation panel for a private game server we wish to set up and this program will be used to easily send SQL queries and receive SQL query result data from the database. Now, I've successfully been able to retrieve the information and data I need from the database, but I'm looking to make a log in process that goes based off the data from the server database, which coincidently happens to be a lot of text.

    I want the log in process to verify three things:
    Account ID (text)
    Password (MD5 Hash/text & numbers)
    Authority (text/1 letter)

    Goal:
    The moment I press the "Login" button, the program sends three SQL queries to the database and retrieves the data right after and places each query result into an edit box or string object (I've tried both to no avail). Once thats done, it starts to verify the account name, password (in MD5) and authority status based on the input given by the user for account and password. Authority would be checked by the program. I'm going to set it up so that if one authority status check fails, it will fall back to another and run down the list until the last one is checked and gives an error and stops the user from continuing.

    Problem:
    My current method of comparing the data results from the server to the data input from the user and the programs automatic authority check is to compare two general values. I figured this wouldn't work because it's looking for numbers, so it seems anyway. I can't compare two general strings because there is no such option, to the best of my knowledge anyway. I'm stuck.

    In short:
    Is there any way to compare two text strings or a mix of numbers and letters to see if they match perfectly? If so, how? @_@

    I hope someone can help me with this or point me in the right direction.

    Thanks everyone!

    Jesse~

    Okay, so, I have a bit of an issue. I'm trying to make a small program to help me correlate between the MD5 Hashes of about 200+ files that are all in one file in hex.

    Basically, about 200+ 32-character MD5 hash numbers are stored in a file and I want to arrange them easily and have them displayed to me via a program I can make, but I don't know how to go about doing this. Basically, I need the program to open the file on start up and search the entire files hashes and display each one in an edit box. Is that possible and how do I go about doing it? :x

    Thanks for any replies!

    Jesse~

    I noticed something interesting quite some time back with the counter object and I didn't really think it would be an issue until now.

    See, I have three "counters", two static and one that actually increases/decreases based on the values given to it for a lifebar. My issue is, the third counter which is the actual lifebar keeps moving in front of the other two counters even if they are "Always" - "Set to front" and the lifebar is "Always" - "Set to back". Is there any way to overcome this or is this a bug that will be fixed later on?

    Jesse~