Author Topic: Disable FreshStuff3 5.0 SP1 requester module  (Read 2128 times)

0 Members and 1 Guest are viewing this topic.

Offline slinky

  • Junior Member
  • **
  • Posts: 16
  • Karma: +1/-0
Disable FreshStuff3 5.0 SP1 requester module
« on: 30 May, 2008, 21:04:21 »
Hello!

I have disabled most requester functions by setting Levels.AddReq, Levels.ShowReqs and Levels.DelReq to 0 in config/requester.lua.

However, "Requests/Fulfill an item..." still appears in hub user's right-click menu.

Can some kind gent please tell me how to disable this option?

Thanks!  ;)

PtokaX forum

Disable FreshStuff3 5.0 SP1 requester module
« on: 30 May, 2008, 21:04:21 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 725
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #1 on: 30 May, 2008, 21:56:10 »
You should rename the file instead so it won't have a .lua extension.
edit: freshstuff\components\requester.lua I mean of course. :)
« Last Edit: 30 May, 2008, 21:59:14 by bastya_elvtars »
Everything could have been anything else and it would have just as much meaning.

Offline slinky

  • Junior Member
  • **
  • Posts: 16
  • Karma: +1/-0
Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #2 on: 30 May, 2008, 22:09:03 »
Thank you very much for the quick reply!  :)

I renamed freshstuff\components\requester.lua extension to luax. I got error messages in Ptokax 0.4.0.0 (could not find requester.lua or requester.dll) and many announce-elements in the hub which I DID want entirely disappeared.

I tried renaming freshstuff\config\requester.lua instead, but then Ptokax would not load the script.

I am pretty sure I followed your instructions correctly. Can you please help some more? :)

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 725
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #3 on: 30 May, 2008, 22:33:34 »
Then you found a bug I think.
Edit: yes, the extension detection is not perfect. Until I fix it, rename to something else that does not start with .lua, e.g. 000 or something like that.
« Last Edit: 30 May, 2008, 22:35:50 by bastya_elvtars »
Everything could have been anything else and it would have just as much meaning.

Offline slinky

  • Junior Member
  • **
  • Posts: 16
  • Karma: +1/-0
Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #4 on: 30 May, 2008, 22:45:10 »
That worked a treat. Thank you very much!!  :D

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 725
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #5 on: 30 May, 2008, 22:48:45 »
I thank you for spotting this bug. :)
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

Re: Disable FreshStuff3 5.0 SP1 requester module
« Reply #5 on: 30 May, 2008, 22:48:45 »