[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Force commands?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Force commands?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Kalados   (17 posts)  [Biography] bio
Date Mon 16 Nov 2009 03:26 PM (UTC)  quote  ]

Amended on Mon 16 Nov 2009 03:39 PM (UTC) by Kalados

Message
Figured it out. Thanks for the help :)
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Mon 16 Nov 2009 03:20 PM (UTC)  quote  ]
Message
... and that might explain why the mob wasn't able to 'get' the item, earlier. :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Mon 16 Nov 2009 02:10 PM (UTC)  quote  ]
Message
Ok, that means the level of the object is higher than the level of the mob. It must be equal to or less than the mobs level. Change either the object or the mob's level.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Mon 16 Nov 2009 08:37 AM (UTC)  quote  ]
Message
Ok, I can give it to the mob with the give command and make him wear it with force mob wield item, but It says he is inexperienced, and I dont see any where in this hernes building guide on how to set mob skills or weapon types it uses.
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Mon 16 Nov 2009 06:01 AM (UTC)  quote  ]
Message
[limit] = the # of objects you want to give to the mob. Not sure if it defaults to 1 if not specified.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Mon 16 Nov 2009 03:26 AM (UTC)  quote  ]
Message
[ ] means it's optional.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Mon 16 Nov 2009 03:03 AM (UTC)  quote  ]
Message
What do you put in the [Limit] Field?
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Sun 15 Nov 2009 10:17 PM (UTC)  quote  ]
Message
SmaugFuss help files said:
RESETCMDS RESETCOMMANDS~
Syntax: reset edit <number> <commands>
Syntax: reset insert <number> <commands>
Syntax: reset add <commands>

Commands:
GIVE <object vnum> [limit] gives object to last loaded mobile
EQUIP <object vnum> <position> [limit] equips object on last loaded mobile

You don't need to force the mob to pick up items.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Sun 15 Nov 2009 08:06 PM (UTC)  quote  ]
Message
You can switch into the mob and get item to see what it's telling the mob.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Sun 15 Nov 2009 08:04 PM (UTC)  quote  ]
Message
Yeah that was a typo.

Both the mob and the item are level 20, and its just the item and the mob in the room, ive tried all the keywords and its full name

force mob get long sword
force mob get long
force mob get sword

Nothing. :/
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Sun 15 Nov 2009 07:58 PM (UTC)  quote  ]
Message
Kalados said:
I have my mob and object in the room im in.

Trying to force the mob to pick up and wield the object, using
force get all, which doesnt work.


Is that exactly what you typed? The force command syntax is force <character> <command>. So 'force guard get knife' would make the guard pick up the knife. (You seem to have left out the <character> part.)
What message are you getting when you say it doesn't work?

Also, when you say "all" are you trying to get it to pick up more than one item? As Zeno said, maybe it's too many items. Try one at a time.

Kalados said:
But I'm trying to figure out how to Equip the mob with my items so I can set my resets.

You can just give the mob the item.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Sun 15 Nov 2009 07:43 PM (UTC)  quote  ]
Message
Then either the mob has full inven, the item level is too high, or something along those lines.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Sun 15 Nov 2009 07:36 PM (UTC)  quote  ]
Message
Hmm still not working. Is there any other way to get items onto mobs?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sun 15 Nov 2009 07:29 PM (UTC)  quote  ]
Message
If you don't use 'get all' but rather 'get <object>', does that work? I've seen bases where mobs can't 'get all'.

You could also try looking at do_get in your code to see if it places restrictions on NPCs using the command.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Sun 15 Nov 2009 07:21 PM (UTC)  quote  ]
Message
That works, and so does force mob say hi

But I'm trying to figure out how to Equip the mob with my items so I can set my resets.

Force seems to be the only way, and I can't find a command to make him pick it up.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,169 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]