fuimusbruce
New Member
- Joined
- Aug 2, 2012
- Messages
- 450
- Reaction score
- 2
all working great now thanks guys
When I go to Trinity config it says "[19:51:22.003 N] [GilesTrinity] System.NullReferenceException: Object reference not set to an instance of an object.I included a version of ur 1.7 with my changes GilesTrinity.cs
Cool, I'll put that on the original postI included a version of ur 1.7 with my changes GilesTrinity.cs
This is confirmed for CustomTrinity version. I think this just messes up GT's settings window size, but anyway, I'm guessing darkfriend77 will provide us with a simple fix soon enoughWhen I go to Trinity config it says "[19:51:22.003 N] [GilesTrinity] System.NullReferenceException: Object reference not set to an instance of an object.
at GilesTrinity.GilesTrinity.get_DisplayWindow()" and I cannot change the settings, any idea why?
You sure? If that's just it then I can fix this myselfYou need GilesTrinity.cs file from darkfriend77's post and GilesTrinity.xaml file from the first post on this thread.
Confirmed and fixed!that's what I did, and now got two bots running with the updated plugin
--- GilesTrinity.cs-dist 2012-10-19 10:42:26.000000000 -0700
+++ GilesTrinity.cs-randfix 2012-11-06 07:47:43.487733000 -0800
@@ -15435,7 +15435,7 @@
string[] sProfileChoices;
sProfileChoices = sThisProfileString.Split(new string[] { "!" }, StringSplitOptions.None);
Random rndNum = new Random(int.Parse(Guid.NewGuid().ToString().Substring(0, 8), NumberStyles.HexNumber));
- int iChooseProfile = (rndNum.Next(sProfileChoices.Count())) - 1;
+ int iChooseProfile = rndNum.Next(sProfileChoices.Count());
sThisProfileString = sProfileChoices[iChooseProfile];
}
// Now calculate our current path by checking the currently loaded profile
Fixed. Thanks for the heads up.The random profile picker is broken too
Code:--- GilesTrinity.cs-dist 2012-10-19 10:42:26.000000000 -0700 +++ GilesTrinity.cs-randfix 2012-11-06 07:47:43.487733000 -0800 @@ -15435,7 +15435,7 @@ string[] sProfileChoices; sProfileChoices = sThisProfileString.Split(new string[] { "!" }, StringSplitOptions.None); Random rndNum = new Random(int.Parse(Guid.NewGuid().ToString().Substring(0, 8), NumberStyles.HexNumber)); - int iChooseProfile = (rndNum.Next(sProfileChoices.Count())) - 1; + int iChooseProfile = rndNum.Next(sProfileChoices.Count()); sThisProfileString = sProfileChoices[iChooseProfile]; } // Now calculate our current path by checking the currently loaded profile
Do you have the code for this? Or a link to a thread with the code? ThanksWould be great if you include the innas 4set blinding flash tweak
I already tried and failed to add that. See my post right below Coupons' to see the details.jubisman, I'm using a throw barbs could you edit your code to support throw barbs from this http://www.thebuddyforum.com/demonb...plugins/70827-trinity-barbarian-class-43.html
Sounds like your azmo bodies/pools HP is set too high. I'll check this, thoughmy WW barb is having strange behaviour @ Azmodan. He just WW backwards, and sometimes after he backwards, he stands there and doing nothing.
Does it do that? I am gonna run some tests and check if this happens here too.Any way to get the random profile picker to stop from re-picking profiles it has already run?
--- GilesTrinity.cs-dist 2012-10-19 10:42:26.000000000 -0700
+++ GilesTrinity.cs-nesox 2012-11-06 19:42:04.000000000 -0800
@@ -4822,7 +4822,7 @@
// If we aren't in the game of a world is loading, don't do anything yet
if (!ZetaDia.IsInGame || ZetaDia.IsLoadingWorld)
{
- return RunStatus.Running;
+ return RunStatus.Success;
Hadn't seen that. It's on the wayNot sure you saw this, but nesox updated 1.6.3.4
Code:--- GilesTrinity.cs-dist 2012-10-19 10:42:26.000000000 -0700 +++ GilesTrinity.cs-nesox 2012-11-06 19:42:04.000000000 -0800 @@ -4822,7 +4822,7 @@ // If we aren't in the game of a world is loading, don't do anything yet if (!ZetaDia.IsInGame || ZetaDia.IsLoadingWorld) { - return RunStatus.Running; + return RunStatus.Success;
] ERROR: Can't find "F:\Kenn\Desktop\demonbuddy\Plugins\GilesTrinity\GilesTrinity.xaml"
[12:04:45.112 N] [GilesTrinity] System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\Kenn\Desktop\demonbuddy\Plugins\GilesTrinity\GilesTrinity.xaml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFrom*****, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at GilesTrinity.GilesTrinity.get_DisplayWindow()