Recent Posts

Pages: [1] 2 3 ... 10
1
Stealth Client / Re: WHat has changed
« Last post by ZeroDX on December 29, 2018, 11:55:20 PM »
That means it is receiving a packet from UO that it doesn't know what to do with.  I would suggest you getting the most current version of Stealth as it keeps up to date with major client updates and packet updates.
nope! that means there is an error in the external scripts protocol
Having trouble with the client, my script works with an older client 6.7.0 but when you try to connect the character connects for like 1 second.

When i use the latest client 8.8.85 i can connect no problem but i get an error when i try and run  certain script. :-[
what language do you use?
2
Stealth Client / Re: WHat has changed
« Last post by Tidus on December 29, 2018, 10:37:32 PM »
Having trouble with the client, my script works with an older client 6.7.0 but when you try to connect the character connects for like 1 second.

When i use the latest client 8.8.85 i can connect no problem but i get an error when i try and run  certain script. :-[

That means it is receiving a packet from UO that it doesn't know what to do with.  I would suggest you getting the most current version of Stealth as it keeps up to date with major client updates and packet updates.
3
Stealth Client / Re: WHat has changed
« Last post by Morphe on December 29, 2018, 05:51:13 PM »
Having trouble with the client, my script works with an older client 6.7.0 but when you try to connect the character connects for like 1 second.

When i use the latest client 8.8.85 i can connect no problem but i get an error when i try and run  certain script. :-[
4
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by JlM on December 20, 2018, 12:38:15 AM »
Thank you for all the help!
5
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by ZeroDX on December 19, 2018, 08:25:28 PM »
Code: Python
  1. LIMIT = 100
  2.  
  3. def get_count(type=-1, color=-1, container=Backpack(), recurse=False):
  4.     FindTypeEx(type, color, container, recurse)
  5.     return FindCount()
  6.  
  7. total = Count(-1)  # total items quantiry (if you have only 100gp in your pack, this will return 100)
  8. if total > LIMIT:
  9.     AddToSystemJournal("total quantity: " + str(total) + " greater than LIMIT: " + str(LIMIT))
  10. count = get_count()
  11. if count > LIMIT:
  12.     AddToSystemJournal("quantity: " + str(count) + " greater than LIMIT: " + str(LIMIT))
  13.  
6
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by JlM on December 19, 2018, 04:11:08 PM »
LIMIT = 100

if Count(-1) > LIMIT:
  pass
  print("Overweight")


It prints a blank with no words when i hit play and have more or less than 100 items in bag.
7
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by ZeroDX on December 19, 2018, 11:31:18 AM »
Code: Python
  1. LIMIT = 120
  2.  
  3. if Count(-1) > LIMIT:
  4.     pass  # items quantity in a backpack more than 120
  5.  
8
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by JlM on December 19, 2018, 09:20:34 AM »
Thank you for the response.

To be more descriptive. I need to know when I'm close to over item count ie 120 items in my backpack. I have the ability to do it based on weight, but with certain items I will not be over weight but reach the item limit.

Post Merge: December 19, 2018, 09:25:56 AM
For instance a bod book. Full of bods
9
Stealth Snippets\Library / Re: Python item counter, for backpack
« Last post by ZeroDX on December 19, 2018, 08:05:06 AM »
here you are
CountEx
Count
10
Stealth Snippets\Library / Python item counter, for backpack
« Last post by JlM on December 19, 2018, 05:44:59 AM »
I have a def that will work if I reach a certain weight. I'm needing one for item count in my backpack. Can someone shoot me in the direction of a example or some documentation. Any help would be appreciated.
Pages: [1] 2 3 ... 10