FileRedirect Eq1

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Lacky
Non-Subscriber
Posts: 7
Joined: Tue Jul 27, 2004 11:25 pm

FileRedirect Eq1

Post by Lacky » Tue Jun 21, 2005 12:51 am

I seem to be having a problem with fileredirect. I am using the code:

Code: Select all

  switch "${Game.Name}"
  {
  case EverQuest
    FileRedirect eqlsPlayerData.ini "eqlsPlayerData-${Profile}.ini"
    INIRedirect eqclient.ini * * "${Profile}eq.ini" * *
    call EQSession   
    break
It is basically the same as what you distribute but I changed it to be the same as what I named all my wineq2 eqclient.ini's. What seems to be happening is the eqlsplayerdata.ini is being copied over eqlsplayerdata-soandso.ini. instead of it being redirected... I may have misunderstood the usage but it seems to be backwards. Going to make sure that the Iniredirect is working as I think it should right now. Going on to loggin in the char it has the default settings that I would see with eqclient.ini has not what the ini file it is pointing to has.


(Repost from MQ forums, Sorry Lax :P )

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Tue Jun 21, 2005 9:37 am

Thanks :)

I'll be looking into this today for you

Lacky
Non-Subscriber
Posts: 7
Joined: Tue Jul 27, 2004 11:25 pm

Post by Lacky » Thu Jun 23, 2005 8:23 pm

Ok spending more time playing with this now. Hoping its my end and I can fix it.

Lacky
Non-Subscriber
Posts: 7
Joined: Tue Jul 27, 2004 11:25 pm

Post by Lacky » Thu Jun 23, 2005 9:10 pm

Hmm nothing obvious that I can see wrong with the way I am doing it. But I am bumping a thread again. :twisted:

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Thu Jun 23, 2005 9:25 pm

I meant to look at this earlier this week but couldn't find the time. Moving into my new house atm.

The file redirect is done by default in PreInit.iss, you're changing something?

Lacky
Non-Subscriber
Posts: 7
Joined: Tue Jul 27, 2004 11:25 pm

Post by Lacky » Thu Jun 23, 2005 9:30 pm

Basically all I am changing is the name that it is redirecting it to.

Didnt change where it was in the Preinit sequence.

I did notice something strange though, it seems to be setting the Fileredirect after my plugins load which means it isnt doing that part till after the program has initialized I think.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Mon Jun 27, 2005 11:38 pm

Fixed in version 0.96 build 2112

Lacky
Non-Subscriber
Posts: 7
Joined: Tue Jul 27, 2004 11:25 pm

Yay

Post by Lacky » Tue Jun 28, 2005 12:10 am

Woot Thank you Lax works like a charm now :)

Post Reply