Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Zasperl
Newbie


Joined: 16 Aug 2006
Posts: 3

PostPosted: Wed Aug 16, 2006 4:03 pm   

Scripting.. where do I start?
 
First post!

Anyway, to the point.

I play a mud called Discworld, its an LP mud, dunno if that helps. I am going to write a few scripts ect and would like to eventualy script a bot but I guess I should learn to crawl before I can walk! I am clueless, the closest thing I have done to this before is write the scripts for dungon keeper custom maps.. and that was years ago lol.
Can anyone point me in the derection of any useful articals or help files please? Any information would be greatly apreshated.. And before anyone says it I have searched the forums for completed scripts and what not but really did not understand alot of what I was looking at.

Thanks in advance.

Z.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Wed Aug 16, 2006 5:12 pm   
 
There's a lot of good resources at http://forums.zuggsoft.com/library/

Recommended reading:
1. http://forums.zuggsoft.com/library/book1/features.htm
2. http://forums.zuggsoft.com/library/book2/triggers.htm
3. http://forums.zuggsoft.com/library/book3/speedwalking.htm
4. http://forums.zuggsoft.com/library/book5/programming.htm
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Aug 16, 2006 5:17 pm   
 
Just so you know, Discworld has policies reguarding scripting pretty much to the point of disallowing it all together, due to the fact that you get xp just for sitting there.

Its a great mud, but if you try to bot it it is just a matter of time before you get caught and banned.

However you can use cosmeting scripts, gauges for display, gagging excess texts, and whatnot, they just don't want any commands sent to the mud without a user.
_________________
Discord: Shalimarwildcat
Reply with quote
Ceres
Wanderer


Joined: 25 May 2006
Posts: 88

PostPosted: Wed Aug 16, 2006 7:20 pm   
 
You can write a bot however it needs to be very sophisticated so as not to draw attention to itself such as:

1. Multiple checks upon NPCs/players in rooms.
2. Randomisation of input times and also sporadic 'idle' periods of varying lengths.
3. Strong checks against being spoofed by creators.

These of course are reliant upon you first being able to deal with the many varied stances an NPC/Player can be in when you enter a room, titles (of players), surnames, etc.

Good luck .. it will take you a good few years studying the often changing game world and quite a while to learn enough code to accomplish all these =)

Clearly I am not speaking from experience Twisted Evil
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Aug 16, 2006 7:24 pm   
 
Aren't you a coder there Ceres? :p
_________________
Discord: Shalimarwildcat
Reply with quote
Ceres
Wanderer


Joined: 25 May 2006
Posts: 88

PostPosted: Wed Aug 16, 2006 7:27 pm   
 
The correct title is Trustee Twisted Evil
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Aug 16, 2006 7:30 pm   
 
I wasn't asking about a title :p
And can I take your post to mean that I AM allowed to try and bot DW without consequences?
_________________
Discord: Shalimarwildcat
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Wed Aug 16, 2006 7:43 pm   
 
I'm only interested in the part that said: "you get xp just for sitting there"
Being the idle king that I am i should be ranked #1 in no time!
_________________
http://www.Aardwolf.com
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Aug 16, 2006 7:47 pm   
 
there is an idle timer as well... its like 3 xp per pulse and if you do nothing you idle out in 15 or so minutes.
_________________
Discord: Shalimarwildcat
Reply with quote
Ceres
Wanderer


Joined: 25 May 2006
Posts: 88

PostPosted: Wed Aug 16, 2006 7:55 pm   
 
shalimar wrote:
I wasn't asking about a title :p
And can I take your post to mean that I AM allowed to try and bot DW without consequences?


You can Bot there as much as you want as far as I am concerned however the other person who is using my name in Discworld might not be of the same opinion.
Reply with quote
Zasperl
Newbie


Joined: 16 Aug 2006
Posts: 3

PostPosted: Thu Aug 17, 2006 7:38 am   
 
Ceres was a greek god or somthing like that, the great architect. Alot of the cres and NPC's are named after them, or just people in mythology. (ok I cannot spell) Take Althea for example.

And also to sum up;

1. Multiple checks upon NPCs/players in rooms. - Yeah, I have the general idea how this works, just need to sit down and start playing with the code.
2. Randomisation of input times and also sporadic 'idle' periods of varying lengths. - combat should surfice as an idle time when no commans are sent to the mud. I think. Maybe setting up two or three wait timers that go off when certain flags are reached? Dunno.
3. Strong checks against being spoofed by creators. - lol. "blah starts snooping you" - very hard to spot. I am sure they have other ways of looking at your command input and what not, but the best way not to get caught is dont use any sort of tick timmer, something that dose the same command at the same time every * seccons. also when making a killing loop make serveral that overlap and are almost the same but slightly diferant so that it looks like you are doing the same area but change how you move about it 3 - 4 times then start back at the beginning. The other problem would be people reporting myself. Earmufs (these block everything you tell them too) could be used to stop comunication (or the lack of it comming out of the bot) with other players and some sort of check to see if there is a player in a room before starting combat to make sure you dont take someones kill. Or it might be esier to check for anything other than what i on the kill list, dunno.

Ok, these are just some light ideas but I dont know if I can be botherd to be honist. I have played the game for about 8 years now and I am just getting lazy and have no current charcter there. I might have a go, I might not.

Z.
Reply with quote
Zasperl
Newbie


Joined: 16 Aug 2006
Posts: 3

PostPosted: Thu Aug 17, 2006 2:32 pm   
 
Bah, Ill just manual it, make some sound triggers and the such, try and make the game more intresting.

Z.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net