Jump to content
  • 0

[Help] Hero status off !!!Pls help thx


Question

Posted

hi all !! I got o problem on my server with olympiad !Ppl's make hero and after i restart the server all lose the hero status ! If some1 knows why and how to fix it pls pls tell me thx!! so olympiad it's now off and no heroes :) !!When i open with navicat the heroes_diary and olympiad_fights tables it say's :

 

 

Olympiad_Fights does not have a primery key

Updates to this table will be done using the following pseudo statement:

Update olympiad_fights SET  ModifiedFieldsAndValues WHERE AllFieldsAndOldValues LIMIT 1

 

What shood i do to fix it ????? :( :'(

11 answers to this question

Recommended Posts

  • 0
Posted

Does this exist in EnterWorld.java?

 

if (Hero.getInstance().getHeroes() != null &&
                Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId()))
            activeChar.setHero(true);

  • 0
Posted

when i open table in navicat it gives me this errror : Olympiad_Fights does not have a primery key

Updates to this table will be done using the following pseudo statement:

Update olympiad_fights SET  ModifiedFieldsAndValues WHERE AllFieldsAndOldValues LIMIT 1

 

(olympiat work 100% ) the olympad finish and give the hero stat to players but after restart doesn't remember the heroes!

So oly is off now and no heroes :) i think the problem is in navicat tables

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock