Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crash Serwera
#1
Witajcie, mam problem z serwerem. Sprawa wygląda tak. Rejestruje sie wszystko jest ok. Robie reconnect i chce sie zalogowac. Serwer Crashuje.
Dane techniczne:
VPS z Linuxem
FileLoader by Nubzior.
KOD: http://pastebin.com/phVwGnm4  (Login gdyz podejrzewam ze tam moze byc problem)


SSy: 
Logowanie
http://zapodaj.net/7d28a789b7e30.png.html
Debug window
http://zapodaj.net/d375b4cfd86dd.png.html
http://zapodaj.net/22768766b355e.png.html

Pozdrawiam i dziekuje za kazda pomoc Smile
#2
No nie wiem może, to dlatego, że filesystem bazuje na userpointerach i gdy ten user pointer nie istnieje to crashuje:
Squirrel Script
  1. local file = fileOpen("Base/"+getPlayerName(pid), "r");
  2. local buffer = "";
  3. fileRead(file, buffer);
  4. buffer = format("%s", buffer);


Nie widze nigdzie sprawdzania czy plik został poprawnie otworzony. Proste if (file) może uratować sprawę. Serio takie rzeczy trzeba sprawdzać to samo jest z sscanfem.
#3
Nie pomogło ;/


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem z włączaniem serwera na Ubuntu Mattwell 2 3,140 06.01.2018, 19:55
Last Post: Mattwell
  Crash gothica chwilę po wczytaniu mapy. Hekard 5 4,324 09.05.2017, 00:40
Last Post: Marcel
  Poszukujemy artystow dla serwera RP. Casius 3 3,824 14.04.2017, 21:22
Last Post: GorkyFactory
Photo Odpalanie serwera g2o dev8 Baldar 3 3,568 30.03.2017, 22:04
Last Post: Bimbol
  Nie odpala serwera w ogóle Sparrow22 3 3,744 11.10.2016, 05:09
Last Post: Sparrow22
  Crash. Jaskier 7 5,527 22.07.2016, 01:10
Last Post: Jaskier
  Nie wyszukuje serwera Striker 4 3,882 10.05.2016, 18:12
Last Post: Striker
  Błąd przy odpaleniu serwera Krousainte 4 4,192 09.03.2016, 17:30
Last Post: Krousainte
  Crash podczas próby wejścia na serwer. Trevor 12 9,056 07.03.2016, 11:33
Last Post: Blacha
  Tutorial, jak zrobić pobieranie tekstury .vga z serwera i zastosowanie Matt Reaxx 9 5,925 08.02.2016, 20:18
Last Post: Blacha

Forum Jump:


Users browsing this thread: