Author Topic: TrailMyx's Application Framework  (Read 17109 times)

0 Members and 1 Guest are viewing this topic.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
TrailMyx's Application Framework
« on: June 09, 2008, 12:26:40 PM »
0
Build an EasyUO graphical user interface quickly!!

Code: [Select]
;=================================================================
; Script Name: TrailMyx's Application Framework
; Author: TrailMyx
; Version: x.xx
; Shard OSI / FS: OSI / FS OK
; Revision Date: 9/29/2007
; Purpose: Build an EasyUO graphical user interface quickly
;
; Features:
;  Includes 1 journal handler (JOURNAL)
;  Setup file save/load
;  Pause function
;  UI updating
;  Button Handling
;
;  Type: "journal test" to test journal handler..
;
; Requirements:
;  menu edit EUOStatus
;  menu edit EUOEditFilename

; Globals:
;
; Special Thanks:
;
; Beta testers:
;=================================================================

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
tm_app_framework11.txt
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline VicVega

  • Jr. Member
  • **
  • Posts: 71
  • Activity:
    0%
  • Reputation Power: 0
  • VicVega has no influence.
  • Respect: +8
  • Referrals: 0
    • View Profile
Re: TrailMyx's Application Framework
« Reply #1 on: April 19, 2009, 08:53:23 AM »
0
I find saving my data on files more reliable and less annoying than using windows.

What do you think about using files vs using windows to track the script achievements?

Sample from my fishingData.txt, wich it's generated from my fishing script:

Quote
Time: 171204
Initial Gold: 125825
Initial skill: 1123


Time: 172516
Time fishing: 790 s 13 min
Total time fishing: 790 s 13 min
Gold: 126912
Gold Gain: 1087
Total Gold Gain: 1087
Skill: 1123
Skill Gain: 0


Time: 174221
Time fishing: 1010 s 16 min
Total time fishing: 1800 s 30 min
Gold: 128006
Gold Gain: 1094
Total Gold Gain: 2181
Skill: 1123
Skill Gain: 0
To learn, read.
To know, write.
To master, teach.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: TrailMyx's Application Framework
« Reply #2 on: April 19, 2009, 09:58:48 AM »
0
I've done a whole bunch of projects that use files to collect data.

Code: [Select]
Date 08/17/07 Time 08:22:35 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) -- Condition changed to Greatly
Date 08/17/07 Time 08:22:46 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) Status:Greatly
Date 08/17/07 Time 08:47:47 AM *** Program start *** Shard:Sonoma -- Char:spanky
Date 08/17/07 Time 08:48:11 AM *** Program start *** Shard:Sonoma -- Char:spanky
Date 08/17/07 Time 08:49:02 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) -- Condition changed to Greatly
Date 08/17/07 Time 08:49:24 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) -- Condition changed to Collapsing
Date 08/17/07 Time 08:50:09 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) Status:Collapsing
Date 08/17/07 Time 02:14:15 AM *** Program start *** Shard:Sonoma -- Char:spanky
Date 08/17/07 Time 06:19:42 AM *** Program start *** Shard:Sonoma -- Char:spanky
Date 08/17/07 Time 06:19:58 AM: Shard:Sonoma -- Char:spanky -- House:Buck's Den -- Loc:(850 939) -- Condition changed to Collapsing
Date 08/17/07 Time 09:00:57 AM *** Program start *** Shard:Sonoma -- Char:spanky
Date 08/17/07 Time 09:11:46 AM *** Program start *** Shard:Sonoma -- Char:spanky

Or

Code: [Select]
date 041017 time 230107 ----program start ralph-baja
 date 041017 time 230343 logout -- runtime n/a deadserpents: 0
 date 041017 time 230345 loot count: mib:0 net:0 tmap:0
 date 041018 time 003428 ----program start ralph-baja
 date 041018 time 010747 logout -- runtime 0:31 deadserpents: 1
 date 041018 time 010748 loot count: mib:0 net:0 tmap:0
 date 041018 time 173631 ----program start ralph-baja
 date 041018 time 193431 logout -- runtime 1:55 deadserpents: 11
 date 041018 time 193432 loot count: mib:0 net:2 tmap:4
 date 041018 time 223701 ----program start ralph-baja
 date 041018 time 230828 logout -- runtime 0:30 deadserpents: 9
 date 041018 time 230830 loot count: mib:3 net:1 tmap:2
 date 041018 time 230946 ----program start ralph-baja
 date 041018 time 231616 logout -- runtime 0:05 deadserpents: 2
 date 041018 time 231617 loot count: mib:0 net:0 tmap:0
 date 041020 time 214911 ----program start ralph-baja
 date 041020 time 222048 logout -- runtime 0:30 deadserpents: 4
 date 041020 time 222049 loot count: mib:0 net:0 tmap:2
 date 041024 time 130239 ----program start ralph-baja
 date 041024 time 130635 logout -- runtime 0:02 deadserpents: 0
 date 041024 time 130636 loot count: mib:0 net:0 tmap:0
 date 041024 time 143628 ----program start ralph-baja
 date 041024 time 145805 logout -- runtime 0:20 deadserpents: 1
 date 041024 time 145806 loot count: mib:0 net:0 tmap:0
 date 041024 time 205123 ----program start ralph-baja
 date 041024 time 224733 logout -- runtime 1:54 deadserpents: 11
 date 041024 time 224734 loot count: mib:5 net:1 tmap:0
 date 041103 time 205251 ----program start ralph-baja
 date 041103 time 210552 logout -- runtime 0:11 deadserpents: 3
 date 041103 time 210553 loot count: mib:0 net:1 tmap:1
 date 041124 time 224728 ----program start n/a-baja
 date 041124 time 235452 logout -- runtime 1:06 deadserpents: 7
 date 041124 time 235453 loot count: mib:3 net:1 tmap:0
 Date 080628 Time 185759 ----Program start ralph-Baja
 Date 080628 Time 190400 ----Program start ralph-Baja
 Date 080628 Time 190417 ----Program start ralph-Baja

But for a quick glance to see how the script is performing, there's no way you can beat a nice UI.  :)

So I think you should use both.  Honestly, the UI is also there to allow you to interact with the script for STOP/START/PAUSING/SETUP/ETC.  Normally my script just start with this interaction, but then morph into something that gives you an updated on the fly representation of how things are going.  Heck, even my Zoo donator does both so you can get a good historical record of your achievements.

So if you are only doing files, then you are missing out on some sexy looking scripts.  :p
« Last Edit: April 19, 2009, 10:01:48 AM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!