When you run a Ruby script, the first thing that happens is the entire file getting scanned so that any method or class defs can be stored for later use. So when you start the script, first the old...
Type: Posts; User: Shaelun
When you run a Ruby script, the first thing that happens is the entire file getting scanned so that any method or class defs can be stored for later use. So when you start the script, first the old...
Unless Tillmen changed Lich to sandbox scripts specifically so that they can't redefine core methods, it would be easier to just alias "fput()" to "_fput()" or "original_fput()" or something and...
Damn; it suddenly hit me in the middle of something totally unrelated that what I provided won't work properly unless the mana is consistently available to activate the signs in descending order as...
Yeah, well, that certainly isn't me... I don't even script in GS for the scripting program I wrote anymore, let alone anybody elses. Still, the parts you have are enough of a "how-to" for me to feel...
Just a suggestion... you probably really want a pause in there:
start:
pause 0.1
if(%me.health < %me.maxhealth){
goto blood
...
Wow. Well ain't that a bitch. It may fix it to evaluate this code (in a ";exec" script if that's still the same in Tillmen's versions or a script you run as usual -- either should work.)
...
I dunno, personally I think that's hilarious. Granted, I've been insulted for thinking MegaTokyo is cute, but whatever :whistle:
The last version of Lich I released, v3.57, is a compiled executable that uses an embedded version of Ruby. Tillmen's versions are Ruby scripts themselves.
More plainly, v3.57 and earlier start...
First thought that comes to mind: open up the task manager (in WinXP hit control-alt-delete, no clue about Vista or Windows 7) and check to see if your CPU usage is spiking. If it is, Lich is...
Old copies of SGE use different information to launch your game programs, and Tillmen's latest version of Lich doesn't check it. The old versions of SGE still log you in fine & dandy though; anyway,...
If you don't know of any good reason that you'd be permanently banned, it's possible that it's just temporary. Assuming it hasn't been changed, I wrote a 24-hour ban (or 12 hours, or something like...
I'm gonna be honest here and just say that I gave up trying to trace the script after 2-3 minutes. I'm assuming you're not sure what the herb = herbs['majorwounds'][area][$times] line is actually...
Since you asked, check out http://www.ruby-doc.org/docs/ProgrammingRuby/html/ref_c_string.html#String.scan for details on how scan works.
I'm not sure if it's still available with Tillmen's...
As an aside, code is really ugly and hard to follow when not enclosed in '[ code ] (stuff goes here) [ / code ]' brackets (strip out the spaces and the code would be in a "code" box without having...
I wish I knew what to tell you... I just tested the code in IRB (Interactive Ruby, it's a Ruby shell [basically]), and it should work just fine:
irb(main):001:0> def checkmind; "old...
I hate dealing with the inconsistencies between SF and Wizard... try this:
line = matchafter("In the [^,]+ you see", "There is nothing in there.")
if line.empty? or line.nil?
# There's...
No, it isn't dead, but its only developer doesn't have anywhere near the amount of free time he did when he originally wrote most of the program.
Perhaps it will help explain this list of "quite a...
Just make a zip of StormFront's directory, email it to yourself, and after you reinstall SF, download the zip file and replace all your files with it. Should work fine.
Please note the strong...
Odd... offhand it sounds like the glib DLL isn't compatible. What's that mean, you may ask -- a DLL file is a DynamicLinkLibrary file. It's code just like any other program's .exe file, but it's in...
My thoughts precisely.
Use a second hash with the character name as the key for the first hash, and "lootsack" (or whatever) as the key for the second hash. It would require a little extra checking to make sure you don't...
The "watchfor" code is still in the project, but if memory serves I disabled them... quite frankly I can't even remember why. Some bug or problem that I put off until later; as it turned out,...
Same idea, extra word in the command:
start_wizard_script("scriptName")
The "insecure operation" error is showing up because the script is attempting to access a file on the hard drive. ...
Offhand, it looks as though SF has a stream devoted to whatever your STOW container is set to. It appears (and I stress appears) to be working off of that.
Try changing your stow container and...
You may well be right, and ultimately since most people use Lich in Windows, it's pretty much a moot point.
There's a number of places in Ruby's eval.c where it makes reference to native threads,...