Jump to content


Photo

GameMaker Server


  • Please log in to reply
444 replies to this topic

#41 size43

size43

    GMC Member

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

Posted 30 December 2011 - 06:34 PM

I replicated all of your objects from your Maze example to my game, (changing the objects names to work with my game && room sequence (with objects))
And when I press enter in the login box i get this error :


___________________________________________
ERROR in
action number 1
of Create Event
for object obj_login:

Creating instance for non-existing object: 0

It seems like the gex isn't initialized correctly. When do you call the server-settings script/action? (It should be before you call the login script/action)
  • 0

#42 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 15 January 2012 - 06:15 PM

Can we have a more advanced example, possibly with a little more comments.
I Keep getting send back to the login screen of my game.
Im guessing it is because it isn't registered on your site,
when I tried to register the ID on your site it eventually works,
bit when I gave the game permission I had another 502, Internal Server Erroe :confused:
Please Give some kind of Answer/ Feedback.
  • 0

#43 size43

size43

    GMC Member

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

Posted 15 January 2012 - 06:38 PM

Can we have a more advanced example, possibly with a little more comments.
I Keep getting send back to the login screen of my game.
Im guessing it is because it isn't registered on your site,
when I tried to register the ID on your site it eventually works,
bit when I gave the game permission I had another 502, Internal Server Erroe :confused:
Please Give some kind of Answer/ Feedback.

Ok, I will start working on some more examples. Any preferred D&D actions/scripts I need to do in particular? :)

The server appearantly decides to change your gameID when you trie to log in. I will look at that soon. (I don't have the time right now) But you seem to be loggin in correctly right now, so I guess you found a way around it?

And since I completely forgot to post anything about the updates:

GameMaker Server - Update 9 & 10 & 10.1 & 10.2
Right, I forgot to post 2 updates. If you have downloaded GameMaker Server recently, you most likely already have the newest version (The downloadlink updates automatically).
To check: Open the extension manager, click GameMaker Server, and look at "Version: ". It should say 10.2

Basically, it contains this:
Update 9
-A new chat
-CPU-improvements
-An auto-update funtion for your game
-Some bugfixes
-Some other, less important stuff

Update 10:
-Simple Teams
-Anti-DDoS
-P2P-messages for the simple mode
-A developer-password, to prepare for U11
-A lot of bugs

Update 10.1&10.2:
-Bugfixes

I know the names aren't displayed correctly, you should use server_get_var and global._player_name insteadfor the time being. When I have the time, I will fix this bug ;)

Download (5,4 MB)
  • 0

#44 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 15 January 2012 - 07:10 PM

I already have the newest update, and like you said my friends name(in chat) shows up as mine, any way for me to work around this, I don't want to mess with too much gml right now.
maybe a really basic MMORPG as an example
3 basic Var:
-lvl
-exp
-expn(exp to next lvl)
I mean somthing like GRAAL, a Zelda-Like LTTP online MMORPG

Okay Wll thanks for the Info :happy:

Edited by NeoTalon27, 15 January 2012 - 07:16 PM.

  • 0

#45 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 15 January 2012 - 07:15 PM

Also is there any way to center the name above your player?
  • 0

#46 size43

size43

    GMC Member

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

Posted 15 January 2012 - 07:24 PM

I already have the newest update, and like you said my friends name(in chat) shows up as mine, any way for me to work around this, I don't want to mess with too much gml right now.
maybe a really basic MMORPG as an example
3 basic Var:
-lvl
-exp
-expn(exp to next lvl)
I mean somthing like GRAAL, a Zelda-Like LTTP online MMORPG

Okay Wll thanks for the Info :happy:

Ok, I will start working on that ;)

A way to work around this is to use draw variabele instead.
use as expression: server_get_var(player_id,"name") (for the other player of global._player_name for the player. :smile:

Also is there any way to center the name above your player?

You should check out draw_set_halign(halign). I am not enitrely sure whether there is an D&D equivalent
  • 0

#47 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 15 January 2012 - 07:36 PM

I simply used D&D for the centering, It worked.

server_get_var(player_id,"name")


where would I use this, in Create?
I am no nub to GM, I'm just no good with extensions :biggrin:

Edited by NeoTalon27, 15 January 2012 - 07:38 PM.

  • 0

#48 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 15 January 2012 - 08:10 PM

You left... :sleep: , well I figured some stuff out, but: do Instances Auto Sync on Destruction?
  • 0

#49 size43

size43

    GMC Member

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

Posted 16 January 2012 - 01:59 PM

I simply used D&D for the centering, It worked.

server_get_var(player_id,"name")


where would I use this, in Create?
I am no nub to GM, I'm just no good with extensions :biggrin:

In the 'expression' field, the draw-variabele action.

You left... :sleep: , well I figured some stuff out, but: do Instances Auto Sync on Destruction?

It should, however there might be a bug. I will try to fix it as soon as possible.

I am really willing to fix these bugs, I just don't have any time this week. The days are very exhausting and my free time is reduced to nearly zero, so I can barely do anything :(
  • 0

#50 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 16 January 2012 - 03:09 PM

Error : gml_Script_XServer_step(582) : statement in a switch MUST appear after case or default

appeared in GMH
  • 0

#51 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 16 January 2012 - 03:13 PM

In the 'expression' field, the draw-variabele action.

on what object?
the main player, or the ''other player''? also I cant find the expression field? do you mean draw ovar, or gvar, or something completely different?
Also, What is the difference between svar and gvar? :huh:
  • 0

#52 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 16 January 2012 - 03:42 PM

Found another bug that has to do with global._version.
  • 0

#53 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 16 January 2012 - 03:47 PM

Also expect a few more visitors :biggrin:
  • 0

#54 size43

size43

    GMC Member

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

Posted 16 January 2012 - 04:05 PM

Error : gml_Script_XServer_step(582) : statement in a switch MUST appear after case or default

appeared in GMH

GMH? GameMaker Highscores?

In the 'expression' field, the draw-variabele action.

on what object?
the main player, or the ''other player''? also I cant find the expression field? do you mean draw ovar, or gvar, or something completely different?
Also, What is the difference between svar and gvar? :huh:

Just the normal "Draw Variable" (Control tab) It actually says "Variable", but you can put an expression in there. You should use server_get_var.. on the other player, or global._player_name on the player. But the server I am running could also be messing up all the names, so it might not work.

Found another bug that has to do with global._version.

An error? What does it say?


Also expect a few more visitors :biggrin:

I should be prepared for that :P
  • 0

#55 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 16 January 2012 - 04:42 PM

gmh is GMK HTML
the error said unkown variable, prob. because it Wasn't yet defined, After I definef it error'd again and said I was disconected.

"Draw Variable" (Control tab) It actually says "Variable", but you can put an expression in there. You should use server_get_var.. on the other player, or global._player_name on the player.


also How do I get custmo chat, the only chat commands(gml) I see, for drawing are simple and don't mention the player name.
can you give me the snippet of code.
also when I fetch a message (manually) it asks for number, are these real-time
a friend of mine said the server is lagging, do you host them, or are they hosted by 3 prtie sft.(wix,webs,etc.)
  • 0

#56 Alexander0777

Alexander0777

    GMC Member

  • New Member
  • 12 posts
  • Version:GM8

Posted 18 January 2012 - 05:17 PM

Just a fast question:
Can I use this service for a commercial game? There's a license under protection?
  • 0

#57 size43

size43

    GMC Member

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

Posted 19 January 2012 - 12:27 PM

Just a fast question:
Can I use this service for a commercial game? There's a license under protection?

I currently do not have a single license, disclaimer, privacy thing, etc. However, it will get some kind of license in the future. I have no idea what it's going to be, since I don't really know what there is available out there.

But I am not going to block this for commercial games, so you can use it if you want :)

gmh is GMK HTML
the error said unkown variable, prob. because it Wasn't yet defined, After I definef it error'd again and said I was disconected.

GameMaker HTML5 does not support DLL's, and therefore it will give some unexpected errors. I am looking for a good HTML-version of the 39dll, but I haven't found one yet.

also How do I get custmo chat, the only chat commands(gml) I see, for drawing are simple and don't mention the player name.
can you give me the snippet of code.

The chat functions that are not related to the server part, have the "chat_" prefix, instead of "server_chat" ;)

also when I fetch a message (manually) it asks for number, are these real-time

Fetching a message? With server_send_message_to?

a friend of mine said the server is lagging, do you host them, or are they hosted by 3 prtie sft.(wix,webs,etc.)

I host it myself. There are coming some speed improvements soon, but most of the time the lag actually is "just" there. It's up to you as a developer to actually make it seem like there is no lag. For example, Team Fortress, a very popular FPS game on PC. I am most of the time connected to a host with a ping of 60. That means, there is a delay of 60 ms before the server receives my message. But with processing time (server-sided) and the ping of the other player, it can easily be 3 times linger. So that means a delay of 180 milliseconds. That's 1/5 of a second. It's impossible to send as many messages as needed to make the other players move smooth. So instead, you'll need to use some smart techniques to make it look like you are receiving 60 messages a second. GameMaker Server can do some of that for you, but nowhere near as much as a big company like valve can do.
Things to look at:
-Draw multiple sprites (a gun?) in one object, instead of syncing multiple instances
-Do not sync useless variables
-Do not sync useless instances
-Try to make as many instances as possible move over a path, and just sync the path position instean of the X and Y.

Also note that the instances currently do not have an option to use the 4D packet (and the smooth position correction) that you get with the player objects.

 

Coming up:
-On friday, I will release a fix for the instances not syncing correctly, the server_player_get_name function not working properly, and any other bugs I have found.
-Next month, update 11 will be released. It will have some language options (when logging in), you will be able to log in with your username and password by default. If you are a developer, you should consider enabling you developer-password so that hackers can only access the "Player"- part. I am going to promote games on the front page and in my "about me" page thing that appears on every post of mine. (and I will probably add a disclaimer as well)
-I am currently working on improving stability, speed, uptime of this service. (Like a DLL instead of GML scripts)

 

Ooof, that is a long, long, post :P
  • 0

#58 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 19 January 2012 - 01:25 PM

Front Page?
  • 0

#59 size43

size43

    GMC Member

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

Posted 19 January 2012 - 01:41 PM

Front Page?

Front page (gamemakerserver.tk), home page, start page, whatever you want to call it ;)
  • 0

#60 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 19 January 2012 - 03:16 PM

okay, cool.also Can I implement this into an fps? how would I make the names be displayed above their heads???
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users