[Ajuda] Converti GM de Dini para DOF2 e servidor nгo liga
#1

Galera, eu converti minha GM para DOF2 e agora o servidor nгo estб mais ligando, alguйm pode me ajudar?
Reply
#2

Cade o codigo? ;-
Reply
#3

Quote:
Originally Posted by Cauezin
Посмотреть сообщение
Cade o codigo? ;-
Que cуdigo? kjsksjsksks, eu converti a GM inteira para DOF2, e o sv nгo ta ligando agora...
Reply
#4

LeonardoMD, provavelmente vocк fez alguma mudanзa incorreta, a melhor forma de resolver й usando o plugin crashdetect, se ele detectar o problema vocк resolve.


Assim que vocк instalar, observe oque й imprimido no console do servidor.


Fonte: https://sampforum.blast.hk/showthread.php?tid=262796 (Crashdetect plugin)
Reply
#5

Quote:
Originally Posted by wearLy
Посмотреть сообщение
LeonardoMD, provavelmente vocк fez alguma mudanзa incorreta, a melhor forma de resolver й usando o plugin crashdetect, se ele detectar o problema vocк resolve.


Assim que vocк instalar, observe oque й imprimido no console do servidor.


Fonte: https://sampforum.blast.hk/showthread.php?tid=262796 (Crashdetect plugin)
Ok mano, valeu!
Uma dъvida, quando muda o sistema de salvamento do servidor precisa excluir as contas? Pois eu converti a gm de dini pra dof2 e nгo exclui as contas, serб que pode ser isso?
Reply
#6

Quote:
Originally Posted by wearLy
Посмотреть сообщение
LeonardoMD, provavelmente vocк fez alguma mudanзa incorreta, a melhor forma de resolver й usando o plugin crashdetect, se ele detectar o problema vocк resolve.


Assim que vocк instalar, observe oque й imprimido no console do servidor.


Fonte: https://sampforum.blast.hk/showthread.php?tid=262796 (Crashdetect plugin)
O que apareceu no console do servidor com o crashdetect:

pawn Код:
[19:21:20][debug] Server crashed while executing CMR.amx
[19:21:20] [debug] AMX backtrace:
[19:21:20] [debug] #0 native fclose () [004056c0] from samp-server.exe
[19:21:20] [debug] #1 00000444 in ?? () from CMR.amx
[19:21:20] [debug] #2 00045e88 in ?? () from CMR.amx
[19:21:20] [debug] #3 0001030c in public Streamer_OnGameModeInit () from CMR.amx
[19:21:20] [debug] #4 native CallLocalFunction () [004743b0] from samp-server.exe
[19:21:20] [debug] #5 0000b000 in public Itter_OnGameModeInit () from CMR.amx
[19:21:20] [debug] #6 native CallLocalFunction () [004743b0] from samp-server.exe
[19:21:20] [debug] #7 00009e74 in public ScriptInit_OnGameModeInit () from CMR.amx
[19:21:20] [debug] #8 native CallLocalFunction () [004743b0] from samp-server.exe
[19:21:20] [debug] #9 00008bc8 in public OnGameModeInit () from CMR.amx
[19:21:20] [debug] System backtrace:
[19:21:21] [debug] #0 004056cd in ?? () from samp-server.exe
[19:21:21] [debug] #1 72c13c32 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #2 72c16076 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #3 72c0c05a in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #4 72c13c5e in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #5 004746be in ?? () from samp-server.exe
[19:21:21] [debug] #6 004010b6 in ?? () from samp-server.exe
[19:21:21] [debug] #7 72c13c32 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #8 72c16076 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #9 72c0c05a in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #10 72c13c5e in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #11 004746be in ?? () from samp-server.exe
[19:21:21] [debug] #12 004010b6 in ?? () from samp-server.exe
[19:21:21] [debug] #13 72c13c32 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #14 72c16076 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #15 72c0c05a in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #16 72c13c5e in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #17 004746be in ?? () from samp-server.exe
[19:21:21] [debug] #18 004010b6 in ?? () from samp-server.exe
[19:21:21] [debug] #19 72c13c32 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #20 72c16076 in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #21 72c0c05a in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #22 72c13c5e in ?? () from plugins\crashdetect.DLL
[19:21:21] [debug] #23 0046f654 in ?? () from samp-server.exe
[19:21:21] [debug] #24 65646f6d in ?? () from samp-server.exe
[19:21:21] [debug] #25 4d432f73 in ?? () from samp-server.exe
[19:21:21] [debug] #26 6d612e52 in ?? () from samp-server.exe
Reply
#7

Quando converti de Dini para DOF2 e compilei, tive os seguintes erros:

pawn Код:
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(861) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(868) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(875) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(882) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(889) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(896) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(903) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(910) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(917) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(1022) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(1176) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(1249) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(1402) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(1448) : warning 219: local variable "file" shadows a variable at a preceding level
Reply
#8

Oque tem nas linhas do erro? Linha 861, 868, 875...
Reply
#9

esse erro

Код:
C:\Users\Leonardo\Downloads\BCV CMR\GM BMR CRIADOR RYANZINL\pawno\include\DOF2.inc(903) : warning 219: local variable "file" shadows a variable at a preceding level
e pq la na include dof2 tem uma new file global, ai vc tem que ir em cada linha do seu GM e apagar o new file[128]

outra coisa que quando converte pra dof2 tem uma funзгo que e o DOF2_SaveFile();

dini nao tem isso, ai tem que colocar tbm, Eu tbm me pergunto aonde que coloca, mais acho que e:

DOF2_SetInt, DOF2_SetString ou tbm quando da um DOF2_CreateFile(...); ai tem q salvar

Entгo:

nas linhas desses erros todos tem

new file[128];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)