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
Opening spell editor gives you a good ol' RTE 9 I believe.
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.
Will the packets ever be changed? From a string to perhaps byte arrays or something on that line? Or will it remain the same.
I can do a byte array version. I did my own system that seems to work pretty well.
I'd love that.. If you have the time or feel like doing it, that would be cool.
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.
Of course, why not?
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)
Yeah, I wrote a class that incorporates that all.
I got the base system in for byte arrays, now the fun time of converting every single packet.
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
So is this going to be put in? I thought it was a good thing to have at the time
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.
May I ask who are the testers?
James Wrote:Friday has come and gonnnneeee
Indeed it has.
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.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
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!
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
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.
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.
If it ain't broken(or really ugly), don't fix it.
If you can optimize it then do so.
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.
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 -
when fps unlocked
there is a recieving map error when starting up
|