❌Problemas con Addon Doll y con mount server 8.6 Droko

Elmio

Miembro
LV
11
 
Awards
6
Hola buen día, descargue el servidor de droko 8.6 y estoy mejorando ciertas cosas, pero al agg el addon doll me da solo los addons normales y los nuevos me dices que no existen...
Solo me da los addons desde el Citizen hasta el Yalaharian.

El resto dice que no existe y en el ot server estan... incluso use los mismos ids de los addons que estaban en otro config lua. asi que en el server aparecen bajo esos Ids

Código:
local femaleOutfits = {
   ["citizen"] = { 136 },
   ["hunter"] = { 137 },
   ["mage"] = { 138 },
   ["knight"] = { 139 },
   ["nobleman"] = { 140 },
   ["summoner"] = { 141 },
   ["warrior"] = { 142 },
   ["barbarian"] = { 147 },
   ["druid"] = { 148 },
   ["wizard"] = { 149 },
   ["oriental"] = { 150 },
   ["pirate"] = { 155 },
   ["assassin"] = { 156 },
   ["beggar"] = { 157 },
   ["shaman"] = { 158 },
   ["norsewoman"] = { 252 },
   ["nightmare"] = { 269 },
   ["jester"] = { 270 },
   ["brotherhood"] = { 279 },
   ["demonhunter"] = { 288 },
   ["Yalaharian"] = { 324 },
   ["Husband"] = { 329 },
   ["Warmaster"] = { 336 },
   ["Wayfarer"] = { 366 },
   ["Afflicted"] = { 431 },
   ["Elementalist"] = { 433 },
   ["Deepling"] = { 464 },
   ["Insectoid"] = { 466 },
   ["Entrepreneur"] = { 471 },
   ["Crystal Warlord"] = { 513 },
   ["Soil Guardian"] = { 514 },
   ["Demon"] = { 542 },
   ["Cave Explorer"] = { 575 },
   ["Dream Warden"] = { 578 },
   ["Glooth Engineer"] = { 618 },
   ["Jersey"] = { 620 },
   ["Champion"] = { 632 },
   ["Conjurer"] = { 635 },
   ["Beastmaster"] = { 636 },
   ["Chaos Acolyte"] = { 664 },
   ["Death Herald"] = { 666 },
   ["Ranger"] = { 683 },
   ["Ceremonial Garb"] = { 694 },
   ["Puppeteer"] = { 696 },
   ["Spirit Caller"] = { 698 },
   ["Evoker"] = { 724 },
   ["Seaweaver"] = { 732 },
   ["Recruiter"] = { 725 },
   ["Sea Dog"] = { 749 },
   ["Royal Pumpkin"] = { 759 },
   ["Rift Warrior"] = { 845 },
   ["Winter Warden"] = { 852 },
}

local maleOutfits = {
   ["citizen"] = { 128 },
   ["hunter"] = { 129 },
   ["mage"] = { 130 },
   ["knight"] = { 131 },
   ["nobleman"] = { 132 },
   ["summoner"] = { 133 },
   ["warrior"] = { 134 },
   ["barbarian"] = { 143 },
   ["druid"] = { 144 },
   ["wizard"] = { 145 },
   ["oriental"] = { 146 },
   ["pirate"] = { 151 },
   ["assassin"] = { 152 },
   ["beggar"] = { 153 },
   ["shaman"] = { 154 },
   ["norsewoman"] = { 251 },
   ["nightmare"] = { 268 },
   ["jester"] = { 273 },
   ["brotherhood"] = { 278 },
   ["demonhunter"] = { 289 },
   ["yalaharian"] = { 325 },
   ["Husband"] = { 328 },
   ["Warmaster"] = { 335 },
   ["Wayfarer"] = { 367 },
   ["Afflicted"] = { 430 },
   ["Elementalist"] = { 432 },
   ["Deepling"] = { 463 },
   ["Insectoid"] = { 465 },
   ["Entrepreneur"] = { 472 },
   ["Crystal Warlord"] = { 512 },
   ["Soil Guardian"] = { 516 },
   ["Demon"] = { 541 },
   ["Cave Explorer"] = { 574 },
   ["Dream Warden"] = { 577 },
   ["Glooth Engineer"] = { 610 },
   ["Jersey"] = { 619 },
   ["Champion"] = { 633 },
   ["Conjurer"] = { 634 },
   ["Beastmaster"] = { 637 },
   ["Chaos Acolyte"] = { 665 },
   ["Death Herald"] = { 667 },
   ["Ranger"] = { 684 },
   ["Ceremonial Garb"] = { 695 },
   ["Puppeteer"] = { 697 },
   ["Spirit Caller"] = { 699 },
   ["Evoker"] = { 725 },
   ["Seaweaver"] = { 733 },
   ["Recruiter"] = { 746 },
   ["Sea Dog"] = { 750 },
   ["Royal Pumpkin"] = { 760 },
   ["Rift Warrior"] = { 846 },
   ["Winter Warden"] = { 853 },
}

function onSay(cid, words, param)
   local outfitName = string.lower(param)
   if string.len(outfitName) == 0 then
      return doPlayerSendCancel(cid, "The command requires 1 parameter.")
   end
   local dollCount = getPlayerItemCount(cid, 9693)
   if dollCount == 0 then
      return doPlayerSendCancel(cid, "You need a addondoll.")
   end
   local outfitList = getPlayerSex(cid) == 0 and femaleOutfits or maleOutfits
   local outfitId = outfitList[outfitName]
   if not outfitId then
      return doPlayerSendCancel(cid, "The name of the outfit does not exist.")
   end
   if canPlayerWearOutfit(cid, outfitId[1], 3) then
      return doPlayerSendCancel(cid, string.format("You already have the %s outfit.", outfitName))
   end
   doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
   doPlayerRemoveItem(cid, 9693, 1)
   doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string.format("You have obtained the complete %s outfit.", outfitName))
   doPlayerAddOutfit(cid, outfitId[1], 3)
   return true
end
 
Última edición por un moderador:

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
Hola buen día, descargue el servidor de droko 8.6 y estoy mejorando ciertas cosas, pero al agg el addon doll me da solo los addons normales y los nuevos me dices que no existen...
Solo me da los addons desde el Citizen hasta el Yalaharian.

El resto dice que no existe y en el ot server estan... incluso use los mismos ids de los addons que estaban en otro config lua. asi que en el server aparecen bajo esos Ids

local femaleOutfits = {
["citizen"] = { 136 },
["hunter"] = { 137 },
["mage"] = { 138 },
["knight"] = { 139 },
["nobleman"] = { 140 },
["summoner"] = { 141 },
["warrior"] = { 142 },
["barbarian"] = { 147 },
["druid"] = { 148 },
["wizard"] = { 149 },
["oriental"] = { 150 },
["pirate"] = { 155 },
["assassin"] = { 156 },
["beggar"] = { 157 },
["shaman"] = { 158 },
["norsewoman"] = { 252 },
["nightmare"] = { 269 },
["jester"] = { 270 },
["brotherhood"] = { 279 },
["demonhunter"] = { 288 },
["Yalaharian"] = { 324 },
["Husband"] = { 329 },
["Warmaster"] = { 336 },
["Wayfarer"] = { 366 },
["Afflicted"] = { 431 },
["Elementalist"] = { 433 },
["Deepling"] = { 464 },
["Insectoid"] = { 466 },
["Entrepreneur"] = { 471 },
["Crystal Warlord"] = { 513 },
["Soil Guardian"] = { 514 },
["Demon"] = { 542 },
["Cave Explorer"] = { 575 },
["Dream Warden"] = { 578 },
["Glooth Engineer"] = { 618 },
["Jersey"] = { 620 },
["Champion"] = { 632 },
["Conjurer"] = { 635 },
["Beastmaster"] = { 636 },
["Chaos Acolyte"] = { 664 },
["Death Herald"] = { 666 },
["Ranger"] = { 683 },
["Ceremonial Garb"] = { 694 },
["Puppeteer"] = { 696 },
["Spirit Caller"] = { 698 },
["Evoker"] = { 724 },
["Seaweaver"] = { 732 },
["Recruiter"] = { 725 },
["Sea Dog"] = { 749 },
["Royal Pumpkin"] = { 759 },
["Rift Warrior"] = { 845 },
["Winter Warden"] = { 852 },
}

local maleOutfits = {
["citizen"] = { 128 },
["hunter"] = { 129 },
["mage"] = { 130 },
["knight"] = { 131 },
["nobleman"] = { 132 },
["summoner"] = { 133 },
["warrior"] = { 134 },
["barbarian"] = { 143 },
["druid"] = { 144 },
["wizard"] = { 145 },
["oriental"] = { 146 },
["pirate"] = { 151 },
["assassin"] = { 152 },
["beggar"] = { 153 },
["shaman"] = { 154 },
["norsewoman"] = { 251 },
["nightmare"] = { 268 },
["jester"] = { 273 },
["brotherhood"] = { 278 },
["demonhunter"] = { 289 },
["yalaharian"] = { 325 },
["Husband"] = { 328 },
["Warmaster"] = { 335 },
["Wayfarer"] = { 367 },
["Afflicted"] = { 430 },
["Elementalist"] = { 432 },
["Deepling"] = { 463 },
["Insectoid"] = { 465 },
["Entrepreneur"] = { 472 },
["Crystal Warlord"] = { 512 },
["Soil Guardian"] = { 516 },
["Demon"] = { 541 },
["Cave Explorer"] = { 574 },
["Dream Warden"] = { 577 },
["Glooth Engineer"] = { 610 },
["Jersey"] = { 619 },
["Champion"] = { 633 },
["Conjurer"] = { 634 },
["Beastmaster"] = { 637 },
["Chaos Acolyte"] = { 665 },
["Death Herald"] = { 667 },
["Ranger"] = { 684 },
["Ceremonial Garb"] = { 695 },
["Puppeteer"] = { 697 },
["Spirit Caller"] = { 699 },
["Evoker"] = { 725 },
["Seaweaver"] = { 733 },
["Recruiter"] = { 746 },
["Sea Dog"] = { 750 },
["Royal Pumpkin"] = { 760 },
["Rift Warrior"] = { 846 },
["Winter Warden"] = { 853 },
}

function onSay(cid, words, param)
local outfitName = string.lower(param)
if string.len(outfitName) == 0 then
return doPlayerSendCancel(cid, "The command requires 1 parameter.")
end
local dollCount = getPlayerItemCount(cid, 9693)
if dollCount == 0 then
return doPlayerSendCancel(cid, "You need a addondoll.")
end
local outfitList = getPlayerSex(cid) == 0 and femaleOutfits or maleOutfits
local outfitId = outfitList[outfitName]
if not outfitId then
return doPlayerSendCancel(cid, "The name of the outfit does not exist.")
end
if canPlayerWearOutfit(cid, outfitId[1], 3) then
return doPlayerSendCancel(cid, string.format("You already have the %s outfit.", outfitName))
end
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
doPlayerRemoveItem(cid, 9693, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string.format("You have obtained the complete %s outfit.", outfitName))
doPlayerAddOutfit(cid, outfitId[1], 3)
return true
end
Hola verificaste en XML/outfits si las idas son idénticas ?
 
Arriba