Jump to content


Photo

GameMaker Server


  • Please log in to reply
449 replies to this topic

#261 size43

size43

    GMC Member

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

Posted 08 June 2012 - 04:19 PM

It only seems to work with two players though, odd...

If you are accessing variables by using object names, like obj_other_player.player_id, GM might not be able to distinct the other players correctly ;)
  • 0

#262 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 08 June 2012 - 04:26 PM

Would this increase the overall speed?
if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);

  • 0

#263 size43

size43

    GMC Member

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

Posted 08 June 2012 - 04:28 PM

Would this increase the overall speed?

if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);

Nope, the scripts already detect changes on their own. Doing that will just double-check every change :)
  • 0

#264 Greenhawk911

Greenhawk911

    SHS Drumline

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

Posted 08 June 2012 - 09:01 PM


Would this increase the overall speed?

if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);

Nope, the scripts already detect changes on their own. Doing that will just double-check every change :)

every time i sart my game it says im not connected. The Login is fne but somehow is not connecting
  • 0

#265 Andy

Andy

    GMC Veteran

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

Posted 08 June 2012 - 09:10 PM

FATAL ERROR in
action number 1
of Step Event
for object __newobject38:
GameMaker Server - Update 13: To run this script, you need to be connected to the server.
A script is executed while you either aren't connected yet or you are disconnected. Errorcode 1589615: '1589615'


I get the above error very often, once upon just launching the game. :sad:
  • 0

#266 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 08 June 2012 - 09:16 PM



Would this increase the overall speed?

if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);

Nope, the scripts already detect changes on their own. Doing that will just double-check every change :)

every time i sart my game it says im not connected. The Login is fne but somehow is not connecting

are you sure it is connected?
  • 0

#267 NeoTalon27

NeoTalon27

    GMC Member

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

Posted 08 June 2012 - 09:17 PM

I keep getting the identity theft glitch, in which there is only one name in chat, carried by multiple users, this happend in many different instances, I thought this was fixed. :confused:
  • 0

#268 Greenhawk911

Greenhawk911

    SHS Drumline

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

Posted 08 June 2012 - 11:17 PM

I keep getting the identity theft glitch, in which there is only one name in chat, carried by multiple users, this happend in many different instances, I thought this was fixed. :confused:


Every time I play across the network with my onljne game server game l. It saysFATAL ERROR in
action number 1
of Step Event
for object __newobject51:

GameMaker Server - Update 13: To run this script, you need to be connected to the server! A script is executed while you either aren't connected yet or you are disconnected. Server status: Connected
. What's the problem.

My players can enter vehicles and has AI bur gives me that error

Edited by Greenhawk911, 08 June 2012 - 11:30 PM.

  • 0

#269 size43

size43

    GMC Member

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

Posted 09 June 2012 - 09:26 AM



Would this increase the overall speed?

if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);

Nope, the scripts already detect changes on their own. Doing that will just double-check every change :)

every time i sart my game it says im not connected. The Login is fne but somehow is not connecting

What code are you using to login?


FATAL ERROR in
action number 1
of Step Event
for object __newobject38:
GameMaker Server - Update 13: To run this script, you need to be connected to the server.
A script is executed while you either aren't connected yet or you are disconnected. Errorcode 1589615: '1589615'


I get the above error very often, once upon just launching the game. :sad:

I keep getting the identity theft glitch, in which there is only one name in chat, carried by multiple users, this happend in many different instances, I thought this was fixed. :confused:

It sometimes randomly starts happening. I have restarted the server (it crashed 3 times in a row), that should fix most problems :)
  • 0

#270 Seanny112

Seanny112

    GMC Member

  • New Member
  • 1 posts
  • Version:GM8

Posted 09 June 2012 - 10:52 AM

Firstly: AMAZING EXTENSION! :D

I am only having one problem with it: I don't know if I am connected to the server.
This also effects the fact that I cannot auto update. :/ Any help?

( The "test if you are online" does not work" )
  • 0

#271 size43

size43

    GMC Member

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

Posted 09 June 2012 - 11:17 AM

Firstly: AMAZING EXTENSION! :D

I am only having one problem with it: I don't know if I am connected to the server.
This also effects the fact that I cannot auto update. :/ Any help?

( The "test if you are online" does not work" )

As far as I can see, you logged in properly. (MMOExample)
Did it give you an error? And did you register the gameID on the site?
  • 0

#272 Greenhawk911

Greenhawk911

    SHS Drumline

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

Posted 10 June 2012 - 12:00 AM


Macy & Joseph are the two I normally use.

The server seemed to constantly fail to send data to your computer, so I restarted the server. Could you check whether you are still having the same problem?

You should fix the server acfooss the network. It keeps failing to connect. I have a player and other player and both have player parenta.
  • 0

#273 StickofDoom

StickofDoom

    GMC Member

  • New Member
  • 80 posts

Posted 10 June 2012 - 01:49 AM

hey! is it possible to make a custom login/register screen under simple mode?
  • 0

#274 size43

size43

    GMC Member

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

Posted 10 June 2012 - 10:12 AM



Macy & Joseph are the two I normally use.

The server seemed to constantly fail to send data to your computer, so I restarted the server. Could you check whether you are still having the same problem?

You should fix the server acfooss the network. It keeps failing to connect. I have a player and other player and both have player parenta.

Are you able to login normally when using an unmodified example?


hey! is it possible to make a custom login/register screen under simple mode?

Yes :)
It has to be done using GML:
server_login_* for logging in and
server_register for registration
  • 0

#275 Greenhawk911

Greenhawk911

    SHS Drumline

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

Posted 10 June 2012 - 11:33 AM

yes im loggin in good but gives me the connectiion error.
  • 0

#276 EagleWingz7500

EagleWingz7500

    GMC Member

  • GMC Member
  • 15 posts
  • Version:GM8

Posted 10 June 2012 - 12:31 PM

i keep getting this error

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

COMPILATION ERROR in code action
Error in code at line 1:
server_settings(1,argument2,argument0,argument1);
^
at position 1: Unknown function or script: server_settings


Maybe i forgot to do smth?
  • 0

#277 size43

size43

    GMC Member

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

Posted 10 June 2012 - 01:00 PM

yes im loggin in good but gives me the connectiion error.

I can't locate your login in the chat log. What username did you use?

i keep getting this error

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

COMPILATION ERROR in code action
Error in code at line 1:
server_settings(1,argument2,argument0,argument1);
^
at position 1: Unknown function or script: server_settings


Maybe i forgot to do smth?

You did install the extension, right? :)
  • 0

#278 Greenhawk911

Greenhawk911

    SHS Drumline

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

Posted 10 June 2012 - 01:59 PM

Greenhawk1997
  • 0

#279 size43

size43

    GMC Member

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

Posted 10 June 2012 - 02:10 PM

Greenhawk1997

You don't seem to be logging in correctly, and you are most likely kicked (or not even connected) when you see that error message. What code do you use to login/connect?
  • 0

#280 EagleWingz7500

EagleWingz7500

    GMC Member

  • GMC Member
  • 15 posts
  • Version:GM8

Posted 10 June 2012 - 02:43 PM

You did install the extension, right? :)


Yeap
  • 0




1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users