Jump to content

Geramy92

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Geramy92

  1. now i have it.. the module is active and sdk resource is started i have a problem with the javacode my code at the moment is: try { MTA mta = new MTA("IP",PORT, "USER", "PW"); } catch (MTAException e) { // TODO Auto-generated catch block e.printStackTrace(); } i know that the IP, Port, user and pw is korrekt, acl rights are given too but i get always this: com.mtasa.MTAException: Username or password is invalid at com.mtasa.MTA.call(MTA.java:193) at com.mtasa.MTA.callFunction(MTA.java:208) at com.mtasa.MTA.(MTA.java:131) at start.main(start.java:14) can you help me?
  2. thanks for link =) but i have a problem with this module my steps: 1) copied ml_sockets.dll in to the folder modules 2) server.config: 3) startet the server now i get this error: [2013-01-03 10:08:20] MODULE: Unable to find modules/ml_sockets.dll! can you help me? in use the mta_mysql.dll module too, and this is working fine
  3. can anyone give me an download link? the link given in the first post isn't working anymore.
  4. hey can you help me?? i have downloaded the package 0.2. I have startet the module (in console is written that it is started) but i get this error: [2012-11-19 14:17:39] MODULE: Loaded "Sockets Module" (1.10) by "Gamesnert, MCvarial & x86" [2012-11-19 14:17:39] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2012-11-19 14:17:39] Starting resources... [2012-11-19 14:17:39] ERROR: jsdk\server.lua:75: attempt to call global 'socket_create' (a nil value)
  5. sry i think you don't understand i have an working script! Its like the Shader for the animations in advertising in the exampleshaders for create such advertise sign you need an picture for dxCreateTexture see https://wiki.multitheftauto.com/wiki/DxCreateTexture first argument now the question is: is there anyway for not writing the path in meta.xml (like playSound)
  6. Hey there, i want to create a little script for the advertisesigns in gtasa. For that script it is nessesary that the images are easy to change (the best way will be that it can change while server is running) so the imagefile cannot be written in the meta.xml so i have the Question: at the function dxCreateTexture, can i use an http path for the filepath (for example http://example.com/text.png) and if not, is there an workaround which is working??
  7. hey can you help me?? i have downloaded the package 0.2. I have startet the module (in console is written that it is started) but i get this error: [2012-11-19 14:17:39] MODULE: Loaded "Sockets Module" (1.10) by "Gamesnert, MCvarial & x86" [2012-11-19 14:17:39] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2012-11-19 14:17:39] Starting resources... [2012-11-19 14:17:39] ERROR: jsdk\server.lua:75: attempt to call global 'socket_create' (a nil value)
  8. Hey, i search a function for checking if nos is activated or not. do you know any posibility to check that?
  9. Hallo, is there a chance to disable /msg? our script has an own /pm where user must pay some $$ but the users use /msg but they needn't do that so i am asking: Can I Disable this command /msg?
  10. /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /root/mt aserver/xmll.so) ERROR: Loading XML library (xmll.so) failed! i have this error at 1.0.3 can anyone help? my system is CentOS 5.3
  11. yes it should be a command the preoblem is another there is an error with the line getplayername see my first post this is only example everytime when i usw getplayername then there is an error
  12. function createVehicleForPlayer(thePlayer, command, vehicleModel) local playerName = getPlayerName ( thePlayer ) -- Does he have access to Admin functions? if isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Admin" ) ) then local x,y,z = getElementPosition(thePlayer) x = x + 5 local createdVehicle = createVehicle(tonumber(vehicleModel),x,y,z) if (createdVehicle == false) then outputChatBox("Failed to create vehicle.",thePlayer) end else outputChatBox("Du bist nicht berechtigt!",thePlayer) end end [01:48:31] ERROR: ...A/mods/deathmatch/resources/reallifemod/Reallife.lua:52: attempt to call global 'getPlayerName' (a nil value) what must i do to remove this error???? (the script whit getPlayerName is from wiki)
  13. the file koords.txt is in the foulder of the resource
  14. Hello, Can Anyone help me? I want to save the coordinates of me by tipping "/savepos" in a file local fileHandle = fileOpen("koord.txt") function savepos(theplayer,command,text) if fileHandle then local x,y,z = getElementPosition(thePlayer) local koordinaten = "Koordinaten:" ..x.. "," ..y..","..z.." //"..text..-- check if the creation succeeded fileWrite(fileHandle, koordinaten) -- write a text line fileClose(fileHandle) else outputChatBox("Failed to openFile.",thePlayer)-- close the file once you're done with it end end addCommandHandler("savepos", savepos) but always there is the error Failed to openFile why?
×
×
  • Create New...