Author Topic: One method to seperate your chat logs depending on server  (Read 968 times)

Pizik

  • Hydlaa Citizen
  • *
  • Posts: 235
    • View Profile
One method to seperate your chat logs depending on server
« on: January 18, 2009, 01:07:17 am »
Okie, I have seen a few people asking about keeping their chat logs, screenshots, shortcuts and various other options seperate for the two servers we now have. So, I have written this little windows Batch file to give a very simple menu that will change the directory that PS saves these things in. To get it to work you must have PlaneShift installed in the default location c:\program files\planeshift steel blue\ (most will have). Just copy the text in the code box below into notepad and save it as PlaneShift.bat you can then put this file anywhere you like (Wherever you normally double click to start PlaneShift is a good idea). Double click the file and it will launch a little menu, pick the number of the server you want and it will write the files to either the default place, or to a new folder called planeshift2.

[I have only tested this on windows XP, it probably won't work on ME/9x or vista]


Code: [Select]
:: PlaneShift.bat
:: Runs PlaneShift using the prefered config files for a specific server
::
@ECHO OFF

cls

ECHO Please choose which configuration you wish to run:

ECHO For laanx.fragnetics.com configuration press 1

ECHO For planeshift.ezpcusa.com configuration press 2

ECHO To quit press 3
set /p Input=Choose an option and press ENTER:

if %Input%==3 goto exit

if %Input%==2 goto ez-ps

if %Input%==1 goto laanx

:laanx
"c:\Program Files\PlaneShift Steel Blue\psclient.exe" -cfgset=PlaneShift.UserConfigPath="%appdata%/planeshift"
GOTO END

:ez-ps
"c:\Program Files\PlaneShift Steel Blue\psclient.exe" -cfgset=PlaneShift.UserConfigPath="%appdata%/planeshift2"
GOTO END

:exit
« Last Edit: January 18, 2009, 01:21:34 am by Pizik »
Proceeding through life like a cat without whiskers, perpetually stuck behind the refrigerator.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: One method to seperate your chat logs depending on server
« Reply #1 on: January 18, 2009, 01:39:00 am »
For our mac users:
If you wish to have your logs in a seperate location from where your logs are in the default client you can try this app here you just need to download and unzip the app. when you want your logs to be in a different location you run this app and it will run psclient for you and your logs will be in the same location as before BUT in a sub folder "Other". You might have to copy over some folders and files as needed so that your user interface is the way you want [copy your planeshift.cfg file from the main folder to the Other folder]. You can easily get to this location by using this app just unzip and run it and it will open finder with the correct location to where your logs and other files i have mentioned here are.

for further helpful mac apps check out www.PlaneShift.caarrie.org/

NOTE: to run the first app mentioned in this post you MUST have psclient installed in /Applications/PlaneShift/