Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/item/view.psp doesn't work properly on RE website #180

Closed
gladio78 opened this issue May 2, 2018 · 1 comment
Closed

modules/item/view.psp doesn't work properly on RE website #180

gladio78 opened this issue May 2, 2018 · 1 comment

Comments

@gladio78
Copy link

gladio78 commented May 2, 2018

Unfortunately in a RE website it doesn't show which mob drop the item correctly because it checks in the PRE-RE table

$fromTables = array("{$server->charMapDatabase}.mob_db", "{$server->charMapDatabase}.mob_db2");

should be (tested it work):

if($server->isRenewal) {
$fromTables = array("{$server->charMapDatabase}.mob_db_re", "{$server->charMapDatabase}.mob_db2_re");
} else {
$fromTables = array("{$server->charMapDatabase}.mob_db", "{$server->charMapDatabase}.imob_db2");
}

@CyberDevil75
Copy link

I confirm the existence of this bug and that the fix indicated by gladio78 works perfectly.
I also confirm that this bug is in 2 other files:

/module/logdata/pick.php - line 73
/modules/logdata/zeny.php - line 65

Tnx a lot Gladio!

@sanasol sanasol closed this as completed in efcfaf2 Apr 7, 2019
sanasol added a commit that referenced this issue Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants