Results 1 to 10 of 10

Thread: getxp...?

  1. #1
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    getxp...?

    Is the function GetXP working? because for some reason, the xp is turning up as -1 in my script... plz help

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Did you do GatAllLevels; ? It seems to be weird for me too.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nah, im just using "StartXP := GetXp('woodcutting');" and it keeps returning as -1...

  4. #4
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Do GetAllLevels; then have

    SCAR Code:
    WriteLn('| -Woodcutting level   : '+IntToStr(Players[CurrentPlayer].Level[22]));


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  5. #5
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    but i need the xp integer so in my proggy it will say something like "writeln('gained: inttostr(TotalXP)')

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try GetSkillAmount?? That SHOULD return the current exp of the specified skill.. GetXP doesnt seem to be working right now.. strange..

  7. #7
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why bother with reading the EXP? If you have a perfect accurate counter of how many logs you have chopped, then just multiple it with the exp you get from chopping it..eg Oak exp = 37.5

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  8. #8
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    perfect idea =P thx

  9. #9
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    I wish GetXP worked, it would be nice for fighting since fighting isn't counted very accurately.

    I was going to implement this into my auto fighter but doesn't work. *sigh*

    Maybe I'll try to make one. >.<

  10. #10
    Join Date
    Jun 2007
    Location
    NSW, Australia.
    Posts
    541
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by itschris917 View Post
    try GetSkillAmount?? That SHOULD return the current exp of the specified skill.. GetXP doesnt seem to be working right now.. strange..
    ^^
    Quote Originally Posted by RAM View Post
    I sam sofa king wee todd did ! ~RAM
    My SRL Army Blog.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A working GetXP
    By Narcle in forum Research & Development Lounge
    Replies: 10
    Last Post: 11-05-2007, 01:14 AM
  2. GetXP not working?
    By Metagen in forum OSR Help
    Replies: 2
    Last Post: 09-28-2007, 06:34 PM
  3. Replies: 5
    Last Post: 04-25-2007, 09:59 PM

Posting Permissions

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