Jump to content
  • 0

help error whenever i add.


Michael D.

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   0
  • Joined:  10/28/12
  • Last Seen:  

what cause this error ?

1256-91364.jpg

my accessoryid.lua

ACCESSORY_blue_black_wings = 891,
ACCESSORY_golden_black_wings = 892,
ACCESSORY_green_black_wings = 893,
ACCESSORY_pink_black_wings = 894,
ACCESSORY_red_black_wings = 895,
ACCESSORY_lightblue_fly = 906,
ACCESSORY_little_fly_pink = 907,
ACCESSORY_orange_fly = 908,
ACCESSORY_snow_fly = 909,
}

and accname

[ACCESSORY_IDs.ACCESSORY_blue_black_wings] = "_blue_black_wings",
[ACCESSORY_IDs.ACCESSORY_golden_black_wings] = "_golden_black_wings",
[ACCESSORY_IDs.ACCESSORY_green_black_wings] = "_green_black_wings",
[ACCESSORY_IDs.ACCESSORY_pink_black_wings] = "_pink_black_wings",
[ACCESSORY_IDs.ACCESSORY_red_black_wings] = "_red_black_wings",
[ACCESSORY_IDs.ACCESSORY_light_fly] = "_light_fly",
[ACCESSORY_IDs.ACCESSORY_little_fly_pink] = "_little_fly_pink",
[ACCESSORY_IDs.ACCESSORY_orange_fly] = "_orange_fly",
[ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly",
}

DO I HAVE TO UPPERCASE THEM ALL ??

Edited by M.Zack
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

You should, but the problem seems like it's cause of this:

ACCESSORY_lightblue_fly = 906,

and

[ACCESSORY_IDs.ACCESSORY_light_fly] = "_light_fly",

They don't match.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   0
  • Joined:  10/28/12
  • Last Seen:  

is it ok to uppercase them all ???

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2347
  • Joined:  10/28/11
  • Last Seen:  

inside LUA / LUB .... the very last data you add....shouldnt have a comma in the behind...

change both

ACCESSORY_lightblue_fly = 906,
[ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly",

into

ACCESSORY_lightblue_fly = 906
[ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly"

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   0
  • Joined:  10/28/12
  • Last Seen:  

inside LUA / LUB .... the very last data you add....shouldnt have a comma in the behind...

change both

ACCESSORY_lightblue_fly = 906,
[ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly",

into

ACCESSORY_lightblue_fly = 906
[ACCESSORY_IDs.ACCESSORY_snow_fly] = "_snow_fly"

thanks emistry.

another question do you know what i will put in my script so i can detect cloaked,hidden players when i will equip this items ???

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2347
  • Joined:  10/28/11
  • Last Seen:  

trunk/doc/item_bonus.txt

bonus bIntravision,n;   Always see Hiding and Cloaking players/mobs (n is meaningless)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   0
  • Joined:  10/28/12
  • Last Seen:  

tnx Problem Solved :)

+1 /no1

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...