What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

About the barb's stupid action near steps

ksmaze

Member
Joined
Sep 4, 2012
Messages
239
Reaction score
1
I am currently not satisfied with result, so I check Giles' code again...
the problem is in the FindZigZagTargetLocation function for sure, but I don't have much time to test if such adjustment can fix this. Any one know the code well may have some discussion here?
1. I don't get it's here
Code:
if (iPosition > 360)
    iPosition = 360 - iPosition;
I think a right code should be
Code:
if (iPosition > 360)
    iPosition = iPosition - 360;

2. what's bNinetyDegree for? Giles didn't use it actually...

3. Giles didn't check the Z position for the vTestPoint here, this will cause bot to choose the direction with same Z position near steps.
maybe we can set like this
Code:
vThisZigZag = MathEx.GetPointAt(playerStatus.vCurrentPosition, fDistanceOutreach, MathEx.ToRadians(iPosition));
to
Code:
vThisZigZag = MathEx.GetPointAt(playerStatus.vCurrentPosition, fDistanceOutreach, MathEx.ToRadians(iPosition));
vThisZigZag.Z = vTargetLocation.Z;

I don't know if 1 and 3 will fix this stupid action for Trinity. some discussion here?

Here is a modified version I currently use, it should have better result with steps and corner(if you haven't notice it, try to look the situation when attacking a shaman in corner), also it should have better response and path for WW.
But TEST and DETAILED FEEDBACK is needed, I don't have time to see if it really works well

UPDATE-v2-11/05/2012
no actually change, I just adjust some parameter for my custom use.
It works fantastic for me with 40% above CC.
It's my first experience to crash the whole LeoricsHuntingManor profile(4 groups of elite) with only 1 WOTB and never drop it!
v21 is the runnable version. sorry again for wrong upload

UPDATE-v3-11/06/2012
This is actually my custom plugin already, I choose feature for my personal purpose only, so please don't ask for providing other versions.
If you really want to implement it in other version, try use software like KDiff3 to find where you should adjust.
1. update based on v0.2 except email feature http://www.thebuddyforum.com/demonb...ied-gilesplugins-unnoficial-updates-file.html
2. rewrite zigzag again, this version instead of avoiding stairs, can truly WW on the stairs.
but it will generate tornado within a limited area. someone may like it when deal shaman or elite, someone may feel it bad when it cannot affect a large group of monsters.
3. added reload item specification in Trinity item setting tab. you can change your 'item.dis' whenever you want now.
4. set trash legendaries to salvage

next version will be smart to choose zigzag path(It's slow to pick some high school math ability....)

Cause it seems nobody really wants to know the reason and principal behind, I don't want to describe what I have modified here.
 
Last edited:
Hope someone figure something out about this :(. Its making me QQ :(:(
 
why there is no body interesting about it?
I will make a test release tomorrow for my new theory about ZigZag path.
Test is needed.
 
YEAH =\ this effects gameplay by alot for Whirlwind barbs. I would say I become 50% more efficient if this was fixed >_<
 
Here is a modified version I currently use, it should have better result with steps and corner(if you haven't notice it, try to look the situation when attacking a shaman in corner), also it should have better response and path for WW.
But TEST and DETAILED FEEDBACK is needed, I don't have time to see if it really works well

This is the version combined with a modified 7a version 'Item Rule' (can sell legendary, set rule directory within Trinity directory)
http://www.thebuddyforum.com/demonb...item-rules-file-based-scripting-language.html

Cause it seems nobody really wants to know the reason and principal behind, I don't want to describe what I have modified here.
 
I will be testing this today. Thank you very much for your initiative, mr. ksmaze

edit: my first impression of this couldn't be more positive. From what I've seen your modifications fixed the bug completely. I'll be watching it further and any other impressions I get I'll post here.
 
Last edited:
im getting this.. :(

[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(2956,41) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(8444,52) : error CS0117: 'GilesTrinity.Functions.Interpreter.InterpreterAction' does not contain a definition for 'Salvage'
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10369,36) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10373,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10439,40) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10716,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11070,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11080,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11117,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11350,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11351,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(15072,17) : warning CS0162: Unreachable code detected
 
Still unable to run =\ DB just got updated so could that be the problem?
 
Still unable to run =\ DB just got updated so could that be the problem?
Did you download his modified file? Maybe he accidentally broke something.
Here's what you should do: go back to your old .cs file, search for item 1. from his first post and make the change manually. Now search for item 3. and do the same.

Is it working now?
 
I delete my old gilestrininty folder, deleted CompiledAssembles, delete gilestrinity in settings and do a fresh install of everything. I didnt do the scripting thing but ill give it a go
 
Did you download his modified file? Maybe he accidentally broke something.
Here's what you should do: go back to your old .cs file, search for item 1. from his first post and make the change manually. Now search for item 3. and do the same.

Is it working now?

Well, I did a fresh install of trinity with ksmaze's version.. Deleted CompiledAssemble, and gilestrinity CFG in settings then delete the old Plugin trinity folder as well and put in ksmaze's version. Seems like the "error CS0117: 'GilesTrinity.Functions.Interpreter.InterpreterAct ion' does not contain a definition for 'Salvage'" InterpreterAct file is messing up.
 
No matter what I do I am still getting that same error.. trying literally everything.. overriding original plugins.. fresh install.. everything :(
"error CS0117: 'GilesTrinity.Functions.Interpreter.InterpreterAct ion' does not contain a definition for 'Salvage'" is driving me nuts rofl.
 
but when I override bombastic's version, it works fine. only Ksmazes version I get that salvage error.
 
im getting this.. :(

[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(2956,41) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(8444,52) : error CS0117: 'GilesTrinity.Functions.Interpreter.InterpreterAction' does not contain a definition for 'Salvage'
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10369,36) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10373,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10439,40) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(10716,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11070,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11080,44) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11117,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11350,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(11351,32) : warning CS0162: Unreachable code detected
[08:09:05.847 N] Compiler Error: c:\Users\Jacky\Desktop\DB\Plugins\GilesTrinity\GilesTrinity.cs(15072,17) : warning CS0162: Unreachable code detected

oh sorry to put a wrong file.
now the attachment should be c
 
Back
Top