Yardım Item_proto - SQL->TXT

  • Konuyu açan Konuyu açan MAJRON
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 9
  • Gösterim Gösterim 2K
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

MAJRON

Çaylak Üye
Üye
Mesaj
15
Beğeni
1
Puan
13
Ticaret Puanı
0
Bez_tytuu.png

/\here he writes/\

Conversion from "YANG" to "DOUBLE" is not valid.


I added something like this yesterday

"Back to reading item / mob_proto from database (DB NOTXT!)"

I go to Navi and change the values in the sword, then go to the server and type / reload p, do the item and keep the same values.

Dopisujemy do CONFIGów kanałów 2 zmienne, które pozwolą nam włączać/wyłączać funkcje bez rekompilacji game:

I have added 2 variables to the CONFIGs of channels that will allow us to turn on / off functions without recompiling the game

here they are:

Kod:
Genişlet Daralt Kopyala
PROTO_FROM_DB: 1 or 0
MIRROR2DB: 1 or 0

I put these two lines to 1.

I am asking for help, what am I doing wrong, I will add that I changed

Kod:
Genişlet Daralt Kopyala
ClientManager.cpp
ClientManager.h
ClientManagerBoot.cpp

best regards and waiting for your reply impatiently.
 
Son düzenleme:
Sanırım .TXT olarak kullanmak istiyorsunuz.
locale/xx/ -- > item_proto ve mob_proto dosyasını .xml olarak açın.
Daha sonra verdiğim dosya ile bunları .TXT haline çevirebilirsiniz. (XML dosyasını AA_Convert.bat üzerine sürükleyin)
Bu yöntem SQL-TXT dönüşümünden daha pratiktir. (40K için sorunsuz çalıştı, ancak diğer sürümleri bilmiyorum)

Son olarak, oluşturduğunuz .TXT dosyasını FTP'ye yükleyin. (Yedek almayı unutmayın)

Dosyayı indir:
Tıkla
 
still using this method? Improve yourself, update your files to txt, 'cuz all the new systems using txt
 
I wanted to convert from txt to sql so that I could edit items from the console when the servers are running. adding sql instead of txt still can't change the value of items. in the game, I type / reload p, the item does not change. so do you think to stay in txt like this? and there will be no gap in txt that players will create items of different values for themselves?


I wanted to switch from txt to sql. I added and changed functions and the console compiled everything nicely, not even how to check it. one way is to change the value of the sword to whatever value you want and type reload p in the game. but the night does not go on and nothing changes.

Sorry for double
 
Son düzenleme:
PROTO_FROM_DB: 1 or 0
MIRROR2DB: 1 or 0

Bu ikisinin CONFIG dosyalarında hiçbir işlevi yoktur. db/conf.txt dosyasına eklediniz mi?
 
conf.txt

center, do I have to after such changes as the new "bink"

or in the place where he writes

Kod:
Genişlet Daralt Kopyala
WELCOME_MSG = "Mysql fired"

SQL_ACCOUNT = "localhost account mt2 mt2! @ # 0"

SQL_PLAYER = "localhost player mt2 mt2! @ # 0"

SQL_COMMON = "localhost common mt2 mt2! @ # 0"

SQL_HOTBACKUP = "localhost hotbackup mt2 mt2! @ # 0"

need to add ip vps?


in general, I noticed that if I add anything to the server related to the quests and datebase, after compiling it is not visible on the server. as if he did not react to my actions. And the game works because I added a few things and he sees normally.
 
Kaynak dosyalarında nasıl bir değişiklik yaptığınızı bilmiyorum, ancak şuradaki adımları uygulayarak tekrar deneyin.


Ben denemiştim ve sorunsuz çalışmıştı.
 
i was doing this way, db crashes.

Yeniceri: are you able to help me on pw or you don't have time? how to check if it has been installed correctly. Because db, it doesn't crash, neither is game. Some simple way to check if everything is okay.

I used :

will delete the link if what, I will not advertise and I have no intention.
 
Geri
Üst