jaszpol Posted June 27, 2012 Share Posted June 27, 2012 Hello!Again I appeal to your forum for help. I moved my server to silent mode with updated 0.5.0 to 0.5.1. I deleted the two files. Db database in a folder. I have uploaded:- Silent-0.5.1.pk3- qagame_mp_x86.dll- qagame.mp.i386.so- Folder dynamic_lua The problem is that all level'e VIP Levels admins keep in admins.cfg. Before the upgrade everything worked fine I have 20 people in your admins.cfg. After updating the part! Readadmins the console, the server is crashuje and nothing can be done at the server console I get the error: "readconfig: warning missing = before "=Light" on line 3394". Admins.cfg structure is the same as before the update. Please help. Witam!Ponownie zwracam się na waszym forum o pomoc. Przeprowadziłem na moim serwerze aktualizacje silent mode z 0.5.0 na 0.5.1. Usunąłem dwa pliki .db w folderze database. Wgrałem:- silent-0.5.1.pk3- qagame_mp_x86.dll- qagame.mp.i386.so- folder dynamic_lua Problem polega na tym że wszystkie level'e vip oraz levele adminów trzymam w admins.cfg. Przed aktualizacją wszystko działało poprawnie mam 20 osób w pliku admins.cfg. Po aktualizacji gdy wpisuje !readadmins w konsol, serwer się crashuje i nic nie da się zrobić w konsoli serwera pojawia się błąd: "readconfig: warning missing = before "=Light" on line 3394". Struktura admins.cfg jest taka sama jak przed aktualizacją. Proszę o pomoc Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted June 27, 2012 Management Share Posted June 27, 2012 How did you create the admins.cfg? The file seems rather big as the error is on the line 3394. It looks like that line in the admins.cfg file is corrupted. Please make sure there are no additional " characters on that line. Please do also note that the admins.cfg is read only with a command so if you haven't read it in manualy on your older server it may have been corrupted already in there. Another thing that you might see potentially usefull is that there is no requirement for the admins.cfg to hold all the admins. You can insert just those admins you want to read in at any particular time and it will not affect other stored admins in the actual silent database. For future use, the silEnT does automatically convert the databases between different versions if there is the need for it. So there is no need to delete the old files unless you experience problems and you think it might be usefull for that purpose. Quote Link to comment Share on other sites More sharing options...
jaszpol Posted June 27, 2012 Author Share Posted June 27, 2012 Even when admins.cfg is empty and is 0kb and 0 lines are the error pops up after loading! Readadmins. A structure of this file is good, so I do not know what the problem;/ This file has 158 lines. Please help: | Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted June 27, 2012 Management Share Posted June 27, 2012 Sounds like it is reading different file then what you think. Please tell what is the value of the g_dbDirectory cvar? Quote Link to comment Share on other sites More sharing options...
jaszpol Posted June 27, 2012 Author Share Posted June 27, 2012 In this command I have this value: set g_dbDirectory "database" Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted June 27, 2012 Management Share Posted June 27, 2012 Next things to check are fs_homepath and fs_basepath. Also, please make sure they are correct using the rcon if possible. Just make sure these paths point to the new installation and not old or any other installations. The issue is without a doubt in parsing the admins.cfg file and the parse error message is direct result from the data it reads. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted June 27, 2012 Management Share Posted June 27, 2012 The key part is the "Light" word, grep the files for that string you will know which file is being parsed. Does admis.cfg you think you are attempting to import contain that word at all? PLKluczowe jest słowo "Light", poszukaj plików z tym ciągiem znaków i będziesz wiedział, który jest parsowany. Czy amins.cfg, który myślisz, że wczytujesz, zawiera ten wyraz? Quote Link to comment Share on other sites More sharing options...
jaszpol Posted June 27, 2012 Author Share Posted June 27, 2012 The key part is the "Light" word, grep the files for that string you will know which file is being parsed. Does admis.cfg you think you are attempting to import contain that word at all? PLKluczowe jest słowo "Light", poszukaj plików z tym ciągiem znaków i będziesz wiedział, który jest parsowany. Czy amins.cfg, który myślisz, że wczytujesz, zawiera ten wyraz? Dziękuję ci bardzo za pomoc. Miałeś rację kluczowe było słowo light które było wpisane name=light zamiast name = Light. Dziękuję serdecznie za pomoc i pozdrawiam. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted June 27, 2012 Management Share Posted June 27, 2012 Nie ma za co Quote Link to comment Share on other sites More sharing options...
jaszpol Posted June 27, 2012 Author Share Posted June 27, 2012 Yet there is one little problem after the update. Earlier I had admins.cfg to any person who is in the config posted greeting_sound assigned individual and greeting. Now when you load the admins.cfg for the help! Readadmins and take the person to whom the! Userinfo writes greeting and greeting the sound is not set. greeting = ^7Witaj *HIGH.Admin* [n] ^7na serwerze ^7POL^1SKA^7VODKA SILENT^c@^9Zabijaka^7.PLgreeting_sound = sound/admin.wav Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted June 27, 2012 Management Share Posted June 27, 2012 The personal greeting and greeting_sound are not stored in the main database file but in the userxdb.db. However, it should create the records even still if those do not exist already. Quote Link to comment Share on other sites More sharing options...
jaszpol Posted June 27, 2012 Author Share Posted June 27, 2012 False alarm reset the server and it works Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted June 27, 2012 Management Share Posted June 27, 2012 Great Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.