Bei permissions im ordner müsste eine datei sein die permissions heist wo man ja auch die rechte eintragen muss
Beiträge von janser123
-
-
Ich glaub das eher was mit permissions nicht stimmt hau deine permissionsdatei mal durch nen yaml parser
-
Hab das nun geändert und ausprobiert und es geht immer noch nicht hier mal den Export der Haus Tabelle
SQL
Alles anzeigen-- phpMyAdmin SQL Dump -- version 3.4.9 -- http://www.phpmyadmin.net -- -- Host: localhost -- Erstellungszeit: 21. Feb 2012 um 19:24 -- Server Version: 5.1.61 -- PHP-Version: 5.3.3 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Datenbank: `*********` -- -- -------------------------------------------------------- -- -- Tabellenstruktur für Tabelle `housedata` -- CREATE TABLE IF NOT EXISTS `housedata` ( `hID` int(3) NOT NULL, `hOwner` varchar(24) NOT NULL, `hPreis` int(20) NOT NULL, `hMPreis` int(5) NOT NULL, `hM` int(3) NOT NULL, `hKasse` int(20) NOT NULL, `hSellpreis` int(20) NOT NULL, `hbuystate` int(1) NOT NULL, `hHeal` int(1) NOT NULL, `hArmour` int(1) NOT NULL, `hWaffenbox` int(1) NOT NULL, `hInt` int(3) NOT NULL, `hVir` int(3) NOT NULL, `hx` varchar(20) NOT NULL, `hy` varchar(20) NOT NULL, `hz` varchar(20) NOT NULL, `hiInt` int(3) NOT NULL, `hiVir` int(3) NOT NULL, `hix` varchar(20) NOT NULL, `hiy` varchar(20) NOT NULL, `hiz` varchar(20) NOT NULL, `hlock` int(1) NOT NULL, `hClubstate` int(1) NOT NULL, `hClub` int(2) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Daten für Tabelle `housedata` -- INSERT INTO `housedata` (`hID`, `hOwner`, `hPreis`, `hMPreis`, `hM`, `hKasse`, `hSellpreis`, `hbuystate`, `hHeal`, `hArmour`, `hWaffenbox`, `hInt`, `hVir`, `hx`, `hy`, `hz`, `hiInt`, `hiVir`, `hix`, `hiy`, `hiz`, `hlock`, `hClubstate`, `hClub`) VALUES (0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', 0, 0, '', '', '', 0, 0, 0);
hier noch mal teile aus dem mysql log
SQL
Alles anzeigen[Tue Feb 21 19:13:33 2012] ------------------------- [Tue Feb 21 19:13:33 2012] Logging Started [Tue Feb 21 19:13:33 2012] ------------------------- [Tue Feb 21 19:13:49 2012] Function: mysql_init executed with result: "0". [Tue Feb 21 19:13:49 2012] Connected (0) to ni4933_2_DB @ 127.0.0.1 via TCP/IP. [Tue Feb 21 19:13:49 2012] MySQL Server Version 5.1.61. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM gbdata WHERE `GBID`='0'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM gbdata WHERE `GBID`='1'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed. [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM gbdata WHERE `GBID`='2'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_fetch_field executed.
und eins aus der mitte
SQL
Alles anzeigen[Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='342'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='343'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='344'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='345'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='346'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='347'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed. [Tue Feb 21 19:13:49 2012] Function: mysql_query executed: "SELECT * FROM semdata WHERE `SEMID`='348'" with result: "0". [Tue Feb 21 19:13:49 2012] Function: mysql_store_result executed with result: "1" [Tue Feb 21 19:13:49 2012] Function: mysql_num_rows executed with result: "%". [Tue Feb 21 19:13:49 2012] Function: mysql_free_result executed
-
aber wenn er das original noch hat dann müsste man doch gucken können wann die das letzte mal bearbeitet worden ist oder
-
hab gerade dies im script gefunden
-
Hi ich habe ein problem undzwar speichert mysql wenn ich häuser erstelle nur nullen speicher hier der teil aus dem script zum abspeichern der Häuser
COMMAND:createhouse(playerid,params[])
{
new newPreis;
new Float:px,Float:py,Float:pz,pvir,astring[128],playername[MAX_PLAYER_NAME];
new h=FreeHouseCheck();
GetPlayerPos(playerid,px,py,pz);
if(SpielerInfo[playerid][Adminlevel]==6)
{
if(aLogin[playerid]==1)
{
if(sscanf(params,"i",newPreis)) return SendClientMessage(playerid,ROT,"Verwendung: /createhouse [Preis]");
{
new HouseText[128];
if(h>=100) return SendClientMessage(playerid,ROT,"Es dürfen keine weiteren Häuser erstellt werden!");
{
if(newPreis<=0) return SendClientMessage(playerid,ROT,"Der Preis muss höher als 0€ sein!");
{
new query[128];
format(query,sizeof(query),"INSERT INTO housedata (hID) VALUES ('%i')",
h);
mysql_query(query);
mysql_free_result();
pvir=GetPlayerVirtualWorld(playerid);
HouseInfo[h][hID]=h;
HouseInfo[h][hPreis]=newPreis;
HouseInfo[h][hSellpreis]=newPreis/2;
HouseInfo[h][hVir]=pvir;
HouseInfo[h][hx]=px;
HouseInfo[h][hy]=py;
HouseInfo[h][hz]=pz;
HouseInfo[h][hbuystate]=1;
HouseInfo[h][hix]=0;
HouseInfo[h][hiy]=0;
HouseInfo[h][hiz]=0;
HouseInfo[h][hiInt]=0;
HouseInfo[h][hiVir]=h;
HouseInfo[h][hlock]=1;
hPickup[h]=CreateDynamicPickup(1273,1,HouseInfo[h][hx],HouseInfo[h][hy],HouseInfo[h][hz]);
format(HouseText,sizeof(HouseText),"Haus zu verkaufen\n\nHausID: %i\nPreis: %i €\nUm es zu kaufen geben sie /buyhouse ein",HouseInfo[h][hID],HouseInfo[h][hPreis]);
hText[h]=Create3DTextLabel(HouseText,GRÜN,HouseInfo[h][hx],HouseInfo[h][hy],HouseInfo[h][hz],2,HouseInfo[h][hVir]);
GetPlayerName(playerid,playername,sizeof(playername));
format(astring,sizeof(astring),"%s hat Haus ID: %i für %i erstellt",playername,HouseInfo[h][hID],HouseInfo[h][hPreis]);
Adminlog(astring);
}
}
}
}
else return SendClientMessage(playerid,ROT,"Sie sind nicht als Admin eingeloggt!");
}
else return SendClientMessage(playerid,ROT,"Sie haben nicht das benötigte Adminlevel!");
return 1;
}falls ihr noch mehr braucht einfach fragen hoffe ihr könnt mir helfen
edit es ist nicht nur bei den häusern so sondern auch bei autos und gangbase -
Geht leider immer noch nicht
Kann mir irgendwer helfen pls
-
Brauchst du sonst irgendwas server oder mysqllog
-
Hi ich arbeite an einem edit von Get a life so jetzt hab ich das problem das befehle wie givemoney,giveweapon immer auf die Id 0 also bei mir ist das meistens ein Bot ausgeführt wird
Sagt mir was ihr braucht und ich werde es reineditieren
Also nur paar kleinere bugfix bis jetzt und nen paar objekte eingefügt Verbindung mit MySQL geht hier mal den befehl /givegunCOMMAND:givegun(playerid,params[])
{
new stringa[128],pID,gun,muni,pname[20],playername[20];
if(SpielerInfo[playerid][Adminlevel]>=4)
{
if(aLogin[playerid]==1)
{
if(sscanf(params,"rii",pID,gun,muni)) return SendClientMessage(playerid,ROT,"Verwendung: /givegun [playerid] [waffenid] [munition]");
{
if(IsPlayerConnected(pID))
{
if(gun>0 && gun< 47)
{
GetPlayerName(pID,pname,sizeof(pname));
GetPlayerName(playerid,playername,sizeof(playername));
GivePlayerWeapon(pID,gun,muni);
format(stringa,sizeof(stringa),"Admin %s hat %s ein Waffe gegeben.(ID:%i,Munition:%i)",playername,pname,gun,muni);
Adminlog(stringa);
for(new i;i<MAX_PLAYERS;i++)
{
if(SpielerInfo[i][Adminlevel]>=1)
{
SendClientMessage(i,GRAU,stringa);
}
}
}
else return SendClientMessage(playerid,ROT,"Ungültige Waffenid");
}
else return SendClientMessage(playerid,ROT,"Kein Spieler mit angegebener ID Online");
}
}
else return SendClientMessage(playerid,ROT,"Sie sind nicht als Admin eingeloggt.");
}
else return SendClientMessage(playerid, GRAU, "Du hast nicht das benötigte Adminlevel.");
return 1;
} -
Ich benutze das script von Opa_Schlumpf
und mysql plugin http://forum.sa-mp.com/showthread.php?t=122983 die static version
was von dem code braucht ihr noch ?
Erstes Problem gefixt aber jetzt kommt immer [MySQL] Error (0): Failed to exeute query. UPDATE command denied to user 'ni49XX_1_DB'@'78.143.11.XX' for table 'userdata'
Die XX sind nur für meine Sicherheit
Kann mir keiner helfen ?
-
Ich erhalte immer diese Fehlermeldung
[MySQL] Error (0): Function: mysql_fetch_field failed, no field data.Ich habe einen Gameserver bei Nitrado
könnt ihr mir bitte helfen
-
hab alles gemacht wie es hier steht aber es klappt immer noch nicht hab die gta triologie
ich kann es downgraden krieg dann aber beim instalieren vom mp immer ne fehler meldung