Szerző Téma: Global hiba  (Megtekintve 1597 alkalommal)

Global hiba
« Dátum: 2015. November 15. - 11:28:39 »
0 Show voters
Sziasztok!
Lenne egy teszt szerverem amin tanulgatok pár dolgot. Egy hibába ütköztem amely elég fura. A szerver alapja egy Zero mod. Nos tehát a hiba a következő :
A játékosnak volt 200.000 Ft-ja. Reconnectelés után minden esetben 80.000 Ft- ra vissza teszi, ugyanakkor ha valakinek 20.000-Ft-ja volt szintén 80.000 Ft-rs vissza teszi.
Esetleg valaki tudja a hibáját?
Válaszát előre is köszönöm!

Nem elérhető Royalf

  • 222
    • Profil megtekintése
Global hiba
« Válasz #1 Dátum: 2015. November 15. - 11:42:41 »
0 Show voters
Mikor lelép nem menti el a pénzét SQL-be

Global hiba
« Válasz #2 Dátum: 2015. November 15. - 11:50:49 »
0 Show voters
SQL-en belül hol?

Global hiba
« Válasz #3 Dátum: 2015. November 15. - 12:37:38 »
0 Show voters
Szia!
Próbáld meg, hogy ezt a sort <resource src=\"mysql\" startup=\"1\" protected=\"0\" /> a legelejére teszed.
   
<authfile>logs/server_auth.log</authfile>
    <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>
    <scriptdebugloglevel>1</scriptdebugloglevel>
    <htmldebuglevel>0</htmldebuglevel>
   
     <module src=\"mta_mysql.dll\" />
    <resource src=\"mysql\" startup=\"1\" protected=\"0\" /> // mint ahogy itt is látod!
    <resource src=\"anticheat-system\" startup=\"1\" protected=\"0\" />
    <resource src=\"global\" startup=\"1\" protected=\"0\" />
    <resource src=\"pool\" startup=\"1\" protected=\"0\" />
    <resource src=\"cache\" startup=\"1\" protected=\"0\" />

Global hiba
« Válasz #4 Dátum: 2015. November 15. - 13:45:10 »
0 Show voters
Ott van de továbbra sem jó.

Global hiba
« Válasz #5 Dátum: 2015. November 15. - 14:57:35 »
0 Show voters
a saveplayer-systemben írd át az időzítőt ami menti a játékost vagy pedig írd bele , hogy ha kilép a játékos akkor mentse le neki a Pénzét

Global hiba
« Válasz #6 Dátum: 2015. November 22. - 12:47:30 »
0 Show voters
mtaserver.conf > a resourceknél a mysql legyen az első startup, utána global, pool, acc sys

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal