Welcome Guest [Log In] [Register]
Welcome to NHL04 Rebuilt 2017. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
When a load dynasty i get a script error
Topic Started: May 18 2015, 10:25 PM (281 Views)
flor92
Rookie
When i do play now mode everything works fine, but when i try to create i dynasty I keep getting his script error.

Please help me I want to play

http://imgur.com/L6923Yp
Offline Profile Quote Post Goto Top
 
trent
Member Avatar
Project Leader
Thanks for the screenshot. Your problem is easy to detect.

Problem code.

Code:
 

//Egorgiy's code
function CreateCurrentLeagueInfo(LeagueName)
{
var ForWriting = 2;
var TristateFalse = 0;
MyFSO.CreateTextFile(DocsPath+"CurrentLeagueInfo.txt");
   file = MyFSO.GetFile(DocsPath+"CurrentLeagueInfo.txt");
   text = file.OpenAsTextStream(ForWriting, TristateFalse);
   text.WriteLine(LeagueName);
   text.Close();  
}


Make sure you have file CurrentLeagueInfo.txt in your C:..\My Documents\NHL 2004\User folder.

Game should create it but if you have an old Dynasty (that you have started with old interface versions) copy the file manually there and you'll be set.
My Blues 1995-1996 Season Report
My Blues 1998-1999 Season Report
My Flyers 1998-1999 Season Report
Online Profile Quote Post Goto Top
 
flor92
Rookie
I do have that file, but it still does not work
Offline Profile Quote Post Goto Top
 
Sence
Hall of Famer
flor92,19 May 2015
2:13 AM
I do have that file, but it still does not work

Then you might have a permission problem. :huh:
A video is worth of thousand pictures.

http://www.youtube.com/watch?v=bFq2dGSVdOI
My Sharks 2015-16 season (finished)
Offline Profile Quote Post Goto Top
 
flor92
Rookie
well, i'm gonna try and reinstall
Offline Profile Quote Post Goto Top
 
trent
Member Avatar
Project Leader
Why?

Reinstalling the game won't change a thing. You clearly have a working install. You might have a permission problem somewhere that has nothing to do with the game itself.

Maybe a folder permission issue (as game clearly can't overwrite CurrentLeagueInfo.txt). Maybe you're using a Guest account to log into your OS? etc.

Make sure that file isn't write protected.
My Blues 1995-1996 Season Report
My Blues 1998-1999 Season Report
My Flyers 1998-1999 Season Report
Online Profile Quote Post Goto Top
 
flor92
Rookie
So i re installed everything from the beginning made sure everything has the proper permission and Dynasty works.

But my one problem is in Dynasty mode I have two players sent down to my AHL team from my NHL team when they have no apparent injury or ailment. Then I try and swap the players to send them back up (multiple times) and it auto sends them down. It's really weird because they have no injury and it's pissing me off because i want them to play.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Join the millions that use us for their forum communities. Create your own forum today.
« Previous Topic · Problem Reports / Tech Support · Next Topic »
Add Reply