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 correctlyIt only seems to work with two players though, odd...
GameMaker Server
#261
Posted 08 June 2012 - 04:19 PM
#262
Posted 08 June 2012 - 04:26 PM
if !server_get_var(player_id, "hp") = hp
server_set_var("hp", hp);
#263
Posted 08 June 2012 - 04:28 PM
Nope, the scripts already detect changes on their own. Doing that will just double-check every changeWould this increase the overall speed?
if !server_get_var(player_id, "hp") = hp server_set_var("hp", hp);
#264
Posted 08 June 2012 - 09:01 PM
every time i sart my game it says im not connected. The Login is fne but somehow is not connectingNope, the scripts already detect changes on their own. Doing that will just double-check every change
Would this increase the overall speed?if !server_get_var(player_id, "hp") = hp server_set_var("hp", hp);
#265
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.
#266
Posted 08 June 2012 - 09:16 PM
are you sure it is connected?every time i sart my game it says im not connected. The Login is fne but somehow is not connecting
Nope, the scripts already detect changes on their own. Doing that will just double-check every change
Would this increase the overall speed?if !server_get_var(player_id, "hp") = hp server_set_var("hp", hp);
#267
Posted 08 June 2012 - 09:17 PM
#268
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.
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.
#269
Posted 09 June 2012 - 09:26 AM
What code are you using to login?every time i sart my game it says im not connected. The Login is fne but somehow is not connecting
Nope, the scripts already detect changes on their own. Doing that will just double-check every change
Would this increase the overall speed?if !server_get_var(player_id, "hp") = hp server_set_var("hp", hp);
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:
It sometimes randomly starts happening. I have restarted the server (it crashed 3 times in a row), that should fix most problemsI 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.
#270
Posted 09 June 2012 - 10:52 AM
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" )
#271
Posted 09 June 2012 - 11:17 AM
As far as I can see, you logged in properly. (MMOExample)Firstly: AMAZING EXTENSION!
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" )
Did it give you an error? And did you register the gameID on the site?
#272
Posted 10 June 2012 - 12:00 AM
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.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?
Macy & Joseph are the two I normally use.
#273
Posted 10 June 2012 - 01:49 AM
#274
Posted 10 June 2012 - 10:12 AM
Are you able to login normally when using an unmodified example?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.
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?
Macy & Joseph are the two I normally use.
Yeshey! is it possible to make a custom login/register screen under simple mode?
It has to be done using GML:
server_login_* for logging in and
server_register for registration
#275
Posted 10 June 2012 - 11:33 AM
#276
Posted 10 June 2012 - 12:31 PM
___________________________________________
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?
#277
Posted 10 June 2012 - 01:00 PM
I can't locate your login in the chat log. What username did you use?yes im loggin in good but gives me the connectiion error.
You did install the extension, right?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?
#278
Posted 10 June 2012 - 01:59 PM
#279
Posted 10 June 2012 - 02:10 PM
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?Greenhawk1997
#280
Posted 10 June 2012 - 02:43 PM
You did install the extension, right?
Yeap









