Jump to content

MaVe

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by MaVe

  1. MaVe

    The White Rabbit

    Yes, that's exactly the one i meant
  2. MaVe

    The White Rabbit

    I've seen some "RIFK" stuff there, and remembered there was a related screenshot, but I can't find it anywhere because of the new website - there were some older screenshots
  3. MaVe

    Mta orange? :S

    My guess: it will be the new core for MTA:IV
  4. Debian 5 (Lenny) ~# uname -a Linux 2.6.27.10-grsec-xxxx-grs-ipv4-32 #6 SMP Fri Aug 14 10:23:47 UTC 2009 i686 GNU/Linux
  5. This didn't fix it for me, it still throws these errors when doing "make" in json-c ./libtool: line 815: X--tag=CC: command not found ./libtool: line 848: libtool: ignoring unknown tag : command not found ./libtool: line 815: X--mode=compile: command not found ./libtool: line 982: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 983: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1126: Xgcc: command not found ./libtool: line 1126: X-DHAVE_CONFIG_H: command not found ./libtool: line 1126: X-I.: command not found ./libtool: line 1126: X-Wall: command not found ./libtool: line 1126: X-std=gnu99: command not found ./libtool: line 1126: X-D_GNU_SOURCE: command not found ./libtool: line 1126: X-D_REENTRANT: command not found ./libtool: line 1126: X-g: command not found ./libtool: line 1126: X-O2: command not found ./libtool: line 1126: X-MT: command not found ./libtool: line 1126: Xarraylist.lo: command not found ./libtool: line 1126: X-MD: command not found ./libtool: line 1126: X-MP: command not found ./libtool: line 1126: X-MF: command not found ./libtool: line 1126: X.deps/arraylist.Tpo: No such file or directory ./libtool: line 1126: X-c: command not found ./libtool: line 1179: Xarraylist.lo: command not found ./libtool: line 1184: libtool: compile: cannot determine name of library object from `': command not found make[1]: *** [arraylist.lo] Fehler 1 make[1]: Leaving directory `/root/mtagit/multitheftauto-multitheftauto-fe44d06/vendor/json-c' make: *** [all] Fehler 2 My libtool version is 2.2 (latest)
  6. Let's make it go left, right, left, right and so on!
  7. It would be extremly cool if you can implement some SVN client.. but at least when all the important stuff is working
  8. I guess running the linux server on windows wouldn't work.
  9. Hey, As the linux server has been made working yesterday, I set up this system in hope its useful for you people: http://mavecoder.com/mta/nightlyserv/ It will compile a build every night, 0.00 GMT+1, on Debian Lenny. NOTE In order to run the server you may need to install some libraries you can download below: http://www.mavecoder.com/mta/nightlyserv/libs.tar.gz Read the included README file if you don't know how to install them. MaVe
  10. MaVe

    Public beta #2 details

    This beta test really failed tbh. I got that "MTA Client Verification failed" error for 1 hour until mabako told me how to fix it. Then, finally joined, registered and created a character, I only had a black screen. The others told me to rejoin a few times but this didn't fix it. Later, when 2 other servers have been opened, i went to the race one. There was another big issue: I couldn't correctly respawn, so i always had to reconnect when i died. I really doubt (and actually find it better) MTA will be released "shortly after this beta test" as there are major issues left to be fixed.
  11. Cool! I'll try to be there too.
  12. I made this PHP script for my own usage but then I decided to share it... It's a PHP script, so you need a webserver to run it, like Apache or lighttpd, with a php module installed. It's pretty useful for those who want to use the httpdownload feature from the server config. http://mta.pastebin.com/fd8ec42a WARNING: Dont let others mess around with it, create a .htaccess for example to protect it from abusing!
  13. sorry, i can only speak german.
  14. MaVe

    MTA-Market

    MTA-Market Buy, Sell, Trade/... things about MTA! Hello, I am an owner of http://www.MTA-Market.com, a place where you can: buy, sell, trade (exchange) things related to MTA! This means: scripts, maps and other things. We are a new community, and thats why we don't have a lot of users yet. So I decided to make this post! I hope you find the market useful, - MaVe (MTA-Market Administrator)
  15. MaVe

    Login GUI

    Don't try to help me, as i said i already found out how it works. Thanks anyway.
  16. MaVe

    Login GUI

    Yes its possible for callbacks like that, but OnClientGUIClick(ed?) you need to pass the button element, and that element is defined in onClientResourceStart, so i have to add the eventhandler-adder there.
  17. MaVe

    Login GUI

    I think i just understood it wrong, because the wiki didnt mention good enough where i should add the event handler...
  18. MaVe

    Login GUI

    You wont believe it, i tried this aswell and got the same problem... But anyway, i already solved it by putting the addEventHandler in the onClientResourceStart event
  19. MaVe

    Login GUI

    Omg i couldnt get it working yet... Can somebody help me and tell me how to make the onClientGUIClicked event?
  20. MaVe

    Login GUI

    It still doesn't work. As i said, the onClientGUIClick event doesnt get fired. I can't see my debug messages (btw: i have already removed the ";"s at the end of the row.
  21. MaVe

    Login GUI

    which "client"? in the server part, in the line with "if (client) then" ???
  22. MaVe

    Login GUI

    I think you dont understand my code. the joinhandler function gets executed when player clicked "login".. But my onClientGUIClick event doesnt get fired-.-
  23. MaVe

    Login GUI

    Hi, i read the tutorial on the MTA Wiki (http://development.mtasa.com/index.php? ... ipting_GUI) I have the following problem: When somebody connects and is registered, he can't login. Nothing happens when the Login button is pressed. Code: Server: function joinHandler(username, password) --local x,y,z --x = 1959.55 --y = -1714.46 --z = 10 if (client) then --spawnPlayer(client, x, y, z) fadeCamera(client, true) outputChatBox("Welcome to My Server", client) end end addEvent("SubmitLogin", true) addEventHandler("SubmitLogin", getRootElement(), joinHandler) Client: function CreateLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwLogin = guiCreateWindow(X, Y, Width, Height, "Please Log In", true) X = 0.0825 Y = 0.2 Width = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Username", true, wdwLogin) Y = 0.5 guiCreateLabel(X, Y, Width, Height, "Password", true, wdwLogin) X = 0.415 Y = 0.2 Width = 0.5 Height = 0.15 edtUser = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) Y = 0.5 edtPass = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) guiEditSetMaxLength(edtUser, 50) guiEditSetMaxLength(edtPass, 50) X = 0.415 Y = 0.7 Width = 0.25 Height = 0.2 btnLogin = guiCreateButton(X, Y, Width, Height, "Log In", true, wdwLogin) guiSetVisible(wdwLogin, false) end function initGUI( ) CreateLoginWindow() outputChatBox("Welcome to My MTA DM Server, please log in.") if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) end showCursor(true) guiSetInputEnabled(true) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource( ) ), initGUI ) addEventHandler("onClientGUIClick", btnLogin, function(button) outputChatBox("blabla 1") if button == "left" then outputChatBox("blabla 2") triggerServerEvent("SubmitLogin", getRootElement(), guiGetText(edtUser), guiGetText(edtPass)) guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) end end) What's wrong?
×
×
  • Create New...