Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

A hub for everything related to NBA 2K13 modding. Releases, previews, requests, and other modding discussion belongs here.
Post a reply

Re: [Tool] Roster Editor

Sat Feb 02, 2013 2:34 am

http://www.sendspace.com/file/7dzu4c

Re: [Tool] Roster Editor

Sat Feb 02, 2013 3:04 am

JaoSming wrote:you edit the teams tab for that,


it's work. Thanx :wink:

Re: [Tool] Roster Editor

Sat Feb 02, 2013 3:12 am

I figured out the actual IsFA property in the roster files, so now (v0.19.4.3) when you have a player in the FA pool he should become a proper Free Agent in the game as well, and when you remove them he should no longer have the FA status.

Make sure to save the Teams tab as well as the Players tab when trying to make a player a Free Agent or assign them to a team.

Re: [Tool] Roster Editor

Sat Feb 02, 2013 3:29 am

so now when i want player in FA all i have to do is put id player into FA team in teams tab and save it?

Re: [Tool] Roster Editor

Sat Feb 02, 2013 3:43 am

Yeah, but save the Players tab too. The Teams tab will save the player being in the FA pool, but the Players tab needs to save the fact that the player is actually a Free Agent.

There's a lot of redundancies in 2K's roster, as you can see. It makes no sense to have both an FA team roster and an IsFA parameter in players. But it's there.

Re: [Tool] Roster Editor

Sat Feb 02, 2013 3:47 am

great news, because every releasing(even from pos 13-15th) to FA pool via game ruins rotations and player roles, so this is so important for me, thx again Leftos (Y)

btw. did i missed something of your releasing of editor? can we edit all star squads now?

Re: [Tool] Roster Editor

Sat Feb 02, 2013 2:09 pm

Is it possible to unlock a person from a certain shoe brand?

Re: [Tool] Roster Editor

Sat Feb 02, 2013 6:53 pm

No. REDitor will have that option though.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 10:30 am

Hey leftos! First I wanted to say how privileged this community is to have someone who works as hard as you do. Thanks alot man.

I skimmed over the thread and could not find anything on my problem.

My mycareer team made a stupid trade so im trying to change it back, I am aware that you can open .cmg(mycareer saves)

When I do however, the team tab displays nothing and when I click anything on it, it crashes with an error.

Any help would be greatly appreciated. Sorry if I missed a post already explaining this problem.



System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at NBA_2K13_Roster_Editor.MainWindow.btnFill_Click(Object sender, RoutedEventArgs e) in e:\Development\Visual Studio 2010\Projects\NBA 2K13 Roster Editor\NBA 2K13 Roster Editor\MainWindow.xaml.cs:line 2167
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

None

Re: [Tool] Roster Editor

Sun Feb 03, 2013 11:17 am

You missed the very first post of the thread.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 11:32 am

Leftos wrote:You missed the very first post of the thread.


Yeah but in your video your team tab still has stats and what not, its just blank for me.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 11:44 am

You'll need the roster your MyCareer save was based on. Open it in-game, go to the 76ers rotation, note the starting PG and SG. Find their IDs in Roster Editor after opening that roster in the tool, and follow the video tutorial to find the offsets for the custom profile. Then, with the Custom profile selected, open your save.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 11:51 am

Leftos wrote:You'll need the roster your MyCareer save was based on. Open it in-game, go to the 76ers rotation, note the starting PG and SG. Find their IDs in Roster Editor after opening that roster in the tool, and follow the video tutorial to find the offsets for the custom profile. Then, with the Custom profile selected, open your save.

Thanks man! I'll be trying that out now.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 12:01 pm

which numbers of files to change clothes mascot and audience???

Re: [Tool] Roster Editor

Sun Feb 03, 2013 12:26 pm

Sorry man, I tried what you just wrote and it still seems to be just blank without lines. Thanks for all your help man.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 12:54 pm

Teodosic11 wrote:which numbers of files to change clothes mascot and audience???

GID in the teams tab, which isnt editable in this tool so wait for the REDitor

Re: [Tool] Roster Editor

Sun Feb 03, 2013 7:10 pm

quick question, I just installed this Roster Editor of yours and am wondering why it's trying to connect to the internet after I ran it for the first time.
Off course my firewall picked it up and I blocked it.....

I assumed it was some sort of auto update feature, but that is highly unlikely....
could you please explain

Re: [Tool] Roster Editor

Sun Feb 03, 2013 8:09 pm

Highly unlikely? It is an update check done on boot.

Actually, Roster Editor is open-source software. Nothing hidden or fishy about it.

Here's the "offending" code: https://bitbucket.org/leftos/nba-2k13-r ... er#cl-3389

Code:
/// <summary>
        /// Checks for software updates asynchronously.
        /// </summary>
        /// <param name="showMessage">if set to <c>true</c>, a message will be shown even if no update is found.</param>
        public static void CheckForUpdates(bool showMessage = false)
        {
            //showUpdateMessage = showMessage;
            try
            {
                var webClient = new WebClient();
                string updateUri = "http://users.tellas.gr/~aslan16/re13version.txt";
                if (!showMessage)
                {
                    webClient.DownloadFileCompleted += CheckForUpdatesCompleted;
                    webClient.DownloadFileAsync(new Uri(updateUri), DocsPath + @"re13version.txt");
                }
                else
                {
                    webClient.DownloadFile(new Uri(updateUri), DocsPath + @"re13version.txt");
                    CheckForUpdatesCompleted(null, null);
                }
            }
            catch
            {
            }
        }

        /// <summary>
        /// Checks the downloaded version file to see if there's a newer version, and displays a message if needed.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="AsyncCompletedEventArgs" /> instance containing the event data.</param>
        private static void CheckForUpdatesCompleted(object sender, AsyncCompletedEventArgs e)
        {
            string[] updateInfo;
            string[] versionParts;
            try
            {
                updateInfo = File.ReadAllLines(DocsPath + @"re13version.txt");
                versionParts = updateInfo[0].Split('.');
            }
            catch
            {
                return;
            }
            string[] curVersionParts = Assembly.GetExecutingAssembly().GetName().Version.ToString().Split('.');
            var iVP = new int[versionParts.Length];
            var iCVP = new int[versionParts.Length];
            for (int i = 0; i < versionParts.Length; i++)
            {
                iVP[i] = Convert.ToInt32(versionParts[i]);
                iCVP[i] = Convert.ToInt32(curVersionParts[i]);
                if (iCVP[i] > iVP[i])
                    break;
                if (iVP[i] > iCVP[i])
                {
                    string changelog = "\n\nVersion " + String.Join(".", versionParts);
                    try
                    {
                        for (int j = 2; j < updateInfo.Length; j++)
                        {
                            changelog += "\n" + updateInfo[j].Replace('\t', ' ');
                        }
                    }
                    catch
                    {
                    }
                    MessageBoxResult mbr = MessageBox.Show("A new version is available! Would you like to download it?" + changelog,
                                                           "NBA 2K13 Roster Editor", MessageBoxButton.YesNo, MessageBoxImage.Information);
                    if (mbr == MessageBoxResult.Yes)
                    {
                        Process.Start(updateInfo[1]);
                        break;
                    }
                    return;
                }
            }
            /*
            if (showUpdateMessage)
                MessageBox.Show("No updates found!");
            */
        }


As you can see, the program contacts http://users.tellas.gr, and specifically tries to grab http://users.tellas.gr/~aslan16/re13version.txt in order to determine whether there's a new version available.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:07 pm

Sorry to keep bugging you Leftos, but ive been messing with it all night and no luck. I tried every method I can think of and the method you told me to do and still nothing.

http://i.imgur.com/HydEh29.png
http://i.imgur.com/HydEh29.png
http://i.imgur.com/HydEh29.png

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:25 pm

Did you follow the video tutorial along with the Find That Hex tool or the Find Offsets tab in Roster Editor?

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:28 pm

Leftos wrote:Did you follow the video tutorial along with the Find That Hex tool or the Find Offsets tab in Roster Editor?


Yeah I did it both with the original roster and the .cmg save with no luck.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:35 pm

What were the offsets you found for the Teams tab?

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:43 pm

Original Roster: 862911 +6
Mycareer save: 3056025 +4

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:46 pm

Upload the roster somewhere and give me a link.

Re: [Tool] Roster Editor

Sun Feb 03, 2013 9:55 pm

MyCareer Save
http://www.mediafire.com/?ed0mwe76uca7d5c

Original Roster
http://www.mediafire.com/?yh86chopdm6d2y2
Post a reply