Type: Posts; User: Joeyotrevor; Keyword(s):
Hello everyone! I am making a level editor for my 3D game engine(not made in MMF obviously) and I want to know how to make it so you can grab the corners of an active object and "stretch" the active...
You could have an invisible box in a lower layer which you use for collision detection.
Oh ok thanks.
Hello! Does anyone know how to start an external program with arguments in MMF?
Hi again. This isn't really a OINC specific question but what is a good way to send .ini files over 2 the intranets? Would 8kb of text fit in one packet? I don't think sending 8000 packets would be a...
I changed it to a char array and it doesn't crash but it always comes as "0.0.0.0".
sprintf(ip, "%i.%i.%i.%i", Client.IP, Client.IP, Client.IP, Client.IP); seems to crash the app. I guess I'll just wait for the next build.
Alright I'll try the byte IP array.
Thanks again for the help.
Well I'm making a master server for a "server lobby" in my game and there is an array of server structures and they need to have an IP variable that can be changed if that server were to stop hosting...
...Except whenever I call Client.StringIP() inside of a printf or sprintf I get an "unresolved external symbol" compiler error and I can't do
char* ip = CLient.StringIP(); because StringIP()...
Thank you all so much! Everything is working great now! :grin:
Whenever I have the server print the subchannel from the recieved message is it always something wrong, like the client sent a message to the server on subchannel 1 and the server got 49 and the...
So the unsigned char is the channel, the char* is the text and the int is the size, what is the bool?
I came back to MMF to finish a project I was working on and I noticed that OINC was finally out! This was very good since I won't have to use MOO for the game I'm working on.
There is a simple chat tutorial on the tutorials page(scroll all the way to the bottom). It is a very good tutorial and showed me everything I needed to know to use Mooclick.
What is the C++ function to check for recieved messages?(like recv() in winsock)
Never mind, just checked the OINC wiki and found it :)
...Although I don't quite understand how it works. DO you...
Where can I find the source for the server? Or do I have to write my own if I want to make any adjustments?
Hello, does anyone know the best way to make multiplayer platform movement? I tried something like:
*Repeat while Left arrow key is pressed
-Send message to server
I know that, just pointing it out
Missing a semi-colon :)
(Probably not the solution)
You say you need the math, but then what's all that math in your signature?
If you are using a key to strafe, you could do something like this:
*(NEGATE)Repeat when (key to strafe) is pressed
+(Key to shoot) is pressed
-Player:Shoot Bullet in direction of player
Aww you beat me to it :P
It's really a lot simpler then what dragonguy it trying to teach you. First, get an array object. In the event editor, select 'Write Value to X'. In the expression editor, enter the value you are...
For the MMF 1.5 library
I have it on my MMF1.5 CD.
There is an edit button you know.
I recommend your read a book if you really want to learn C++. There is quite a number of tutorials on the internet if you don't want a book, but it isn't the same.
Java was based off of C/C++...
You can put a background obstacle on the sides of the screen where you don't want the player to fall off.
I misread your post and I tried to access them using rdPtr-> (rdPtr->vars[x] , but I've corrected it now and it works! Thanks for the help and thanks for showing me rSDK!
EDIT: Thanks you so much! It works now!
I remade it in rSDK, but when I try to compile I get all of these errors:
c:\documents and settings\hp_owner\desktop\rsdk\inc\rtemplate.h(41) : error C4430: missing type specifier - int assumed....
Sorry I need some more help.
When I include <fstream> I get a mountain of compile errors. o.O How do I get that to work?
Also how can I make actions take different types of parameters?
Here's the tagRDATA structure
typedef struct tagRDATA
EDIT: Nevermind, it works fine when I declare it at the top of Main.cpp, thanks...
It still gives me an undeclared identifier error when I try to compile.
EDIT:I declared it at the top of the main.cpp, seems to work so far.
Where do you declare variables that the extension uses? The help thing said to declare them in the Main.h tagRDATA structure, but when I try to change them in one of the actions it gives me an...
You can add a qualifier to each of the enemies and in the event editor use the qualifier instead of the active when making events.
It's basically a class.
What I need help on is the movement: How do I have the enemies detect where the obstacles are and have them jump,etc.? My game is going to be more fighting based instead of adventuring, so I want the...
Memory editors usually searches the process for a value that the user enters. It displays all of the addresses that have this value, then the hacker can filter them down until they find the right...
Hello, I'm about to start making a 2D shooter and I have no idea how I would make an AI for the enemies! Does anyone know a way I could make the AI?
You don't have to have everything on the server, it's quite easy to make some events that catch the hackers.
For example, say you had 2 values: Level and Exp. The hacker might edit his level and...
Make a new layer and set it's X and Y coefficient to 0. Put the Sub apps in that layer, and that should work.
Make sure all of the frame in the animation are the same size and the hotspots are the same.
You can use the Advanced Direction Object and retrieve the Direction between 2 objects, being the gun and the mouse, and just set the angle of the gun to that. Then to make it so the gun desn't go...
Hi. For some reason, when I build my game into a stand alone exe, it is bigger then the mfa. It is set to max compression too...
The .mfa is 700kb and the exe is 1mb. Is this a glitch?
Trying holding/pressing space.
I seem to have solved it myself.
Hello! I'm making a 2D-Shooter game and I want the gun to always be pointing at the crosshair, which I was able to do. But, if the crosshair is too close to the gun, the gun starts spinning like...
The text blitter didn't work, but I found an extension that can add
alterable values to any object, and that solved my problem.
OK, So I'm making a game and it uses these INI level files I have made. It is supposed to:
Create the object -it does that
Load the position from the INI -it does that
Create a background object...
I want an image for each digit.
I'll try the text blitter.
Will it work if the number is bigger then 9? I don't want to make 10000 frames...
Hi, I was wondering if someone could a make an extension which is identical to the Counter object but with alterable values/strings? I want to use images for the numbers and the Counter is the only...
Toggle flag turns it on if it's off and off if it's on.
Ok, I got the decimal in there, using this:
Str$(value( "exp" )/(maxvalue( "exp" )*1.0)*100)+"."+Str$(Round(((value( "exp" )/(maxvalue( "exp" )*1.0)*100)*100)-(value( "exp" )/(maxvalue( "exp"...
Hmmm... that should work but for some reason it doesn't. Heres what I have:
value( "exp" )/(maxvalue( "exp" )*1.0)*100
With the thing:
Round((value( "exp" )/(maxvalue( "exp"...
Thanks, it worked! One more question, how would i make it round to the hundredths place? The Round() function rounds to the nearest whole number.
Hello, I'm making a game and I want to show the percent of your hp, like 56% of hp left or something like that, but MMF2 doesn't seem to like decimals. Right now I'm doing this for the equation,...
A quick workaround would be:
* "Fire" key is pressed
+ Player is facing a direction "right"
-Shoot object in direction "right"
Repeat for other directions
Hi. Is there an extension that can detect when the alt key is pressed? Thanks.
To have a log in feature and to store info you will need to own the server you are using(hopefully you do already) and use an INI on the server. But first: Have you made any parts of the game online...
Nevemind, I solved it by having the event that loads the boxes create a new one, it was moving the same box which always ended up at the last position.
Ok here's the .mfa, can someone find out why it only loads one of the boxes?
Hello! I am working on a level creator and I want it to use INIs to save/load the positions of the objects. I am able to have it save the positions correctly but loading them doesn't work out. Well...
An easy way would be to set a flag on when you collide with the hedgehog, then when that flag is on always set the hedgehog relative -100 to the player and set its animation to walking. You can also...
I would just make it so when ever you want your tanks gun to rotate to your character, set a counter to 1
Then every 1 second while that counter equals 1, add one to the direction and every like 6...
Thanks, everything works now.
EDIT: One more question, I heard somewhere that INIs can only store up to 64kb of data. Is this true? If so, is there anyway to store more and if not, what object...
Make sure your router is set to portfoward port 1203 to your computer.
EDIT:Never mind, I solved the first problem by changing them all to strings instead of values. But I still don't know how to check if a group is already there with an item.
Ok, I'm trying to make...
Just make a counter and have it off-screen. Use something like this:
*Your character collides with ball
-Set counter Random( 3 )
Then make another event:
*Counter equals 0
-Catch the ball...
Gerblegod7's way works well, but you can also use the Randomizer extension which always you to get a random number between 2 values.
Here's the link:...
Thanks popcorn! I had some trouble at first but I found out I was starting the loop before setting the string to Valid(when the user clicks the button). Thanks, it works great now.
Hi, this may seem kinda dumb but I tried a lot of things and they didn't work so yeah. I'm working on an application where a user needs to enter their desired name into an Edit Box, but I don't want...