Wie meinst dus?
Beiträge von StarFir3
-
-
Hallo, unzwar habe ich folgendes Problem, wenn ich jetzt auf das Textdraw Registrieren klicke, stürzt die Server.exe ab
hier CrashinfologCode
Alles anzeigen-------------------------- SA-MP Server: 0.3.7-R2 Exception At Address: 0x77C28DCD Module: (ntdll.dll) Registers: EAX: 0x00000031 EBX: 0x0019D918 ECX: 0x00000001 EDX: 0x00001320 ESI: 0x00164A20 EDI: 0x02980000 EBP: 0x0019D818 ESP: 0x0019D720 EFLAGS: 0x00010202 Stack: +0000: 0x0BB610C2 0x0019D918 0x02980000 0x0019D920 +0010: 0xF30004F7 0x04C34854 0x0019D754 0xFFFFFB0C +0020: 0x02982B3E 0x0019D854 0x0019D728 0x8CA2073F +0030: 0x0019D854 0x6DBACF5E 0x8CA2073F 0xFFFFFFFE +0040: 0x6DBA3C3A 0x02987830 0x6D525E43 0x00000000 +0050: 0x02B6F978 0xFFFFFB0C 0x6D525EC4 0x00000001 +0060: 0x00000000 0x02980000 0x02980000 0x02982A88 +0070: 0x0019D7AC 0x0019D918 0x00000000 0x000007FF +0080: 0x00000001 0x029800C0 0x0000000F 0x6D52216C +0090: 0x6D521814 0x00000000 0x00000018 0x00000000 +00A0: 0x0019D7B8 0x0019D7BC 0x00000000 0x00000000 +00B0: 0x011901C8 0x00000000 0x00000400 0x029800C0 +00C0: 0x00000001 0x00001320 0x00000000 0x01017828 +00D0: 0x02987828 0x00000002 0x00164A20 0x02987830 +00E0: 0xFFFFFFFE 0x0019D134 0x0019D8A8 0x77C567B0 +00F0: 0x7C624A22 0x00000000 0x0019D86C 0x77C28BD8 +0100: 0x0019D918 0x0019D920 0x02B6F978 0x0019D920 +0110: 0x04C34854 0x5946F482 0x0019FB58 0x77C567B0 +0120: 0x7C624A02 0xFFFFFFFE 0x0019D888 0x77C25C95 +0130: 0x0000000B 0x00000018 0x029802A0 0x0019D87C -------------------------- Loaded Modules: samp-server.exe A: 0x00400000 - 0x00519000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\samp-server.exe) ntdll.dll A: 0x77BE0000 - 0x77D63000 (C:\Windows\SYSTEM32\ntdll.dll) KERNEL32.DLL A: 0x75420000 - 0x75500000 (C:\Windows\System32\KERNEL32.DLL) KERNELBASE.dll A: 0x77A30000 - 0x77BD1000 (C:\Windows\System32\KERNELBASE.dll) SHELL32.dll A: 0x75AD0000 - 0x76EA8000 (C:\Windows\System32\SHELL32.dll) msvcrt.dll A: 0x75110000 - 0x751CE000 (C:\Windows\System32\msvcrt.dll) cfgmgr32.dll A: 0x75310000 - 0x75346000 (C:\Windows\System32\cfgmgr32.dll) windows.storage.dll A: 0x770E0000 - 0x7764E000 (C:\Windows\System32\windows.storage.dll) combase.dll A: 0x76EB0000 - 0x770C1000 (C:\Windows\System32\combase.dll) ucrtbase.dll A: 0x77650000 - 0x77730000 (C:\Windows\System32\ucrtbase.dll) RPCRT4.dll A: 0x75350000 - 0x75411000 (C:\Windows\System32\RPCRT4.dll) SspiCli.dll A: 0x745B0000 - 0x745CE000 (C:\Windows\System32\SspiCli.dll) CRYPTBASE.dll A: 0x745A0000 - 0x745AA000 (C:\Windows\System32\CRYPTBASE.dll) bcryptPrimitives.dll A: 0x747C0000 - 0x7481A000 (C:\Windows\System32\bcryptPrimitives.dll) sechost.dll A: 0x758A0000 - 0x758E1000 (C:\Windows\System32\sechost.dll) powrprof.dll A: 0x758F0000 - 0x75935000 (C:\Windows\System32\powrprof.dll) advapi32.dll A: 0x75820000 - 0x75897000 (C:\Windows\System32\advapi32.dll) shlwapi.dll A: 0x74980000 - 0x749C6000 (C:\Windows\System32\shlwapi.dll) GDI32.dll A: 0x757C0000 - 0x757EB000 (C:\Windows\System32\GDI32.dll) gdi32full.dll A: 0x77730000 - 0x7788A000 (C:\Windows\System32\gdi32full.dll) USER32.dll A: 0x74820000 - 0x7497F000 (C:\Windows\System32\USER32.dll) win32u.dll A: 0x75800000 - 0x75815000 (C:\Windows\System32\win32u.dll) kernel.appcore.dll A: 0x77A10000 - 0x77A1D000 (C:\Windows\System32\kernel.appcore.dll) shcore.dll A: 0x755C0000 - 0x75648000 (C:\Windows\System32\shcore.dll) profapi.dll A: 0x74690000 - 0x7469F000 (C:\Windows\System32\profapi.dll) WSOCK32.dll A: 0x73690000 - 0x73698000 (C:\Windows\SYSTEM32\WSOCK32.dll) WINMM.dll A: 0x74550000 - 0x74574000 (C:\Windows\SYSTEM32\WINMM.dll) WS2_32.dll A: 0x75500000 - 0x75563000 (C:\Windows\System32\WS2_32.dll) WINMMBASE.dll A: 0x00560000 - 0x00583000 (C:\Windows\SYSTEM32\WINMMBASE.dll) IMM32.DLL A: 0x74660000 - 0x74685000 (C:\Windows\System32\IMM32.DLL) mysql.DLL A: 0x10000000 - 0x10015000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\mysql.DLL) LIBMYSQL.dll A: 0x02700000 - 0x0293E000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\LIBMYSQL.dll) MSVCP90.dll A: 0x6D520000 - 0x6D5AE000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\MSVCP90.dll) MSVCR90.dll A: 0x6DB40000 - 0x6DBE3000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\MSVCR90.dll) napinsp.dll A: 0x5EE70000 - 0x5EE82000 (C:\Windows\system32\napinsp.dll) pnrpnsp.dll A: 0x5EE50000 - 0x5EE66000 (C:\Windows\system32\pnrpnsp.dll) NLAapi.dll A: 0x67B10000 - 0x67B24000 (C:\Windows\system32\NLAapi.dll) mswsock.dll A: 0x73F20000 - 0x73F6E000 (C:\Windows\System32\mswsock.dll) DNSAPI.dll A: 0x73E20000 - 0x73E9D000 (C:\Windows\SYSTEM32\DNSAPI.dll) NSI.dll A: 0x757F0000 - 0x757F7000 (C:\Windows\System32\NSI.dll) IPHLPAPI.DLL A: 0x73DF0000 - 0x73E1F000 (C:\Windows\SYSTEM32\IPHLPAPI.DLL) winrnr.dll A: 0x5FBD0000 - 0x5FBDC000 (C:\Windows\System32\winrnr.dll) wshbth.dll A: 0x5EE30000 - 0x5EE41000 (C:\Windows\System32\wshbth.dll) rasadhlp.dll A: 0x73DE0000 - 0x73DE8000 (C:\Windows\System32\rasadhlp.dll) sscanf.DLL A: 0x00C40000 - 0x00C4C000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\sscanf.DLL) MSVCR100.dll A: 0x6D460000 - 0x6D51F000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\MSVCR100.dll) iTD.DLL A: 0x6EEC0000 - 0x6EEC6000 (C:\Users\Sevket\Desktop\Stand 17.06\samp037_svr_R2-1-1_win32\plugins\iTD.DLL) bcrypt.dll A: 0x73F70000 - 0x73F8B000 (C:\Windows\SYSTEM32\bcrypt.dll)
Woran liegt das?hier was beim Klick des Textdraws passiert:
Code
Alles anzeigenif(playertextid == Regi[playerid]) { if(Passwort[playerid] != 1 || Alter[playerid] !=1 || Geschlecht[playerid] !=1)return SendClientMessage(playerid,COLOR_WHITE,"{F50000}Fehler: {FEFEFE}Bitte erfülle alle mit einem Stern gekennzeichneten Bereich!"); //Global TextDrawHideForPlayer(playerid,Textdraw0); TextDrawHideForPlayer(playerid,Textdraw1); TextDrawHideForPlayer(playerid,Textdraw2); TextDrawHideForPlayer(playerid,PasswortDraw); TextDrawHideForPlayer(playerid,PasswortDrawBox); TextDrawHideForPlayer(playerid,GeschlechtDraw); TextDrawHideForPlayer(playerid,GeschlechtDrawBox); TextDrawHideForPlayer(playerid,AlterDraw); TextDrawHideForPlayer(playerid,AlterDrawBox); TextDrawHideForPlayer(playerid,SkinDraw); TextDrawHideForPlayer(playerid,ChicDraw); TextDrawHideForPlayer(playerid,RoleDraw); TextDrawHideForPlayer(playerid,BildDraw); //Anklickbar PlayerTextDrawHide(playerid,PfeilRechtsDraw[playerid]); PlayerTextDrawHide(playerid,PfeilLinksDraw[playerid]); PlayerTextDrawHide(playerid,Regi[playerid]); PlayerTextDrawHide(playerid,AbbrechDraw[playerid]); PlayerTextDrawHide(playerid,PassFeld[playerid]); PlayerTextDrawHide(playerid,GeschlFeld[playerid]); PlayerTextDrawHide(playerid,AlterFeld[playerid]); PlayerTextDrawHide(playerid,SkinIdDraw[playerid]); PlayerTextDrawHide(playerid,PlayerNameDraw[playerid]); TogglePlayerSpectating(playerid, false); SpawnPlayer(playerid); sInfo[playerid][sNeuling]=1; new query[256],passworteingabe[128],name[MAX_PLAYER_NAME]; new altersint=GetPVarInt(playerid,"altersint"); GetPVarString(playerid,"passwortvar",passworteingabe,128); GetPlayerName(playerid,name,sizeof(name)); mysql_format(cHandle,query,"INSERT INTO user (username, password,jahr) VALUES ('%e', '%e', '%i')",name,passworteingabe,altersint); mysql_function_query(cHandle,query,true,"MysqlPlayerRegister","i",playerid); return 1; }
-
Danke hab das schon gelöst, trotzdem Danke dir.
-
Woher soll man wissen das er wirklich zu dem Handel steht und nicht auch verarscht?
@Marcel_Colbetti -
Hast du die Lizenz noch ?
-
Code
Alles anzeigenRegisterDraw = TextDrawCreate(404.114105, 358.399963, "Zur Registration"); TextDrawLetterSize(RegisterDraw, 0.500285, 2.124800); TextDrawAlignment(RegisterDraw, 2); TextDrawColor(RegisterDraw, -1); TextDrawSetShadow(RegisterDraw, 0); TextDrawSetOutline(RegisterDraw, 0); TextDrawBackgroundColor(RegisterDraw, 0); TextDrawFont(RegisterDraw, 1); TextDrawSetProportional(RegisterDraw, 1); TextDrawSetSelectable(RegisterDraw, true); BeendenDraw = TextDrawCreate(214.857177, 356.266632, "Beenden"); TextDrawLetterSize(BeendenDraw, 0.480625, 2.171729); TextDrawAlignment(BeendenDraw, 2); TextDrawColor(BeendenDraw, -1); TextDrawSetShadow(BeendenDraw, 0); TextDrawSetOutline(BeendenDraw, 0); TextDrawBackgroundColor(BeendenDraw, 0); TextDrawFont(BeendenDraw, 1); TextDrawSetProportional(BeendenDraw, 1); TextDrawSetSelectable(BeendenDraw, true);
Alles wird angezeigt, "Zur Registration" wird angezeigt und "Beenden" auch, diesind jedoch anklickbar, Jedoch wenn ich Zur Registration auswählen will, wird Beenden auch ausgewählt, und wenn ich dann auf Registration klicke wird die Aktion von Beenden ausgeführt.
Woran liegt das -
Hallo,
Wenn ich einen Textdraw Editor, egal welchen InGame laden möchte, es lädt sich zwar, auch beim Server hochfahren aber wenn ich dann die Befehle dazu benutzen möchte, gehen die nicht, es sagt mir das es den Befehl nicht gibt
Woran liegt das ? -
Hatte am 17. März
-
-.- Danke haha
-
Was ist da denn bitte falsch?
CodeC:\Users\Admin\Desktop\Life of Rio\gamemodes\LOS.pwn(168) : error 017: undefined symbol "Create3DTextLable" C:\Users\Admin\Desktop\Life of Rio\gamemodes\LOS.pwn(170) : error 017: undefined symbol "Create3DTextLable" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
Code
Alles anzeigen//Interiors for(new i=0;i<sizeof(bInfo);i++) { new string[250],string2[250]; CreatePickup(1318,1,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z],-1); CreatePickup(1318,1,bInfo[i][b_ix],bInfo[i][b_iy],bInfo[i][b_iz],-1); format(string,sizeof(string),"%s um zu interagieren\nbenutze die Taste f oder die Eingabe Taste",bInfo[i][b_name]); Create3DTextLable(string,weiss,bInfo[i][b_x],bInfo[i][b_y],bInfo[i][b_z],40,0,1); format(string2,sizeof(string2),"%s um zu interagieren\nbenutze die Taste f oder die Eingabe Taste",bInfo[i][b_name]); Create3DTextLable(string,weiss,bInfo[i][b_ix],bInfo[i][b_iy],bInfo[i][b_iz],40,i,1); } return 1;
-
Danke dir Jeffry jetzt geht es
Wie kann ich am besten Scripten lernen? Viele sagen durch Godfathers wieso durch Godfathers und wenn ja kannst du mir einen schicken? -
Jaa stimmt auch
-
Hab das "pAlter" zu "pYear" umgeändert
jedoch speicherts immer noch nicht, kannst du mir evtl helfen ? -
Hier der MYSQL Log
@JeffryCode
Alles anzeigen[23:14:23] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061) [23:14:23] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:14:23] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:14:23] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:14:24] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061) [23:14:24] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061) [23:14:24] [DEBUG] CMySQLHandle::~CMySQLHandle - deconstructor called [23:15:02] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:15:02] [DEBUG] CMySQLConnection::Connect - connection was successful [23:15:02] [DEBUG] CMySQLConnection::Connect - connection was successful [23:15:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [23:15:02] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [23:16:36] [DEBUG] mysql_format - connection: 1, len: 256, format: "SELECT * FROM user WHERE Username='%e'" [23:16:36] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM user WHERE Username='ForTheTest1'", callback: "UserCheck", format: "i" [23:16:36] [DEBUG] CMySQLQuery::Execute[UserCheck] - starting query execution [23:16:36] [DEBUG] CMySQLQuery::Execute[UserCheck] - query was successfully executed within 168.33 milliseconds [23:16:36] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:16:36] [DEBUG] Calling callback "UserCheck".. [23:16:36] [DEBUG] cache_get_data - connection: 1 [23:16:36] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [23:16:53] [DEBUG] mysql_format - connection: 1, len: 256, format: "INSERT INTO user (Username, Passwort) VALUES ('%e',MD5('%e'))" [23:16:53] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO user (Username, Passwort) VALUES ('ForTheTest1',MD5(", callback: "OnPlayerRegister", format: "i" [23:16:53] [DEBUG] CMySQLQuery::Execute[OnPlayerRegister] - starting query execution [23:16:53] [DEBUG] mysql_format - connection: 1, len: 500, format: "UPDATE `user` Set `Skin`='%d',`Alter`='%d',`Geschlecht`='%d',`Level`='%d',`Neuling`='%d',`Leben`='%.0f',`Russi`='%0.f' WHERE `ID..." [23:16:53] [ERROR] mysql_format - invalid format specifier "%'" [23:16:53] [DEBUG] mysql_pquery - connection: 1, query: "UPDATE `user` Set `Skin`='23',`Alter`='16',`Geschlecht`='1',`Lev", callback: "(null)", format: "(null)" [23:16:53] [DEBUG] CMySQLQuery::Execute[] - starting query execution [23:16:53] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0'' at line 1 [23:16:53] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError [23:16:53] [DEBUG] CMySQLQuery::Execute[OnPlayerRegister] - query was successfully executed within 115.141 milliseconds [23:16:53] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:16:53] [DEBUG] Calling callback "OnPlayerRegister".. [23:16:53] [DEBUG] cache_insert_id - connection: 1 [23:16:54] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [23:17:03] [DEBUG] mysql_format - connection: 1, len: 500, format: "UPDATE `user` Set `Skin`='%d',`Alter`='%d',`Geschlecht`='%d',`Level`='%d',`Neuling`='%d',`Leben`='%.0f',`Russi`='%0.f' WHERE `ID..." [23:17:03] [ERROR] mysql_format - invalid format specifier "%'" [23:17:03] [DEBUG] mysql_pquery - connection: 1, query: "UPDATE `user` Set `Skin`='23',`Alter`='16',`Geschlecht`='1',`Lev", callback: "(null)", format: "(null)" [23:17:03] [DEBUG] CMySQLQuery::Execute[] - starting query execution [23:17:03] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16'' at line 1 [23:17:03] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError [23:17:22] [DEBUG] CMySQLConnection::Disconnect - connection was closed [23:17:22] [DEBUG] CMySQLHandle::~CMySQLHandle - deconstructor called
-
Danke, hab das alles nun, sollte eigentlich auch jetzt Speichern alles, aber es speichert nichts wieso?
C
Alles anzeigen/// Load Account /// stock LoadAccount(playerid) { pInfo[playerid][db_id]=cache_get_field_content_int(0,"ID",Handle); pInfo[playerid][pEingeloggt]=1; pInfo[playerid][pLevel]=cache_get_field_content_int(0,"Level",Handle); pInfo[playerid][pAlter]=cache_get_field_content_int(0,"Alter",Handle); pInfo[playerid][pGeschlecht]=cache_get_field_content_int(0,"Geschlecht",Handle); pInfo[playerid][pSkin]=cache_get_field_content_int(0,"Skin",Handle); pInfo[playerid][pNeuling]=cache_get_field_content_int(0,"Neuling",Handle); pInfo[playerid][pLeben]=cache_get_field_content_float(0,"Leben",Handle); pInfo[playerid][pRussi]=cache_get_field_content_float(0,"Russi",Handle); SetPlayerHealth(playerid,pInfo[playerid][pLeben]); SetPlayerArmour(playerid,pInfo[playerid][pRussi]); SpawnPlayer(playerid); TogglePlayerSpectating(playerid,0); SetCameraBehindPlayer(playerid); return 1; } /// Speichern /// stock SpielerSpeichern(playerid) { if(pInfo[playerid][pEingeloggt]!=1)return 1; if(IsPlayerNPC(playerid))return 1; GetPlayerHealth(playerid,pInfo[playerid][pLeben]); GetPlayerArmour(playerid,pInfo[playerid][pRussi]); new query[500]; mysql_format(Handle,query,sizeof(query),"UPDATE `user` Set `Skin`='%d',`Alter`='%d',`Geschlecht`='%d',`Level`='%d',`Neuling`='%d',`Leben`='%.0f',`Russi`='%0.f' WHERE `ID`='%d'",GetPlayerSkin(playerid), pInfo[playerid][pAlter],pInfo[playerid][pGeschlecht],pInfo[playerid][pLevel],pInfo[playerid][pNeuling],pInfo[playerid][pLeben],pInfo[playerid][pRussi],pInfo[playerid][db_id]); mysql_pquery(Handle,query,"",""); printf("%s",query); pInfo[playerid][pEingeloggt]=0; return 1; }
-
Zeig mir mal deine Server Config
-
Hallo, Ich weiss nicht was da falsch ist, kann mir jemand helfen ?
Code
Alles anzeigenC:\Users\Aykut\Desktop\Life of Rio\pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(128) : error 017: undefined symbol "SpielerSpeichern" C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(431) : warning 219: local variable "num_rows" shadows a variable at a preceding level C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(431) : warning 219: local variable "num_fields" shadows a variable at a preceding level C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(458) : error 055: start of function body without function header C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(460) : error 021: symbol already defined: "cache_get_data" C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(461) : error 010: invalid function or declaration C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(464) : error 010: invalid function or declaration C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(466) : error 021: symbol already defined: "format" C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(468) : error 010: invalid function or declaration C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(473) : error 010: invalid function or declaration C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(476) : error 054: unmatched closing brace ("}") C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(477) : error 010: invalid function or declaration C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(496) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "num_fields" C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "num_rows" C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "string" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 10 Errors.
Hier das Scriptteil was Probleme macht:
C
Alles anzeigenforward OnPasswordResponse(playerid); public OnPasswordResponse(playerid); { new num_fields,num_rows; cache_get_data(num_rows,num_fields); if(num_rows==0) { //Passwort falsch Logintest[playerid]+=1; new string[250]; format(string,sizeof(string),"{FEFEFE}Einloggen {FF0000}[%d/3]",Logintest[playerid]); ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"{FEFEFE}Einloggen","{00FFD2}Willkommen zurück auf Life of Rio,{FEFEFE}\n bitte gebe dein Passwort ein.","{FEFEFE}Weiter","{FEFEFE}Abbrechen"); if(Logintest[playerid]>=3) { ShowPlayerDialog(playerid,DIALOG_LOGINT,DIALOG_STYLE_PASSWORD,"{FF0000}Fehler","{FEFEFE}Maximale Versuche verbraucht, Sie werden aus Sicherheitsgründen vom Server entfernt.","{FEFEFE}Verstanden",""); } } else { //Passwort richtig } return 1; }
Wenn ich diesen Bereich rausmache, habe ich keine Errorcodes.
-
Jetzt geht es Danke euch
-
Jetzt gerade ist es so:
if(dialogid == DIALOG_CHAR1)
{
if(response)
{
//Männlich
pInfo[playerid][pGeschlecht]=1;
ShowPlayerDialog(playerid,DIALOG_CHAR2,DIALOG_STYLE_LIST,"Charaktererstellung 2/3","Hast du das Serverregelwerk gelesen?","Ja","Nein","Weiter","Abbrechen");
}
else
{
//Weiblich
pInfo[playerid][pGeschlecht]=2;
ShowPlayerDialog(playerid,DIALOG_CHAR2,DIALOG_STYLE_LIST,"Charaktererstellung 2/3","Hast du das Serverregelwerk gelesen?","Ja","Nein","Weiter","Abbrechen");
}
}Wen ich Compile:
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(297) : warning 202: number of arguments does not match definition
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(297) : warning 202: number of arguments does not match definition
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(303) : warning 202: number of arguments does not match definition
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(303) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase4 Warnings.
-
Ja stimmt. hab das geändert trotzdem sind in der Zeile noch Errors mit "Weiter" Usw
Es sagt in der Zeile 297: ShowPlayerDialog(playerid,DIALOG_CHAR2,DIALOG_STYLE_LIST,"Charaktererstellung 2/3","Hast du das Serverregelwerk gelesen?\nJa\nNein\","Weiter","Abbrechen");
Aber das ";" ist ja da ?