Author |
Message |
Topic: Question about building a combat bot |
aristotle
Replies: 42
Views: 39518
|
Forum: zMUD General Discussion Posted: Mon Feb 26, 2007 5:16 am Subject: Question about building a combat bot |
Just a quick observation, I'm not sure if it's been covered already (I am definitely not reading all the blahblahblah on here,) but here's an easy out to for the spam kill;
#T- killtrigger {You ba ... |
Topic: Realms of Despair Autoroll / Reroll |
aristotle
Replies: 0
Views: 10534
|
Forum: Finished MUD Scripts Posted: Sun Feb 25, 2007 3:06 am Subject: Realms of Despair Autoroll / Reroll |
Here's the fastest way to autoroll on RoD:
Pattern: Your base stats: %s (%d)%sstr (%d)%sint (%d)%swis (%d)%sdex (%d)%scon (%d)%scha (%d)%slck.
Value:
#VAR strvar %1
#VAR intvar %2
#VAR wisvar ... |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Sun Feb 25, 2007 3:03 am Subject: Something amiss in Autoroll |
All is well now, posting code in finished forum |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Sat Feb 24, 2007 4:02 am Subject: Something amiss in Autoroll |
"Why even go to all that trouble? Just complete the pattern from "Your base stats:". In this case, you don't even need to bother with #CONDITION."
Without #condition, the trigger doesn't check st ... |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Sat Feb 24, 2007 2:51 am Subject: Something amiss in Autoroll |
bah. something is still amiss.
The trigger seems to be working fairly well, but it is definitely passing w/o meeting all requirements. When I figure out what's wrong, I'll posit it. Here it is if ... |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Sat Feb 24, 2007 1:34 am Subject: Something amiss in Autoroll |
Fixed everything; thanks for all the advice. here's the new trigger (very, very easy)
#Trigger {You report: (%d)/(%d) hp (%d)/(%d) mana (%d)/(%d) mv (%d) xp.} {}
#Trigger {You have %d gold} {rerol ... |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Fri Feb 23, 2007 10:15 pm Subject: Something amiss in Autoroll |
That's a great idea. Just wonder how I define each (%d) though?
#condition {Your base stats: (%d) str (%d) int (%d) wis (%d) dex (%d) con (%d) cha (%d) lck.} {}
That's the line I'll use, I don' ... |
Topic: Something amiss in Autoroll |
aristotle
Replies: 11
Views: 15067
|
Forum: zMUD General Discussion Posted: Fri Feb 23, 2007 9:06 pm Subject: Something amiss in Autoroll |
Here's the code I'm working with for my autoroll trigger. The problem arises when I report, the trigger fires on "you report" before checking the stats. Any ideas?
#CLASS {stats}
#VAR dstr {}
# ... |
|