Jump to content
  • 0

getitembound problems?


bearnope246

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  94
  • Reputation:   5
  • Joined:  06/30/16
  • Last Seen:  

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;

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

 

*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

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

Because `account_bound` constant does not exist.

You have to use Bound_Account instead.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...