Author Topic: TrailMyx's Next Generation File System (TM_NGFS)  (Read 58388 times)

0 Members and 2 Guests are viewing this topic.

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #120 on: March 23, 2011, 02:54:59 PM »
0
There it is:

Code: [Select]
gosub TM_RegisterVariable std std newvar  ; denotes a %var

Right when you register.

yes i saw that too.  i figure i can store some variables that are global to all characters in standard variables, rather than the namespaces i suppose, such as menu positions, global time counts etc.  this is some really crazy useful subs.  i'm going to have to rewrite what i've done on my plant script to support these, when i ever feel like finishing it, if ever lol.

hopefully i wont have many more questions :)  i tried to read through the 8 or so pages on this topic, but i skimmed it pretty fast looking for things that caught my eye.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #121 on: March 23, 2011, 03:35:25 PM »
0
I wish I had more time to retrofit some of my older scripts with these also.  Just no time to fiddle with the  old things...
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #122 on: March 24, 2011, 04:46:49 PM »
0
any idea why this wont work?  i think i'm doing it wrong.

i set %fastlpc & %normallpc when the script starts, and change it on the menu.

this is what i'm calling for save:
Code: [Select]
  gosub TM_NGFS_InitializeScript OMGPVM generic
   gosub TM_RegisterVariable OMGPVM std std fastlpc
   gosub TM_RegisterVariable OMGPVM std std normallpc
   gosub TM_NGFS_SaveVariables OMGPVM

this is what i'm calling for load:
Code: [Select]
  gosub TM_NGFS_InitializeScript OMGPVM generic
   gosub TM_NGFS_LoadVariables OMGPVM

it wouldn't save/load properly, so i opened the viewer and it shows this:
left list, show:
generic_OMGPCM_vars
right list, variable view|all:
-1--1--1 = !-1
-1--1--1 = !-1

I've tried to delete the FS entry, and redo it but can't get it to work lol.  I can get the save/load per character, per namespace working everytime though.
« Last Edit: March 24, 2011, 04:49:37 PM by OMGBurgers »

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #123 on: March 24, 2011, 04:50:33 PM »
0
edited post;

this is where i started, and just tried again
   gosub TM_RegisterVariable OMGPVM std std fastlpc
   gosub TM_RegisterVariable OMGPVM std std normallpc

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #124 on: March 24, 2011, 06:16:35 PM »
0
Perhaps you should be scripting in ScriptUO and use the syntax checker... ;) 

You have a typo(s)

Code: [Select]
gosub TM_NGFS_InitializeScript OMGPVM generic
gosub TM_NGFS_RegisterVariables OMGPVM std std fastlpc
gosub TM_NGFS_RegisterVariables OMGPVM std std normallpc
gosub TM_NGFS_SaveVariables OMGPVM
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #125 on: March 24, 2011, 06:23:53 PM »
0
lol... wow.

i gave up like 20 minutes ago and seeing it be something that stupid makes me want to take a break for a few days lol...

sorry for all the stupid questions/problems lately...

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #126 on: March 24, 2011, 06:26:14 PM »
0
Hey no worries. Just don't forget the tools that are out there.

Typically when something isn't working the way I think it should, I'll run the syntax checker on it.  90% of the time, I've done a typo or some other non-sense.

But don't worry posting questions, I don't mind answering whatever you've got to ask.

My documentation isn't the greatest with these, so these are kinda hard to get used to.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline The Reaper

  • Jr. Member
  • **
  • Posts: 42
  • Activity:
    0%
  • Reputation Power: 1
  • The Reaper has no influence.
  • Respect: +14
  • Referrals: 1
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #127 on: June 05, 2011, 06:10:34 AM »
0
Really quick question, would this work for registering variables, I'm wayyyy to lazy to type out all 25 x 64 x 4 possibilites :S

Code: [Select]
for %TR_rune 1 64
    {
    for %TR_no 1 25
        {
        if %TR_x_ , %TR_rune , _ , %TR_no <> n/a
           {
           gosub TM_NGFS_RegisterVariables TheReapers_Log_Harvester std std TR_x_ , %TR_rune , _ , %TR_no TR_y_ , %TR_rune , _ , %TR_no TR_z_ , %TR_rune , _ , %TR_no TR_tt_ , %TR_rune , _ , %TR_no
           }
        }
    }
gosub TM_NGFS_SaveVariables TheReapers_Log_Harvester

Now I understand that the "%" wouldn't normally appear in this gosub command, however, I'm using it to construct the variable name. So set of variables that would be called would be: "TR_x_1_1" "TR_y_1_1" "TR_z_1_1" and "TR_tt_1_1"
Next set would then be: "TR_x_1_2" "TR_y_1_2" "TR_z_1_2" and "TR_tt_1_2"
Until we reach: "TR_x_64_25" "TR_y_64_25" "TR_z_64_25" and "TR_tt_64_25"
I know it's a hell of a lot of variables, but when I've finished there will only be about 300, as not every tile will need to be recorded, instead of 6400 :P

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #128 on: June 05, 2011, 07:03:39 AM »
0
That should work fine.  I'd split up that one registervariables into individual lines just to help read and if you need to add more, then it's easier:

Code: [Select]
             gosub TM_NGFS_RegisterVariables TheReapers_Log_Harvester std std TR_x_ , %TR_rune , _ , %TR_no
              gosub TM_NGFS_RegisterVariables TheReapers_Log_Harvester std std TR_y_ , %TR_rune , _ , %TR_no
              gosub TM_NGFS_RegisterVariables TheReapers_Log_Harvester std std TR_z_ , %TR_rune , _ , %TR_no
              gosub TM_NGFS_RegisterVariables TheReapers_Log_Harvester std std TR_tt_ , %TR_rune , _ , %TR_no

Anyhow, you're way works fine too, but it just gave me a headache to make sure there were spaces in the line and that it was syntactically correct.  ;)
« Last Edit: June 05, 2011, 07:21:31 AM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline The Reaper

  • Jr. Member
  • **
  • Posts: 42
  • Activity:
    0%
  • Reputation Power: 1
  • The Reaper has no influence.
  • Respect: +14
  • Referrals: 1
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #129 on: June 05, 2011, 07:20:20 AM »
0
Sweet, my logger will be ready for Ter Mur soon then :P

God am I glad I don't have to add 6400 variables :P

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #130 on: July 25, 2011, 10:41:17 PM »
0
Did you get it to work?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Neo

  • Prime Program
  • Elite
  • *
  • *
  • Posts: 821
  • Activity:
    0%
  • Reputation Power: 13
  • Neo barely matters.Neo barely matters.
  • Respect: +155
  • Referrals: 3
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #131 on: August 16, 2011, 03:57:06 PM »
0
This is SO useful, thank you for sharing this... I'm using this in everything I write...

I just need to learn how to delete a saved configuration.... :D

Cheers...

neo
Never refuse an invitation.
Never resist the unfamiliar.
Never fail to be polite.
And never outstay your welcome.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #132 on: August 16, 2011, 03:59:10 PM »
0
I believe you can delete a configuration from the UI application I put together (the viewer).  Anyhow, glad you are getting some use out of them.  I still plan to do a bit more with these as far as features are concerned.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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 Next Generation File System (TM_NGFS)
« Reply #133 on: April 01, 2012, 04:44:21 PM »
0
I have a major revamping of this toolset coming soon.  A few addition to the NGFS, but a major revision to the viewer.  It's now become a full-blown manager allowing you to edit file system entries, copy file systems, delete file system and port NGFS file systems to/from datafiles compatible with the old file-based filesystem.  It's very powerful.  With the ability to filter your view based upon shard/char/FSname, it's easy to view and copy data.

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

Offline Neo

  • Prime Program
  • Elite
  • *
  • *
  • Posts: 821
  • Activity:
    0%
  • Reputation Power: 13
  • Neo barely matters.Neo barely matters.
  • Respect: +155
  • Referrals: 3
    • View Profile
Re: TrailMyx's Next Generation File System (TM_NGFS)
« Reply #134 on: April 02, 2012, 03:20:47 PM »
0
I have a major revamping of this toolset coming soon.  A few addition to the NGFS, but a major revision to the viewer.  It's now become a full-blown manager allowing you to edit file system entries, copy file systems, delete file system and port NGFS file systems to/from datafiles compatible with the old file-based filesystem.  It's very powerful.  With the ability to filter your view based upon shard/char/FSname, it's easy to view and copy data.
Is this true? Or April's fool? hehe...

This revamp would be amazing... Or a very cruel joke haha... :D

Would love to get my hands on something like that !
Never refuse an invitation.
Never resist the unfamiliar.
Never fail to be polite.
And never outstay your welcome.