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

It works fine in a Windows 7 environment, but it doesn't work in a Linux environment. Why did you do that? Linux Environments: Ubuntu 16.04 #8

Closed
mymain838 opened this issue Oct 20, 2019 · 7 comments

Comments

@mymain838
Copy link

K-018
K-019

@mymain838
Copy link
Author

"My Hero Core" and "My Hero Level" both seem to have the same code error.
Error code: for(Map.Entry<String, Object> conf : Config.entrySet())
"config.yml" contains the appropriate default settings.

@EnterTG
Copy link
Owner

EnterTG commented Oct 21, 2019

You must give me the nukkit version, plugins versions and the config file.

@mymain838
Copy link
Author

mymain838 commented Oct 21, 2019

nukkit version : #523 nukkit.jar (git-54db1a0) API 1.0.9

I put a total of five plugins and tested them.
MyHero version: v1.22
MyHeroLevels : v1.01
MyHeroMobs: v1.12
MyHeroItems v1.21
DbLib : v1.0.1

MyHero\config.yml
Levels:
MaxLevel: 40
Equation: "%level%*2+3^(%level%+2)"
Default:
UseMySql: false
MySqlIP: 0.0.0.0
MySqlLogin: root
MySqlPass: ""
MySqlDatabase: "main"
MySqlPort: 0
ItemAtributes:
UseArmor: true
UseArmorPenetration: true
UseCrit: true
UseDamage: true
UseDodge: true
UseHealth: true
UseLifSteal: true

@mymain838
Copy link
Author

mymain838 commented Oct 21, 2019

Uniquely, running on the Windows 7 operating system operates normally, but running on the Linux operating system (Ubuntu 16.04) results in an error.
The plug-in you created is the most important plug-in in my server.
I'll help you with anything you need.

@EnterTG
Copy link
Owner

EnterTG commented Oct 24, 2019

If the configuration looks like the insert, that is, no indentation, this is wrong.

@mymain838
Copy link
Author

If the configuration looks like the insert, that is, no indentation, this is wrong.

Indentation is good.
Windows 7~10 operating system works well.

@EnterTG
Copy link
Owner

EnterTG commented Oct 25, 2019

Try this and send log.

MyHeroNukkit_Core.zip

@EnterTG EnterTG closed this as completed Nov 4, 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