Go Back   Tibia ML Forum > English > Proposals, questions & bugs

Notices

Proposals, questions & bugs Propose new website features or report bugs in the website or forum.


Reply
 
Thread Tools
Old May 17th, 2009, 10:52   #1
skiter
Junior Member
 
Join Date: Aug 2008
Posts: 10
skiter is on a distinguished road
Default Shared exp calculator

I always don't know what lvl I can take to hunt to switch on 'shared exp', i write own sript in VBS:
Code:
Option Explicit
Dim Message, result
Dim Title, Text1, Text2
Dim vbInteger, lvl, high, low
Message = "Please enter youre LVL"           
Title = "Shared exp Calc"
Text1 = "User input canceled"
Text2 = "You need:" & vbCrLf
result = InputBox(Message, Title, "", 100, 100)
If result = "" Then    ' Canceled by the user
    WScript.Echo Text1
Else
    lvl = CInt(result)
    high = (lvl / 2) * 3
    low = (lvl / 3) * 2
    
    WScript.Echo Text2 & "Min lvl: " & CStr(low) & " and max lvl: " &  CStr(high)
End If
Is not work perfect, but show what is min and max lvl with one i can take to hunt on shared exp.

Can you add on website similar thing? I don't think that is to complicated.
skiter is offline   Reply With Quote
Old May 17th, 2009, 12:57   #2
Steven
Retiered Administrator
 
Steven's Avatar
 
Join Date: Aug 2007
Location: Belgium
Age: 28
Posts: 7,784
Steven will become famous soon enough
Send a message via MSN to Steven
Default

I'll recode it in php and add it to the site on next update. Thanks for the script .
Steven is offline   Reply With Quote
Old May 17th, 2009, 17:24   #3
skiter
Junior Member
 
Join Date: Aug 2008
Posts: 10
skiter is on a distinguished road
Default

To be honest, VBS, show decimal points, im not sure how to exactly, put 'to number', like from: 1.56 to 2, i know how to write in C+, VBS was, and is only for 'fast simple' scripts, what i use in my work also ... sometimes
skiter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Djinn calculator B@RT Proposals, questions & bugs 4 August 2nd, 2009 19:02
Calculator ml, same as erig elfpro Implemented or rejected 9 May 24th, 2009 17:03
Calculator of experiencie Suvager Implemented or rejected 5 May 14th, 2009 07:53
Profit calculator skiter Implemented or rejected 1 May 12th, 2009 10:25
Blessings calculator beejay Implemented or rejected 19 April 21st, 2009 11:47


All times are GMT +2. The time now is 12:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc. Tibia on Mmotter
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
© Tibia ML 2007 - 2014, all rights reserved.