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

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

Author:  Jacob [ Mon May 11, 2009 6:47 pm ]
Post subject:  MS4

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

Author:  Nean [ Mon May 11, 2009 9:42 pm ]
Post subject:  Re: MS4

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

Author:  Jacob [ Thu May 14, 2009 12:10 am ]
Post subject:  Re: MS4

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.

Author:  Beres [ Thu May 14, 2009 12:52 am ]
Post subject:  Re: MS4

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

Author:  Jacob [ Thu May 14, 2009 1:54 am ]
Post subject:  Re: MS4

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

Author:  Beres [ Thu May 14, 2009 2:41 am ]
Post subject:  Re: MS4

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

Author:  Jacob [ Fri May 15, 2009 12:18 am ]
Post subject:  Re: MS4

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.

Author:  Kraft [ Fri May 15, 2009 12:34 am ]
Post subject:  Re: MS4

Of course, why not? :)

Author:  Labmonkey [ Fri May 15, 2009 12:57 am ]
Post subject:  Re: MS4

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)

Author:  Jacob [ Fri May 15, 2009 1:00 am ]
Post subject:  Re: MS4

Yeah, I wrote a class that incorporates that all.

Author:  Jacob [ Fri May 15, 2009 2:11 pm ]
Post subject:  Re: MS4

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

Author:  Tony [ Fri May 15, 2009 5:29 pm ]
Post subject:  Re: MS4

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

Author:  Beres [ Fri May 15, 2009 11:59 pm ]
Post subject:  Re: MS4

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

Author:  Jacob [ Wed May 20, 2009 2:05 pm ]
Post subject:  Re: MS4

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.

Author:  Beres [ Wed May 20, 2009 2:42 pm ]
Post subject:  Re: MS4

May I ask who are the testers?

Author:  James [ Tue May 26, 2009 5:09 am ]
Post subject:  Re: MS4

Friday has come and gonnnneeee

Author:  Matt [ Tue May 26, 2009 5:19 pm ]
Post subject:  Re: MS4

James wrote:
Friday has come and gonnnneeee


Indeed it has.

Author:  Jacob [ Tue May 26, 2009 6:24 pm ]
Post subject:  Re: MS4

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.

Author:  Robin [ Wed May 27, 2009 6:26 pm ]
Post subject:  Re: MS4

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!

Author:  Pbcrazy [ Fri May 29, 2009 1:24 am ]
Post subject:  Re: MS4

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.

Author:  Labmonkey [ Fri May 29, 2009 7:37 pm ]
Post subject:  Re: MS4

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.

Author:  unknown [ Fri May 29, 2009 7:41 pm ]
Post subject:  Re: MS4

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

Author:  GIAKEN [ Fri May 29, 2009 7:43 pm ]
Post subject:  Re: MS4

If you can optimize it then do so.

Author:  Pbcrazy [ Fri May 29, 2009 8:10 pm ]
Post subject:  Re: MS4

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.

Author:  Jacob [ Mon Jun 01, 2009 7:34 pm ]
Post subject:  Re: MS4

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 -

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