The Daily Click ::. Forums ::. Klik Coding Help ::. having a prob with making a chat with dplay
 

Post Reply  Post Oekaki 
 

Posted By Message

PsychoPatricK



Registered
  24/08/2004
Points
  118
5th April, 2006 at 09:14:32 -

yep this is how it is, Im making a online game for 2 players in tgf and Im using dplay but now Im having a problem with making a chat, 2 problem acctually. The chat window jumps around when u walk as a player (the chat window is set as always postion near the player and the player is set as window scrolling) and the biggest prob is that you can't see your own text only the other players text, and same with him, he cant see his text only the hosts.

So now Im asking for help, I can either send u it and u can look at the code and fix it or u can try to help me here if u want to

msn: patricka25@hotmail.com

Thx

Image Edited by the Author.

Image Edited by the Author.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
5th April, 2006 at 09:45:01 -

Whenever you type a message to the other player, just change your player's speech bubble or add a line t o the chatlog (I'm not sure how your chat works) of what you just typed, then send it to the other players, and also clear the text.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

PsychoPatricK



Registered
  24/08/2004
Points
  118
5th April, 2006 at 09:55:58 -

well.. Thats what I think I have done, but cant get it to work

heres a pic from what happends after u press enter
http://files.upl.silentwhisper.net/upload7/chatpic.JPG

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
5th April, 2006 at 11:44:15 -

There doesn't seem to be anything wrong with that. Does your username come up, but with a blank message? Or does nothing come up at all?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

PsychoPatricK



Registered
  24/08/2004
Points
  118
5th April, 2006 at 12:14:17 -

the username comes up with a blank message exactly

heres a pic what happens in game
http://files.upl.silentwhisper.net/upload1/teeest_chat.JPG


(test 1 is the player to right screen and test 2 is the player to left screen)

Its like this, you cant see your own message after pressing enter, u can only see the message the other player sends



Image Edited by the Author.

Image Edited by the Author.

Image Edited by the Author.

 
n/a

Rhys D

Please enter a custom rating

Registered
  02/01/2002
Points
  162

Has Donated, Thank You!VIP MemberIt's-a me, Mario!Wii OwnerMushroomStrawberrySweetieCardboard BoxOrangeAttention Getter
I am an April Fool
6th April, 2006 at 03:28:39 -

ive had this kinda problem happen sometimes when im testing the game on one computer using two apps.

if you have a network or a friend online try testing it with that to see if the text works.

 
http://www.rhysd.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
6th April, 2006 at 10:13:29 -

Okay, probably the most likely explanation is that you are clearing the text you send to the other person BEFORE you add it to the list. Make sure that your events go like this:

On pressing enter:
+Send text to other player
+Add a line to history
+Clear text

Make sure the clear text is the last action in the event, otherwise it will clear your text, and add a blank message which is what I think is happening.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

PsychoPatricK



Registered
  24/08/2004
Points
  118
6th April, 2006 at 19:08:55 -

thx alot andy, got it to work now

 
n/a

PsychoPatricK



Registered
  24/08/2004
Points
  118
7th April, 2006 at 06:51:08 -

yeah.. why?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click