Update navicat without reboot

11/01/2014 14:18 lekiller#1
Hello,

How can I change some values in Navicat and change them in-game too without restarting the whole server?

I have tried /reload p (with another account), but it doesn't work for me. I have been offline and changed stats to 5000, reloaded with 1. account (/reload p), logged in with 2. account and stats are still the same.


Also - when I do /reload, it resets all my changed shops to previous values.
Does anybody know why?

Thanks in advance
11/01/2014 15:06 .Despero™#2
Why Reboot? You can shutdown the cores and restart.

Use
/reload
11/01/2014 15:25 lekiller#3
Quote:
Originally Posted by .Despero™ View Post
Why Reboot? You can shutdown the cores and restart.

Use
/reload
Quote:
Originally Posted by Iwitrag;
I have tried /reload p (with another account), but it doesn't work for me. I have been offline and changed stats to 5000, reloaded with 1. account (/reload p), logged in with 2. account and stats are still the same.


Also - when I do /reload, it resets all my changed shops to previous values.


I have tried /reload

- It rollback all shops to state before changes
- It does not update my status - I have tried level 1 and status 32767 and I still have base stats (str 8 etc..)

So this is what happens with my shops:

1. I change shops in Navicat
2. /reload
3. Old shops are back in Navicat
11/01/2014 15:40 Lefloyd#4
Well, your character doesn't update immediately if you relog and "/reload p" only updates the proto tables (like shops, item_proto, mob_proto, etc.). If you want to update your character's stats you'll have to logout, then do "/flush <player name>" (with another character) and then (after changing the table) login again. With "/flush" you can clear the cache of the player in the DB-Cache (care that you just change the table AFTER you enter "/flush"). The shops should be reloaded after a "/reload p".

Kind Regards
11/01/2014 16:11 lekiller#5
Hello, thanks for your help

Quote:
Originally Posted by Lefloyd View Post
/flush <player name>
This comand is not found when I type it in-game...
11/01/2014 16:21 Lefloyd#6
Eh, I'm not sure in which revision it has been implemented... I only have the 40250r and there this command exists. Maybe in your revision it's not >.<
Then you have to logout and wait 5-10 minutes and then change & login again.

Kind Regards
11/01/2014 16:41 lekiller#7
Quote:
Originally Posted by Lefloyd View Post
Eh, I'm not sure in which revision it has been implemented... I only have the 40250r and there this command exists. Maybe in your revision it's not >.<
Then you have to logout and wait 5-10 minutes and then change & login again.

Kind Regards
Oh, I really need that feature - or a way, how to do it through web ...
Where can I find revision number please?
11/01/2014 17:32 Lefloyd#8
Goto any core folder (there where the CONFIG-file lays) and search for a file named "version.txt". Open it and write down what's written there.

Kind Regards
11/01/2014 18:48 lekiller#9
game perforce revision: 34083

It's invoice v3

BUT!!!! I have found file CMD - and there was flush DISABLED. I have changed it to IMPLEMENTOR in every core and now, I can use that command in-game, but it doesnt seem to be working.

1. I created new account with character "test007"
2. I have joined with test007 in game
3. I have logged out
4. I have logged to my admin character
5. /flush test007
6. Logout
7. Edit in navicat player test007 (32767)
8. Login with test007
9. Stats still the same :(


AND SHOPS
1. Set gold and shop_buy_price from 0 to 1 in navicat
2. /reload
3. Shops still the same
4. In navicat shop_buy_price 0 :(

AND ANOTHER PROBLEM FOUND - When I write sh close.sh, then save shops and then sh start.sh - server starts but shop automatically rollbacks (shop_buy_price = 0)

AND ANOTHER PROBLEM: Blessing Scroll in-game costs 15.000 and can sell for 1.000 - but in item_proto it's 5.000 both values !

I dont understand :(