Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 problems i have
#1
After adding many features and playing around with my code i have 2 serious problems:
1. I cannot write(i cant write even pressing enter or not)
2.open spells doesnt work(i dont know if the problem is in the command box that opens the spells or in the packet)

Some help?
-Ligaman
Reply
#2
*Shaded shakes the magic eight ball......*

-Possibly.-

*Shaded shakes it again.....*

-Try Again.-



Mind sharing what you changed? I can't read your code any better than this magic eight ball dude.
Reply
#3
Edit:

The problem on chat was after apply this tutorial:


Code:
Posted By: Sync
Subject: Chat In A Text Box Instead Of On-Screen
Date Posted: 11 February 2006 at 3:21pm
Difficulty: Easy 1/5

Originaly Posted By: Sonire

In frmMirage:

Make a text box and name it txtMyTextBox

In modGameLogic:

In the game loop find:

' Blit the text they are putting in

And Replace with:

' Blit the text they are putting in

frmMirage.txtMyTextBox.Text = MyText
If Len(MyText) > 4 Then
frmMirage.txtMyTextBox.SelStart = Len(frmMirage.txtMyTextBox.Text) + 1
End If

Then Find:



Sub ResizeGUI()

And Replace the Sub with:

'Sub ResizeGUI()
'If frmMirage.WindowState  vbMinimized Then
'frmMirage.txtChat.Height = Int(frmMirage.Height / Screen.TwipsPerPixelY) - frmMirage.txtChat.top - 32
'frmMirage.txtChat.Width = Int(frmMirage.Width / Screen.TwipsPerPixelX) - 8
'End If
'End Sub

Then Find:

Sub GameInit()

And Replace the whole sub with:

Sub GameInit()
frmMirage.Visible = True
frmSendGetData.Visible = False
'Call ResizeGUI
Call InitDirectX
End Sub

I cant write cause it deleted any letter i am typing
(I ll try to fix the spells on my ownTongue)
Reply
#4
Ok I tested the tutorial and it seems to work fine.

Try to redo everything from the backup source that you should have made.

If you still have issues I'll work further with you. Just send me a PM if you have the same problem.
Reply
#5
Wow that is the worst way to handle chat...it is so easy to make a chat system from scratch.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)