Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alert messages
#1
After you log in and make a new character or delete or anything when the message comes up it makes you go back and have to re-login...well I tried to fix this but there's a problem where it doesn't keep your player loaded or something...so I had to make it go back to re-login or else it would say the character doesn't exist when you try to use it each time...
Reply
#2
Ah i see what you mean i have the same problem
Reply
#3
I successfully completed this before, don't exactly remember how I got around doing it. I'll look into it.
Reply
#4
Nevermind.

All I had to do was take out the CloseSocket in AlertMsg...
Reply
#5
Make a seperate one, WarnMsg, like I did.
Reply
#6
All I did was this:

Code:
Sub AlertMsg(ByVal Index As Long, ByVal Msg As String, ByVal Location As Byte)
Dim Packet As String

    Packet = SAlertMsg & SEP_CHAR & Msg & SEP_CHAR & Location & END_CHAR
    
    Call SendDataTo(Index, Packet)
    
    If Not (Location = 2) Then CloseSocket Index
End Sub

Location 2 = select character.
Reply
#7
GIAKEN Wrote:All I did was this:

Code:
Sub AlertMsg(ByVal Index As Long, ByVal Msg As String, ByVal Location As Byte)
Dim Packet As String

    Packet = SAlertMsg & SEP_CHAR & Msg & SEP_CHAR & Location & END_CHAR
    
    Call SendDataTo(Index, Packet)
    
    If Not (Location = 2) Then CloseSocket Index
End Sub

Location 2 = select character.

Meh. Nice. XD
Reply
#8
I tried liquidating the AlertMsg, into a WarnMsg, by and removing the close socket, however, when I do that, when I make a new char, it loads up the "Connect sending login information", and then it just freezes up. How can I get around this?
Reply
#9
I think you'll have to close the socket before you can get to a new menu state
Reply
#10
Well with the location you can set which window they go to. I've got them going to main menu, register, new character, and select character.
Reply
#11
I doubt it but does anyone have my old pokemon worldwide source I posted here ages ago? Someone was working with me and one of the first things they did was fix this cause they said it was stupid. I dont remember what they did though. So if anyone had it we can find out and fix it. I dont have the source anymore though.
Reply
#12
Umm it's already been fixed.
Reply
#13
Oh ok just downloaded source and it was same guess didnt upload new version yet
Reply
#14
There was nothing to FIX. It is how it was supposed to be, but what GIAKEN done is nice.
Reply
#15
well if you dont mind logging in 50 times
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)