DIR Return Create A Forum - Home
---------------------------------------------------------
Sypno Corp
HTML https://sypnocorp.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Guides
*****************************************************
#Post#: 1454--------------------------------------------------
Atack,Slash,Conch on bags,Dodge and Hitrate calculator!
By: iZombie Date: March 28, 2013, 10:18 am
---------------------------------------------------------
Hi there mates, There's an little program very useful !
Things to do : Open a txt document
Copy/Paste the following text :
title n7676s Simple ToP2 calculator.
:first
@echo off
cls
@Echo Please select which calculations you want:
@Echo 1.Attackers approximate max
@Echo 2.Voyager conch on sandbags
@Echo 3.Dodge vs Hitrate calculator
@Echo 4.Slash survival calculator
set /P c=Select the number of the option you want.
if /I "%c%" EQU "1" goto :defence
if /I "%c%" EQU "2" goto :voyager
if /I "%c%" EQU "3" goto :dh
if /I "%c%" EQU "4" goto :survival
goto :first
:defence
@Echo off
cls
echo Enter how much they hit on you.
set /p max=
echo Enter your defence.
set /p def=
echo Enter your pr.
set /p pr1=
if %pr1% gtr 86 set /a pr1=86
set /a pr= 100-%pr1%
set /a calc1= 100*(%max%+%def%)
set /a calc2= %calc1%/%pr%
set /a answer= %calc2%
set /a diff= %answer%/5
Echo Their max is %answer%, with a tolerance of %diff% either
way
pause
goto first
:voyager
cls
@Echo Input voyager(s) conch ray damage
set /p conch=
cls
@Echo Your voyager(s) conch is %conch%.
:question
set /P c=Is this correct?[Yes/No]
if /I "%c%" EQU "Yes" goto :next
if /I "%c%" EQU "No" goto :voyager
goto :question
:next
@Echo What do you wish to do?
@Echo 1.Calculate time to kill level 1 bags?
@Echo 2.Calculate time to kill level 2 bags?
@Echo 3.Calculate time to kill level 3 bags?
@Echo 4.Calculate time to kill level 4 bags?
@Echo 5.Calculate time to kill level 5 bags?
@Echo 6.Calculate approx. clubbing time?
@Echo 7.Re-enter conch?
@Echo 8.Main menu.
:question2
set /P S=Type the number of your selection.
if /I "%S%" EQU "1" goto :bags1
if /I "%S%" EQU "2" goto :bags2
if /I "%S%" EQU "3" goto :bags3
if /I "%S%" EQU "4" goto :bags4
if /I "%S%" EQU "5" goto :bags5
if /I "%S%" EQU "6" goto :Clubbing
if /I "%S%" EQU "7" goto :voyager
if /I "%S%" EQU "8" goto :first
goto :question2
:bags1
set /a bags1=(27000/%conch%)*3
@Echo %bags1% seconds.
pause
@echo off
cls
goto next
:bags2
set /a bags2=(113700/%conch%)/20
@Echo %bags2% minutes.
pause
@echo off
cls
goto next
:bags3
set /a bags3=(525800/%conch%)/20
@Echo %bags3% minutes.
pause
@echo off
cls
goto next
:bags4
set /a bags4=(840000/%conch%)/20
@Echo %bags4% minutes.
pause
@echo off
cls
goto next
:bags5
set /a bags5=(1500000/%conch%)/20
@Echo %bags5% minutes.
pause
@echo off
cls
goto next
:clubbing
set /a answer=((840000/%conch%)+(525800/%conch%))/20
set /a bags3=(525800/%conch%)/20
set /a bags4=(840000/%conch%)/20
@Echo %answer% minutes, %bags3% minutes for the level 3 bags
and %bags4% for the level 4 bags.
pause
@echo off
cls
:dh
cls
@Echo The hitrate figure shown are for always hitting.
@echo The dodge figure shown is for 9/10 dodging.
@Echo 1. How much dodge to dodge
@echo 2. How much hitrate to hit
@echo 3. Main menu
set /P c=Select the number of the option you want.
:q2
if /I "%c%" EQU "1" goto :dodge
if /I "%c%" EQU "2" goto :hr
if /I "%c%" EQU "3" goto :first
goto :q2
:dodge
@Echo Please enter the hitrate you wish to dodge.
set /p h=
set /a h2=%h%+80
@echo to dodge %h% hitrate, you will need %h2%dodge.
pause
goto :dh
:hr
@Echo Please enter the dodge you wish to hit.
set /p d=
set /a d2=d+10
@echo to hit %d% dodge, you will need %d2% hitrate.
pause
goto :dh
:survival
@Echo off
cls
echo Enter your Health points.
set /p hp=
set /a max=(%hp%*10)/75
set /a max140=(%hp%*10)/50
set /a max80=(%hp%*10)/25
echo Enter your defence.
set /p def=
echo Enter your pr.
set /p pr1=
if %pr1% gtr 86 set /a pr1=86
set /a pr= 100-%pr1%
:calcsurvival
set /a calc1= 100*(%max%+%def%)
set /a calc1140= 100*(%max140%+%def%)
set /a calc180= 100*(%max80%+%def%)
set /a calc2= %calc1%/%pr%
set /a calc2140= %calc1140%/%pr%
set /a calc280= %calc180%/%pr%
set /a diff= %calc2%/5
set /a diff2= %calc2140%/5
set /a diff3= %calc280%/5
echo
---------------------------------------------------------------
Echo To one slash you with 210 aspd they would need %calc2% max
,
echo with a tolerance of %diff% either way
echo
---------------------------------------------------------------
Echo To one slash you with 140 aspd they would need %calc2140%
max,
echo with a tolerance of %diff2% either way
echo
---------------------------------------------------------------
Echo To one slash you with any aspd they would need %calc280%
max,
echo with a tolerance of %diff3% either way
echo
----------------------------------------------------------------
pause
goto first
Save it as : Calculator.bat
Enjoy! Hope it helps :D
*****************************************************