Recently, I encountered an issue with the 'insert_item' command. Now that I've resolved it, I'd love to share the solution for those who might be facing the same challenge.
Here's a simplified guide:
1 - Open the "CaptainHerlockServer" chat box.
2 - Enter the following command: #sv("permission",100,"YourCharName")
3 - Next, in the game's chat box, type: /run insert_item(101102, 1, 10, 1, 2, "YourCharName")
I hope this helps!
Note: Remember to repeat these steps each time you log in.
To be honest, I've spent days looking for a solution to this, or a detailed explanation of how to use this command. When trying to use the #insert_item command in CaptainHerlockServer or the /run insert_item in the game chat, it doesn't work. To fix this, it's necessary to use the #sv command to assign a value of 100 to the permissions for yourself
I'm sorry to ruin your short explanation, but even that way your "YourCharName" is obsolete, since the standard gameserver attaches the receiving character always after the given parameters.
So, even if you use
If you want to add an item to anybody of your choice,
here's a simple bypass you can use - even through gameserver console:
Code:
dlg_special("confirm_window",'insert_item(101102, 1, 10, 1, 2)',"Confirm to get your dumb item", "AnyPlayerName")
for gameserver:
#dlg_special("confirm_window",'insert_item(101102, 1, 10, 1, 2)',"Confirm to get your dumb item", "AnyPlayerName")
For ingame (if you have permission 100):
/run dlg_special("confirm_window",'insert_item(101102, 1, 10, 1, 2)',"Confirm to get your dumb item", "AnyPlayerName")
I just used the example item you wanted to add, you can ofc change item and its attributes the way you want it to.
#insert_item Right Syntax 07/24/2011 - Rappelz - 9 Replies the right syntax for the insert_item function :
#insert_item(ID,howmuch,+,level,flag,"YourNa me")
example :
#insert_item(540100,1,20,10,2,"Strean")
description :
[Help Me]Insert_item work as a creation of the server 07/23/2011 - Rappelz - 3 Replies Hi,
I have a problem with insert_item.
For example when I do this command:
#insert_item(540037, 1, 1, 1, -2147483648, "Oujdi")
It gives me no item.
But it worked very well before the first server startup.
Help me please.
[Help Me] Insert_item does not 07/12/2011 - Rappelz - 3 Replies Hi,
When I type a command in CapitainHerlockServer I do not receive the item.
The command I type is : #insert_item(540037, 1, 1, 1, -2147483648, "Oujdii")
And I've already changed the FRAG
Help ME please