Jump to content
  • 0

"Useable" Items not working


Geowil

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  03/27/18
  • Last Seen:  

Hello, I am facing an issue with some items from my old server circa 2009-ish.  I have consulted the doc files for certain fields in the item_db_re table but everything seems to be correct.  These useable items have scripts on them but I don't think these are even firing as the items are not being used and I have not seen any errors in the map server upon trying to use them.  Below are the database records for these items.  I will describe each item type below.

	57000,'Ami_EM','Amistr Embryo',2,2,0,0,0,0,0,0,134217727,7,2,0,0,1,0,0,'getitem 57000,1; set $@homunsummoned,2; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57001,'Ami2_EM','Amistr 2 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57001,1; set $@homunsummoned,6; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57002,'Ami3_EM','Amistr 3 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57002,1; set $@homunsummoned,10; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57003,'Ami4_EM','Amistr 4 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57003,1; set $@homunsummoned,14; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57004,'Fil_EM','Filir Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57004,1; set $@homunsummoned,3; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57005,'Fil2_EM','Filir 2 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57005,1; set $@homunsummoned,7; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal"';,'',''
57006,'Fil3_EM','Filir 3 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57006,1; set $@homunsummoned,11; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57007,'Fil4_EM','Filir 4 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57007,1; set $@homunsummoned,15; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57008,'Lif_Embryo','Lif_Embryo',0,2,1,10,0,0,0,0,134217727,7,2,0,0,1,0,0,'getitem 57008,1; set $@homunsummoned,1; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57009,'Lif2_EM','Lif 2 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57009,1; set $@homunsummoned,5; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57010,'Lif3_EM','Lif 3 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57010,1; set $@homunsummoned,9; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57011,'Lif4_EM','Lif 4 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57011,1; set $@homunsummoned,13; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57012,'Van_EM','Vanilmirth Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57012,1; set $@homunsummoned,4; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57013,'Van2_EM','Vanilmirth 2 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57013,1; set $@homunsummoned,8; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57014,'Van3_EM','Vanilmirth 3 Embryo',2,0,0,0,0,0,0,0,4294967295,7,2,0,0,1,0,0,'getitem 57014,1; set $@homunsummoned,12; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
57015,'Van4_EM','Vanilmirth 4 Embryo',2,2,0,0,0,0,0,0,134217727,7,2,0,0,1,0,0,'getitem 57015,1; set $@homunsummoned,16; set $@summoner,getcharid(3); donpcevent "summonscript::OnItemSummonGlobal";','',''
58000,'lvl1lds','Level 1 Scroll of Disguise: Lunatic',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise+" Lunatic"; set $@scrolluser,getcharid(3); donpcevent "dscrolls1::OnLevel1";','',''
58001,'lvl2lds','Level 2 Scroll of Disguise: Lunatic',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Lunatic"; set $@scrolluser,getcharid(3); donpcevent "dscrolls2::OnLevel2";','',''
58002,'lvl3lds','Level 3 Scroll of Disguise: Lunatic',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Lunatic"; set $@scrolluser,getcharid(3); donpcevent "dscrolls3::OnLevel3";','',''
58003,'lvl4lds','Level 4 Scroll of Disguise: Lunatic',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Lunatic"; set $@scrolluser,getcharid(3); donpcevent "dscrolls4::OnLevel4";','',''
58004,'lvl1pds','Level 1 Scroll of Disguise: Poring',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poring"; set $@scrolluser,getcharid(3); donpcevent "dscrolls1::OnLevel1";','',''
58005,'lvl2pds','Level 2 Scroll of Disguise: Poring',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poring"; set $@scrolluser,getcharid(3); donpcevent "dscrolls2::OnLevel2";','',''
58006,'lvl3pds','Level 3 Scroll of Disguise: Poring',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poring"; set $@scrolluser,getcharid(3); donpcevent "dscrolls3::OnLevel3";','',''
58007,'lvl4pds','Level 4 Scroll of Disguise: Poring',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poring"; set $@scrolluser,getcharid(3); donpcevent "dscrolls4::OnLevel4";','',''
58008,'lvl1ppds','Level 1 Scroll of Disguise: Poporing',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poporing"; set $@scrolluser,getcharid(3); donpcevent "dscrolls1::OnLevel1";','',''
58009,'lvl2ppds','Level 2 Scroll of Disguise: Poporing',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poporing"; set $@scrolluser,getcharid(3); donpcevent "dscrolls2::OnLevel2";','',''
58010,'lvl3ppds','Level 3 Scroll of Disguise: Poporing',2,20,0,10,0,0,0,0,4294967295,7,2,0,0,1,0,0,'atcommand @disguise +" Poporing"; set $@scrolluser,getcharid(3); donpcevent "dscrolls3::OnLevel3";','',''
	

 

The first section of items are used with a script on my server to allow non-alchemist classes to use homuncs.  Some character variables are set and then a script is called which process based on those variables.  The second set of items are disguise scrolls which function in a similar fashion.  The player is @disgusied and some char vars are set and a script called which processed when the timer for the scroll has run out and removes the @disguise.

None of these items seem to do anything when double clicked on in the inventory and there are no errors being displayed in the map server upon loading of the items at server start nor when attempting to use the items.

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  03/27/18
  • Last Seen:  

I think this was due to the value used for equip_upper.  When I changed this value to the same value as used in an official usable item my customs started working.

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