Open storageauto_npc morocc 156 97

Indonesia

Moderator: Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) maybe outdated. Read the wiki for instructions on how to update those information and please contribute when you obtain them. Contact Cozzie to join the team as a regular server supporter.
Message
Author
tristanIII
Noob
Noob
Posts: 12
Joined: 25 Mar 2014, 10:49
Noob?: No

Open storageauto_npc morocc 156 97

#1 Post by tristanIII »

My bot can not open the storage in morocc 156 97 or moc_ruins 59 157
Below is my convig for storageauto.

Code: Select all

itemsTakeAuto 1
itemsTakeAuto_party 0
itemsGatherAuto 2
itemsMaxWeight 45%
itemsMaxWeight_sellOrStore 45
itemsMaxNum_sellOrStore 99
cartMaxWeight 7900
itemsTakeAuto_new 0

Code: Select all

saveMap morocc
saveMap_warpToBuyOrSell 1
saveMap_warpChatCommand

Code: Select all

storageAuto 1
storageAuto_npc morocc 156 97
storageAuto_distance 3
storageAuto_npc_type 3
storageAuto_npc_steps c r1 r0 n
storageAuto_password 1234
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 0
minStorageZeny 500

npcTimeResponse
Some body please make my bot can opened his storage at Morocc.

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: Open storageauto_npc morocc 156 97

#2 Post by 4epT »

open storage via console commands (talk, talk resp) and show log
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

tristanIII
Noob
Noob
Posts: 12
Joined: 25 Mar 2014, 10:49
Noob?: No

Re: Open storageauto_npc morocc 156 97

#3 Post by tristanIII »

open storage via console commands (talk, talk resp) and show log
/?
*****
/...
:cry:

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: Open storageauto_npc morocc 156 97

#4 Post by 4epT »

what's this?
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

tristanIII
Noob
Noob
Posts: 12
Joined: 25 Mar 2014, 10:49
Noob?: No

Re: Open storageauto_npc morocc 156 97

#5 Post by tristanIII »

Adding Custom Commands
Plugins can add new commands.

Registering of new commands (can be used outside of subs in a plugin):

my $commands_handle = Commands::register(
['command_name', 'command description', <code_reference>],
...
)
Where:

$commands_handle is a scalar variable to hold obscure content used for unregistering
command_name is a command
command description is a description for user
code_reference is a Perl coderef for a command handler, can be for example a reference to the existing sub \&sub_name or lambda sub { ... }
Command handler is called with two arguments: command name and the rest of the string (command arguments).

Unregistering of commands (should be used in plugin's reload/unload handlers):

Commands::unregister($commands_handle)
Example
# very simple plugin which adds echo command which just prints its arguments to the console
package echo;
use strict;
my $commands = Commands::register(['echo', 'print to the console', sub { Log::message "$_[1]\n" }]);
Plugins
I get it in http://www.openkore.com/index.php/Categ ... le_Command
but iam not really anderstand what it is, or where i have to put this code.
Should i put in config, or, mons_control, or items_control, or what?
consol command is a new ones for me.

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: Open storageauto_npc morocc 156 97

#6 Post by 4epT »

just write in the console: "nl"
then "talk №"
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

tristanIII
Noob
Noob
Posts: 12
Joined: 25 Mar 2014, 10:49
Noob?: No

Re: Open storageauto_npc morocc 156 97

#7 Post by tristanIII »

Hai 4epT,
just write in the console: "nl"
then "talk №"
What is you mean console? is this mean openkore window?

Actualy my bot was succses to open his storage at morocc 156 97 with distance 1 beside the Kafra, steping to open, open storage, pay abaout 60 Z, but items still in his infentory, more awg still make the issue.

i was seting item in items_cotrol to

Code: Select all

< items name> 0 1 0
any sugest?
kind regards.

Post Reply