Mirage Source
http://www.miragesource.net/forums/

MS4
http://www.miragesource.net/forums/viewtopic.php?f=193&t=5584
Page 3 of 3

Author:  Jacob [ Wed Jun 17, 2009 1:58 am ]
Post subject:  Re: MS4

Nean wrote:
lol, I love how I had to change the server and client ports to match, as well as make sure that both server and client SEP_CHAR and END_CHAR's match, before I could even login to MS4.

Also 3_79 lags like fuck for me.


The first part he's talking about are in 3.78, they are fixed in 3.79.

I'll talk to you more to see what's going on with lag.

Author:  genusis [ Thu Jun 18, 2009 12:28 am ]
Post subject:  Re: MS4

For the lag....

When you are by yourself the movement and everything is OK and working properly but if there are other players you see them jump all over the map.

Author:  James [ Sun Jun 21, 2009 3:29 am ]
Post subject:  Re: MS4

ERROR!

Admin text does not remove the =.

I type =Test!

I see (admin) =Test!

>_>

Author:  Matt [ Sun Jun 21, 2009 1:06 pm ]
Post subject:  Re: MS4

James wrote:
ERROR!

Admin text does not remove the =.

I type =Test!

I see (admin) =Test!

>_>


At least it's an easy fix. Lol.

Author:  James [ Sun Jun 21, 2009 6:37 pm ]
Post subject:  Re: MS4

You're right. Find the Admin Text thing client side. Find

Code:
Call AdminMsg(MyText)


Replace MyText with ChatText. :)

Author:  Clu [ Sat Jun 27, 2009 7:05 pm ]
Post subject:  Re: MS4

Is this the latest version of Mirage with the most optimizations or is that in the 3.78 topic?

Author:  Jacob [ Sun Jun 28, 2009 9:08 pm ]
Post subject:  Re: MS4

This version has all the fixes that were needed to 3.78 and I added byte array packets.

One person has said it lags for them, so let's see if it lags for anyone else.

Author:  Clu [ Wed Jul 01, 2009 5:11 pm ]
Post subject:  Re: MS4

Im trying to used to the byte arrays, does anybody know any good sites, or any tips they can give me on what to read/do to get accustomed to them?

Author:  Jacob [ Wed Jul 01, 2009 6:00 pm ]
Post subject:  Re: MS4

The best way to learn how to use my system is to look at the other packets and try to emulate them.

Once I'm 1000% sure there are no more bugs, I will be writing a full "How-To" guide.

Author:  deathknight [ Sun Jul 05, 2009 6:39 pm ]
Post subject:  Re: MS4

I think I have found a bug in the logout packet (not sure). I posted about it here.

viewtopic.php?f=136&t=5923

Author:  ExoShox [ Sun Jul 05, 2009 11:47 pm ]
Post subject:  Re: MS4

After reading about the logout bug i found an even weirder bug. i dont remember this happening the last time I did this with 3.79 but i have compiled and source code version. i log into admin/Admin on the source version and test/Test on the compiled version and then sometimes when i was moving one character, both characters moved, in the EXACT same pattern (if i move one character 1 left the other moved one left, 2 up, 2up etc.) I'll think it may just be a glitch because i know i already was using two characters source and compiled like 2 days ago and this didnt happen, and also this wasnt happening every time i moved either.

Edit: This only occurs IF the window you do not currently have selected is NOT minimized. Otherwise this bug does not occur.

Author:  Matt [ Mon Jul 06, 2009 1:04 am ]
Post subject:  Re: MS4

It's not a bug, it's because the handle movement code and what not was moved outside of the form. Really bad on DFA's part, imo.

Author:  deathknight [ Mon Jul 06, 2009 2:49 am ]
Post subject:  Re: MS4

ExoShox wrote:
After reading about the logout bug i found an even weirder bug. i dont remember this happening the last time I did this with 3.79 but i have compiled and source code version. i log into admin/Admin on the source version and test/Test on the compiled version and then sometimes when i was moving one character, both characters moved, in the EXACT same pattern (if i move one character 1 left the other moved one left, 2 up, 2up etc.) I'll think it may just be a glitch because i know i already was using two characters source and compiled like 2 days ago and this didnt happen, and also this wasnt happening every time i moved either.

Edit: This only occurs IF the window you do not currently have selected is NOT minimized. Otherwise this bug does not occur.



Yeah, I noticed this too while I was testing out a blank server. There is a REALLY easy fix. Make it so you can only open 2 clients at once :P.

Also I didn't test the logout bug on one computer, so it may not work if you have 2 clients running on the same computer, not sure. I used my 2nd computer (based on the fact that having one character follow the other around was annoying) so I'll check that part out later.


Edit: A few more things about the bug I found. On login, it does something similar, it doesn't show the logged on character. Pretty much, the map is not updating for the other members when they leave or enter the server until they do something that updates the map (drop an item, pick up an item. Maybe cast a spell, unable to test that one because NPC's automatically update the map.) It doesn't seem like a big issue, but small things like this annoy me :P Also, it does still happen if you have 2 clients opened on the same computer.

Edit: Was messing around with the party system, so I found another place the map isn't updating. When you kill an NPC, you don't get the xp, it doesn't respawn, and the NPC's freeze. This only happens if you have more than one person on the map, and the NPC's only freeze for the attacker (doesn't need to be in a party or anything, just 2 players on the same map)

Author:  Jacob [ Mon Jul 06, 2009 12:12 pm ]
Post subject:  Re: MS4

I will take a look at these issues shortly.

Author:  ExoShox [ Mon Jul 06, 2009 4:27 pm ]
Post subject:  Re: MS4

Matt wrote:
It's not a bug, it's because the handle movement code and what not was moved outside of the form. Really bad on DFA's part, imo.


It's still a bug. Maybe not with the program but with DFA 's logic for moving it, right? XD

Author:  Beres [ Mon Jul 06, 2009 9:44 pm ]
Post subject:  Re: MS4

I wouldnt think so. He intended to put it like that.

Author:  Matt [ Mon Jul 06, 2009 10:13 pm ]
Post subject:  Re: MS4

ExoShox wrote:
Matt wrote:
It's not a bug, it's because the handle movement code and what not was moved outside of the form. Really bad on DFA's part, imo.


It's still a bug. Maybe not with the program but with DFA 's logic for moving it, right? XD


No, not a bug. Beres is right.

Author:  Acruno [ Fri Jul 24, 2009 7:51 pm ]
Post subject:  Re: MS4

How are things actually going with this? Is Jacob even alive anymore?

Author:  Jacob [ Fri Jul 24, 2009 8:15 pm ]
Post subject:  Re: MS4

I'm alive!

This is why I do the set = new.
Quote:
Don't Dim .. As New

Dim obj As MyClass
Set obj = New MyClass
Why write 2 lines when you can just say Dim obj As New MyClass?

Never Dim anything As New if you're concerned about speed. VB6 will treat such a variable as an auto-instantiated variable. Every time you use it, VB will check if it should be instantiated. This will cost you some extra CPU cycles.

http://www.aivosto.com/vbtips/not-optimize.html

One of these days, I'm going to rewrite it all so there's a 'global' outgoing buffer to make sending packets even faster.

Page 3 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/