PDA

View Full Version : How to trust scripts?



Tellistto
01-15-2020, 11:04 AM
I am unable to use any script that requires ;trust because the version of ruby installed with the autoinstaller does not support that command. Is there a solution to this?

Macillus
02-15-2020, 07:40 AM
I'm having the same issue.

I'm trying to set up lich with the WFE on Windows 10. When I try to trust any script, I get "--- Lich: this feature isn't available in this version of Ruby "

Running 2.5.5p157

horibu
02-15-2020, 11:55 AM
Using newer versions of LICH and RUBY you no longer need to trust scripts. RUBY trust in v2.0.0 was a false sense of security and was taken out in later versions. What script are you trying to ;trust and what happens when you run it. If you're using a newer version of LICH and new RUBY, you shouldn't need to trust any script anymore.

Macillus
02-15-2020, 05:48 PM
I've been trying to run UberBarWiz to work on the WFE, but I'm getting this:


>;UBW-Theme-SF
--- Lich: UBW-Theme-SF active.
--- Lich: UberBarWiz active.
--- Lich: UberBarWiz has exited.

UberBarWiz is set up as SF mode
You need to learn to embrace change

NOTE:
You don't need to launch this every time you launch UberBarWiz.
This just sets up the files for the first launch.

--- Lich: UberBarWiz active.
--- Lich: UBW-Theme-SF has exited.

Can't find the files I need
Download, trust, and run one of the theme packages from the repository
UBW-theme-sf, -dude or -sexy

n0551n3n0m1n3
02-15-2020, 08:49 PM
You're not starting UberBarWiz.lic...you're starting UBW-Theme-Sf.lic

Macillus
02-15-2020, 10:19 PM
You're not starting UberBarWiz.lic...you're starting UBW-Theme-Sf.lic

Exact same message when I run UberBarWiz.lic:


;UberBarWiz
--- Lich: UberBarWiz active.

Can't find the files I need
Download, trust, and run one of the theme packages from the repository
UBW-theme-sf, -dude or -sexy

--- Lich: UberBarWiz has exited.

Macillus
02-15-2020, 10:23 PM
My version info:



Ruby version........: 2.5.5
Ruby platform.......: i386-mingw32
Ruby engine.........: ruby
Lich version........: 4.6.54
SQLite3 version.....: 1.4.0
Gtk version.........: 2.24.30
Cairo version.......: 1.16.0
;version Version....: 0.3

LICH_DIR............: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich
SCRIPT_DIR..........: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/scripts
DATA_DIR............: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/data
TEMP_DIR............: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/temp
LOG_DIR.............: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/logs
MAP_DIR.............: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/maps
BACKUP_DIR..........: Y:/OneDrive/Documents/GemStone IV/lich-4.6.37/lich/backup
Ruby location.......: C:\Ruby4Lich\bin\rubyw.exe

MapDB filename................: map-1581801664.dat
MapDB last modified...........: 2020-02-15 13:54:20 -0800
gameobj-data last modified....: 2020-02-13 18:58:15 -0800
spell-list last modified......: 2019-08-18 11:44:49 -0700

Running scripts.....: lnet, autovote, sorter, infomon, version
Downstream hooks....: lnet-watch-forage, sorter, fix_gameobj_status
Upstream hooks......: alias-service, lnet, infomon
Current threads.....: 17

Risen
02-16-2020, 12:45 AM
Change all names of the scripts to lower case, and use lower case to start.

Macillus
02-16-2020, 08:49 AM
Change all names of the scripts to lower case, and use lower case to start.

No luck doing this. Same error messages.

n0551n3n0m1n3
02-16-2020, 11:15 AM
One thing I would try, is to follow the lichproject.org instructions. It specifically says DO NOT download Ruby 2.1 or higher. This may have been changed since I downloaded it, but I run Ruby 2.0.0-p648 and rarely have issues(except when I fuck something up).