The Daily Click ::. Forums ::. Klik Coding Help ::. Receiving problem.
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
4th January, 2007 at 16:41:13 -

Oke i made an online engine and everything works except the the other client doesnt receive the other client coordinates.
Here are the events:
I send : str$( X( "Player" ) ) + "," + str$( Y( "Player" ) ) + "," + str$( Dir( "Player" ) )

Receive event :

+Player : On Message
+P_OnMessage_GetSubchannel( "MooClick" )=0
+PCU_GetID("MooClick")=Value A("Other Player")
-Set Position of Other Player...

And it doesn't work for some reason, please help...

 
Oh sweet mary.

CodeCannon

of DringleTopia

Registered
  13/04/2006
Points
  208
5th January, 2007 at 09:39:20 -

For the receive event, try changing the 3rd condition '+PCU_GetID("MooClick")=Value A("Other Player")' to 'Alterable Value A of [Other Player] = PCU_GetID("MooClick")'. Use the "Other Player"'s compare to an alt. value condition.

 
_
CodeCannon
http://www.dringletopia.da.ru/

Aptennap



Registered
  23/04/2004
Points
  916
5th January, 2007 at 12:10:19 -

Oke ill try it.

 
Oh sweet mary.

Aptennap



Registered
  23/04/2004
Points
  916
5th January, 2007 at 12:13:58 -

Nope didnt change a thing, ill try rewriting the whole thing.

 
Oh sweet mary.

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
5th January, 2007 at 14:24:26 -

If you are using the "Compare two general values" condition then don't.
Go to the player object and choose "Compare alterable value" --> Value A, and compare it with PCU_GetID("MooClick")

Otherwise it doesn't know which object to move. If that still doesn't work, try removing the code which compares value A with the user ID and set a string to the message received. If the string doesn't change, then there is a problem with your MooClick code.

Image Edited by the Author.

 
This is a signature. Have this one on me.
   

Post Reply



 



Advertisement

Worth A Click