Scripting clients...

General MajorMUD Discussion
Post Reply
dirtpoor
Posts: 1
Joined: Sat Mar 19, 2011 4:32 am

Scripting clients...

Post by dirtpoor »

Does anyone out there use Zoc? Would it be worth my time I mean, if I started work on a script for it?


"The gods do not protect fools. Fools are protected by more capable fools."
~Larry Niven
"The gods protect none, all you can count on is yourself and your family"
~Emberwood Nimblethorne
User avatar
ODSBBS
Posts: 36
Joined: Sat Jun 30, 2012 12:01 pm
Contact:

Re: Scripting clients...

Post by ODSBBS »

Well I'm not sure about Zoc... but I have repacked the MegaMUD installer program to be more friendly with win7/vista users who have trouble for various reasons... Most problems are fixed installing to the C:\MegaMUD directory for people, but logging on as administrator for your machine always helps many things with security settings.

- added the winterhawk path/data changes for 1.11p
- configured it to use telnet immediately (added ODS BBS info)
- configured for non-pvp bbs (change settings if going to a pvp bbs)
- configured for basic attack/rest to get started easier
- globals configured for ODS BBS (will need to change for others)
- installs desktop shortcut that loads default.ini (copy/edit shortcut for character specific ini files)

also edited the monster database to includ the deed shop owner (Marquis de Bassi) as a friend so people won't go instantly evil upon entering that room and MegaMUD attacking him as a monster... don't know how many people go FIEND instantly on that one.

http://ods.ods.net/MegaMUD.html

So I guess if anyone doesn't already have a copy they can get going without having path and data issues for MajorMUD 1.11p systems... MegaMUD not moving once you're in the game? Check to make sure you have ANSI colors enabled on the BBS, this causes MegaMUD to sit still and do nothing since its looking for colors.

-Matthew


MegaMUD BBS (ODS BBS)
Operation DataStorm BBS
http://bbs.MegaMUD.com
http://ods.ods.net
~ Since 1987 ~
User avatar
Dizasta
Posts: 38
Joined: Mon Nov 13, 2017 2:29 am
Location: Spokane, Washington
Contact:

Re: Scripting clients...

Post by Dizasta »

dirtpoor wrote: Sat Mar 19, 2011 4:53 am Does anyone out there use Zoc? Would it be worth my time I mean, if I started work on a script for it?
I have found but one basic script in my collection for Zoc below. I'm sure you can edit it to your needs and enhance it with your knowledge. Send me a copy of whatever you make to add to my collection :).

MON1='huorn'
MON2='grizzly'
MON3='bloodbear'
MON4='bee'
MON5='imp'
MON6='pixie'
MON7='leprechaun'
MON8='quickling'
MON9='hobgoblin'
mon10='mist'
ATT='mete'
attd='dfir'
ENT='^M'
do forever
result= Zocwaitmux(MON1, MON2, MON3, MON4, MON5, MON6, MON7, MON8, MON9, 'exits:', 'here!', MON10)
SELECT
When result=0 then Call Zocsend att mon1 ent
When result=1 then Call Zocsend att mon2 ent
When result=2 then Call Zocsend att mon3 ent
When result=3 then Call Zocsend attd mon4 ent
When result=4 then Call Zocsend att mon5 ent
When result=5 then Call Zocsend att mon6 ent
When result=6 then Call Zocsend att mon7 ent
WHEN RESULT =7 THEN CALL ZOCSEND ATT MON8 ENT
WHEN RESULT=8 THEN CALL ZOCSEND ATT MON9 ENT
when result=9 then return
When result=10 then NOP
When result=11 then call ZOCSEND att MON10 ENT
otherwise
NOP
END
CALL ZOCTIMEOUT 12
result= Zocwaitmux('You gain', 'Your command had no effect.', 'fumble', 'here!')
select
When result=0 then call zocsend ENT
When result=1 then call zocsend ENT
When result=2 then call Zocsend ENT
When result=3 then call Zocsend ENT
otherwise
return
END
END


Post Reply