Jump to content


Photo
- - - - -

MMORPG - Shooting & Weapons - 4000+ Downloads!


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

#1 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 06 July 2011 - 11:01 PM

Last updated: 7th July 2011

  • Title: "Shooting & Weapons" Example
  • Description: This package contains a client program and a server program, featuring the addition of shooting and weapon changing. The module is coded for ease-of-use and understanding.
  • GM Version: 8.0-8.1
  • Registered: Required
  • File Type: .ZIP format -- within are: .gmk, .dll and .txt
  • File Size: 344Kb
  • File Link: Download "Shooting & Weapons" Example
  • Application Extensions: 39dll.dll, MyInI.dll
Additional Info
You are free to use this code and accompanying resources in any of your non-commercial or commercial Game Maker software projects without credit.

You may not redistribute this example without permission.

Instructions
The client is already set to connect to IP address 127.0.0.1, so simply run the server, then run as many clients as you'd like. Create an account with each client, and then log them in.

Series:

Edited by True Valhalla, 24 January 2012 - 06:32 AM.

  • 0

#2 iceshield

iceshield

    GMC Member

  • GMC Member
  • 393 posts

Posted 07 July 2011 - 08:32 PM

Great !
But I think this example should contain a collision checking example (bullet hitting the other player and make it loose health) , so it shows that collisions must be server sided. And this will make the tutorial more unique. Theoretical the user should know how to make this example alone if it understand the first 4 examples.
  • 0

#3 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 07 July 2011 - 10:15 PM

I might add that to this example as an update when I have some more free time :)

Thanks for the comment!
  • 0

#4 igra4as7z

igra4as7z

    GMC Member

  • New Member
  • 1 posts

Posted 22 July 2011 - 07:42 PM

When i click "W" the sprite change.I want only to go up do not change sprite . If some one can tell where is the script to delete this function

Thanks!

edit : I found the script.

Edited by igra4as7z, 24 July 2011 - 04:49 AM.

  • 0

#5 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 26 July 2011 - 03:47 AM

Good job :rolleyes:
  • 0

#6 creepers9164

creepers9164

    GMC Member

  • GMC Member
  • 72 posts
  • Version:GM8

Posted 27 December 2011 - 04:06 PM

Looking at all these examples, I am just wowed. It is amazing to see people take the effort to teach newbs (like me) to use functions like 39dll with such simplicity. 1000/10. Awesome job! :biggrin:
  • 1

#7 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 14 January 2012 - 09:32 AM

Thanks, glad to be of help!
  • 0

#8 Sir

Sir

    Jedi Poodoo

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

Posted 14 January 2012 - 11:33 PM

Getting this error when running

ERROR in
action number 1
of Create Event
for object obj_controller:

In script scr_server_init:
Illegal argument count calling script "iniStart".
Script requires 1 arguments, 0 have been supplied.


I am using GM 8.1, TUVAZ off. Please fix, as this looks interesting. Thanks!
  • 0

#9 Sir

Sir

    Jedi Poodoo

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

Posted 15 January 2012 - 02:29 AM

I edited this a LOT, but now i am getting this error

Connection to server failed

Any help?
  • 0

#10 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 15 January 2012 - 03:04 AM

Script requires 1 arguments, 0 have been supplied.

Please fix, as this looks interesting. Thanks!


This is a setting you have ON in your version of GameMaker where it forces you to supply all the arguments to a function. Turn it off and this will work fine.

I edited this a LOT, but now i am getting this error

Connection to server failed

Any help?


How can I know what you changed? There is no way for me to help with such a vague post...
  • 0

#11 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 217 posts
  • Version:GM:HTML5

Posted 10 March 2012 - 03:58 PM

I just bought Game Maker HTML and am using Vista sp2. It doesn't work for me.

I register an account with it, but it doesn't actually create one. The account folder is empty. I try to log in using the name and password I registered, and it doesn't find it.

Any ideas?

I run it in Windows mode, not HTML mode. Has anyone else with Game Maker HTML tried to run this yet?
  • 0

#12 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 28 March 2012 - 06:34 AM

I have not tried my examples in GM HTML5 and I would not recommend it?
  • 0

#13 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 217 posts
  • Version:GM:HTML5

Posted 28 March 2012 - 01:27 PM

I have not tried my examples in GM HTML5 and I would not recommend it?


Yeah, it does have a lot of problems right now. When I Google the official wiki for "Important note: this variable is broken in HTML5, and will always return 0." I get 94 results. Plus other functions may a different message than that indicating they are broken, so no telling how many things are not working total.

It would be nice to have some good working examples in using it.

Do you plan on using GameMaker:Studio when it comes out?
  • 0

#14 Sir

Sir

    Jedi Poodoo

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

Posted 28 March 2012 - 03:58 PM

I just bought Game Maker HTML and am using Vista sp2. It doesn't work for me.

I register an account with it, but it doesn't actually create one. The account folder is empty. I try to log in using the name and password I registered, and it doesn't find it.

Any ideas?

I run it in Windows mode, not HTML mode. Has anyone else with Game Maker HTML tried to run this yet?


This is probably because this tutorial makes use of a DLL. GM:H can't use DLL's. Sorry.
  • 1

#15 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 29 March 2012 - 01:03 AM

Do you plan on using GameMaker:Studio when it comes out?


Yes, definitely, though why do you ask?
  • 0

#16 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 217 posts
  • Version:GM:HTML5

Posted 29 March 2012 - 01:25 AM


Do you plan on using GameMaker:Studio when it comes out?


Yes, definitely, though why do you ask?


Just hoping for some updated examples to get started with. http://gmc.yoyogames...ic=534478&st=20

Game Maker Studio will be the same as Game Maker HTML5 only faster and perhaps with extra stuff.
  • 0

#17 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 29 March 2012 - 03:05 AM

There is a very big difference in an online engine for Windows compared to one for HTML5. To make an online game in HTML5 is extremely different. While I may look into it in the future, for a real time MMORPG like I am making (Myriad Online) I will always prefer Windows to HTML5. So, I do not plan to make an online engine for HTML5 currently or in the foreseeable future.

You should also know that since Windows and HTML5 versions are so different, you are either developing for one of the other, not both.

.

Edited by True Valhalla, 29 March 2012 - 03:07 AM.

  • 0

#18 Joeben123

Joeben123

    GMC Member

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

Posted 06 April 2012 - 02:14 AM

Aww man! I have the HTML5 version of Gamemaker but not Gamemaker 8.1. Is there a way to make it work with the lite version?
  • 0

#19 True Valhalla

True Valhalla

    ಠ_ಠ

  • Retired Staff
  • 4879 posts
  • Version:GM:Studio

Posted 06 April 2012 - 02:22 AM

Is there a way to make it work with the lite version?


Definitely not, unfortunately. Without Pro, you can't use 39dll which leaves you with the built-in Mplay functionality, which you need GM Standard for anyway :)
  • 0

#20 aavitsland

aavitsland

    GMC Member

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

Posted 18 May 2012 - 07:46 PM

Hi.

This was quite a interesting turtorial and I would like to use it for a game I want to make.
But when I write the codes and do everything as your turtorial states it only gives me message "connection to server failed"

I also tried download the complete package from your website and when trying to run it I get the same message as above.

I wonder if this is a error on my side and the code is working fine?
If it is working fine I would probably work on it.

I have tried everything I can think of to get it to work properly but now im out of ideas.
-----------

Other than that.
Can this client/server setup be used for making a mmo game were the player doesnt control a object such as a character but rather starts out with a city in a huge world, were as he has to develop this city and gain resources so that he eventually can make a city nr 2 and so on, were he can create soldiers etc to fight for him versus other players, for example if he was to attack a other city to plunder that city for example.
Somthing in the same category as ikariam.com but still with my own ideas and nothing like a copy to put it that way, but the same kind of game, but as a executable game in windows?
Hope this wasn't to hard to understand :P
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users