| Mirage Source http://www.miragesource.net/forums/ |
|
| Alert messages http://www.miragesource.net/forums/viewtopic.php?f=193&t=4534 |
Page 1 of 1 |
| Author: | GIAKEN [ Fri Oct 10, 2008 9:09 pm ] |
| Post subject: | Alert messages |
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... |
|
| Author: | scarra3 [ Sat Oct 11, 2008 3:58 am ] |
| Post subject: | Re: Alert messages |
Ah i see what you mean i have the same problem |
|
| Author: | Ramsey [ Sun Oct 12, 2008 3:41 pm ] |
| Post subject: | Re: Alert messages |
I successfully completed this before, don't exactly remember how I got around doing it. I'll look into it. |
|
| Author: | GIAKEN [ Mon Oct 13, 2008 6:38 pm ] |
| Post subject: | Re: Alert messages |
Nevermind. All I had to do was take out the CloseSocket in AlertMsg... |
|
| Author: | Mattyw [ Mon Oct 13, 2008 7:04 pm ] |
| Post subject: | Re: Alert messages |
Make a seperate one, WarnMsg, like I did. |
|
| Author: | GIAKEN [ Mon Oct 13, 2008 7:06 pm ] |
| Post subject: | Re: Alert messages |
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. |
|
| Author: | Mattyw [ Mon Oct 13, 2008 9:32 pm ] |
| Post subject: | Re: Alert messages |
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 |
|
| Author: | Nean [ Tue Oct 14, 2008 7:26 am ] |
| Post subject: | Re: Alert messages |
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? |
|
| Author: | Rian [ Tue Oct 14, 2008 3:07 pm ] |
| Post subject: | Re: Alert messages |
I think you'll have to close the socket before you can get to a new menu state |
|
| Author: | GIAKEN [ Tue Oct 14, 2008 6:45 pm ] |
| Post subject: | Re: Alert messages |
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. |
|
| Author: | halla [ Wed Oct 15, 2008 8:33 pm ] |
| Post subject: | Re: Alert messages |
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. |
|
| Author: | GIAKEN [ Wed Oct 15, 2008 8:37 pm ] |
| Post subject: | Re: Alert messages |
Umm it's already been fixed. |
|
| Author: | halla [ Wed Oct 15, 2008 8:38 pm ] |
| Post subject: | Re: Alert messages |
Oh ok just downloaded source and it was same guess didnt upload new version yet |
|
| Author: | Mattyw [ Wed Oct 15, 2008 8:45 pm ] |
| Post subject: | Re: Alert messages |
There was nothing to FIX. It is how it was supposed to be, but what GIAKEN done is nice. |
|
| Author: | halla [ Wed Oct 15, 2008 9:27 pm ] |
| Post subject: | Re: Alert messages |
well if you dont mind logging in 50 times |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|