Mirage Engine
MS4 - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+----- Thread: MS4 (/showthread.php?tid=2792)

Pages: 1 2 3


MS4 - Jacob - 11-05-2009

http://web.miragesource.com/downloads/MS3_79.rar

After we verify there are no errors, I will do a full write up on how to use the byte arrays.

References I used:
Verrigan's Byte Array Source
JokeofWeek


Re: MS4 - Nean - 11-05-2009

Opening spell editor gives you a good ol' RTE 9 I believe.


Re: MS4 - Jacob - 14-05-2009

Tomorrow I'll finally be uploading an update to MS4. It will have a fix to the NPC AI, the spell editor and a few other small things.

If you can think of anything else, please post it.


Re: MS4 - Beres - 14-05-2009

Will the packets ever be changed? From a string to perhaps byte arrays or something on that line? Or will it remain the same.


Re: MS4 - Jacob - 14-05-2009

I can do a byte array version. I did my own system that seems to work pretty well.


Re: MS4 - Beres - 14-05-2009

I'd love that.. If you have the time or feel like doing it, that would be cool.


Re: MS4 - Jacob - 15-05-2009

Does everyone think byte arrays would be good for the base MS? If so I'll push back this release and add the byte arrays.


Re: MS4 - Kraft - 15-05-2009

Of course, why not? Smile


Re: MS4 - Labmonkey - 15-05-2009

It would be good but you should add send byte, send int, send double, etc functions, along with corresponding read functions.

(I assume you would be doing this, but I am just making sure)


Re: MS4 - Jacob - 15-05-2009

Yeah, I wrote a class that incorporates that all.


Re: MS4 - Jacob - 15-05-2009

I got the base system in for byte arrays, now the fun time of converting every single packet.


Re: MS4 - Tony - 15-05-2009

Dugor Wrote:I got the base system in for byte arrays, now the fun time of converting every single packet.

zomg Can't wait! :p


Re: MS4 - Beres - 15-05-2009

So is this going to be put in? I thought it was a good thing to have at the time Wink


Re: MS4 - Jacob - 20-05-2009

Update time!

I have to finish a few packets. When those are complete I will be sending out the source to a few people to test.

Once I'm sure everything is working, I'll post the download. The download will probably be ready by Friday.


Re: MS4 - Beres - 20-05-2009

May I ask who are the testers?


Re: MS4 - Matt - 26-05-2009

James Wrote:Friday has come and gonnnneeee

Indeed it has.


Re: MS4 - Jacob - 26-05-2009

Excuse time!

I wasn't home all weekend. Then last night my laptop wouldn't boot, no laptop = no new ms4. I'm hoping to get the laptop running tonight, or at least get the files off.


Re: MS4 - Robin - 27-05-2009

Dugor Wrote:Excuse time!

I wasn't home all weekend. Then last night my laptop wouldn't boot, no laptop = no new ms4. I'm hoping to get the laptop running tonight, or at least get the files off.

Lies. Fascist lies!


Re: MS4 - Pbcrazy - 29-05-2009

I know this is really friggin' simple to do, but would changing all of the Position X and Y values on stuff like Players, Tiles, and MapItems, ETC to Point types work any better?

Example
Code:
Private Type PlayerRec
*
*
*
    ' Position
    Map As Integer
    x As Byte
    y As Byte
    Dir As Byte
End Type

To
Code:
Private Type PlayerRec
*
*
*
    ' Position
    Map As Integer
    Pos as Point
    Dir As Byte
End Type

Albiet this might work better if all of the types were put into a class.


Re: MS4 - Labmonkey - 29-05-2009

chaning points just seams like an unneeded change. Maybe it will have slightly better speed (though it will probably be slower), but it will just make coding more frustrating when you try to use .x and it doesn't work.


Re: MS4 - unknown - 29-05-2009

If it ain't broken(or really ugly), don't fix it.


Re: MS4 - GIAKEN - 29-05-2009

If you can optimize it then do so.


Re: MS4 - Pbcrazy - 29-05-2009

eh, i was just wondering, i was thinking that if it was faster (if), than if MS's types ever got changed into classes, then it might work better.

but i know what you mean labmonkey about it being a pain as of right now.


Re: MS4 - Jacob - 01-06-2009

http://web.miragesource.com/downloads/MS3_79.rar

Ok, I had to redo everything because I lost the files on my laptop. So everyone test this and make sure there are no errors. If you do find anything, please let me know.

After we verify there are no errors, I will do a full write up on how to use the byte arrays.

References I used:
Verrigan's Byte Array Source
JokeofWeek -


Re: MS4 - Doomy - 01-06-2009

when fps unlocked
there is a recieving map error when starting up