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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...