Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Crome969

Pages: 1 ... 5 6 [7] 8 9 ... 119
91
Stealth Client / Re: pathfinding
« on: June 15, 2016, 06:10:40 AM »
i will look at it once i find some time.. time is random and rare lately :/

92
Stealth Client / Re: pathfinding
« on: June 14, 2016, 12:45:50 AM »
can you test it in inbuild pascal? maybe there is an api bug then i can interfere and fix

93
Stealth Client / Re: C# how to determine if buff is active
« on: June 06, 2016, 08:08:49 AM »
Yes, me and Tidus are owning rebirthuo and Trailmyx is Seer..
We also have one more GM but he is hard to catch lately ;)

Aside from Rebirth, iam also in the stealth developer team (but mostly mia lately), update SDK (less lately), develop some other bot stuff (not will name) and still work as full time developer 60+ hours a week..

So time is precious :D

If you have have questions about SDK you might check https://github.com/Crome696/ScriptSDK.
If you find bugs you can try fix yourself by fork the source and push a change request or set up an issue on Github.

~enjoy

94
Stealth Client / Re: C# how to determine if buff is active
« on: June 06, 2016, 06:45:40 AM »
before we had that function, i worked with a singleton pattern that stores all buffs with true or false like :

Code: [Select]
public class Buffs
{
// Singleton object
private Buffs _Instance {get;set;}

//Returns a pointer of _Instance
public Buffs Instance
{
get
{
if(_Instance == null)
_Instance = new Buffs();
return _Instance;
}
}

//Seals it, that only 1 Instance per Runtime is allowed to exist
protected Buffs()
{}


public bool Strangle {get;set;}
public bool Curse {get;set;}
public bool Strength {get;set;}
public bool Poison {get;set;}
public bool DivineFury {get;set;}

}


public void CheckBuff(object sender, Buff_DebuffSystemEventArgs e)
{
bool state = e.IsEnabled;

switch(e.ID) // need to check syntax here, forgot how the event args are filled
{
case 1082 : Buffs.Instance.DivineFury = state; break;
}
}

I'm honestly a bit out of Stealth lately, owning a shard and maintain 6 other projects taking its toll..


95
Stealth Client / Re: C# how to determine if buff is active
« on: June 05, 2016, 10:08:59 PM »
Its because this is an event, which fires each time one buff change. The other object stores a data table of stealth with all actual informations.
Event is nice if you want to interact asap (like doing some threading and let things handled while main script runs). If you want to get an updated information about current buffs, better call that method.


96
Stealth Client / Re: C# how to determine if buff is active
« on: June 05, 2016, 01:17:20 AM »
I added in some code to check for Divine Fury and it seems like its working ok but I'm pretty wet behind the ears when it comes to programming

Code: [Select]
public void CheckBuff(object sender, Buff_DebuffSystemEventArgs e)
        {
            this.Dispatcher.Invoke((Action)(() =>
            {
                String buffstatus = (e.IsEnabled) ? "Active" : "NotActive";
                String DFStatus = (e.IsEnabled) ? "Active" : "NotActive";                
                if (buffstatus == "Active")
                {
                    CWBuff = new Buff_DebuffSystemEventArgs(44878, 1082, true);
                }
                else
                {
                    CWBuff = new Buff_DebuffSystemEventArgs(44878, 1082, false);
                }

                if (DFStatus == "Active")
                {
                    DFBuff = new Buff_DebuffSystemEventArgs(44878, 1010, true);
                }
                else
                {
                    DFBuff = new Buff_DebuffSystemEventArgs(44878, 1010, false);
                }                
            }));
        }

Another way to checl Buffs would be calling GetBuffBarInfo() from StealthAPI.Client

97
Stealth Client / Re: context menu crash
« on: June 04, 2016, 01:55:11 AM »
Please report SDK bugs here : https://github.com/Crome696/ScriptSDK/issues

98
Stealth Client / Re: Getting Disconnected(Duplicates are not allowed)
« on: June 01, 2016, 05:22:54 AM »
I understand the issue, will contact vizit0r.. Seems like we miss a "if (not data.containskey(key))" checkup. It tries to store data about buffs in a dictionary. duplicate identifiers arent allowed in dictionaries.

Thank you for reporting!

99
Stealth Client / Re: client dll troubles
« on: May 28, 2016, 01:31:34 AM »
SDK has no Support for 7.4.0 yet. Maxwell updated his api dll very recently and i will update SDK very soon as well.
Meanwhile you might try a version 6.x

100
General Discussion / Re: Memory leak
« on: May 28, 2016, 01:30:21 AM »
EasyUO is written in Delphi and delphi has no support of a Garbagecollector. Depending how the datamanagement is solved it can be, that most script data is kept on memory until you restart easyuo.
That ofc means that you can go out of memory the more you script, because the non required data is not flushed.

101
Stealth Client / Re: [Release] ScriptSDK 0.9.3 [UPDATED 28.05.2016]
« on: May 28, 2016, 01:27:36 AM »
SDK goes Open Source!

Update for Stealth 7 will be migrated very soon!

102
Stealth Client / Re: Current C# integration with Stealth
« on: May 20, 2016, 12:07:30 AM »
If you mean ScriptSDK you can find it via www.scriptsdk.com. Use an older Client (Stealth < 7) to get full compability. I#m sorting out some things atm. Maybe i will release SDK source for public very soon.

103
Stealth Client / Re: Resurrection Gump c#
« on: May 09, 2016, 10:27:52 PM »
Which stealth build? I did no upgrade to Stealth 7 yet.

version 6.7.1


I will look to test that as soon as possible...

104
Stealth Client / Re: Resurrection Gump c#
« on: May 09, 2016, 03:42:29 AM »
Which stealth build? I did no upgrade to Stealth 7 yet.

105
Scripting Chat / Re: EUO Updtr - "new" client support
« on: April 17, 2016, 11:03:38 PM »
Renderrange wont help you, if server not send enough packets to build it. All you will see is empty landmass

Pages: 1 ... 5 6 [7] 8 9 ... 119