Sorry for the late reply Tiles.
The reason this does't work is because in the C++ version of the extension, when you start the foreach loop is doesn't actually get started until all the other...
Type: Posts; User: Ross; Keyword(s):
Sorry for the late reply Tiles.
The reason this does't work is because in the C++ version of the extension, when you start the foreach loop is doesn't actually get started until all the other...
ForEach v1.004 object download
Fixes the problems with the Flash build + C++ dependancies, including Jamie's fix above.
Sorry for the delay for those who PMd me about this.
i'll get around to it one day soonish. I've a lot on my plate atm.
My Character Images object takes advantage of all this stuff.
Hi,
I've updated this extension to v1.001.
Just contains a few minor bug fixes and optimizations.
Download CharImage ext v1.001
I'm sorry! I had fixed this bug. I will follow up why it's not in a update or ext pack, if that is indeed the case.
Big update. Plenty of bug fixes and optimization, works with qualifiers now too. Java and flash build too.
Thanks so much to Petr for the testing.
v1.003
Download ForEach object v1.003
Small update. Little HWA bug fixed.
v1.002
Download ForEach object v1.002
Updated object.
Fixed a few bugs, plus now works faster and in the HWA version.
ForEach object v1.001 download
This is due to the inbuilt rotation function i use to rotate the line. The is not much I can do about this unless i take some other image rotation algorithm off the net...
Advanced Line object download
Lets you draw a coloured or textured line of variable size at runtime.
Yes it is not supported by HWA yet. I'm sorry.
Very impressive eagle. Why don't yuo share the shader code? :) .
Shouldn't do really, if it's done properly through shaders. Very cool ! :)
ForEach object download
Iterates through and helps manage instances of objects.
Just so you know, clickteam's inbuilt movements at a speed of 100 move something 12.5 pixels every frame.
This is because a newline is not actually a character that needs drawing (unless you uncheck the 'new line at rc/lf' edittime property checkbox) and therefore doesn't know how far to move down the y...
you can make text right-aligned with a tag, and with an action.
It has been fixed anticecil, just a matter of rereleasing it now.
Ham is right. Run the installer. Don't use the Extension Updater. Problem is that the updater doesnt install the scintilla dlls.
Check your email Francois
Sounds like a good compromise
I wouldn't count on all of them herbert, maybe 1 or two.
Update:
Binary Tree object v1.1 + Java download
Converted for Java!
i guess, if offseting is all you want to really do??
I'm worried that it isn't being installed by any of the updates.
Francois, is this released yet?
The problem is because of you resampling it. It's not really a problem. The ram builds up because it resamples the image and stores it so it can use it next time without resampling again (quicker,...
I don't mind getting PMs, I don't read that many posts on the forum anyway.
Good example TreeHugger,
If I may make a comment, I'd rather set the class as the Startup Object and then i wouldn't need anything to be static.
New version: Java
Download v1.1 with Java
This installer now installs the Java version of the Move by Bézier object.
Hi guys,
I may be a bit behind, but I don't think anybody's done this yet.
Below is code for a class that allows you to use mmf-style ink effects in your java conversion.
Enjoy :) .
package...
Update:
Binary Tree object v1.1 download
With this object you can store integers, floats and strings in a binary tree.
Binary Trees allow for fast retreival.
Updates:
Added a 'load...
You should be able to convert that code pack to c++ style .net Tim. Then you won't need the dlls.
crazy ivan,
i went over your project's settings.
go to Linker - Command Line - Additional options
type
/noentry
then in general.cpp, int the dllmain method, take out this stuff
...
Binary Tree object download
With this object you can store integers, floats and strings in a binary tree.
Binary Trees allow for fast retreival.
I think HWA will eventually open the doors to a better method of drawing the 3d-mesh object to the frame, which'll indeed make it faster.
At the moment, the 3dMesh object aint much use.
Nice example bigredron.
More Aussies!
you can't do anything about it. sorry. it's a mmf thing.
Hmm, I really don't know, it just returns 'Mic' for me too. The problem lies in your .net code though probably.
not until somebody tells me how to do it.
Hi Ran_TH,
In case you haven't noticed already, I have updated the object to work with offsets.
New version: 1.61
Download v1.61
What's new:
Fixed a memory problem at edit time.
Actions:
Save an Image including Layers to file
Save an Image including Layers into Overlay
...
It sure can. You'll have to know how to code in c# or vb.net first.
Look into the UdpClient class.
When the new release comes you definately should not get any errors, I don't think you should at the moment anyway.
The reason why you can't connect externally from an applet is because java doesn't...
wanna post a new mfa of where you're up to now?
Thanks Gerblegod7,
I have discovered a couple of bugs.
I guess i could do that Ran_TH, how urgent is your request?
Doesn't the normal array object resize automatically? Not sure if this comment was worthy to be my 600th post
new version: 1.6
Download v1.6
What's new:
Layers
Layers let you have multiple images within one. Useful for when you want to overlap images without multiple objects.
Could you email me your mfa mechabowser?
grey.hill.g at gmail.com
Just so you know Chaos, this bug has been fixed, should be available in the next build.
you can download those .net libraries and link them to the .net script object via the references tab.
I can confirm this bug francois.
Yeah probably easiest to just do it through mmf.
A multi-thread object would seriously screw mmf up.
Let me get this straight, you're making a level editor in C++, VS?
What do you mean by .arr file? Do you mean the files outputted by the Array object?
If so, are you asking how the format of these...
You can draw to an overlay object, that's about all, i'm sorry.
No you couldn't, cause it'd be a .net dll (managed dll).
You could use my .net script object and reference the managed dll though :whistle:
Have you updated your mmf to the most recent version?
Would really be nice if you could list the images next to the listview or something.
nokia n85 - "jad and jar attributes do not match"
You can do .net c++, another name is managed code, or the common language runtime, to make an extension.
mmf now just loads the splash screen, 'creating frame window' and then it closes itself.
new version: 1.5
Download v1.5
What's new:
Now supports an unlimited number of images
Lists your images in a property combobox
Autoresize mode
Delete button property
A few little bug fixes
New version 1.1
Download v1.1
Added a 'An object moved' condition/event
Added a 'Get Fixed value of last object to move' expression
You should check out my Background Images object :) .
It can do tiling and (manual) animation.
http://ext.neatwares.ath.cx/ext/Background_Images_Object
this could be acheived using the .net object :)
Sorry for the late help.
There are multiple problems with your mfa.
First of all, make sure the references are being compiled without errors (make sure it's finding the dlls).
Next, your 'startup...
That's not possible atm lembi2001, sorry.
Look into the languages C# or VB.net, they have a giant inbuilt library of stuff. Anything you can do there, you can do with the .net object. And there are plenty of other .net dlls out there and...
Those things could be possible Novabrain in the future :) .
I don't think it's (easily) possible to get it to use decimal numbers however.
Wow, these are features of the Scintilla control, I didn't know about them :) .
no idea ! :)
maybe it's a feature of the scintilla control ??
maybe you hit ctrl+V ? :)
looki's got it :)
yes, that'd be possible.
You cannot make the object global yet. But I think it should be possible, I will look into it :) .
You can use Visual Studio for that, I won't be implementing a intellisence system.
And Ganryu, you'd have to pass data in an x and y loop with calling function in the .net code. Something like...
Java and vb.net and c# use dots...
You can bypass certain namespaces by 'using' them or 'import'ing them.
I got word from Yves that it is due to the known background object creation / display bug.
sorry retriever2, this is apparantly an inherent problem of the way background objects get created at runtime. Best to create them at edittime.
Can you be more specific? I can create a copy and change values etc at runtime with it.
PauseRuntime() doesn't do what you might assume it does. It only pauses the runtime timer and will resume it again if you run the resumeruntime() function (or whatever it's called). The sdk says it...
New version, 1.34
Download
Changes:
Fixed references bug.
Improved interaction efficiency.
http://ext.neatwares.ath.cx/ext/.net_Script_object
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=postlist&Board=71
I saw a print preview object on visual studio a few weeks ago, maybe its possible to create something like that [/quote]
You could use that object with the .net script object.
Yep that's probably a good idea.
You just 'Advance the unit one step', set the active object (or whatever) to where it should be now on the screen, then refind the path: change its starting location...
You have to do something like this.
Make infantry and tank units 'Unit Obstacles'. Then their respective profiles that they use will view the different landtypes differently.
Eg. you could set the...
Read the help file dragonguy.
You can Advance units' Current Position in Steps.
Have you read the help file? Could ask a more specific question?
You could compile a dll from VS and add it as a reference. Apart from that, no.
Yes don't use the fusion updater! :). Download it from the Released Extensions forum, or from here http://ext.neatwares.ath.cx/
You'll get all the examples and the help file then.
Look at the examples that come with the Advanced Pathfinding Object dragonguy. Using it is no trivial matter though.
you could use the 'set angle' action ? combine that with a plant thats made up of multiple parts maybe?
The reason why a lot of people can't get this working, is cause I've introduced a new bug in the new version of the .net script object i think.... Got to do with referencing dlls. Installing the Tao...
You can just use a LPHO.
I don't think it's possible. I could be wrong though.
I'd be happy to be delegated something.
Happened to me too, but i tried it again, and it worked fine...
Use PARAM_OBJECT just the same as an action. For an action that parameter type returns a LPHO. For a condition it returns a LPEVP. To convert a LPEVP to a LPHO you can use this.
LPHO...
There is an example that comes with the object: 'Server.mfa' which does the listening continuously in a separate thread like you say.
The extension is quite stable. It should not crash like the lua object does (for me too). Complexity of the code will make no difference whatsoever.
Hmm you are right. However I debugged the extension and everything is returning fine as it should be... I'm think this has somethign to do with how the sdk retrieves parameters for expressions... I'm...
Yeah you can access object coordinates. Check out the examples for it.
Ok fixed, redownload the extension.
New version: 1.33
Download
Fixed a bug with calling CallImmediateCondition interaction.
Your quoted code looks good, perhaps when you're called whatever method in the code from mmf which does CallImmediateCondition, you're not giving it the correct number of parameters.
EDIT: hmm...
Problem should be fixed now. dotNetScriptSetup.exe
Rebuilt in VS 05, not 08, so it only requires .net 2.0, not .net 3.5 now.
Download
Download this:
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
fixes the problem.
(VS doesn't let you statically link with them if...
http://img141.imageshack.us/img141/3857/extimgum6.png New version: 1.32
Download
What's new:
Thread safety.
Scintilla control.
Object selection.
Overlay object interaction.
Compile button...
I have a feeling maybe my Background Images object might suffer that problem Daniel. And my Bezier object perhaps too.
The installer for the APF object also mentions that requirement.
I might do that bornemix :)
I'm gonna upgrade it soon to allow drawing to overlay objects.
looks cool Looki!
Yes droberson, the .net Script object allows integration of .net components :)
Bornemix, you cannot draw to the screen with it. But you could draw to a .net bitmap and display it in a picturebox...
Kimera's a bit mixed up here i think.
.net is a framework of predefined handy classes, to say the least. It also includes a virtual machine to run the code, like java.
Vb.net and C# ,and a few...
http://ext.neatwares.ath.cx/ext/Move_by_Bezier_object
there is an example there that does exactly what you want. (though it could be made better).
It already has been ;)
there are functions in java that return those path slashes and their equivalents for other platforms.
That all works fine for me melligeorgiou, on windows.
why not both
I could help you out if you sent me your source, perhaps.
I didn't know the AVI object was java-ified.
This is how I do it. Mostly taken from other websites. Put this in common.h
#include "windows.h"
#include "vcclr.h"
#using <mscorlib.dll>
#using <System.dll>
using namespace System;
Then...
System::Windows::Forms is .net stuff.
You'll have to change a few settings to get that working in an extension.
You add it as a reference (in the object's setup form).
And I think you have to have the dll in data\runtime... or where the mfa file is.. or both, can't remember.
.net DLLS are not normal DLLs, you'd need to make a special extension to load .net DLLs. Or just use the .net object :) .
Not directly, although it would be possible to write some sort of bridge in c++ that would allow you to execute c# code. This means that you could write some sort of wrapper in c++ and then make an...
You can use the framework that the C# (and vb.net) languages use (the .net framework) in c++ the c++ way, which is not too dissimilar from c#, it's much the same but with -> and :: and ^ and gcnew
You can use the .net framework in creating an extension though.
I knew no c++ when i started. I jumped in. But I knew vb.net well, and therefore also C# to some degree, so I had a fair idea about how programming worked (not that they're very comparable to c++)....
or the Move by Bezier object (linear curve).
It's called the Background Images object :)
yeah the background system boxes are very fast too. Try out the Background Images object too ;) It can tile aswell.
Nobody speaks or spells british english anyway. Joke end.
You can use the object's expressions to get returned things from the functions or properties.
The interaction conditions are part of the MMFInterface class. They let you call conditions in mmf and...
You need not create a whole new instance of the class to make a new thread from. I got rid of 'obj' in my code there.
Yes you can do that with strings :) You could... return a .net string in a...
You need to fix line 12 otherwise it doesn't compile properly :)
This is how I would do it:
using MMFInterface;
using MMFInterface.Objects;
using System;
using System.Threading;
using...
For starters, your IncrementCounter() now needs an int, when you call it on line 12 you need to give it a parameter.
Also, you can't give parameters to new threads like you're trying with...
You can try :) I take no responsibility :P .
If it goes buggy and weird, then you know what the problem is. I'll fix it soon, so pretend it works for now.
By the way, i'd put that .RedrawObject()...
Ok, you didn't use threads in that code there :)
Your code works fine for me.
If i put
using MMFInterface;
using MMFInterface.Objects;
at the top :) I assume you had that too.
And I put a class...
Note that this object isn't entirely thread safe yet. I'll fix it soon.
I'll look into it
If anybody wants to, they could PM me ideas (simple) for new script interactions for the .net script object. I'm not sure when I'll get chance to upgrade the extension though.
Moosock is the more difficult option :)
It involves communication with a SMTP server manually.
http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol
You could do that with moosock or the .net script extension. Neither require mmf developer.
Done :)
New version: 1.4
Download
Now with ink effects.
I'll get onto it.
Nice and simple :)
The Move by Bezier object can do this too, but it's a lot more straight forward with this extension.
Insert a breakpoint?
I'd use moosock if I were you, no added headers that way.
The problem lies somewhere with your program (i think) having sole access to the last image. If I try to load that image in window's image viewer, it won't let me. Similarly, the .net script can't...
I thought you'd have this problem :) .
You'll need to reset the list of things to print.
Add this function under Class1, same as AddImageByString:
Public Sub Reset()
mImages.Clear()
End Sub
...
You need to change it to call function "Class1.AddImageByString"
at the moment, you haven't got 'Class1.' there.
somebody could make an irrlicht extension in c++, or you could use the .net wrapper version with this .net extension.
And, if you got it to render to a .net bitmap or an overlay (through...
How would it?
Sorry for not helping earlier kungsangun.
Copy this code into the 'script'. Put it after the 'AddImage' sub-procedure/function, which is near the top, just under its 'End Sub' line.
Public Sub...
yes, i'll add overlay editing in the next version.
I don't think so. Could be wrong.
Maybe it was crashing for me because I have dual cores? Synclocking fixes that.
Anyway, I think some of the clickteam people could help you from here :) .
I've noticed some strange characters still appear sometimes, but at least it doesn't crash anymore.
I think this is mmf2's fault or the rich edit box's fault. If you instead, add the returned...
No that's not ok cause you're creating a new object each function, which is useless.
Create a static object in the BackForth class, a module-level declaration (make sure it's instantiated).
Then...
I dare say, this has to do with mmf's runtime not being really meant to deal with multiple threads.
It also has to do with how the extension temporarily stores an 'Interaction Condition's...
restarting the app doesn't affect anything for me.
give a path to the reference.
Good work :)
Sure go ahead.
I'd rather not have it as an external dll to reference. That would mean just more required files.
For your problem, why don't you just look at the fake object browser in the setup form of the...
You are right, the MMFInterface code (which is internally stored) is added to whatever code you input (if any).
The references it needs are:
System.dll
System.Drawing.dll
System.Windows.Forms.dll...
Use the Move by Bezier object, it can do straight lines too. :)
Send me the code in a PM corentin. It shouldn't just crash.
I usually try to avoid having new extension versions that aren't backwards compatible :) ... I don't know what happened.
A multithreaded server!
Somebody should make one of them.
Something that communicates with moosock or oinc.
the actual link is the same for all the versions.
71-ML-11998-ML-<br /><br />Moved to new dotNet example archive
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=83942
This example shows how to print images from files using the .net object.
It works by generating a list of image filenames, and you can adjust the position and size they appear on the printed page....
oh :D probably, cocodrilo would know... :P
Change it to vb.net?
You could paste the c# code into some online converters.
Note that if you've got .net framework v3 or greater, that dll will already be on your computer. Also, if you don't have .net, that dll will be useless :P (I'm pretty sure).
I had to find the dll...
obviously vjslib.dll is not part of the framework else i would have it:P
Something to do with J# which isn't supported anymore... i think?
It's a bit poor that .net hasn't got a straight forward zip class.
However if I was using this extension for (de)compression, I'd probably use the System.IO.Compression namespace.
We need the vjslib.dll file.
you could try the Advanced path finding object. It's not an easy extension, but it is kind of designed with RTS games in mind.
New version: 1.3
download
Fixed a few bugs.
Added 'Efficiency mode' options. (see the help file)
Also, this extension should be vitalized now.
yes all three.
Yeah I mean the .net control PictureBox.
Might be faster to hide the mmf window, and render to a .net form though, or better yet, render to irrlicht's own window.
Or even do it without mmf altogether.
I'll shut up now.
You could add a picturebox to the frame, and have irrlicht render to that. I'll take a crack...
Edit: Yes irrlicht works fine, rendering to a picturebox or some .net control which you can add to...
Sorry, I missed a bug with parameters, fixed now.
Download v1.21
Also, how parameters work has changed slightly. Basically if you input more parameters than necessary (when calling a method from...
New version: 1.1
Download
What's new,
The ability to call overloaded methods from MMF. (Also previously crashed when attempting this).
The ability to call .net's inbuilt shared/static methods...
You could also just use the Move by Bezier object ;)
You cannot call the inbuilt .net shared/static methods directly from MMF (no matter how many namespaces you import/use), like System.Math. etc.
I could add this feature.
But note that a lot of the...
Yes there's documentation, if you click the help button, though it doesn't tell you how to code in c# or vb :) .
I'm pretty sure that crash is the common dialog object's fault, but you could bypass...
This could be acheived with my .net script extension :) .net lets you code your own controls/forms.
.net Script extension
This extension allows you to use C# or VB.net code in MMF.
Requires the .net framework.
You could check out the example with my background images object :)
http://ext.neatwares.ath.cx/ext/Background_Images_Object
Surely this could be acheived with a hwa shader.