Author Topic: ENs - Character ToolBox (Multi Shard/Account)  (Read 54754 times)

0 Members and 1 Guest are viewing this topic.

Offline gruntman

  • Full Member
  • ***
  • Posts: 143
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #240 on: October 08, 2019, 05:27:47 PM »
0
correct...all changes made and nine accounts over all shards and it bugs out a few shards into account two.
I will just go one account at a time at this point but thank you all for your help :)

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1767
  • Activity:
    3.4%
  • Reputation Power: 24
  • The Ghost might someday be someone...The Ghost might someday be someone...The Ghost might someday be someone...The Ghost might someday be someone...
  • Respect: +243
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #241 on: October 08, 2019, 06:12:30 PM »
0
I do 4 to 5 shard at the time,  this way if it bug, I don't have to run the all of them.

Offline gruntman

  • Full Member
  • ***
  • Posts: 143
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #242 on: October 09, 2019, 06:00:15 PM »
0
awesome idea Ghost!! thank you

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #243 on: October 11, 2019, 09:22:29 AM »
0
I do 4 to 5 shard at the time,  this way if it bug, I don't have to run the all of them.

You can modify where it starts in the sub actionloop.   

Set %Maxchars  = 1...7  if set to 1 will only do first character per shard. 2= first and second etc.

SEt %CharLoop  =  character starting on ...  ie 1st 2nd 3rd etc.

Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Gaderian

  • Elite
  • ***
  • *
  • Posts: 119
  • Activity:
    0.8%
  • Reputation Power: 5
  • Gaderian has no influence.
  • Respect: +16
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #244 on: October 16, 2019, 02:01:37 PM »
0
So once or twice each year I spend a little time trying to figure out how to clean up the report option. I like the character report because it can show me where I have skills or characters that maybe I may bring across shards or that I may wish to develop.

There are 3 things with the reporting that I have changed:
  • totals line is misaligned (decimal doesn't line up)
  • when an account has no character (or sometimes the login fails - maybe because the previous character was not logged out in a safe spot), the report data is all wrong on that character pass.
  • all characters are reported as 'female'
Totals alignment:
Code: easyuo
  1. sub CharReport
I modified the format for the !Skill variable formatting from "PadWithSpaces LEFT 7" to "6" like this:
Code: easyuo
  1.   gosub FormatSkill %SkillTotal
  2.   Gosub PadWithSpaces LEFT 6 #result ; Gosub PadWithSpaces LEFT 7 #result
  3.   set !Skill #Result

If a character was not available, then the reporting would show up like this if there was not a character on that shard for this account, taking data from whatever the previous character in the inventory list was:
Code: [Select]
****************************************************** 
 Shard: Lake Austin Characters: 1 Of 0 
 ****************************************************** 
 CharName: N/A 
 Title:  ****** $No significant properties...$ 
 . 
 Sex: Female Str: N/A Dex: N/A Int: N/A MaxStat: N/A 
 . 
 Current  Real    Cap  Locked  Skill 
 ======= =====  =====  ======  ======================== 
   21.2   21.2  100.0  up      Focus 
   55.0   55.0  100.0  up      Magery
    3.2    3.2  100.0  up      Meditation 
    1.0    1.0  100.0  down    Tailoring 
   36.8   36.8  100.0  up      Veterinary 
   52.3   52.3  100.0  up      Animal Taming 
   59.4   59.4  100.0  up      Animal Lore 
 ======= ===== 
  228.9  228.9   Totals 
 ======= ===== 
Here is how I adjusted the reporting on the character in the following sub:
Code: easyuo
  1. sub MenuOptionInventoryChars

Code: easyuo
  1.      If %SignInContinue = #True ; this had a hanging double ampersand... not sure what that does to logic???
  2.        {
  3. ... [unchanged lines snipped from example here]
  4.         if %ActionType = BtnInventoryChars && %charloop <= %ShardChars
  5.           goSub CharReport %charloop  ; !ThisChar ; Inventory Character

Testing the %charloop is not more than %ShardChars then there is no more reported characters with bad statistics.  :)

All characters report as "Female" in the following subroutine:
Code: easyuo
  1. Sub CharReport  ; Inventory Character
Altered the gender test:
Code: easyuo
  1.   Set !Sex Female
  2.   If ! #Sex ; If !Sex
  3.      set !Sex Male

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #245 on: October 17, 2019, 01:36:36 PM »
0
Gaderian

I never new anyone even used those features,  I am glad to find out people do.   I have taken all your changes and integrated them into the code so you wont have to fix each update from next update onwards...
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #246 on: October 17, 2019, 02:15:21 PM »
+1
Version  6.04

Fixes  for
 - change in password/account name box position and other minor changes.
 - new gump values
 - Misc report changes as documented by Gaderian.

Enjoy..
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Gaderian

  • Elite
  • ***
  • *
  • Posts: 119
  • Activity:
    0.8%
  • Reputation Power: 5
  • Gaderian has no influence.
  • Respect: +16
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #247 on: October 22, 2019, 11:20:17 AM »
0
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #248 on: October 23, 2019, 10:03:40 AM »
0
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #249 on: October 23, 2019, 12:48:17 PM »
0
Well I started working on automatic gump detection... and im being thown a loop becuase ann the ContName=NormalGump  are showing up with contsizex/y  as 2 x 2  no matter what size they are ??  WTF !!   eg Character selection screen, password box,   driving me nuts lol.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline gruntman

  • Full Member
  • ***
  • Posts: 143
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #250 on: October 27, 2019, 09:41:25 AM »
0
new gumps are as follows:

;#CONTKIND/Gump Values for Client version 7.0.59.5 (Patch unknown)
set %GumpMainMenu    QAAD      ; This is the login screen
set %GumpPasswordBox UOGB      ; This is the password box in Login Screen
Set %GumpWait        WNEB      ; This is the wait gump before next screen
Set %gumpShardSelect CNZC     ; this is the shard select screen
set %GumpLogin       UOGB      ; this is the Character Selection Screen with NEW/DELETE Buttons
set %GumpNewChar     YIOC     ; this is the New Character Name and Clothing screen
set %GumpNewChar2    UEVC     ; this is the New Character Trade Selection screen
set %GumpNewCharMap  UEVC      ; this is the New Character Map starting location screen
set %GumpGeneric     IUE     ; this is the Vet Reward/6 month stat increase gump
set %GumpYesNo       UULC    ; this is the Logout - Okay Cancel gump

Offline gruntman

  • Full Member
  • ***
  • Posts: 143
  • Activity:
    0%
  • Reputation Power: 2
  • gruntman has no influence.
  • Gender: Male
  • Respect: +33
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #251 on: October 27, 2019, 09:42:14 AM »
0
correction

;#CONTKIND/Gump Values for Client version 7.0.79.31 (Patch unknown)
set %GumpMainMenu    QAAD      ; This is the login screen
set %GumpPasswordBox UOGB      ; This is the password box in Login Screen
Set %GumpWait        WNEB      ; This is the wait gump before next screen
Set %gumpShardSelect CNZC     ; this is the shard select screen
set %GumpLogin       UOGB      ; this is the Character Selection Screen with NEW/DELETE Buttons
set %GumpNewChar     YIOC     ; this is the New Character Name and Clothing screen
set %GumpNewChar2    UEVC     ; this is the New Character Trade Selection screen
set %GumpNewCharMap  UEVC      ; this is the New Character Map starting location screen
set %GumpGeneric     IUE     ; this is the Vet Reward/6 month stat increase gump
set %GumpYesNo       UULC    ; this is the Logout - Okay Cancel gump

Offline Gaderian

  • Elite
  • ***
  • *
  • Posts: 119
  • Activity:
    0.8%
  • Reputation Power: 5
  • Gaderian has no influence.
  • Respect: +16
  • Referrals: 0
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #252 on: October 27, 2019, 09:27:14 PM »
0
En,
That 2x2 normal_gump means you are on the login screen. Once that is present, just go forward with setting accountname and password. You could get clever and use the offsets from #contposx/#contposy for that 2x2 gump (which lives along the lower left edge of the screen each time). You would have relative offsets that are positive for X and negative for Y.

If you try to eliminate the normal_gump (via ignorecont or cycling via event conttop), you might be able to eliminate the "normal_gump" and 2x2 size, but then I think you are left with a size of 640x480 sized gump. Several of the gumps are that size during the login procedure, so I do not see it as more beneficial to "skip" over the 2x2 gump. It shows up and you know you have arrived at the login screen.

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #253 on: October 28, 2019, 04:41:02 AM »
0
En,
That 2x2 normal_gump means you are on the login screen. Once that is present, just go forward with setting accountname and password. You could get clever and use the offsets from #contposx/#contposy for that 2x2 gump (which lives along the lower left edge of the screen each time). You would have relative offsets that are positive for X and negative for Y.

If you try to eliminate the normal_gump (via ignorecont or cycling via event conttop), you might be able to eliminate the "normal_gump" and 2x2 size, but then I think you are left with a size of 640x480 sized gump. Several of the gumps are that size during the login procedure, so I do not see it as more beneficial to "skip" over the 2x2 gump. It shows up and you know you have arrived at the login screen.

Gaderian

Gaderian,  you miss-understood me.   Notice the shard selection screen is as a normal_gump but has correct contsize information,  but the character selection screen aslo shows as a normal_gump but with default size of 2,2 with contposx,y of 0 478.   But if you single click it on a character name it changes to a login_gump with correct size and position.  Its almost as if the password box is still thier but invisible.

event conttop...   where did this command come from not in wiki..  I will investigate.. event conttop 1 forces the login_gump to the top...  umm more investigation.  I might start a new thread as these gump detection subs maybe useful for other that the chacter toolbox script.
What command is event conttop   i can find no reference in the wiki
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Endless NightTopic starter

  • Global Moderator
  • *
  • *****
  • Posts: 5436
  • Activity:
    0.4%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: ENs - Character ToolBox (Multi Shard/Account)
« Reply #254 on: October 28, 2019, 05:05:15 AM »
0
event conttop   ,  the undocumented command...  very interesting already figured out how to find the total number of gumps open...  Will compile some other function for this useful command......  A solution maybe found.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: