Page 1 of 1

Issues with Fields Of Valor

Posted: Mon Aug 19, 2019 5:42 am
by DCJ
hi guys

My fields of valor isn't working?

I can access the menu, choose a page, set it to repeat but when I kill a mob it doesn't bring up the (1/x) in the log and the game server reads something ike

Error: lluautils: OnMobDeath: .\file path to fieldsofvalor and value=nil or something like that. any ideas?

Kind regards


DCJ

Re: Issues with Fields Of Valor

Posted: Mon Aug 19, 2019 4:56 pm
by whasf
Can you paste in the exact error? Sounds like you are missing a file maybe...

Re: Issues with Fields Of Valor

Posted: Tue Aug 20, 2019 6:47 am
by DCJ
apologies for the delay!

When cancelling, there is no message in the log, just a gap

When I set it training regime to repeat upon completion, there is 2 blank messages in the log
The error that comes up after I kill something in that log (page 1, east saratabaruta for example), when I kill a tiny mandy this comes up on game_server...

[Error} luautils::onMobDeath: .\scripts/global/fieldsofvalor.lua:434: attempt to call method 'checkValorCredit' (a nil value)

I can find the fieldsofvalor.lua file.... but I'm unsure what could be wrong, all looks ok?

Re: Issues with Fields Of Valor

Posted: Tue Aug 20, 2019 8:29 am
by whasf
I don't see that file on GitHub, how long has it been since you've updated??

Re: Issues with Fields Of Valor

Posted: Tue Aug 20, 2019 1:12 pm
by DCJ
few months ago I believe? Was a fresh install around feb/march time?

do I need to start again? /cry

Re: Issues with Fields Of Valor

Posted: Tue Aug 20, 2019 4:44 pm
by whasf
You should pull from master and update the SQL tables as necessary. There's been a lot of changes.

Re: Issues with Fields Of Valor

Posted: Tue Aug 20, 2019 8:10 pm
by Crystan
Is there an easy way to do it? Last time i tried updating had to wipe.n do all over again.

GitHub > fork > download the lot/overwrite the files....

But what's best way to update the SQL? Noobie with sql. Im using mysql5.7

Re: Issues with Fields Of Valor

Posted: Wed Aug 21, 2019 12:36 pm
by whasf
Run the SQL files via HeidiSQL (or whatever you're using for running queries). For the character ones you'll want to compare the structure and add/delete the columns manually, because if you run those SQL files it drops and recreates the table and you loose all your data.

Re: Issues with Fields Of Valor

Posted: Tue Nov 05, 2019 10:14 pm
by Delaide
I always check to see what changed in my pull (I keep my tortoise git update window open), then manually update those tables that updated, outside of critical.
You may have some issues with some critical tables though, since I believe some char data has been shifted a bit since your last pull.