Drops rates gol rates y exp rates de los files v 3.82
3 posters
Author
Message
kezal
Silver
Earned after your first post and comment.
Likes : 1
#1Subject: Drops rates gol rates y exp rates de los files v 3.82 12/24/2014, 1:46 pm
tengo los fines normales de la version 3.82 de esta comunidad y en Settings.cfg no aparecen rates y aunque los añada no parece tener efecto claramente alguien desvinculo estos files del Settings.cfg .
e mirado en el HGServer y efectivamente ay comentarios de que no cambiemos los % del drop en el prociento de drop( posibilidad de drop) drope de gold ( que % es oro ) weapon drop , armor drop y potion y rare drop
me gustaria saber:
1 como calcular y cambiar todo el drop 2 el rate gold k esta elevado con respeto lo que sale en los npc.cfg 3 cambiar la experiencia que tambien esta metido en el HGServer
Gracias por vuestro tiempo :gracias: :
LifeX
Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.
Likes : 26
#2Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/25/2014, 2:28 am
Check your functions in NpcDeadItemGenerator
cirujano
Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.
Likes : 4
#3Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/25/2014, 5:28 am
LifeX wrote:
Check your functions in NpcDeadItemGenerator
Recupere mi cuenta. Soy kezal. He mirado la función y varias guías e incluso e cambiado los números pero no logro saber como calcularlos bien . Me gustaría saber que números son para el oro las pociones los rare . las armas. Y las armaduras gracias :gracias: :
kezal
Silver
Earned after your first post and comment.
Likes : 1
#4Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/25/2014, 7:48 am
mira aqui se que se calcula el porcentaje de dropeo de oro alguien me lo puede explicar mejor
}
int iItemprobability = 8500; "Se que el 8500 es 85% de que un npc de drop" if ((m_pClientList[sAttackerH] != NULL) && (m_pClientList[sAttackerH]->m_iPartyStatus != DEF_PARTYSTATUS_PROCESSING)) { iItemprobability -= 900;" no se que es el 900" }
// 8500 default; the lower the greater the Weapon/Armor/Wand Drop if (iDice(1,10000) >= iItemprobability) { if (iDice(1,10000) <= 6500) { el 6500 es 65% del 85 % anterior "" el 65% de 85% es 55.25% de dropear oro al matar un npc iItemID = 90; // Gold: (35/100) * (60/100) = 21% " esto esa mal puesto? el 35/100 y 60/100 me confunden // If a non-existing itemID is given create no item pItem = new class CItem; if (_bInitItemAttr(pItem, iItemID) == FALSE) { delete pItem; return; }
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.
Likes : 26
#5Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/25/2014, 10:58 am
Wow, this coding is shitty. LOL. I would consider asking you to code iItemProbability to read from Settings.cfg instead of HGServer source files, as you can adjust via Settings.cfg on your drop rate instead of keeping changing inside source.
From the codings above, the lower your iItemProbability, the higher % of thing drops. Its default is 8500, which means, the % of drops dropping is only 15%. Which means of every mobs you kill, only 15% chance item will drop, the remaining 85% is no drop.
If somehow if you hit the 15% of drop, Gold will take 65% chance of dropping, and the remaining 35% is items.
As you continue to see below you will see how its being calculated on the items part.
kezal
Silver
Earned after your first post and comment.
Likes : 1
#6Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/25/2014, 4:42 pm
puedo vincular los rates a Settings.cfg de alguna forma?
LifeX
Diamond 1
Earned by having 144 posts & comments.
Civilian
Granted to members for high engagement.
Great Mentor
Granted to veteran members who exhibit helpful and sportsmanlike behavior.
Moderator
Earned by becoming a board moderator.
Likes : 26
#7Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/26/2014, 10:44 am
In most servers, Settings.cfg have primary-drop-rate, secondary-drop-rate, you are suppose to link those variables into NpcDeadItemGenerator.
Then everytime you want to change drop rate % you can change in Settings.cfg and when you restart server, the new drop rate will take effect.
cirujano
Silver 4
Earned by having 12 posts & comments.
10th Anniversary
Earned after being a member for 10 years.
Likes : 4
#8Subject: Re: Drops rates gol rates y exp rates de los files v 3.82 12/28/2014, 2:49 pm
:off: : gracias
Sponsored content
#9Subject: Re: Drops rates gol rates y exp rates de los files v 3.82
Drops rates gol rates y exp rates de los files v 3.82