Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

SDK?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [Sports] >> PureSim Baseball >> SDK? Page: [1]
Login
Message << Older Topic   Newer Topic >>
SDK? - 8/5/2009 5:00:54 AM   
rwmorey71

 

Posts: 17
Joined: 7/15/2009
Status: offline
Hi --

How do I get a copy of the SDK and any documentation available with it? I would love to start making some "mods" for PureSim!

Rich
Post #: 1
RE: SDK? - 8/5/2009 1:06:58 PM   
puresimmer

 

Posts: 2299
Joined: 7/24/2005
Status: offline
In the \SDK folder where you installed PureSim.

Note, the docs are a little out of date, I will be updating soon.

That said, the samples in the \SDK\Samples folder should all work just fine.

_____________________________

Developer, PureSim Baseball

(in reply to rwmorey71)
Post #: 2
RE: SDK? - 8/15/2009 10:43:03 PM   
rwmorey71

 

Posts: 17
Joined: 7/15/2009
Status: offline
Hey Shaun --

I just downloaded Microsoft Visual C# Express and loaded up one PureSharp sample project and it all looks pretty straight forward. One question I have - you note in the release notes for v1.80 that IPureSim4 interface now returns a live connection to the database. Is there a document about what tables and fields are in the live DB?

Thanks

Rich


(in reply to puresimmer)
Post #: 3
RE: SDK? - 8/16/2009 1:40:03 AM   
puresimmer

 

Posts: 2299
Joined: 7/24/2005
Status: offline

quote:

ORIGINAL: rwmorey71

Hey Shaun --

I just downloaded Microsoft Visual C# Express and loaded up one PureSharp sample project and it all looks pretty straight forward. One question I have - you note in the release notes for v1.80 that IPureSim4 interface now returns a live connection to the database. Is there a document about what tables and fields are in the live DB?

Thanks

Rich




No, but if you have Microsoft Access 2007 you can open up all the *.dat files. They are wide open and pretty well commented.

Shaun

_____________________________

Developer, PureSim Baseball

(in reply to rwmorey71)
Post #: 4
RE: SDK? - 8/16/2009 6:45:00 PM   
rwmorey71

 

Posts: 17
Joined: 7/15/2009
Status: offline
Hey Shaun -

I am new to C# and thought I would learn more about C# by trying to create an add-in for PureSim. Can you provide a quick instruction on accessing the DB. I changed this line:

IPureSim _pureSim;

to

IPureSim4 _pureSim;

but it doesn't work.

Thanks

Rich


(in reply to puresimmer)
Post #: 5
RE: SDK? - 8/18/2009 8:21:39 PM   
rwmorey71

 

Posts: 17
Joined: 7/15/2009
Status: offline
Hi --

I've tried to "get" the Association DB a few different ways but I'm having no luck. This is my latest attempt:

        public void InitializeAddIn(ref PureSim2005Interfaces.IPureSim4 oPureSim, double dPureSimVersion) {
            Object db;
            String sFileName;
            oPureSim.AssnAccessDatabase(db, "");
        }


But this code won't compile. It appears that AssnAccessDatabase does not return anything so I'm not sure if the parameters are supposed to be passed TO the function or if those are variables that get updated by the call.

Any help (from anyone!) would be greatly appreciated.

Rich

(in reply to rwmorey71)
Post #: 6
RE: SDK? - 8/19/2009 2:25:54 AM   
puresimmer

 

Posts: 2299
Joined: 7/24/2005
Status: offline
Yea, I updated the sample for 1.81, it was out of date.

When 1.81 comes out have a look and you'll be good to go.

_____________________________

Developer, PureSim Baseball

(in reply to rwmorey71)
Post #: 7
RE: SDK? - 8/19/2009 2:35:43 AM   
rwmorey71

 

Posts: 17
Joined: 7/15/2009
Status: offline
Cool! Thanks.

(in reply to puresimmer)
Post #: 8
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [Sports] >> PureSim Baseball >> SDK? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.358