Results 1 to 13 of 13

Thread: Cooking exp Calculator

  1. #1
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Cooking exp Calculator

    My first VB program
    it does only support F2P foods.
    hope you like it -


  2. #2
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    You need to cook: 479705 Meat

    working well done
    Did someone say GDK?

  3. #3
    Join Date
    Aug 2008
    Location
    Planet Earth.
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Runtime error "6" overflow.

    When I put xp 0 - designated level 99.
    Learning: Italian!
    Code:
    <Jason2G's> I just sprayed WD-40 on my dog's nuts. He was sleeping. And now he can't get back to sleep ^_^

  4. #4
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Enchanted View Post
    Runtime error "6" overflow.

    When I put xp 0 - designated level 99.
    Works perfectly for me


  5. #5
    Join Date
    Oct 2007
    Location
    California
    Posts
    153
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    works great. no errors. maybe make a fighting one?
    Did someone say GDK?

  7. #7
    Join Date
    Oct 2007
    Location
    California
    Posts
    153
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  8. #8
    Join Date
    Oct 2007
    Location
    California
    Posts
    153
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  9. #9
    Join Date
    Aug 2008
    Location
    Planet Earth.
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^ Double post ftl?..

    Well, I tried again and it worked fine

    This is just a suggestion but maybe make one with all the levels(that you want in.. )

    Best of luck, 3NCH4NT3D.
    Learning: Italian!
    Code:
    <Jason2G's> I just sprayed WD-40 on my dog's nuts. He was sleeping. And now he can't get back to sleep ^_^

  10. #10
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    Source please. now it's useless app. i wanna see method of level/exp calculating.. u using case function? or whaT?

  11. #11
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, here is the sourcre:
    PHP Code:
    Public Function Floor(value As Double)

        
    Floor CDbl(CLng(value 0.5))

    End Function
    Public Function 
    experience(ByVal lvl As Integer)
      
    Dim a As Long
      Dim x 
    As Integer
      
    For 1 To lvl
        a 
    Int(300 * (^ (7)))
      
    Next x
      experience 
    Floor(4)
    End Function
    Private 
    Sub Command1_Click()
      
    Dim EXP As Integer
      Dim a 
    As Long
      Dim x 
    As Integer
      Select 
    Case Combo1.Text
        
    Case "Meat"EXP 30
        
    Case "Chicken"EXP 30
        
    Case "Crayfish"EXP 30
        
    Case "Shrimps"EXP 30
        
    Case "Anchovy"EXP 30
        
    Case "Bread"EXP 40
        
    Case "Sardine"EXP 40
        
    Case "Herring"EXP 50
        
    Case "Redberry Pie"EXP 78
        
    Case "Trout"EXP 70
        
    Case "Meat Pie"EXP 110
        
    Case "Pike"EXP 80
        
    Case "Stew"EXP 117
        
    Case "Salmon"EXP 90
        
    Case "Apple Pie"EXP 130
        
    Case "Tuna"EXP 100
        
    Case "Pizza"EXP 143
        
    Case "Wine"EXP 200
        
    Case "Cake"EXP 180
        
    Case "Lobster"EXP 120
        
    Case "Meat Pizza"EXP 169
        
    Case "Swordfish"EXP 140
        
    Case "Chocolate Cake"EXP 210
        
    Case "Anchovy Pizza"EXP 182
      End Select
      Text3
    .Text "You need to cook: " Str(Round(((experience(Text2.Text) - Text1.Text) / EXP))) + " " Combo1.Text

    End Sub 
    Feel free to leech.


  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Cant you make this in SCAR aswell??

    Imho GJ btw.

  13. #13
    Join Date
    Oct 2008
    Posts
    695
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am currently making a program that will work for all skills, should take about 1 or 2 weeks (I have a life and Construction isnt helping me alot..)
    Siggy is out, sry fellas :/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Calculator Help
    By xxlegitxx in forum Web Development
    Replies: 7
    Last Post: 01-26-2011, 10:09 AM
  2. My Calculator V4!!!
    By pointer in forum Java Help and Tutorials
    Replies: 15
    Last Post: 02-19-2009, 01:04 AM
  3. My calculator V3!!!
    By pointer in forum Java Help and Tutorials
    Replies: 0
    Last Post: 07-10-2008, 09:22 AM
  4. Cooking
    By hardman in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 07-27-2007, 06:15 PM
  5. xp calculator
    By jhildy in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 07-08-2007, 01:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •