Test Connection To IMVU Server - [batch] 10 posts

OP Tue Jun 05, 2012 3:59 am
User avatar
  • Gender: Female
  • Posts: 67
  • Joined: Jun, 2012
  • Karma: 10
This batch file will tell you how good your connection to the IMVU server is.

Code
@echo off
Title IMVU Mafias IMVU Connection Test (Ping)
::Start Ping
echo Starting Ping
ping -n 10 imvu.com

echo If ping is over 100 average MS you will have lag sorry...

echo Done.
pause
Tue Jun 05, 2012 6:30 am
User avatar
  • Gender: Male
  • Posts: 190
  • Joined: Sep, 2011
  • Karma: 5
lol this is great!! xD
Thu Jun 07, 2012 3:13 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6285
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Why is this in the Unix section? I know Unix can run Shell scripts but isn't the syntax different than batch somewhat?

Also, on a side note, I took the liberty of re writing the script so it outputs to a log file and will continue to use the same file as long as the log file exists. Each time you run the script, it will output to the log file (or create a new one if the old one was deleted) with a date and time stamp above it so you can easily see when each test was run. I also colored the text to match the black and blue theme of the site.

Code
@Echo off
Title IMVU Mafias IMVU Connection Test (Ping)
Color 09
::Start Ping
Echo Starting Ping
Echo.
Echo Please wait till you see the done message before closing.
::Store the date and time into a variable and display it.
FOR /F "tokens=*" %%A IN ('DATE/T') DO FOR %%B IN (%%A) DO SET Today=%%B
FOR /F %%A IN ('TIME/T') DO SET Now=%%A
Echo ================ >> Results.txt
Echo %Today% %Now% >> Results.txt
Echo ================ >> Results.txt
Ping -n 10 imvu.com >> Results.txt
Echo. >> Results.txt
Echo. >> Results.txt
Echo If ping is over 100 average MS you will have lag sorry... >> Results.txt
Echo. >> Results.txt
CLS
Echo.
Echo Done.
Echo.
Pause
Thu Jun 07, 2012 4:49 am
User avatar
Mafia Don
Legendary Family Member
  • Gender: Male
  • Posts: 12817
  • Joined: Nov, 2007
  • Advertisements: 407
  • Karma: 204
I guess I need to make a shell section, don't I?
Thu Jun 07, 2012 4:55 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6285
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Don Von Free Credits wrote:
I guess I need to make a shell section, don't I?


No, I think shell scripts fit into the Unix section, but I don't think batch scripts do as I thought they were Windows only. I've only ever really written 1 shell script years ago so I don't remember the syntax. I thought it was different though.
Thu Jun 07, 2012 6:20 am
User avatar
Mafia Don
Legendary Family Member
  • Gender: Male
  • Posts: 12817
  • Joined: Nov, 2007
  • Advertisements: 407
  • Karma: 204
Ð▪ℳ wrote:
Don Von Free Credits wrote:
I guess I need to make a shell section, don't I?


No, I think shell scripts fit into the Unix section, but I don't think batch scripts do as I thought they were Windows only. I've only ever really written 1 shell script years ago so I don't remember the syntax. I thought it was different though.


So, I need to make a batch section?
Thu Jun 07, 2012 6:49 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6285
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Might as well.
Sun Oct 04, 2015 9:02 am
User avatar
TIM Enthusiast
Legendary Family Member
  • Gender: Female
  • Posts: 709
  • Joined: Sep, 2015
  • Advertisements: 2
  • Karma: 0
Thanks for sharing this! You guys are awesome! :coin: :coin:
Sat Jan 19, 2019 7:53 pm
User avatar
?
Inner Family Member
  • Posts: 362
  • Joined: Jun, 2013
  • Advertisements: 2
  • Karma: 54
well I would lag XD
Sun Jan 20, 2019 8:28 am
User avatar
  • Posts: 10
  • Joined: Nov, 2018
  • Karma: 0
Thank you. Good info.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT