22.03.2011, 23:30
Olб amigos desculpe-me por vir da trabalho denovo aqui no forum =/
Mais eu estou com alguns erros
Comeзando.. nunca usei Dini , vi um tutorial do Drakins mais e um tutorial meio pequeno e nao
sanou muito minha duvida
Entao vamos ao meus preblemas
Ocorreram os Seguintes erros
Code
Eu tentei passar as casas para o Dini para ter mais estabilidade em meu servidor
Se alguem tambem puder me indicar um local onde eu possa me aprofundar em aprender
Dini, fini , entre outras desses sistemas atuais
Mais eu estou com alguns erros
Comeзando.. nunca usei Dini , vi um tutorial do Drakins mais e um tutorial meio pequeno e nao
sanou muito minha duvida
Entao vamos ao meus preblemas
Ocorreram os Seguintes erros
pawn Код:
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16936) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16937) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16938) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16939) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16940) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16941) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16942) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16943) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16944) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16945) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16946) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16947) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16951) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16952) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16953) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16954) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16955) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16956) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16957) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16958) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16959) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16960) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16961) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16966) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16967) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Mauricio Benigno\Desktop\pwn's\bvteste3.pwn(16968) : error 035: argument type mismatch (argument 1)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
pawn Код:
public LoadProperty ()
{
new arquivo[256];
new arrCoords[30][64];
new strFromFile2[256];
new idx;
while (idx < sizeof(HouseInfo))
{
format(arquivo, sizeof(arquivo), "property.cfg",idx);
split(strFromFile2, arrCoords, ',');
HouseInfo[idx][hEntrancex] = dini_Int(floatstr(arrCoords[0]));
HouseInfo[idx][hEntrancey] = dini_Int(floatstr(arrCoords[1]));
HouseInfo[idx][hEntrancez] = dini_Int(floatstr(arrCoords[2]));
HouseInfo[idx][hExitx] = dini_Int(strval(arrCoords[3]));
HouseInfo[idx][hExity] = dini_Int(strval(arrCoords[4]));
HouseInfo[idx][hExitz] = dini_Int(strval(arrCoords[5]));
HouseInfo[idx][hHealthx] = dini_Int(strval(arrCoords[6]));
HouseInfo[idx][hHealthy] = dini_Int(strval(arrCoords[7]));
HouseInfo[idx][hHealthz] = dini_Int(strval(arrCoords[8]));
HouseInfo[idx][hArmourx] = dini_Int(strval(arrCoords[9]));
HouseInfo[idx][hArmoury] = dini_Int(strval(arrCoords[10]));
HouseInfo[idx][hArmourz] = dini_Int(strval(arrCoords[11]));
// Donos
strmid(HouseInfo[idx][hOwner], arrCoords[12], 0, strlen(arrCoords[12]), 255);
strmid(HouseInfo[idx][hDiscription], arrCoords[13], 0, strlen(arrCoords[13]), 255);
HouseInfo[idx][hValue] = dini_Int(strval(arrCoords[14]));
HouseInfo[idx][hHel] = dini_Int(strval(arrCoords[15]));
HouseInfo[idx][hArm] = dini_Int(strval(arrCoords[16]));
HouseInfo[idx][hInt] = dini_Int(strval(arrCoords[17]));
HouseInfo[idx][hLock] = dini_Int(strval(arrCoords[18]));
HouseInfo[idx][hOwned] = dini_Int(strval(arrCoords[19]));
HouseInfo[idx][hRooms] = dini_Int(strval(arrCoords[20]));
HouseInfo[idx][hRent] = dini_Int(strval(arrCoords[21]));
HouseInfo[idx][hRentabil] = dini_Int(strval(arrCoords[22]));
HouseInfo[idx][hTakings] = dini_Int(strval(arrCoords[23]));
HouseInfo[idx][hVec] = dini_Int(strval(arrCoords[24]));
if(HouseInfo[idx][hVec] == 457)
{
HouseInfo[idx][hVec] = 411;
}
HouseInfo[idx][hVcol1] = dini_Int(strval(arrCoords[25]));
HouseInfo[idx][hVcol2] = dini_Int(strval(arrCoords[26]));
HouseInfo[idx][hDate] = dini_Int(strval(arrCoords[27]));
HouseInfo[idx][hLevel] = dini_Int(strval(arrCoords[28]));
HouseInfo[idx][hWorld] = dini_Int(strval(arrCoords[29]));
idx ++;
}
printf(" %d Casas Carregadas no Servidor", idx);
return 1;
}
Se alguem tambem puder me indicar um local onde eu possa me aprofundar em aprender
Dini, fini , entre outras desses sistemas atuais