Signup Now
Results 1 to 2 of 2
  1. #1
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27

    useoncreature/useitemon bugs with fasthotkeys enabled

    Seems like useoncreature()/useitemon() doesnt work correctly with fasthotkeys enabled (atleast with item "mug of mead", id 2880, u can buy it in svargrond tavern)

    useoncreature(2880, $self)
    useitemon(2880, 0, ground($posx, $posy, $posz))


    Code:
    12:17:38.168 Event 346 issued. Type: Use Item On, ItemId: 2880, CreatureId: 56042218
    12:17:38.168 Event 346 started.
    12:17:38.168 Event 346 finished successfully.
    12:17:41.646 Event 347 issued. Type: Use Item On, ItemId: 2880, CreatureId: 56042218
    12:17:41.646 Event 347 started.
    12:17:41.646 Event 347 finished successfully.
    ________
    edit. probably it doesnt work, because filled and empty fluid container have same id
    Last edited by Imba; 10-06-2015 at 04:45 PM.

  2. #2
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,202
    Reputation
    180
    Rep Power
    10
    I think you might need to specify the item liquid type.

    Check the last example.
    https://www.tibiawindbot.com/docs.html#events-useitemon

 

 

Posting Permissions

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