Author Topic: [C#, ScriptSDK] XScript - a ScriptSDK extension  (Read 3937 times)

0 Members and 1 Guest are viewing this topic.

Offline unisharpTopic starter

  • Elite
  • ***
  • *
  • Posts: 196
  • Activity:
    0%
  • Reputation Power: 4
  • unisharp has no influence.
  • Gender: Male
  • Respect: +40
  • Referrals: 0
    • View Profile
[C#, ScriptSDK] XScript - a ScriptSDK extension
« on: June 09, 2020, 09:23:48 AM »
0
XScript
An extension to ScriptSDK

Source: https://github.com/unisharpUO/XScript

This was a small project I was working on with Crome.  It includes objects for every type of wearable equipment on OSI making it very easy to search/filter.  Also includes a LocateGear function to work with the new objects.

LocateGear function can parse 125 items in 12 seconds and instantiate those items as new objects of the type those items are.  For example, if a butcher knife is found, that object is cast as a ButcherKnife type which you can grab the Primary and Secondary abilities or checking whether a piece of armor is bone or leather via that object's properties instead of wasting time parsing tooltip strings.  Those objects can also be serialized as XML so that data can be parsed using 3rd party tools.

Projects using this extension: https://github.com/unisharpUO/LootLogger
« Last Edit: June 09, 2020, 05:04:09 PM by unisharp »

Offline Tidus

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: [C#, ScriptSDK] XScript - a ScriptSDK extension
« Reply #1 on: June 09, 2020, 10:38:20 AM »
0
Is the ScriptSDK still working with the current Stealth?
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline unisharpTopic starter

  • Elite
  • ***
  • *
  • Posts: 196
  • Activity:
    0%
  • Reputation Power: 4
  • unisharp has no influence.
  • Gender: Male
  • Respect: +40
  • Referrals: 0
    • View Profile
Re: [C#, ScriptSDK] XScript - a ScriptSDK extension
« Reply #2 on: June 09, 2020, 04:59:16 PM »
0
Yes it is, I haven't got any of the event listeners to work though but most of it still works

Also for some odd reason I have trouble starting c# console projects with Visual Studio 2019 - I get trouble hooking into the client.  If I start a project in VS 2015 and then open it in 2019 it works.
« Last Edit: June 09, 2020, 05:14:17 PM by unisharp »

Offline Tidus

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: [C#, ScriptSDK] XScript - a ScriptSDK extension
« Reply #3 on: June 09, 2020, 06:27:38 PM »
0
Yeah i noticed i couldn't get my events to pop when listening for clilocspeech.  I tried to see why it might be doing it, but it was beyond my ability.
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline unisharpTopic starter

  • Elite
  • ***
  • *
  • Posts: 196
  • Activity:
    0%
  • Reputation Power: 4
  • unisharp has no influence.
  • Gender: Male
  • Respect: +40
  • Referrals: 0
    • View Profile
Re: [C#, ScriptSDK] XScript - a ScriptSDK extension
« Reply #4 on: June 10, 2020, 05:20:14 AM »
0
but it was beyond my ability.

same to be honest
 :(

Tags: