fr0stebyte
Member
- Joined
- Aug 16, 2012
- Messages
- 50
- Reaction score
- 0
I tried this for russian using KOI8-R but didn't manage to make it work, any help would be nice because as of now v2 simply doesn't work with russian clients.
regex = new Regex(@"\""[0-9A-Za-z\w' :\-]*\""", RegexOptions.Compiled);
// +---------------------------------------------------------------------------+
// | _______ ___ __ __
// ||_ _|.-----.' _|.-----.----.--------.---.-.| |_|__|.-----.-----.
// | _| |_ | | _|| _ | _| | _ || _| || _ | |
// ||_______||__|__|__| |_____|__| |__|__|__|___._||____|__||_____|__|__|
// |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// +---------------------------------------------------------------------------+
// | - actual beta development can be downloaded separate on the
// | donators repository.
// | - actual beta rules can be downloaded separate on the donators repository
// | - contributors are welcome to help building rules
// | - rules sets provide a best effort for valuable items (not beeing perfect)
// | - donators: https://riouxsvn.com/svn/dbplugins
// | - public: https://subversion.assembla.com/svn/CustomTrinity/trunk
// +---------------------------------------------------------------------------+
// | ______ __ __
// || | |--.---.-.-----.-----.-----.| |.-----.-----.
// || ---| | _ | | _ | -__|| || _ | _ |
// ||______|__|__|___._|__|__|___ |_____||__||_____|___ |
// | |_____| |_____|
// +---------------------------------------------------------------------------+
// | 2.020(public):
// | - removed testing rules
// | - added function possibility for float attributes
// | - function dual transform a number into binary 0 or 1
// | ex. item has 123 vitalityand no strength [VIT].dual -> 1 [STR].dual -> 0
// | - function max gets back the percentage of the max that is pos on that item
// | this function is under work.
// | - .max function still in work
// | - added macro possibility
// | - some fixes at the log system
// | - added a open-source AH Parser (use on ur own risk!) documentation incl.
// | - moved from Trinity 1.7.1.6 to 1.7.1.7 thx to rrix for his hard work
// | - moved on last developer version.
// | - added documentation for macro, function and installation
// | - moved from Trinity 1.7.1.7 to 1.7.1.8 thx to rrix for his hard work
// +---------------------------------------------------------------------------+
Trinity 1.7.1.8
With latest version of Item Rules and trinity 1.7.1.8 my bot stuck for a 5-10 seconds after each elite kill. Someone got this problem?
Same for me.With latest version of Item Rules and trinity 1.7.1.8 my bot stuck for a 5-10 seconds after each elite kill. Someone got this problem?
and same for meSame for me.
Yeah standing there regardless if being attacked or dots, quite annoying/silly. Tried to look through the files to find where it would be deciding to stand idle but couldn't.
I have a feeling it's something between atom and trinity, though.
Only Plugin I use is Trinity and I have that problem, so I am quite sure it is Trinity related![]()
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == "True" && [LEVEL] < 63 -> [IGNORE]
Can someone post a rule for not pick up twohands with ilvl < 63?
I tried this:
but it doesnt working...Code:[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == "True" && [LEVEL] < 63 -> [IGNORE]
First you have to declare all ignore rules, then all pickup rules
Take a look at My tweaked pickup.dis: here
//[QUALITY] == "Legendary" -> [KEEP]
// keep all Weapon for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" -> [KEEP]
// keep all Armor for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor" -> [KEEP]
// keep all jewelerys for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" -> [KEEP]
In the scanner.cs
Try to use
This pattern to see whether it can pickup Russian characters. I don't have russian client, but my Regex Tester seems OK with this pattern
Also, be aware when you modify your legenary.dis file, be sure that you save or convert it to UTF-8 Format, otherwise it will cause errors
Regex: [0-9A-Za-z\w' :\-]
Source: Бдительность -Vigilance
Matches: Бдительность -Vigilance