Results 1 to 5 of 5

Thread: Cursor ID

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Cursor ID

    any idea why it's not working?
    PHP Code:
    addtext(cursorinfo().id155290
    i want to know the id of rings being used.

    Thanks
    Z4GE

  2. #2
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    u can use
    Code:
    print(ring)
    will return the id of the ring on ur debug log(Help > Debug)

    the code needs to be added in actions

  3. #3
    Normal User Aramm's Avatar
    Join Date
    Mar 2012
    Location
    Curitiba - Parana - Brazil
    Posts
    192
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    put this in your waypoints dude:

    say(ring)

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by z4geee View Post
    any idea why it's not working?
    PHP Code:
    addtext(cursorinfo().id155290
    i want to know the id of rings being used.

    Thanks
    Z4GE
    Thats off my hud

    This will only return an ID if it is on the ground. It can't return any ID's for items you are wearing, you need to put it on the ground first.

    Since the ID of rings change when they asre active. I use npcsay() to return equipment ID's.


    helmet [int]: Returns the id of the item in your head slot.
    amulet [int]: Returns the id of the item in your neck slot.
    back [int]: Returns the id of the item in your back slot.
    armor [int]: Returns the id of the item in your chest slot.
    shield [int]: Returns the id of the item in your shield slot.
    weapon [int]: Returns the id of the item in your weapon slot.
    legs [int]: Returns the id of the item in your legs slot.
    boots [int]: Returns the id of the item in your feet slot.
    ring [int]: Returns the id of the item in finger slot.
    ammo [int]: Returns the id of the item in your ammo slot.
    ammoamount [int]: Returns the amount of the item in your ammo slot.
    weaponamount [int]: Returns the amount of the item in your weapon slot.

    http://www.tibiaibot.com/forum/showt...-and-Functions
    Last edited by pink_panther; 09-03-2012 at 07:20 PM.

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks everyone. it worked!

    @panther yea, it was ur hud but idk why that doesnt work, it doesnt recognize my mouse lol

    Thanks again.

Posting Permissions

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