1
Orion UO Scripts / Re: Brute Force Egg Hunter
« on: June 01, 2022, 03:14:52 PM »
WHOA AN UPDATE! Cannot wait to try this one!!
Thanks loads Altiric! Ill let you know
Thanks loads Altiric! Ill let you know
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.
quietly sneaks in so as not to wake Endless Night......latest patch fixes..
set %GumpMainMenu IEMD ; This is the login screen
set %GumpPasswordBox ONSB ; This is the password box in Login Screen
Set %gumpShardSelect UQLD ; this is the shard select screen
set %GumpLogin ONSB ; this is the Character Selection Screen with NEW/DELETE Buttons
set %GumpNewChar2 KNHD ; this is the New Character Trade Selection screen
set %GumpNewCharMap KNHD ; this is the New Character Map starting location screen
LOL, I still heard you. Avoid the creaky floorboards... Is their new gifts or something..
Gruntman, WHY ARE YOU SHOUTING !!![]()
![]()
Read the top of the script look for the editable section called *** Setup Character Template/s *** Read the notes and examples and then un-comment or add your own details eg:Code: [Select];===========================================
; ** Setup Character Template/s
;===========================================
; gosub AddCharacter Name sex Race Type HairStyle FacailHair CancelNewbieTour
gosub AddCharacter Gruntmans Bestfriend Male Elf Blacksmith 1 8 #True
gosub AddCharacter Gruntman The Shouter Female Human Mage 2 3 #True
gosub AddCharacter Gaderian The Contributor Male Human Warrior 2 4 #True
Version 7.03
Custom Code Now Supported.
You can add your own custom code to be run during each of the scripts functions, gift_pickup, inventory_characters etc. Edit the MyCustom_?? subs at top of the script and place your custom code inside. Be warned you can break the script if your code does not function correctly, the custom code is run right before moving on eg right before character logout. You can easily add additional reporting lines, see the notes in the script on how to.
Usage Example
If for example you wanted the gift pickup report to include each characters weight and alert you if overweight you could add this code inside the sub MyCustom_Gift_PickupCode: [Select]
Thanks yet again for the update - how do you customize the name of the toon created by the script?
sub MyCustom_Gift_Pickup
set !Temp #Weight , / , #MaxWeight ; No spaces between values
gosub EN_AppendToStringList Report LAST Weight: !temp
if #Weight > #MaxWeight
gosub EN_AppendToStringList Report LAST **** CHARACTER OVERWEIGHT ****
Return
The Gift Pickup report when then look similar to below:Code: [Select]Gift Pickup 11/05/19 10:51:40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Account: Ghosts_Secret_Account
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Account: 1 Shard: Atlantic Character: 1 of 7 - A Ghost Weight: 153/477
Account: 1 Shard: LakeSuperior Character: 1 of 7 - The Ghost Weight: 114/260
Account: 1 Shard: GreatLakes Character: 1 of 7 - A Fat Ghost Weight: 400/376 *** CHARACTER OVERWEIGHT ***
- Also added weight/MaxWeight to character inventory report.
Enjoy..