Author Topic: Requests  (Read 2934 times)

0 Members and 1 Guest are viewing this topic.

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Requests
« on: September 21, 2013, 03:23:52 PM »
I still have a desperate request I've been wanting for a while.  I haven't worked on FHFS at all in a long time but I see now why I stopped!

It would be great if you could make it so that regular variables could be used under [server start] in hfs.events even though they're not tied to a connection.

THANKS!  :)

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #1 on: September 25, 2013, 11:33:54 PM »
"regular" vars live inside the connection.
Why do you need them?
A possible way is to put them in a temporary enviroment that's lost at every execution. I mean, of the single [section]

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #2 on: September 26, 2013, 03:39:47 AM »
I need them because I have a very large chunk of code that is impractical to rewrite.

I don't quite understand your solution, can you elaborate?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #3 on: September 26, 2013, 09:08:25 AM »
Would that work if variables are lost as I said?

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #4 on: September 26, 2013, 02:42:25 PM »
Well yeah, I wouldn't need to keep the variables after the script is complete.  But when does that ever happen? 

Also I didn't understand what you were saying I should do.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #5 on: September 27, 2013, 02:46:10 PM »
But when does that ever happen? 

what?

Quote
Also I didn't understand what you were saying I should do.


you? nothing.
to get it working with current version you should prefix every variable with a #


I'm about to leave for a month, and I doubt i will get it done before i leave.
NY, not very far from you, isn't it? :)
« Last Edit: September 27, 2013, 02:48:15 PM by rejetto »

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #6 on: October 02, 2013, 01:47:13 AM »
Yeah I'm in NY.

I already use #variables like that but I was looking for a way around it.

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #7 on: October 12, 2013, 03:25:37 AM »
So what's the conclusion, can you make it so that regular variables can be used under [start] and [stop] ?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #8 on: October 15, 2013, 01:36:53 AM »
i can try, but as i told you, i'm not home and don't have the stuff with me to work on it.

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #9 on: October 15, 2013, 04:46:19 AM »
Okay.  It's not high priority, I was just wondering  :)

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #10 on: November 03, 2013, 03:15:43 AM »
If you can't do the above, it would also be helpful if you could make a way to unset all global variables after a script has finished.  Could be useful :)

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #11 on: November 06, 2013, 03:26:04 PM »
it's not that. I didn't work on it, i wasn't home for a month. Came back a week ago.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #12 on: November 13, 2013, 11:54:11 PM »
ok, available in #286

Offline raybob

  • Tireless poster
  • ****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: Requests
« Reply #13 on: November 14, 2013, 03:31:49 AM »
Yay!   :D

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: Requests
« Reply #14 on: November 24, 2013, 03:52:04 PM »