@geramy Da finde ich nichts also da steht kein error
Beiträge von RobinGamer6
-
-
- Hi mein Problem ist wenn ich sterbe das ich nicht Respawne der Log sagt nichts aber wenn ich debugscript 3 mache kommt das
Externer Inhalt www11.pic-upload.deInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.- Und ich habe ihn schon 2 mal Neu Aufgestzt aber immer wieder. Hier kommt die Kompass.lua Code
Alles anzeigenlocal EntfernungRESET=0 local SpeedRESET=0 local SpeedCounterRESET=0 local filename="kompass_save.xml" -- Created: 16/08/2012 09:12 addEventHandler("onClientResourceStart",resourceRoot, function() kompassgui_Window = {} kompassgui_Button = {} kompassgui_Label = {} local dx,dy=guiGetScreenSize() dx=600/1600*dx dy=245/900*dy kompassgui_Window[1] = guiCreateWindow(dx,dy,528,408,"Kompass",false) table.insert(allGuis,kompassgui_Window[1]) kompassgui_Button[1] = guiCreateButton(300,277,175,28,"Close",false,kompassgui_Window[1]) kompassgui_Label[1] = guiCreateLabel(108,37,192,15,"Himmelsrichtung:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[1],"right",false) kompassgui_Label[2] = guiCreateLabel(109,55,192,15,"Rotation zu Norden:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[2],"right",false) kompassgui_Label[3] = guiCreateLabel(110,73,192,15,"Position Koordinate x:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[3],"right",false) kompassgui_Label[4] = guiCreateLabel(110,90,192,15,"Position Koordinate y:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[4],"right",false) kompassgui_Label[5] = guiCreateLabel(110,108,192,15,"Position Koordinate z:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[5],"right",false) kompassgui_Label[6] = guiCreateLabel(18,127,285,15,"Geschwindigkeit X-Achse:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[6],"right",false) kompassgui_Label[7] = guiCreateLabel(22,142,281,16,"Geschwindigkeit Y-Achse:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[7],"right",false) kompassgui_Label[8] = guiCreateLabel(18,158,285,15,"Geschwindigkeit Z-Achse:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[8],"right",false) kompassgui_Label[9] = guiCreateLabel(20,174,283,15,"Geschwindigkeit Gesamt:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[9],"right",false) kompassgui_Label[10] = guiCreateLabel(20,193,283,15,"Entfernung zum Nullpunkt:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[10],"right",false) kompassgui_Label[11] = guiCreateLabel(20,206,291,17,"Durchschnittsgeschwindigkeit seit letztem Connect:",false,kompassgui_Window[1]) kompassgui_Label[12] = guiCreateLabel(20,221,283,15,"Zurückgelegte Entfernung seit letztem Connect:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[12],"right",false) kompassgui_Label[13] = guiCreateLabel(20,237,283,15,"Zurückgelegte Entfernung seit letztem RESET:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[13],"right",false) kompassgui_Button[2] = guiCreateButton(26,278,148,29,"RESET",false,kompassgui_Window[1]) kompassgui_Label[14] = guiCreateLabel(20,252,283,15,"Durschnittliche geschwindigkeit seit letztem RESET:",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[14],"right",false) kompassgui_Label[15] = guiCreateLabel(29,319,442,75,"Information: Die angegebenen Entfernungen und Geschwindigkeiten seit letztem RESET von den tatsächlichen Werten leicht abweichen!\nErklärung: m => Meter | km => Kilometer(bei TerraTex mit Faktor 10) \nC => Koordinatenpunkte | s => Sekunden | h => Stunden",false,kompassgui_Window[1]) guiLabelSetHorizontalAlign(kompassgui_Label[15],"left",true) kompassgui_Label[16] = guiCreateLabel(305,38,164,15,"Himmelsrichtungwert",false,kompassgui_Window[1]) kompassgui_Label[17] = guiCreateLabel(305,73,164,15,"Xwert",false,kompassgui_Window[1]) kompassgui_Label[18] = guiCreateLabel(305,55,164,15,"RotationzuNwert",false,kompassgui_Window[1]) kompassgui_Label[19] = guiCreateLabel(305,158,164,15,"ZVwert",false,kompassgui_Window[1]) kompassgui_Label[20] = guiCreateLabel(305,142,164,15,"YVwert",false,kompassgui_Window[1]) kompassgui_Label[21] = guiCreateLabel(305,127,164,15,"XVwert",false,kompassgui_Window[1]) kompassgui_Label[22] = guiCreateLabel(305,109,164,15,"Zwert",false,kompassgui_Window[1]) kompassgui_Label[23] = guiCreateLabel(305,91,164,15,"Ywert",false,kompassgui_Window[1]) kompassgui_Label[24] = guiCreateLabel(305,174,164,15,"VGwert",false,kompassgui_Window[1]) kompassgui_Label[25] = guiCreateLabel(305,252,213,15,"DVRESET",false,kompassgui_Window[1]) kompassgui_Label[26] = guiCreateLabel(305,236,213,15,"ERESETkm",false,kompassgui_Window[1]) kompassgui_Label[27] = guiCreateLabel(305,221,213,15,"EConnectkmwert",false,kompassgui_Window[1]) kompassgui_Label[28] = guiCreateLabel(305,207,213,15,"DVConnectwert",false,kompassgui_Window[1]) kompassgui_Label[29] = guiCreateLabel(305,193,164,15,"ENkmwert",false,kompassgui_Window[1]) guiSetVisible(kompassgui_Window[1],false) addEventHandler ( "onClientGUIClick", kompassgui_Button[1], pressKompassClose, false ) addEventHandler ( "onClientGUIClick", kompassgui_Button[2], pressKompassReset, false ) local filehandler if not(fileExists ( filename ))then filehandler=fileCreate ( filename) fileClose ( filehandler) local node=xmlCreateFile ( filename, "kompass" ) local childnode=xmlCreateChild ( node, "km" ) xmlNodeSetValue ( childnode, tostring(0) ) local childnode=xmlCreateChild ( node, "v" ) xmlNodeSetValue ( childnode, tostring(0) ) local childnode=xmlCreateChild ( node, "c" ) xmlNodeSetValue ( childnode, tostring(0) ) xmlSaveFile ( node ) xmlUnloadFile(node) else local node=xmlLoadFile(filename) EntfernungRESET=tonumber(xmlNodeGetValue (xmlFindChild ( node, "km", 0 ) )) SpeedRESET=tonumber(xmlNodeGetValue (xmlFindChild ( node, "v", 0 ) )) SpeedCounterRESET=tonumber(xmlNodeGetValue (xmlFindChild ( node, "c", 0 ) )) xmlUnloadFile(node) end setTimer(aktualizeKompass,250,0) setTimer(save_new_km_v,20000,0) end ) local oldx,oldy,oldz=false,false,false --SpeedRESET => Zeit in Sekunden --EntfernungRESET => Zurückgelegte Koordinaten -- Bei Tappkauf WERTERESET function showKompass() guiSetVisible(kompassgui_Window[1],true) end local SpeedConnect=0 local EntfernungConnect=0 local SpeedCounterConnect=0 function pressKompassClose() guiSetVisible(kompassgui_Window[1],false) end function pressKompassReset() SpeedRESET=0 EntfernungRESET=0 SpeedCounterRESET=0 save_new_km_v() end local rotToNHimmel={"Nord","Nord-Nord-West","Nord-West","West-Nord-West","West","West-Süd-West","Süd-West","Süd-Süd-West","Süd","Süd-Süd-Ost","Süd-Ost","Ost-Süd-Ost","Ost","Ost-Nord-Ost","Nord-Ost","Nord-Nord-Ost","Nord"} function aktualizeKompass() if not(oldx)then oldx,oldy,oldz=getElementPosition(getLocalPlayer()) end local rotx,roty,rotz=getElementRotation(getLocalPlayer()) guiSetText(kompassgui_Label[18],tostring(rotz)) local x,y,z=getElementPosition(getLocalPlayer()) guiSetText(kompassgui_Label[17],tostring(x)) guiSetText(kompassgui_Label[23],tostring(y)) guiSetText(kompassgui_Label[22],tostring(z)) if(rotz)then local rotcounter=0 --rotter=11.25 rotter=-11.25 while(rotz>rotter)do --outputDebugString(tostring(rotz).." "..tostring(rotter)) rotcounter=rotcounter+1 rotter=rotter+22.5 end guiSetText(kompassgui_Label[16],tostring(rotToNHimmel[rotcounter])) end local vx,vy,vz=getElementVelocity(getLocalPlayer()) if(isPedInVehicle(getLocalPlayer()))then local veh=getPedOccupiedVehicle(getLocalPlayer()) if(isElement(veh))then vx,vy,vz=getElementVelocity(veh) end end if(not(vx))then vx=0 vy=0 vz=0 end local gv=math.sqrt(vx*vx+vy*vy+vz*vz) vx=vx*50 vy=vy*50 vz=vz*50 gv=gv*50 local vxk,vyk,vzk,gvk=vx*3.6,vy*3.6,vz*3.6,gv*3.6 guiSetText(kompassgui_Label[21],math.round(vx,2).." m/s | "..math.round(vxk,2).." km/h") guiSetText(kompassgui_Label[20],math.round(vy,2).." m/s | "..math.round(vyk,2).." km/h") guiSetText(kompassgui_Label[19],math.round(vz,2).." m/s | "..math.round(vzk,2).." km/h") guiSetText(kompassgui_Label[24],math.round(gv,2).." m/s | "..math.round(gvk,2).." km/h") local disN=getDistanceBetweenPoints3D(0,0,0,x,y,z) guiSetText(kompassgui_Label[29],math.round(disN/100,3).." km | "..math.round(disN,1).." C") if not SpeedConnect then SpeedConnect=0 end if not SpeedCounterConnect then SpeedCounterConnect=0 end if(gv>0)then SpeedConnect=SpeedConnect+gv SpeedCounterConnect=SpeedCounterConnect+1 end local speedDVC=SpeedConnect/SpeedCounterConnect local disToOld=getDistanceBetweenPoints3D(oldx,oldy,oldz,x,y,z) if not EntfernungConnect then EntfernungConnect=0 end EntfernungConnect=EntfernungConnect+disToOld guiSetText(kompassgui_Label[27],math.round(EntfernungConnect/100,3).." km | "..math.round(EntfernungConnect,1).." C") guiSetText(kompassgui_Label[28],math.round(speedDVC,2).." m/s | "..math.round((speedDVC*3.6),2).." km/h") if not SpeedRESET then SpeedRESET=0 end if not SpeedRESET then SpeedCounterRESET=0 end local disToOld=getDistanceBetweenPoints3D(oldx,oldy,oldz,x,y,z) if not EntfernungRESET then EntfernungRESET=0 end EntfernungRESET=EntfernungRESET+disToOld if(gv>0)then SpeedRESET=SpeedRESET+gv SpeedCounterRESET=SpeedCounterRESET+1 end local speedDVC=SpeedRESET/SpeedCounterRESET guiSetText(kompassgui_Label[26],math.round(EntfernungRESET/100,3).." km | "..math.round(EntfernungRESET,1).." C") guiSetText(kompassgui_Label[25],math.round(speedDVC,2).." m/s | "..math.round(speedDVC*3.6,2).." km/h") oldx,oldy,oldz=x,y,z --save_new_km_v() end function save_new_km_v() local filehandler local node if not(fileExists ( filename ))then filehandler=fileCreate ( filename) fileClose ( filehandler) node=xmlCreateFile ( filename, "kompass" ) local childnode=xmlCreateChild ( node, "km" ) xmlNodeSetValue ( childnode, tostring(0) ) local childnode=xmlCreateChild ( node, "v" ) xmlNodeSetValue ( childnode, tostring(0) ) local childnode=xmlCreateChild ( node, "c" ) xmlNodeSetValue ( childnode, tostring(0) ) xmlSaveFile ( node ) end if not node then local node=xmlLoadFile(filename) end if not node then fileDelete ( filename ) else local childnode=xmlFindChild ( node, "km" ,0) xmlNodeSetValue ( childnode,tostring(EntfernungRESET) ) local childnode=xmlFindChild ( node, "v" ,0) xmlNodeSetValue ( childnode, tostring(SpeedRESET) ) local childnode=xmlFindChild ( node, "c" ,0) xmlNodeSetValue ( childnode, tostring(SpeedCounterRESET) ) xmlSaveFile ( node ) xmlUnloadFile(node) end end
-
Aber nicht in der 29. Zeile ...
Das ist ja merkwürdig was sollte ich da tun?
-
@[Rise]Bonus Und in den Zeilen davor ist etwas mit texts
-
Das ist nicht die Datei, in der richtigen gibt es in Zeile 29 "texts".
das ist die einzige die ich fand
-
Versuch mal ingame /debugscript 3 zu schreiben ...
hier ist die infobar aber ich habe nichts daran geändert
Code
Alles anzeigen-- -- Created by IntelliJ IDEA. -- User: geramy -- Date: 05.06.2014 -- Time: 21:55 -- To change this template use File | Settings | File Templates. -- local texts={ "Besuche unser Forum: http://www.terratex.eu", "Stell dich anderen Usern im Forum vor: http://www.terratex.eu", "Du kannst deine TerraTex-Erfahrung inviduell mit F3 einstellen.", "Antworten viele auf deine Fragen und weitere Informationen erhälst du mit F1", "Wusstest du schon, dass du deine Radiostreams mit F2 in MTA hören kannst?", "Besuche unseren Teamspeak3-Server: terratex.eu", "Du hast ein Bug gefunden? Melde ihn im Bugtracker: http://bug.terratex.eu", "Dieses Script wird entwickelt von [TTeam]Geramy92 und [TTeam]Maxx", "Die Maps werden erstellt von Blizard" } local lastTextID=0 function changeInfoTextBar() lastTextID=lastTextID+1 if(lastTextID>table.getSize(texts))then lastTextID=1 end setTimer(changeInfoTextBar,20000,1) end addEventHandler("onClientResourceStart", resourceRoot, function() changeInfoTextBar() end ) addEventHandler("onClientPreRender", root, function() if(client_settings["infotext"])then local screenW, screenH = guiGetScreenSize() dxDrawRectangle(0, (screenH - 27) , screenW, 27, tocolor(17, 0, 0, 195), false) dxDrawText(texts[lastTextID], 10, screenH-27, screenW-20, ( screenH-27) + 27, tocolor(139, 0, 0, 224), 1.00, "bankgothic", "left", "center", false, false, false, false, false) end end )
-
Das ist normal.
Was ist normal
Versuch mal ingame /debugscript 3 zu schreiben ...
Ok hier sind die Bilder
http://www.pic-upload.de/view-28100752/…-50-37.png.html
http://www.pic-upload.de/view-28100755/…-49-41.png.html
http://www.pic-upload.de/view-28100757/…-50-36.png.html -
Ne dann kommt nur @haitor|Steven
-
Also bei meinen Terra Tex Server (Der aus dem Forum hier) wenn ich da sterbe respawne ich nicht dann kommt zwar das Kranken haus aber kein Symbol.Bei den Log steht genauso wenig aber hier ist der nochmal sagt einfach wenn ich eine Datei Posten soll. PS nachdem ich mir die Granate gegeben hab und gestorben bin musste ich nocheinmal reconnecten weill dann alles unsichtbar war.
Code
Alles anzeigen[2015-08-23 18:05:39] CONNECT: RobinTheDuckyDuck connected (IP: x Serial: x Version: 1.4.1-9.07378.0) [2015-08-23 18:05:43] JOIN: RobinTheDuckyDuck joined the game (IP: 178.1.137.202) [2015-08-23 18:05:54] ERROR: ADDONS/werbung/d_uv_scripted.lua:48: assertion failed! [2015-08-23 18:06:02] RobinTheDuckyDuck logged in! [2015-08-23 18:06:32] LOGIN: (Admin, Everyone) RobinTheDuckyDuck successfully logged in as 'RobinTheDuckyDuck' (IP: 1x13xx2 Serial: 9xxxFx4) [2015-08-23 18:06:45] ADMIN: RobinTheDuckyDuck has given RobinTheDuckyDuck 'Grenade' [2015-08-23 18:07:20] QUIT: RobinTheDuckyDuck left the game [Quit] [2015-08-23 18:07:20] INFO: Start Saveing User Data [RobinTheDuckyDuck] [2015-08-23 18:07:20] INFO: User Data [RobinTheDuckyDuck] saved [2015-08-23 18:07:28] CONNECT: RobinTheDuckyDuck connected (IP: 17x.202 Serial: 9x5Dxx Version: 1.4.1-9.07378.0) [2015-08-23 18:07:29] JOIN: RobinTheDuckyDuck joined the game (IP: 17x2) [2015-08-23 18:07:44] ERROR: ADDONS/werbung/d_uv_scripted.lua:48: assertion failed! [2015-08-23 18:09:11] INFO: Started Biz Save [2015-08-23 18:09:11] INFO: Biz Saved
-
-
Leute ich hab das Problem das ich auch ein Blackscreen beim Connecten hab hier ist der Log und ja ich hab die areaai.lua oder so schon compolied.
Code
Alles anzeigen[2015-08-23 09:32:45] ERROR: la_reallife missions/area51/area51ai/area51_ai_client.lua is invalid. Please re-compile at http://luac.mtasa.com/ [2015-08-23 09:32:45] Upgrading la_reallife:places/rathaus/rathaus.lua ...........done [2015-08-23 09:32:45] Upgrading la_reallife:places/rathaus/fahrschule.lua ...........done [2015-08-23 09:32:45] Upgrading la_reallife:poker/poker_server.lua ...........done [2015-08-23 09:32:45] Upgrading la_reallife:shops/gunshop/gunshop_server.lua ...........done [2015-08-23 09:32:45] Upgrading la_reallife:shootingranch/shootingranch_server.lua ...........done [2015-08-23 09:32:45] Upgrading la_reallife:handy/scripts/client.lua ...........done [2015-08-23 09:32:45] Resource 'la_reallife' changed while running, reloading and restarting [2015-08-23 09:32:45] Stopping la_reallife [2015-08-23 09:32:46] WARNING: Ignoring duplicate client script file in resource 'la_reallife': 'minigames/tetris/classes_client.lua' [2015-08-23 09:32:46] New resource 'la_reallife' loaded [2015-08-23 09:32:46] Resources: 6 loaded, 1 failed [2015-08-23 09:32:46] ERROR: la_reallife missions/area51/area51ai/area51_ai_client.lua is invalid. Please re-compile at http://luac.mtasa.com/ [2015-08-23 09:32:46] Starting la_reallife [2015-08-23 09:32:46] ERROR: Bad/missing 'posX' attribute in <object> (line 77) [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/script.lua:111: '=' expected near 'end' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/script.lua:111: '=' expected near 'end' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/admin/admincmds.lua:189: '=' expected near 'elseif' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/admin/admincmds.lua:189: '=' expected near 'elseif' [2015-08-23 09:32:46] 45229472 [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/biz/biz.lua:259: '=' expected near 'local' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/biz/biz.lua:259: '=' expected near 'local' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/carsys/carcommands.lua:426: '=' expected near 'local' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/carsys/carcommands.lua:426: '=' expected near 'local' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/carsys/katjuscha/katjuscha_server.lua:62: '=' expected near 'function' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/carsys/katjuscha/katjuscha_server.lua:62: '=' expected near 'function' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/carsys/carhouses/carhouses_mysql.lua:221: '=' expected near 'laSetElementData' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/carsys/carhouses/carhouses_mysql.lua:221: '=' expected near 'laSetElementData' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/carsys/licenses/vehiclecheck.lua:192: '=' expected near 'outputChatBox' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/carsys/licenses/vehiclecheck.lua:192: '=' expected near 'outputChatBox' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/clicksys/geld_server.lua:134: '=' expected near 'end' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/clicksys/geld_server.lua:134: '=' expected near 'end' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/gangareas.lua:276: '=' expected near 'sendMSGForFaction' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/gangareas.lua:276: '=' expected near 'sendMSGForFaction' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/waffenlager_server.lua:293: '=' expected near 'giveWeapon' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/waffenlager_server.lua:293: '=' expected near 'giveWeapon' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/barricades_server.lua:37: unexpected symbol near '0' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/barricades_server.lua:37: unexpected symbol near '0' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/army/army_cars.lua:261: '=' expected near 'setVehicleIdleRespawnDelay' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/army/army_cars.lua:261: '=' expected near 'setVehicleIdleRespawnDelay' [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/surenos/surenos_gunshop.lua:1: Bad argument @ 'createMarker' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/surenos/surenos_gunshop.lua:2: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/surenos/surenos_gunshop.lua:3: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/surenos/surenos_gunshop.lua:4: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/surenos/surenos_gunshop.lua:267: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/compton/compton_cars.lua:156: '=' expected near 'ComptonSavanna3' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/compton/compton_cars.lua:156: '=' expected near 'ComptonSavanna3' [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/compton/compton_deliver.lua:7: Bad argument @ 'createMarker' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/compton/compton_deliver.lua:8: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/compton/compton_deliver.lua:9: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/compton/compton_deliver.lua:10: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/compton/compton_deliver.lua:126: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/medic/medic_lift.lua:40: '=' expected near 'local' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/medic/medic_lift.lua:40: '=' expected near 'local' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/camorra/camorra_cars.lua:30: '=' expected near 'CamoHuntley4' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/camorra/camorra_cars.lua:30: '=' expected near 'CamoHuntley4' [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/camorra/camorra_gunshop.lua:22: Bad argument @ 'createMarker' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/camorra/camorra_gunshop.lua:23: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/camorra/camorra_gunshop.lua:24: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/camorra/camorra_gunshop.lua:25: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/camorra/camorra_gunshop.lua:271: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2015-08-23 09:32:46] ERROR: la_reallife/fraktionen/lapd/copcars.lua:540: bad argument #1 to 'pairs' (table expected, got nil) [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/fraktionen/lapd/functions.lua:164: '=' expected near 'end' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/fraktionen/lapd/functions.lua:164: '=' expected near 'end' [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/yakuza/yakuza_gunshop.lua:1: Bad argument @ 'createMarker' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/yakuza/yakuza_gunshop.lua:2: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/yakuza/yakuza_gunshop.lua:3: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/yakuza/yakuza_gunshop.lua:4: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/yakuza/yakuza_gunshop.lua:253: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/watts/watts_deliver.lua:7: Bad argument @ 'createMarker' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/watts/watts_deliver.lua:8: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got nil] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/watts/watts_deliver.lua:9: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/watts/watts_deliver.lua:10: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2015-08-23 09:32:46] WARNING: la_reallife/fraktionen/watts/watts_deliver.lua:125: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/jobs/robs/rob_allround.lua:70: '=' expected near 'outputChatBox' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/jobs/robs/rob_allround.lua:70: '=' expected near 'outputChatBox' [2015-08-23 09:32:46] ERROR: la_reallife/jobs/robs/warenhaus_server.lua:25: attempt to concatenate global 'camorraz' (a nil value) [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/jobs/taxi/taxi_server.lua:116: '=' expected near 'if' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/jobs/taxi/taxi_server.lua:116: '=' expected near 'if' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/outdoor/npcs.lua:184: '=' expected near 'if' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/outdoor/npcs.lua:184: '=' expected near 'if' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/poker/poker_settings.lua:103: 'end' expected (to close 'if' at line 99) near 'g' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/poker/poker_settings.lua:103: 'end' expected (to close 'if' at line 99) near 'g' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/register_login/register_login_server.lua:666: '=' expected near 'laSetElementData' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/register_login/register_login_server.lua:666: '=' expected near 'laSetElementData' [2015-08-23 09:32:46] SCRIPT ERROR: la_reallife/shops/gunshop/gunshop_server.lua:92: '=' expected near 'local' [2015-08-23 09:32:46] ERROR: Loading script failed: la_reallife/shops/gunshop/gunshop_server.lua:92: '=' expected near 'local' [2015-08-23 09:32:47] Es wurden keine Mails gefunden [2015-08-23 09:32:48] Upgrade completed. [2015-08-23 09:32:48] Es wurden 0 Hanfpflanzen gefunden! [2015-08-23 09:32:52] Es wurden keine Highscores gefunden. [2015-08-23 09:33:02] CONNECT: RobinTheDuckyDuck connected (IP: x Serial: x Version: 1.4.1-9.07378.0) [2015-08-23 09:33:03] JOIN: RobinTheDuckyDuck joined the game (IP: 1x2) [2015-08-23 09:33:12] ERROR: Client (RobinTheDuckyDuck) triggered serverside event regcheck, but event is not added serverside [2015-08-23 09:33:15] QUIT: RobinTheDuckyDuck left the game [Quit] [2015-08-23 09:34:41] Upgrading all resources... [2015-08-23 09:34:41] ERROR: la_reallife missions/area51/area51ai/area51_ai_client.lua is invalid. Please re-compile at http://luac.mtasa.com/ [2015-08-23 09:34:41] Upgrade completed. Refreshing all resources...
-
Problem gelöst
-
@[Rise]Bonus]
Bei 1 und 2 ist alles da ich kopiere jetzt die zeile:Code
Alles anzeigenif tonumber ( vioGetElementData ( source, "loggedin" ) ) == 1 then fraktionMembers[vioGetElementData(source,"fraktion")][source] = nil adminsIngame[source] = nil local pname = MySQL_Save ( getPlayerName ( source ) ) if getElementData ( source, "isInHighNoon" ) or vioGetElementData ( source, "shootingRanchGun" ) then elseif quitReason and reason ~= "Ausgeloggt." then if vioGetElementData ( source, "wanteds" ) >= 1 and ( quitReason == "Quit" or quitReason == "Unknown" ) then local x, y, z = getElementPosition ( source ) local copShape = createColSphere ( x, y, z, 20 ) local elementsInCopSphere = getElementsWithinColShape ( copShape, "player" ) destroyElement ( copShape ) for key, cPlayer in ipairs ( elementsInCopSphere ) do if isOnDuty ( cPlayer ) or isArmy ( cPlayer ) then local wanteds = vioGetElementData ( source, "wanteds" ) vioSetElementData ( source, "wanteds", 0 ) vioSetElementData ( source, "jailtime", wanteds * 12 + vioGetElementData ( source, "jailtime" ) ) wantedCost = 100*wanteds*(wanteds*.5) vioSetElementData ( source, "money", vioGetElementData ( source, "money" ) - wantedCost ) if vioGetElementData ( source, "money" ) < 0 then vioSetElementData ( source, "money", 0 ) end
Also mich selber macht dieses adminsIngame[source] = nil irgendwie stutzig.
Ps.Ich habe andere Scripts auch ausprobiert aber bei allem kommt der gleiche Fehler. -
Hallo,
Also ich habe mir heute ein Gameserver und Vio_Extended geholt nur wenn ich mir AdminRechte per der Datenbank (egal ob 1,2,3,4 oder 5) gebe kann ich mich nicht mehr einloggen also ich kann noch auch login klicken aber sonst passiert nichts! hier ist der Code den die Console mir rausgehaut hat
[2015-08-19 19:50:36] ERROR: [vio]/vio/register_login/register_login_server.lua:575: attempt to index global 'adminsIngame' (a nil value)
kann mir sagen was passiert ist ich habe gehört das da irgendwas mit den admincmds.lua ist hier ist die Zeile 575 davon:
if counter thenoutputChatBox ( "Dein Report wurde gesendet!", player, 0, 125, 0 )
player_admin[tonumber(getElementData(player,"playerid"))] = getPlayerName(player)else
outputChatBox ( "Im Moment ist kein Admin online! Nutze /admins, um zu sehen, wer online ist!", player, 0, 125, 0 )
end
end
endfunction whisper_func ( player, cmd, number, ... )
local parametersTable = {...}
local stringWithAllParameters = table.concat( parametersTable, " " )
local number = tonumber ( number )
if isAdminLevel ( player, 1 ) then
if stringWithAllParameters == nil thentriggerClientEvent ( player, "infobox_start", getRootElement(), "\nBitte einen\nText eingeben!", 5000, 125, 0, 0 )
else
local target = getPlayerFromName(player_admin[number])
if isElement( target ) then
outputChatBox ( "Admin "..getPlayerName(player).." fluestert: "..stringWithAllParameters, target, 200, 200, 0 )
outputChatBox ( "Tippe /reply, um zu antworten.", target, 200, 200, 0 )
outputChatBox ( "Du hast "..player_admin[number].." gefluestert!", player, 0, 125, 0 )for playeritem, index in pairs(adminsIngame) do
outputChatBox ( getPlayerName(player).." hat "..player_admin[number].." gefluestert!", playeritem, 200, 200, 0 )
end
vioSetElementData ( target, "supporter", player )
vioSetElementData ( target, "isInSupport", true )else
outputChatBox ( "Der Spieler ist offline!", player, 255, 0, 0 )
end
end
else
triggerClientEvent ( player, "infobox_start", getRootElement(), "\nDu bist kein\n Admin!", 125, 125, 0, 0 )hier war 575 aber ich postete mal das ganze: end
Danke im vorraus!
-
Hallo,Der Login in Godmother geht nicht obwohl ich MySQL und alles habe ich glaube es ist ein Fehler im Textdokument ich habe aber nichts gefunden hier ist der Log:
= Server IP address:= Server port : 22003== Log file : .. 1.4/server/mods/deathmatch/logs/server.log= Maximum players : 32= HTTP port : 22005= Voice Chat : Disabled= Bandwidth saving : Medium==================================================================[15:40:26] Resource 'acpanel' requests some acl rights. Use the command 'aclrequest list acpanel'[15:40:37] Resources: 193 loaded, 0 failed[15:40:37] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso "[15:40:37] Starting resources...[15:40:38] Server minclientversion is now 1.4.1-9.07369[15:40:41] Gamemode 'play' started.[15:40:41] Querying MTA master server... success! (Auto detected IP:xxx.x.xxx.xxx)[15:40:41] Server started and is ready to accept connections![15:40:41] To stop the server, type 'shutdown' or press Ctrl-C[15:40:41] Type 'help' for a list of commands.[15:42:23] WARNING: Godmother\warpmarkers.lua:30: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] WARNING: Godmother\warpmarkers.lua:31: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] WARNING: Godmother\warpmarkers.lua:32: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] WARNING: Godmother\warpmarkers.lua:33: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] WARNING: Godmother\warpmarkers.lua:34: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] WARNING: Godmother\warpmarkers.lua:35: Bad argument @ 'setElementInterior' [Expected element at argument 1, got boolean][15:42:23] WARNING: Godmother\warpmarkers.lua:37: Bad argument @ 'createMarker' [Expected number at argument 9, got root][15:42:23] ERROR: Godmother\Carsys\carsys_s.lua:51: bad argument #1 to 'mysql_query' (mysqlHandler expected, got nil)[15:42:23] ERROR: Godmother\Housesys\Haussys_s.lua:103: bad argument #1 to 'mysql_query' (mysqlHandler expected, got nil)Adminhaus geladen!8 Pickups geladen![15:42:23] Gamemode 'Godmother' started.[15:42:23] startResource: Resource 'Godmother' started[15:42:36] CONNECT: RobinTheDuckyDuck connected (IP: xxx.xxx.x.xxx Serial: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Version: 1.4.1-9.07378.0)[15:42:36] JOIN: RobinTheDuckyDuck joined the game (IP: xxx.xxx.x.xxx)[15:42:55] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[15:42:56] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[15:42:56] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[15:42:57] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[15:42:57] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil) Was ist daran Falsch -
nicht irgendjemand der noch eine Idee hat?
-
@HandyStyle Falls du das meinst
<object name="resource.Godmother"></object>
dann ja -
@Audifire Und wie kann ich sie herstellen?ich habe alle Ip´s und Hostnamen usw. angegeben
-
Hallo,
Der Login in Godmother geht nicht obwohl ich MySQL und alles habe ich glaube es ist ein Fehler im Textdokument ich habe aber nichts gefunden hier ist der Log:= Server IP address:
= Server port : 22003
=
= Log file : .. 1.4/server/mods/deathmatch/logs/server.log
= Maximum players : 32
= HTTP port : 22005
= Voice Chat : Disabled
= Bandwidth saving : Medium
==================================================================
[15:40:26] Resource 'acpanel' requests some acl rights. Use the command 'aclrequest list acpanel'
[15:40:37] Resources: 193 loaded, 0 failed
[15:40:37] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>"
[15:40:37] Starting resources...
[15:40:38] Server minclientversion is now 1.4.1-9.07369
[15:40:41] Gamemode 'play' started.
[15:40:41] Querying MTA master server... success! (Auto detected IP:xxx.x.xxx.xxx)
[15:40:41] Server started and is ready to accept connections!
[15:40:41] To stop the server, type 'shutdown' or press Ctrl-C
[15:40:41] Type 'help' for a list of commands.[15:42:23] WARNING: Godmother\warpmarkers.lua:30: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] WARNING: Godmother\warpmarkers.lua:31: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] WARNING: Godmother\warpmarkers.lua:32: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] WARNING: Godmother\warpmarkers.lua:33: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] WARNING: Godmother\warpmarkers.lua:34: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] WARNING: Godmother\warpmarkers.lua:35: Bad argument @ 'setElementInterior' [Expected element at argument 1, got boolean]
[15:42:23] WARNING: Godmother\warpmarkers.lua:37: Bad argument @ 'createMarker' [Expected number at argument 9, got root]
[15:42:23] ERROR: Godmother\Carsys\carsys_s.lua:51: bad argument #1 to 'mysql_query' (mysqlHandler expected, got nil)
[15:42:23] ERROR: Godmother\Housesys\Haussys_s.lua:103: bad argument #1 to 'mysql_query' (mysqlHandler expected, got nil)
Adminhaus geladen!
8 Pickups geladen!
[15:42:23] Gamemode 'Godmother' started.
[15:42:23] startResource: Resource 'Godmother' started
[15:42:36] CONNECT: RobinTheDuckyDuck connected (IP: xxx.xxx.x.xxx Serial: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Version: 1.4.1-9.07378.0)
[15:42:36] JOIN: RobinTheDuckyDuck joined the game (IP: xxx.xxx.x.xxx)
[15:42:55] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[15:42:56] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[15:42:56] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[15:42:57] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)
[15:42:57] ERROR: Godmother\login_s.lua:18: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)Was ist daran Falsch