Jump to content

Question

Posted

switch (rand(1,6)) {

                        Case 0: getitembound 13005,1,account_bound; break;

                        Case 1: getitembound 13005,1,account_bound; break;

                        Case 2: getitembound 13005,1,account_bound; break;

                        Case 3: getitembound 13005,1,account_bound; break;

                        Case 4: getitembound 13005,1,account_bound; break;

                        Case 5: getitembound 13005,1,account_bound; break;

                        Case 6: getitembound 13005,1,account_bound; break;

The item is not bounded , i can still throw it out :((

(the same item is for test purpose.)

 

Sorry guys, solved by my self.

The bound_typed must be number.

And GM can still trade and throw it out.

1-Account

2-Guild

3-Party

4-character

switch (rand(1,6)) {

                        Case 0: getitembound 13005,1,1; break;

                        Case 1: getitembound 13005,1,1; break;

                        Case 2: getitembound 13005,1,1; break;

                        Case 3: getitembound 13005,1,1; break;

                        Case 4: getitembound 13005,1,1; break;

                        Case 5: getitembound 13005,1,1; break;

                        Case 6: getitembound 13005,1,1; break;

4 answers to this question

Recommended Posts

  • 0
Posted

 

*getitembound <item id>,<amount>,<bound type>{,<account ID>};

*getitembound "<item name>",<amount>,<bound type>{,<account ID>};

This command behaves identically to 'getitem', but the items created will be

bound to the target character as specified by the bound type. All items created

in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in

some cases cannot be traded or stored.

Valid bound types are:

 Bound_Account : Account Bound item

 Bound_Guild   : Guild Bound item

 Bound_Party   : Party Bound item

 Bound_Char    : Character Bound item

  • 0
Posted

To answer your question about GM can trade or drop it yes it can you just need to adjust the settings in group.conf

		can_trade_bounded: true
  • 0
Posted

Valid bound types are:
 Bound_Account : Account Bound item
 Bound_Guild   : Guild Bound item
 Bound_Party   : Party Bound item
 Bound_Char    : Character Bound item

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...