Jump to content


Photo

*closed*


  • This topic is locked This topic is locked
38 replies to this topic

#1 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 26 March 2007 - 09:52 PM

*Closed*

Edited by TheOmega, 10 July 2009 - 07:51 PM.

  • 0
Loves his girlfriend Melissa <3

#2 Cdaghostie

Cdaghostie

    GMC Member

  • New Member
  • 255 posts

Posted 26 March 2007 - 09:56 PM

all good until you say we need the NET 2.0 framework.

How can this help us if we have to say you need that to run the game?

That means we want them to download another file to install

Some useful functions however
  • 0

#3 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 26 March 2007 - 10:05 PM

all good until you say we need the NET 2.0 framework.

How can this help us if we have to say you need that to run the game?

That means we want them to download another file to install

Some useful functions however

<{POST_SNAPBACK}>

yeah I know about .NET 2 thing, but it is worth it, HP software alreay requires it. But it does have nice useful functions, like I like the better file I/O. Plus I love my console feature.
  • 0
Loves his girlfriend Melissa <3

#4 spacerat

spacerat

    GMC Member

  • GMC Member
  • 233 posts

Posted 27 March 2007 - 07:58 PM

I hate it when these idiots say "oh it looks good but I don't want to download .NET 2". WHY do you not ALLREADY have it? A lot of good programs use it these days, and if you want to use these then you want .NET 2.

Also .NET 2 should come with windows update... I think.

As for your extension mechanism, very useful. Console was a good idea and if the filesystem stuff really is better than the GM one, I'm sure that could be put to good use.
  • 0
Registered GM 7 | Vista Ultimate X86 | Intel Core 2 Duo E6750 2.6 GHz FSB 1333 mhz | ASUS P5B-SE Motherboard | ATI Radeon HD 4870 512 MB | 4GB DDR2 667 Mhz Elixiar Ram | Realtek HD Audio | 1280x1024 ViewSonic VE710s LCD screen | Logitech MX 518 Mouse| Saitek Eclipse Keyboard Blue | AOL 8 Mb broadband| Ralink 58 Mb/s wireless PCI card | nEar 05 Classic studio speakers.

Anything else you need to know?

#5 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 27 March 2007 - 09:56 PM

I hate it when these idiots say "oh it looks good but I don't want to download .NET 2". WHY do you not ALLREADY have it? A lot of good programs use it these days, and if you want to use these then you want .NET 2.

Also .NET 2 should come with windows update... I think.

As for your extension mechanism, very useful. Console was a good idea and if the filesystem stuff really is better than the GM one, I'm sure that could be put to good use.

<{POST_SNAPBACK}>

yes, thanks about the .NEt 2 thing, yeah if you do Windows Update in 2000 / XP / Vista, it should download it as an update. Also you only have to install it once. With the filesystem functions, you can write bytes but like write an int, long, double, float as bytes, than storing all values as a string.
  • 0
Loves his girlfriend Melissa <3

#6 oakwhiz

oakwhiz

    GMC Member

  • New Member
  • 268 posts

Posted 03 April 2007 - 02:51 AM

You might want to include the .NET 2.0 Redistributable 'dotnetfx.exe' (from Microsoft) with your game.

EDIT: Click here to download the redistributable from Microsoft. It's 22MB; if your players are going to download your game off dial-up you might want to just put a link, or else risk complaints from slow internet users!

Link:

microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

Edited by oakwhiz, 03 April 2007 - 02:59 AM.

  • 0

#7 Rusky

Rusky

    GMC Member

  • GMC Member
  • 2492 posts
  • Version:Unknown

Posted 04 April 2007 - 01:08 AM

.net's not that bad... it's included in xp sp 2 and vista... and most people have it anyway because lots of stuff use it.

nice functions, maybe concentrate more on one thing?
  • 0

#8 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 07 April 2007 - 03:10 AM

.net's not that bad... it's included in xp sp 2 and vista... and most people have  it anyway because lots of stuff use it.

nice functions, maybe concentrate more on one thing?

<{POST_SNAPBACK}>


mabye, but the DLL if for general functions...I might a sound play function so you play a MP3 file and change its volume, it'll be done by using Managed DirectX

Microsoft.DirectX;
Microsoft.DirectX.AudioVideoPlayback;

and maybe add video support, but GM already can play videos.
  • 0
Loves his girlfriend Melissa <3

#9 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 13 April 2007 - 10:00 PM

New update! Version 1.4.3

-fixed a mistake in a function name (duplicate function names)
-added 'prev...' button to console, it gets the last command entered, keep pressing to scroll back in history
-add new console fucntions

GMF2_Console_CommandBox_Set(console id, text) - presets a command in the command box
GMF2_Console_Focused - get wheather the console window is focused or not
  • 0
Loves his girlfriend Melissa <3

#10 ZetaTek

ZetaTek

    GMC Member

  • New Member
  • 7 posts

Posted 06 May 2007 - 01:06 AM

Hey,

I love this extension, but I am having one problem! When I opened your example, it immediatly gave me an error about comparing a blank string. So I removed the step event, and nothing showed up for the console! Just a blank screen! This happens regardless of what I do, I have also tried writing my own, still nothing!
  • 0

#11 deth980

deth980

    GMC Member

  • GMC Member
  • 144 posts

Posted 06 May 2007 - 01:27 AM

same here but i didnt remove the step event i tryed to fix the code as the errs came but i came to one i cant.
  • 0

#12 oakwhiz

oakwhiz

    GMC Member

  • New Member
  • 268 posts

Posted 18 May 2007 - 05:29 AM

I'm getting a similar problem, I have .NET 2 and 3 installed. The console doesn't exist when it is created.

Please please PLEASE fix it!!!!

It didn't happen before I downloaded the new version.
  • 0

#13 celebraces

celebraces

    GMC Member

  • GMC Member
  • 956 posts

Posted 18 May 2007 - 11:27 AM

What did you do to the help file!?!?!
  • 0

#14 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 19 May 2007 - 04:10 PM

I know that problem, it is problem with the extension function of game maker, b/c the function is returning a 0.0 instead of a string, this happends if you put a comment as the first line in the ext. script, the help is horrible, I didn;t feel like working on it, sry, I am chainge the name of this project to "GNET" after a release of an update, which will be a while...but the other functions should work, but I thought I fixed your problem...
-thx
  • 0
Loves his girlfriend Melissa <3

#15 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 25 May 2007 - 06:14 PM

though somebody could just copy the .NET Folder, it may work...

Tonight, I am going to release the new GMF2 update now called "GNET", this project will be from now on called GNET, version 1.0.0.0 is ready, I don't have it atm, but it'll be ready tonight. So sit back and wait, I fixed the problems in with the extension and it has a full help file, the file is a .rtf file. So I think this extension will rock!
  • 0
Loves his girlfriend Melissa <3

#16 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 25 May 2007 - 10:36 PM

it is finally the new GNET extension has been released replacing the "GMF2" project, it now has a completed helpfile, and reported bugs are fixed. Enjoy!

Edited by TheOmega, 25 May 2007 - 10:36 PM.

  • 0
Loves his girlfriend Melissa <3

#17 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 25 August 2007 - 09:42 PM

GNET 2.0 released!!! Added Process functions, and better DLL error support. You now edit the values in memory of any process like you can edit the score in a game. Have Fun! This DLL does not have a memory scanner, so use Cheay Engine or some similar program to find the addresses of certain values in memory. You migh be able to make a memory scanner in GM.
  • 0
Loves his girlfriend Melissa <3

#18 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 01 September 2007 - 01:37 AM

GNET 2.0.1.0 released!
GNET will not have any more issues, unless you don't have .NET, else it should.
Help file is now is in a PDF format.

Some tests in demo might fail in WIndows Vista.
  • 0
Loves his girlfriend Melissa <3

#19 ditdingiscool

ditdingiscool

    GMC Member

  • New Member
  • 335 posts

Posted 29 October 2007 - 04:31 PM

all good until you say we need the NET 2.0 framework.

How can this help us if we have to say you need that to run the game?

That means we want them to download another file to install

Some useful functions however

<{POST_SNAPBACK}>


most users already have .net 2.0 ;)
  • 0

#20 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 02 November 2007 - 08:30 PM

yeah they should now lol.
well GMPlus+ will be a while...Im working a game so, its kind of busy here, but I GMP will get done...
http://z4.invisionfr...hp?showtopic=35
  • 0
Loves his girlfriend Melissa <3

#21 gamer999999

gamer999999

    GMC Member

  • New Member
  • 89 posts

Posted 02 November 2007 - 09:49 PM

this is good except all the capital letters in the function names
  • 0

#22 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 02 November 2007 - 10:43 PM

ok, nice idea, in GMP I'lls use lowercase, yeah that would be better, thx!
  • 0
Loves his girlfriend Melissa <3

#23 Neereus

Neereus

    GMC Member

  • New Member
  • 4 posts

Posted 24 November 2007 - 08:00 PM

Like this, got some use for it, just 2 things:

1. Don't allow people to close the console out, it creates a looping error.
2. Needs a more advanced command parser. IE, allow for multiple commands on the same line, like HELP CMD, which would give you a help on commands and stuff like that.

Edited by Neereus, 24 November 2007 - 08:01 PM.

  • 0

#24 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 26 November 2007 - 08:51 AM

I know, I added the function "GNET_Console_AllowClose()", so you can set the console to not allow it be closed.

yeah, well someone could send a better command. argument parser, I did however make a good one in C#, I just need to make it in GML, I wish scripts in GM could return arrays! Well I'll try to make a more real command/arguments parser but GM lacks some good stuff, like returning and passing arrays, I could use a global, thats kind of silly to make a global for that IMO. Well see.

Game Maker Plus is in progress
Check at WiredGaming for more details (click on my sig), I made all function names lowercase and working on Vertex3 functions so like:

vert1 = gmp_vertex3_new(23,56,34);
vert2 = gmp_vertex3_new(23,45,56);
vert3 = gmp_vertex3_new(23,45,68);
//then code that draws a 3D triangle from the 3 verts

Also somecould make a script called "scr_d3d_triangle(vert1,vert2,vert3)"
See makes it easier to store x,y,z points all into one var. I also need it for my .x importer, Im working on.

Edited by TheOmega, 26 November 2007 - 08:52 AM.

  • 0
Loves his girlfriend Melissa <3

#25 Bram Buurlage

Bram Buurlage

    GMC Member

  • New Member
  • 51 posts

Posted 12 December 2007 - 06:18 PM

looks cool, trying it out now:)
edit: noooo! the minesweeper example doesnt work! and there's no help file, wich has to exist in such a big extension...

Edited by Bram Buurlage, 12 December 2007 - 06:40 PM.

  • 0

#26 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 13 December 2007 - 03:33 AM

"and there's no help file"
its inside the extension, open the help menu in GM and select my extension name. A PDF file should load. Are you using Windows Vista? Someone tried the minesweeper command in Vista and failed because MS moved the location of the file or changed, IDK. Works ok in Windows XP.

I am now re-coding the GMP DLL, it'll be a bit improved and internally more organized.
I added some Vertex3 functions

v1 = gmp_vertex3_create(2,-1.3,1.4);
v2 = gmp_vertex3_create_string("3.4;2.3;-1.2;",';');

x = gmp_vertex3_get_x(v1);
y = gmp_vertex3_get_y(v1);
z = gmp_vertex3_get_z(v1);

  • 0
Loves his girlfriend Melissa <3

#27 Bram Buurlage

Bram Buurlage

    GMC Member

  • New Member
  • 51 posts

Posted 13 December 2007 - 03:37 PM

ow lol, than the pdf should be the problem, i got no pdf reader...
and i am using xp :S
all functions return 0 (i got .NET 2)
  • 0

#28 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 13 December 2007 - 08:59 PM

ow lol, than the pdf should be the problem, i got no pdf reader...
and i am using xp :S
all functions return 0 (i got .NET 2)

<{POST_SNAPBACK}>


wow, you need PDF Reader, lol.
returns 0? Did you check for errors with DLL_GetLastError()? or ErrorOccured.
Odd, so you are using WinXP, should find minesweeper and make numb of flags 999.
do you have any MSN, AIM, ICQ, Gmail, etc, if so PM me, I need to know why it works differently on your computer...
  • 0
Loves his girlfriend Melissa <3

#29 Bram Buurlage

Bram Buurlage

    GMC Member

  • New Member
  • 51 posts

Posted 14 December 2007 - 03:27 PM

lol, now i have an error:

ERROR in
action number 1
of Step Event
for object object0:

Error in code at line 2:
room_caption=string(GNET_Process_GetProcessListSiz
e())+' err: '+GNET_DLL_Error_Get_Last();

at position 66: Wrong type of arguments to +.

while the pdf says it returns a string and GNET_DLL_PopupError_Set(true)
doesnt show any errors....

btw my msn is bram_buurlage@hotmail.com
  • 0

#30 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 15 December 2007 - 05:47 AM

lol, now i have an error:

ERROR in
action number 1
of  Step Event
for object object0:

Error in code at line 2:
  room_caption=string(GNET_Process_GetProcessListSiz
e())+' err: '+GNET_DLL_Error_Get_Last();

at position 66: Wrong type of arguments to +.

while the pdf says it returns a string and GNET_DLL_PopupError_Set(true)
doesnt show any errors....

btw my msn is bram_buurlage@hotmail.com

<{POST_SNAPBACK}>


hmm, before you get the size of the processlist, did you call GNET_Process_UpdateProcessList()?? DLL needs to have a its own list of the running processes

try
create event of object0
GNET_DLL_PopupError_Set(true); //show errors
GNET_Process_UpdateProcessList();

step event of object0
GNET_Process_UpdateProcessList();
room_caption = string(GNET_Process_GetProcessListSize()) + " Error: " + GNET_DLL_Error_Get_Last();

works for me.



Game Maker Plus Update:
GMplus.dll has been re-code and still works. Now I will improve parts of the DLL.

Edited by TheOmega, 15 December 2007 - 05:50 AM.

  • 0
Loves his girlfriend Melissa <3

#31 kubaszewczyk11

kubaszewczyk11

    GMC Member

  • New Member
  • 100 posts

Posted 23 February 2008 - 08:35 AM

I have one question for making gexs!
How to make support of .net dlls?
I KNOW WHAT IS GM.NET LAYER!
But how do that without using Gm.Net Layer?
  • 0

#32 Postality

Postality

    GMC Member

  • New Member
  • 244 posts

Posted 24 February 2008 - 05:52 PM

The only question I have is can I use this any way I please as in can I use it in a commercial game.

I have Super Sound System, 39DLL, and GMPhysics being used because there are no restictions.

I'd like to add this to it as well.

GREAT extension bro, Loving the console feature. perfect for admin commands on server client systems and even cheat codes etc. WOW!

Only problem I've seen with it so far is that you can't actually CLOSE the console.

You end up getting repeated errors. I just use the show and hide to get around it.

Edited by Postality, 24 February 2008 - 06:13 PM.

  • 0

#33 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 26 April 2008 - 09:49 PM

Well you can close it, there is a function that can control whether it can be closed:
GNET_Console_AllowClose(cid, allow);

yes you can use it in commmercial games, as long you credit me in your game for this DLL
like:
This game uses "GNET" created by Omegadox

@ kubaszewczyk11
I have one question for making gexs!
How to make support of .net dlls?
I KNOW WHAT IS GM.NET LAYER!
But how do that without using Gm.Net Layer?

...this DLL was compiled in C++ .NET Language (aka Managed C++ 2005), the compiler supports CLR, I dunno about "GM.NET LAYER" but GM calls the C++ code in my DLL and that C++ code can interface the .NET Framework.

---------------------------------
Well I have not been working in Game Maker Plus (GNET v3), due to the fact I don't use GM anymore, however there might be a chance I might still try to finish this project because the coding is in C++ and not GML, which I don't like anymore

Edited by TheOmega, 20 December 2008 - 05:32 PM.

  • 0
Loves his girlfriend Melissa <3

#34 dahandy

dahandy

    GMC Member

  • New Member
  • 29 posts

Posted 22 May 2008 - 05:29 AM

What about when I am trying to read a text value? For example current gun in CSS?

I am using this kind of code:
memoryHexAddress = "0x2444A658";
memoryAddress = GNET_Convert_Format_HexToValue(memoryHexAddress);
byteSize = gnet_vt_Long
current_weapon = GNET_Process_Memory_Read(processId,byteSize,memoryAddress);

But obviously, gnet_vt_Long returns me a number value, not text. How can I get the output as normal text? :S Cheat Engine can do it so this must be able to do it too! :)
  • 0

#35 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 24 May 2008 - 06:25 PM

there is a separate string function, hopefully in my new DLL, I will combine the number and string functions.
var memoryHexAddress, memoryAddress, current_weapon, ssize;
ssize = /* size of string*/;
memoryHexAddress = "0x2444A658";
memoryAddress = GNET_Convert_Format_HexToValue(memoryHexAddress);
current_weapon = GNET_Process_Memory_Read_String(processId,ssize,memoryAddress);

There is a "GNET_Process_Memory_Read_String(process id, string size, memory address)" and "GNET_Process_Memory_Write_String(process id, value, memory address)" function for reading/writing strings of memory.

a Long is a 8 byte numerical value type. It can hold very large values.

Also I recommend using 'var' when creating temp variables, I have to start doing that in my examples.

To get the full string of any size (without having to know the actual size of the string) scan the bytes in data (starting from the address ) of the string until you reach byte 0, which ends the string.
var string, byte;
byte = GNET_Process_Memory_Read(processId,gnet_vt_byte,memoryAddress);
string = "";
while(byte > 0)
{
  string += char(byte);
  memoryAddress += 1;
  byte = GNET_Process_Memory_Read(processId,gnet_vt_byte,memoryAddress);
}

I haven't tested the code, but I hope it works. I think that is how you get the whole string, else if not, someone let me know.

HTH

Edited by TheOmega, 24 May 2008 - 06:42 PM.

  • 0
Loves his girlfriend Melissa <3

#36 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 1506 posts
  • Version:GM:Studio

Posted 25 October 2008 - 02:14 AM

video support this is just what I need, I have been looking for this, hmm... now that means I give credits to you and I can, make a media player with in my Game Maker Made Dock... which means if anyone wants a tutorial, on making a dock in GM the easy way it will have to wait until mine is commercial, and no my dock does not require a single DLL, how ever for this media player function it might require this DLL, or then I may be able to find a work around with Game Maker's Movie Playing function and get it to be so it's not in a dialogue, and it's positioned properly, yes that should do it, but if I need the DLL, I'll even pay you for your hard work of making it, once I make some money from the dock...

Edited by mrsmes, 25 October 2008 - 02:18 AM.

  • 0

Assuming I helped you out in a questions and answers topic won't you return the favour by helping me with one my coding problems, or recommend some one who can chat to me over pms about helping and how to overcome my obstacles, after all lets just say I did help you or them or many people with similar problems, in that topic.

Here i have a topic for those of you struggling with type writer text and mugshots in your games especially if it is a rpg see the link below for more info

http://gmc.yoyogames...howtopic=619103

almost no code needed, only uses two events.

click here for the l8est version of feed the alien pizza, it has some major polished up features.


#37 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 20 December 2008 - 05:46 PM

Are you looking for a Video Playback Decoder for GM? As far as I remember, my DLL doesn't support any video decoding, you probably want to find a DLL made for GM that wraps DirectShow and a bunch of other decoders. If no one has done this, then it would be best to learn C++ to code your own DLL for this.

For the news:
I have not been working on my "Game Maker Plus" anymore because I have been working in C++ helping the Dolphin-emu team (Now that I am part of the Dolphin-emu team) to work on this Dolphin-emu Gamecube/Wii emulator.
So I did plan idea to someday make my unreleased GMP extension open source as a Google Project under the GPL 2 license.
  • 0
Loves his girlfriend Melissa <3

#38 kubaszewczyk11

kubaszewczyk11

    GMC Member

  • New Member
  • 100 posts

Posted 13 March 2009 - 06:17 PM

O_O I do not knew that GM supports .NET C++ dlls :)
But very big thanks to you, cuz I love .NET and GM, now i can mix them :) (Like XML functions)

EDIT:
I tested and it not works :snitch: I created CLR DLL project in VC++2008, changed call to stdcall, exported using __declspec and error in GM :lol:
What config options shloud I use (If you do not wanna tell that, it will be ok, it may be secret)
PS. I can join ur project if u allow, I am advanced C++, C and C# programmer :P

Edited by kubaszewczyk11, 13 March 2009 - 06:45 PM.

  • 0

#39 TheOmega

TheOmega

    GMC Member

  • New Member
  • 88 posts

Posted 14 March 2009 - 10:03 PM

Of Course, because the DLL is like any other DLL except it makes internal calls to the CLR. Mail me if you want to join my google project: http://code.google.c...ame-maker-plus/

I'll help you through on how to get started.
  • 0
Loves his girlfriend Melissa <3