PDA

View Full Version : 735



yagan
09-21-2015, 09:01 PM
735 had not been tracking for me lately this is what i get when trying to begin the week

ens begin
[735: You are gaining energy again.]
--- Error: sf_to_wiz: undefined method `scan' for #<Proc:0xfd70d00@735:234>
$_SERVERSTRING_: Please rephrase that command.

any help would be great

phalen33
09-22-2015, 02:02 AM
What version of ruby are you using to run lich? Go to your lich directory, bring up the temp directory, and open one of your debug files. You should see a line that says info: Ruby 2.0.0. If you see anything other then 2.0 something then you are on the wrong version of ruby.

Tgo01
09-22-2015, 02:19 AM
Sorry, that's my script. Yeah let me know if you're using the latest version of Ruby and Lich.

Does the script exit after you get that error?

Tillmen
09-22-2015, 02:37 AM
You need to switch lines 236 and 237; and 266 and 267. The DownstreamHook proc is returning a proc instead of nil (or a string), which the sf_to_wiz method is choking on.

Tgo01
09-22-2015, 02:59 AM
You people and your desire for perfect scripts! Why back in my day we did all of our coding on punch cards. And we liked it!

I went ahead and did the changes Tillmen suggested though and uploaded a new version.

Candor
09-22-2015, 03:46 AM
You people and your desire for perfect scripts! Why back in my day we did all of our coding on punch cards. And we liked it!

But did you have a college class where you had to retype hundreds of your punch cards because the indentation was wrong?

yagan
09-22-2015, 11:47 AM
Made sure both ruby and lich are up to date. Everything but keeping track of kills seems to be working right. Have tried ens on and ens begin both look right.

Soulance
09-22-2015, 12:02 PM
But did you have a college class where you had to retype hundreds of your punch cards because the indentation was wrong?
I'm guessing he stayed at a Holiday Inn though.

Candor
09-22-2015, 02:47 PM
I'm guessing he stayed at a Holiday Inn though.

How to piss off 200 people in an Engineering building at a college during the late 1970s:

1. Find out when the due date is for a programming project for the Programming 101 class.
2. The night before, after midnight when only a single card reader is available, haul up your 4000 card program up to the card reader.
3. Start feeding in the program. It will take 15 minutes or so to complete.
4. Smirk at the several dozen people waiting in line to read their 150 card programs.
5. Jam up the reader with a bad card at the 3500 card point.
6. Run like the wind.

Androidpk
09-22-2015, 02:55 PM
Magic cards?