Resource icon

Bittiez Utilities 1.0.3

No permission to download
What Is This?
This is a collection of Utilities/Tools that I have found useful time and time again, rather than re coding them each time I am going to keep them in this script, making them easily reusable and saving time.


Installation and ServUO version
To install simply unzip the file to /Scripts/Custom/

Tested with ServUO Publish 54

Usage:

Method 1:
Use
C#:
Bittiez.Tools.<The Method You Want To Use Here>
Method 2:
Place this line at the top of your script(s):
C#:
using Bittiez;
And use
C#:
Tools.<The Method You Want To Use Here>
Note: This is currently a very small amount of methods, but ill be adding to it often.




Current Methods

This method will return a List of items at the specific location
Usage ex:
C#:
Mobile from = <Mobile here>;
List<Item> Items = Bittiez.Tools.Find_Items_At_Location(from.Location, from.Map);
This method will call a method(CallBack) after the specified delay.
Usage ex:
C#:
Start_Timer_Delayed_Call(TimeSpan.FromSeconds(1), Test)
public void Test(){
//Run some code here after 1 second
}
This will return a List of all connected players
Usage ex:
C#:
List<Mobile> Online_Players = Bittiez.Tools.List_Connected_Players();
This will write a line to the console with a specific color
Usage ex:
C#:
Bittiez.Tools.ConsoleWrite(ConsoleColor.Blue, "Some line here");
This will return a List-SkillName- of all skills in the system.
EX:
C#:
List<SkillName> Skillz = Bittiez.Tools.List_All_Skills();
This will return a list of all items in a container, if Search_Sub_Containers is true, it will recursevly search all containers recursevly.
Ex:
C#:
List<Item> Items = List_Items_In_Container((BaseContainer)Mobile.Backpack, true);
Author
Bittiez
Downloads
54
Views
65
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Bittiez

Latest reviews

Tried to download this long ago at runuo site, never worked for me, after raffle ends, theres no announce also the item disappear, it doesnt deliver to anyone, like theres no winner...

Anyway, nice system!
Works fine. Downloaded to install RevRaffle.