#369 XPMultiplier in ruleset_details table not working

Fermé
Créé il y a 2 ans par gitasaurus · 5 commentaires

Increasing the value of rule_type XPMultiplier in ruleset_details does not change the amount of experience received from completing quests or killing spawns, using AOM client.

Increasing the value of rule_type XPMultiplier in ruleset_details does not change the amount of experience received from completing quests or killing spawns, using AOM client.
image a commenté il y a 2 ans
Collaborateur

it should all XP is derived from float Player::CalculateXP(Spawn* victim) -- againts spawns least, can't say for quests

what are you setting XPMultiplier to -- did you restart your world server after changing the value?

it should all XP is derived from float Player::CalculateXP(Spawn* victim) -- againts spawns least, can't say for quests what are you setting XPMultiplier to -- did you restart your world server after changing the value?
gitasaurus a commenté il y a 2 ans
Publier

Thanks for the feedback. I hope I am doing something wrong.

Tested again this morning.

I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=2. The XPMultiplier was set at 2.0 . After logging into the game and killing a green lvl 5 spawn I received 13 xp. Closed EQ2.

I then changed the XPMultiplier to 0.5 and closed the three command windows. I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=3. I logged into the game and killed the same green lvl 5 spawn and received 13 xp. Closed EQ2.

I then changed the XPMultiplier to 4.0 and closed the three command windows. I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=3. I logged into the game and killed the same green lvl 5 spawn and received 13 xp.

I also verified in the xp bar that the starting xp total plus the earned xp from killing the spawn equals the new xp total, so it does not appear to be a display issue.

Let me know if I am missing a step.

Thanks for the feedback. I hope I am doing something wrong. Tested again this morning. I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=2. The XPMultiplier was set at 2.0 . After logging into the game and killing a green lvl 5 spawn I received 13 xp. Closed EQ2. I then changed the XPMultiplier to 0.5 and closed the three command windows. I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=3. I logged into the game and killed the same green lvl 5 spawn and received 13 xp. Closed EQ2. I then changed the XPMultiplier to 4.0 and closed the three command windows. I opened LAUNCH EQ2EMU.bat with SET SQLUPDATE=3. I logged into the game and killed the same green lvl 5 spawn and received 13 xp. I also verified in the xp bar that the starting xp total plus the earned xp from killing the spawn equals the new xp total, so it does not appear to be a display issue. Let me know if I am missing a step.
image a commenté il y a 2 ans
Collaborateur

thats my mistake there is a xp multiplier in the zone table that works, this rule does not

thats my mistake there is a xp multiplier in the zone table that works, this rule does not
image a commenté il y a 2 ans
Collaborateur

found the problem, there is no default global ruleset in the variables table

insert into variables set variable_name='default_ruleset_id',variable_value='1',comment='Default ruleset';
found the problem, there is no default global ruleset in the variables table ``` insert into variables set variable_name='default_ruleset_id',variable_value='1',comment='Default ruleset'; ```
image a commenté il y a 2 ans
Collaborateur

adding an error message for when that variable is not set..:

22:46:34 E Rules     : Variables table is missing default_ruleset_id variable name, this means the global rules will be code-default, database entries not used.  Use query such as "insert into variables set variable_name='default_ruleset_id',variable_value='1',comment='Default ruleset';" to resolve.
adding an error message for when that variable is not set..: ``` 22:46:34 E Rules : Variables table is missing default_ruleset_id variable name, this means the global rules will be code-default, database entries not used. Use query such as "insert into variables set variable_name='default_ruleset_id',variable_value='1',comment='Default ruleset';" to resolve. ```
image a référencé ce problème à partir d'un commit il y a 2 ans
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.