PDA

View Full Version : Psinet and lich?



Androidpk
05-22-2009, 11:11 AM
I keep seeing threads about those two things and I have to admit I have no idea what they are or do, could someone explain? Are they something I should be using?

Dhuul
05-22-2009, 11:13 AM
They're auxilary programs for enhancing your GayStone experience. PsiNet is for extra features, global OOC communication, tons of other stuff someone else can explain...Lich is primarily for scripters and has even more specialized features.

Cido
05-22-2009, 11:26 AM
Lich is primarily for scripters and has even more specialized features.

Go on. :)

Dhuul
05-22-2009, 11:33 AM
we have a subforum for Lich discussion :)

http://forum.gsplayers.com/forumdisplay.php?f=104

simple things make Lich a lot better than Simu's normal scripting engine. Like grabbing variables from game output.

keep in mind this isn't real code but, when you see something like this

Bobmuhthol gives you 1000 coins.

you could set up Lich to respond to this

[Y] gives you [x] coins.

you can use that x variable. With Stormfront and Wizard FE, you cannot do something like this:

drop [x] coins
slap [Y]
'cheap bastard

Androidpk
05-22-2009, 11:34 AM
Does lich help write scripts or something like that? I don't use a whole lot of scripts but I just started using the taxi script recently and it has been amazing to use.

Dhuul
05-22-2009, 11:35 AM
yeah, with the expanded variables and everything else, it makes flow control much easier..also results in less time spent copying and pasting pretty repetitive stuff into scripts

Morrff
05-22-2009, 12:13 PM
Does lich help write scripts or something like that? I don't use a whole lot of scripts but I just started using the taxi script recently and it has been amazing to use.

Dude goto FTW

Lich does not really help write scripts as much as it provides an easier scripting canvas. Lich has some REALLY nice scripts that come in it's repository.

Lich has built in features that enable you to script(even the novice) with ease for even the complicated round abouts.

Lich does NOT max your CPU while running 1 script let alone 50!

I cannot even express what Lich has done for my gaming since I've used it. I couldn't go back to without it. That and psinet spoiled me.

Oh and if you're running XP and want to run SGE/Psinet/Lich it's easy and nothing really conflicts with each other from my experience.(EXCEPT the newest version, psinet sage cannot get the update to take)

If you are running windows XP and need some direction to either fix installing or help initial install shot me a PM and I'll send you what has worked for me and it's easy.

Donquix
05-22-2009, 01:25 PM
New psinet works fine with lich, there is a fairly specific install order.

stormfront/launcher -> lich -> use install to registry link in lich folder twice -> psinet (make sure you install psinet into a folder with no spaces, will cause lich to error) -> win

The new psinet scripting engine is being worked on by Jamus as well.

Bhuryn
05-22-2009, 02:58 PM
psinet is amazing.

loop:
put goto 1114
waitfor following you.
goto loop

4 lines instead of tons of child escort scripts =).

I just started using alias more and have been getting addicted to them as well. I wish you could define global aliases though.

I'd love to use lich too, but I can't get it to work. I follow the directions exactly and it never seems to call lich when I login. I even did what the FAQ said to fix this problem and it still doesn't work.

Donquix
05-22-2009, 03:12 PM
What's the error you get?

you also might want to change that script to STEPTO instead of GOTO :-P

Bhuryn
05-22-2009, 03:28 PM
What's the error you get?

you also might want to change that script to STEPTO instead of GOTO :-P

ah, yeah stepto =P I just typed it out quick. I don't get any errors at all, it says absolutly nothing about lich at all when i login.

I'll have to try it again tonight. I've uninstalled, reinstalled, blah blah.

Donquix
05-22-2009, 05:21 PM
so you login fine but just nothing with lich?

That would be something was up with the install at some point and lich isn't even getting called. if i had to guess i'd say lich wasn't installed to the registry correctly, when you get to that step make sure you do the install to registry thing a couple times, for some reason sometimes you have to to get it to apply correctly.

Bhuryn
05-22-2009, 06:14 PM
so you login fine but just nothing with lich?

That would be something was up with the install at some point and lich isn't even getting called. if i had to guess i'd say lich wasn't installed to the registry correctly, when you get to that step make sure you do the install to registry thing a couple times, for some reason sometimes you have to to get it to apply correctly.

Yeah, I missed that the first time, I finally got that part ot work but it still doesn't seem to call it. I haven't tried since Psinet was updated, I'll have to give it another shot.

Gibreficul
05-23-2009, 07:04 AM
Go on. :)

Hey Cido, since I ripped you in the other thread, I'll toss you a bone over here.

I have used, but don't regularly or currently use psinet...

Psinet's main features:

The chat feature, with seperate channels, and private chat ability
Inventory sorting
voodoo (it's a type of typo-correction, if I recall)
aliases
atlas (which I'm being told is slightly better than I originally thought. I'd have to test the STEPTO command to make an honest evaluation.)
counters
auto spellup and spell tracking
the library (I really do miss that part of psinet)
spell-shorts

Now, I rag on psinet a bit, but it's not a terrible program. For my purposes, it's just not adequate. It gives players who don't often script some really handy extras to simplify and enhance their gaming.



Lich's main features:

Scripts.... because that's basically all it does. It has a single channel chat, with private chat ability. It comes with a plethora of scripts, and access to a server based list of user uploaded scripts. These scripts can do anything from creating and modifying SF info windows to spelling up, moving and hunting, to scraping web sites for information. The infomonitor.lic script is the majority of the brains of Lich. It tracks information like your skills and stats, and spell durations, all of which is accessible from within any other running script. I personally have scripts I regularly use for....

spelling up, and keeping my spells up once they melt
picking up loot and stashing it (constantly running, pulls info from the line after you search a critter)
a goto script, and modifications of it for doing escort and child rescue tasks
calculating max locks/traps and picking boxes
hunting multiple character groups
forging/crafting/fletching
calculating CS based off of current skills/stats set
calculating how much mana will be gained per pulse
selling gems/pawnshop items/alchemy items
healing scripts
surge/shadowmastery/combatfocus/combatmovement refreshing scripts

I could go on for a while... but the beauty of it all is, you have an open gateway into all of the information the game passes to your front end. (This includes mana, health, injuries, experience, stamina, spirit, objects, players, and NPCs in the room, everything.) This is because scripts can be set to grab the XML instead of the front end output, which is very useful for making scripts that automatically update, such as the script that modifies the experience window in SF and adds a few lines of information to it.


The downside to Lich is the learning curve. It is not nearly as user friendly as psinet. It took a bit for me to be comfortable with the syntax of using a real programming language after doing SF scripts for so long. Lich, because it's basically just Ruby with some add-ons, takes full use of Regular Expressions (regexps) which is a standard used in programming languages for matching text data. Google it if you're not familiar with them.

I run 3 accounts at a time... and the addition of Psinet to the mix really seemed to slow me up. In addition, a lot of the neat little features of psinet really angered the Lich script gods. I manually disabled most if not all of the features of psinet to right the script problems. Since I disabled most of psinet to keep my Lich working, I just removed it. I like and miss the library. <shrug>

Hmmmkay, that's about it for now... I hope this helped.


As for the Lich problem...

Make sure... make double and triple sure.... that neither Psinet's nor Lich's directory has any spaces in it. This includes nesting it inside of "program files" because... that's right, that directory has a space in it. Make sure the install order is SF/Lich (install to registry twice) and then psinet. I gave psinet another whirl after the recent update, after having Lich already successfully installed. Lich is installed in C:\LichProject and Psinet was installed into C:\Psinet.

Both the install and uninstall of psinet went 100% smooth. Kudos to Brian on that.


Ok, now that is all....

Gibreficul

Buy my lockpicks, they're PRETTY!
www.playershops.com/gibreficul

Donquix
05-23-2009, 12:49 PM
actually you can have LICH in a directory with a space, it's just if psinet is in a directory with a space that it blows up. My lich is in the default c:\program files\lich, but if psinet is in program files\psinet then it has problems. Lich will error out when handing over to psinet after launching it self.

they're just very different beasts. The comparison will be more valid once the sagescript is implemented. Which again, a very very nice feature of lich is that it uses a pre-existing language that a lot of people will already know. But, Jamus isn't just reinventing the wheel for gemstone. He's working on the language he's using for other things and it's being released as a seperate project and it just happens it's going to be used for psinet.