Jump to content
  • 0

[Error]: buildin_unequip: No item equipped at pos 11 (CID=3/AID=2000006).


DEsMOn

Question


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

Hello everyone..

Need guide to fix this error can any 1 ?

[Error]: buildin_unequip: No item equipped at pos 11 (CID=3/AID=2000006)

 

image.png.586c80378e74978180d6e480f6f7b5b5.png

weaponaccesspvp.txt

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

@DEsMOnThere are much better ways but cuz of time I've just fixed the issues.

 

weaponaccesspvp.txt

 

Rynbef~

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

2 hours ago, Rynbef said:

@DEsMOnThere are much better ways but cuz of time I've just fixed the issues.

 

weaponaccesspvp.txt 2.05 kB · 0 downloads

 

Rynbef~

Thank you so much for the reply.

Let me test will update you ???

Update :- still same. image.png.b56d382f6f53684fe3a9ce54347873ca.png

Edited by DEsMOn
update
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

@DEsMOnidk why u don't use the simplest way. U wanna unequip every equipment. Just use the *nude script command.

weaponaccesspvp.txt

 

Just to say:

U use a lot of unused statements. U try to read the 2nd index (3rd entrie) of the array at OnPCKillEvent but the map array starts with index 0 and only two added.

U don't need to use a switch(select()) for only one entrie. U can shorter it by if(select()) and no need of.case.

If u only have one case u don't need break. Break is for skipping the other cases and jump after the switch statement.

The script could be much shorter and easier to read.

 

@DEsMOnI've restructure, rewritten and fixed the script completely. This was a bit confused. The error could prompt cause u forgotten () or doubled semicolon.

Please try to compare the scripts to learn.

 

//not tested

weaponaccesspvp fixed.txt

 

Rynbef~

Edited by Rynbef
Suggestions
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

On 3/13/2022 at 7:55 AM, Rynbef said:

@DEsMOnidk why u don't use the simplest way. U wanna unequip every equipment. Just use the *nude script command.

weaponaccesspvp.txt 1.11 kB · 2 downloads

 

Just to say:

U use a lot of unused statements. U try to read the 2nd index (3rd entrie) of the array at OnPCKillEvent but the map array starts with index 0 and only two added.

U don't need to use a switch(select()) for only one entrie. U can shorter it by if(select()) and no need of.case.

If u only have one case u don't need break. Break is for skipping the other cases and jump after the switch statement.

 

The script could be much shorter and easier to read.

 

Rynbef~

If i use nude it will remove all i just wanted to remove euips n costumes except Weapon n accessory..

Still same error sir

..

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Does the items strip if u firstly enter the map?

@DEsMOnI've created another version with npc timer instead of OnLoadMapEvent and while loop.

weaponaccesspvp fixed.txt

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

38 minutes ago, Rynbef said:

@DEsMOnI've created another version with npc timer instead of OnLoadMapEvent and while loop.

weaponaccesspvp fixed.txt 1.69 kB · 2 downloads

 

 

I appreciate your efforts sir,

But still its same check the video.

As per Weapon and accessories its working perfect. But can't rid off this error from cmd.

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

@DEsMOnTry this one.

weaponaccesspvp fixed.txt

 

Rynbef~

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

16 minutes ago, Rynbef said:

FINALLYYYYYYYYYYYYYYYYYYYYYYYYYYYY its done... AWESOMEEEEEEEEEEEEEEEEEEEEEEEEEEEE

But u can equip the euip's for while... is there any way players can't wear it when they enter in that map

Display bottom :- You can't wear certain euips in this map 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

@DEsMOnYes. I had to change a bit

Hopefully ur happy ?

weaponaccesspvp fixed.txt

 

Rynbef~

  • Love 1
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...