Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirage Source 4
#26
Dugor Wrote:That's odd... worked for me.. but try this:

http://www.deadnoggin.com/deadnoggin/mse232.rar

yea thanks its working now ^^
Reply
#27
I'll have a talk with William about it, Dave.

As for the source, it's coming along nicely. I'm certainly glad DFA came here xD

I'll do some tweaking in the source later on, I'm a bit busy doing some commissioned features atm.
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?
Reply
#28
I think doing the paths like that would be a lot better then they are currently. It would be easier to change paths if you wanted.

I also think on server load it should check all the paths instead of just maps and accounts.
Reply
#29
We already have data paths, don't we? xD
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?
Reply
#30
I think he meant Consts for the paths.
Reply
#31
Now convert it to DX8, so that the engine isn't useless anymore. >.>
Reply
#32
dave I think that is a bad idea. Now you can't delete only one shop, you have to delete them all.
Reply
#33
Wouldn't it be faster to pull from separate files than one big file? Wasn't that part of the issue with Ini?
Reply
#34
Same.

Many files:

Loop:
Open File
Get Data
Close File
:Loop

One file:

Open File
Loop:
Get Data
:Loop
Close File

Smaller loop Big Grin
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?
Reply
#35
DFA Wrote:Data path consistency

I'm really unsatisfied with the way we are doing our data paths in MSE...

For example, server-side LoadShops contains

FileName = App.Path & "\Data\shops\shop" & i & ".dat"


and CheckShops has

FileExist("\Data\shops\shop" & i & ".dat")

its a minor inconsistency that can be found all over the source..what do you guys think?
we need data paths
example..
GamePath = App.Path
MapPath = GamePath & "/maps/"



========================================

Dave, i added that in for MSE2.32

thanks again everyone
FileExist() function, imo, should already add the app.path.
All paths used on the game should be relative.
Reply
#36
Oh. >.>

I could have sworn there was a benefit to each method, over the other.
Reply
#37
i meant for us noobs :wink:
Reply
#38
Labmonkey Wrote:i meant for us noobs :wink:

If you don't know how to create a simple system to count and manage data in one file, then don't save all your data in one file. It's easy to set up a simple system to count down to a certain byte of data then remove the data for the next 20-30 bytes or so.
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?
Reply
#39
i had trouble reading through all of that...
Reply
#40
I have to say, I'm loving this new source.

I'm currently working on a secret project with Dave, but I'll be sorting out the source to my liking first.

I'll be replacing all the types with classes (Making Dugor's Enum idea obsolete. Sorry xD) and doing some form merging.

I'll release that as the next version before doing the game-dependant stuff.
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?
Reply
#41
Robin Wrote:I have to say, I'm loving this new source.

I'm currently working on a secret project with Dave, but I'll be sorting out the source to my liking first.

I'll be replacing all the types with classes (Making Dugor's Enum idea obsolete. Sorry xD) and doing some form merging.

I'll release that as the next version before doing the game-dependant stuff.

Not so secret now, is it? Tongue
Reply
#42
Perfekt Wrote:
Robin Wrote:I have to say, I'm loving this new source.

I'm currently working on a secret project with Dave, but I'll be sorting out the source to my liking first.

I'll be replacing all the types with classes (Making Dugor's Enum idea obsolete. Sorry xD) and doing some form merging.

I'll release that as the next version before doing the game-dependant stuff.

Not so secret now, is it? Tongue

You know nothing about it, so it's still secret Tongue
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?
Reply
#43
Dave Wrote:Hell, we hardly know anything about it. that's how secret it is.

That made me lol xD
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?
Reply
#44
Robin Wrote:
Dave Wrote:Hell, we hardly know anything about it. that's how secret it is.

That made me lol xD

I died laughin', came back just to post. XD

Nah, the project contents are still a secret, but the fact that you guys are working on one, isn't so secret anymore. Which means the project, isn't secret. Tongue
Reply
#45
Fix for the map editor:

Code:
Public Sub MapEditorTileScroll()
    frmMapEditor.picBackSelect.Top = (frmMapEditor.scrlPicture.Value * PIC_Y) ' * -1
End Sub
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?
Reply
#46
I'll make a new forum.
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?
Reply
#47
Moved to the new sub-forum.

DFA, you should have full rights over this part of the forum.
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?
Reply
#48
Guys... just to organize things... Wouldn't it be better if there is a change log? I'm desperate for those because I want to add the bug fixes to MSECPP but I don't know where they all are...
Reply
#49
[Image: dumbass.jpg]
Tnx >
Reply
#50
Guys, one thing...

++ MSE 2.32 ++
++++++++++++++
*This release was done by Dugor*

- Removed GameAI Timer, Replaced with real server loop

The function:
Private Sub tmrGameAI_Timer()
Call ServerLogic
End Sub

Is still there, although the timer object is not. I think there are a few programs that check what subs are not being used and remove them or shows you. I'm not sure. Just a clue.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)