Jump to content

hahec

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by hahec

  1. hahec

    Server Problem.

    Thank you for this but, i just found out that my server is having a major problem. For some reason it doesn't saving the maps anymore. I tried to reinstalled it but the problem is stil here. Maybe can some of you help me? Ty a lot <3
  2. hahec

    Server Problem.

    Hello everybody. Well, i'm hosting a server on ServerFFS and i want to know where or how can i upgrade my server to 1.2 Tnx.
  3. hahec

    My FPS Drops.

    OK, for some reason this is actually working. Tnx a lot Towncivilian.
  4. hahec

    My FPS Drops.

    Motherboard:ASUSTeK M2N-E
  5. hahec

    MySQL Database.

    Okay. TY VERY MUCH!
  6. hahec

    MySQL Database.

    Hmm...i see. So i've made that login GUI from wiki. Introduction to the GUI. So could you make a tip to make that login Working? tnx.
  7. hahec

    MySQL Database.

    Ok tnx both. So i will have to use DB functions for login system? and things like that? or am i wrong?
  8. Hello all. Could someone explain what MySQL Database actually is/is for. Ty.
  9. hahec

    My FPS Drops.

    What you mean. It's happening on all servers. But not all the time. Example:if i join 5 times. My FPS will drop in 3 times i joined.
  10. Stop with the SPAM you make in every post and be patient. If i'm not wrong you can find somewhere in Race/addons and search for there. But in my knowledge i think this isn't really easy to make. You should w8 for scripters.
  11. hahec

    My FPS Drops.

    Hello everyone. Today i found out that without changing nothing i had quite big amount of FPS drop. I wasn't touching anything. I usually have 40-50 but today i saw 20-40 drops. Maybe you know the problem. Tnx DxDiag: ------------------ System Information ------------------ Time of this report: 2/16/2012, 14:43:19 Machine name: TRON Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.110622-1506) Language: English (Regional Setting: English) System Manufacturer: System manufacturer System Model: System Product Name BIOS: Phoenix - AwardBIOS v6.00PG Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (2 CPUs), ~2.2GHz Memory: 3072MB RAM Available OS Memory: 3070MB RAM Page File: 2034MB used, 4104MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: 120 DPI (125 percent) System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.01.7601.17514 32bit Unicode ------------ DxDiag Notes ------------ Display Tab 1: No problems found. Sound Tab 1: No problems found. Sound Tab 2: No problems found. Input Tab: No problems found. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (retail) DirectDraw: 0/4 (retail) DirectInput: 0/5 (retail) DirectMusic: 0/5 (retail) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: ATI Radeon HD 4800 Series Manufacturer: Advanced Micro Devices, Inc. Chip type: ATI display adapter (0x9442) DAC type: Internal DAC(400MHz) Device Key: Enum\PCI\VEN_1002&DEV_9442&SUBSYS_E104174B&REV_00 Display Memory: 2297 MB Dedicated Memory: 1017 MB Shared Memory: 1279 MB Current Mode: 1280 x 1024 (32 bit) (60Hz) Monitor Name: Generic PnP Monitor Monitor Model: RM170 Monitor Id: SEG1A85 Native Mode: 1280 x 1024(p) (60.020Hz) Output Type: HD15 Driver Name: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll Driver File Version: 8.17.0010.1114 (English) Driver Version: 8.930.0.0 DDI Version: 10.1 Driver Model: WDDM 1.1 Driver Attributes: Final Retail Driver Date/Size: 12/6/2011 04:16:00, 933888 bytes WHQL Logo'd: Yes WHQL Date Stamp: Device Identifier: {D7B71EE2-D702-11CF-A170-0EC1BEC2C535} Vendor ID: 0x1002 Device ID: 0x9442 SubSys ID: 0xE104174B Revision ID: 0x0000 Driver Strong Name: oem21.inf:ATI.Mfg.NTamd64.6.1:ati2mtag_RV7X:8.930.0.0:pci\ven_1002&dev_9442 Rank Of Driver: 00E62001 Video Accel: ModeMPEG2_A ModeMPEG2_C Deinterlace Caps: {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {3C5323C1-6FB7-44F5-9081-056BF2EE449D}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {552C0DAD-CCBC-420B-83C8-74943CF9F1A6}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= D3D9 Overlay: Not Supported DXVA-HD: Not Supported DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled ------------- Sound Devices ------------- Description: Headphones (High Definition Audio Device) Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_104381F6&REV_1002 Manufacturer ID: 1 Product ID: 65535 Type: WDM Driver Name: HdAudio.sys Driver Version: 6.01.7601.17514 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 11/20/2010 11:44:23, 350208 bytes Other Files: Driver Provider: Microsoft HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No Description: Digital Audio (S/PDIF) (High Definition Audio Device) Default Sound Playback: No Default Voice Playback: No Hardware ID: HDAUDIO\FUNC_01&VEN_11D4&DEV_198B&SUBSYS_104381F6&REV_1002 Manufacturer ID: 1 Product ID: 65535 Type: WDM Driver Name: HdAudio.sys Driver Version: 6.01.7601.17514 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 11/20/2010 11:44:23, 350208 bytes Other Files: Driver Provider: Microsoft HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No --------------------- Sound Capture Devices --------------------- Description: Microphone (High Definition Audio Device) Default Sound Capture: Yes Default Voice Capture: No Driver Name: HdAudio.sys Driver Version: 6.01.7601.17514 (English) Driver Attributes: Final Retail Date and Size: 11/20/2010 11:44:23, 350208 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Microphone (High Definition Audio Device) Default Sound Capture: No Default Voice Capture: Yes Driver Name: HdAudio.sys Driver Version: 6.01.7601.17514 (English) Driver Attributes: Final Retail Date and Size: 11/20/2010 11:44:23, 350208 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Line In (High Definition Audio Device) Default Sound Capture: No Default Voice Capture: No Driver Name: HdAudio.sys Driver Version: 6.01.7601.17514 (English) Driver Attributes: Final Retail Date and Size: 11/20/2010 11:44:23, 350208 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF ------------------- DirectInput Devices ------------------- Device Name: Mouse Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Keyboard Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: G15 Gaming Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC226 FF Driver: n/a Device Name: G15 Gaming Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC226 FF Driver: n/a Device Name: G15 GamePanel LCD Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC227 FF Driver: n/a Device Name: USB Receiver Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC525 FF Driver: n/a Device Name: USB Receiver Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC525 FF Driver: n/a Device Name: USB Receiver Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC525 FF Driver: n/a Poll w/ Interrupt: No ----------- USB Devices ----------- + USB Root Hub | Vendor/Product ID: 0x10DE, 0x036C | Matching Device ID: usb\root_hub | Service: usbhub | +-+ Generic USB Hub | | Vendor/Product ID: 0x046D, 0xC223 | | Location: Port_#0003.Hub_#0001 | | Matching Device ID: usb\class_09 | | Service: usbhub | |
  12. Okay, working now. Tnx Castillo.
  13. Hello Everybody. So this day i decided to really focus at Scripting Introduction and Indroduction to GUI So here i am, stuck on a really noobish problem. I folowed the tutorial on scripting introduction and the spawn player worked well. Also the /createvehicle *** was also succesful. Then i wanted to make i login GUI. In the first introduction to the GUI. I made this client side. As it says. 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) -- define new X and Y positions for the first label X = 0.0825 Y = 0.2 -- define new Width and Height values for the first label Width = 0.25 Height = 0.25 -- create the first label, note the final argument passed is 'wdwLogin' meaning the window -- we created above is the parent of this label (so all the position and size values are now relative to the position of that window) guiCreateLabel(X, Y, Width, Height, "Username", true, wdwLogin) -- alter the Y value, so the second label is slightly below the first 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) -- set the maximum character length for the username and password fields to 50 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) -- make the window invisible guiSetVisible(wdwLogin, false) end -- now add our onClientGUIClick event to the button we just created addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () -- create the log in window and its components createLoginWindow() -- output a brief welcome message to the player outputChatBox("Welcome to My MTA:SA Server, please log in.") -- if the GUI was successfully created, then show the GUI to the player if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) else -- if the GUI hasnt been properly created, tell the player outputChatBox("An unexpected error has occurred and the log in GUI has not been created.") end -- enable the players cursor (so they can select and click on the components) showCursor(true) -- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening guiSetInputEnabled(true) end ) -- create the function and define the 'button' and 'state' parameters -- (these are passed automatically by onClientGUIClick) function clientSubmitLogin(button,state) if button == "left" and state == "up" then -- get the text entered in the 'username' field local username = guiGetText(edtUser) -- get the text entered in the 'password' field local password = guiGetText(edtPass) -- if the username and password both exist if username and password then -- trigger the server event 'submitLogin' and pass the username and password to it triggerServerEvent("submitLogin", getRootElement(), username, password) -- hide the gui, hide the cursor and return control to the player guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) else -- otherwise, output a message to the player, do not trigger the server -- and do not hide the gui outputChatBox("Please enter a username and password.") end end end and server: local spawnX, spawnY, spawnZ = 1959.55, -1714.46, 10 function joinHandler() spawnPlayer(source, spawnX, spawnY, spawnZ) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) function createVehicleForPlayer(thePlayer, command, vehicleModel) local x,y,z = getElementPosition(thePlayer) -- get the position of the player x = x + 5 -- add 5 units to the x position local createdVehicle = createVehicle(tonumber(vehicleModel),x,y,z) -- check if the return value was ''false'' if (createdVehicle == false) then -- if so, output a message to the chatbox, but only to this player. outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler("createvehicle", createVehicleForPlayer) -- create our loginHandler function, with username and password parameters (passed from the client gui) function loginHandler(username,password) -- check that the username and password are correct if username == "user" and password == "apple" then -- the player has successfully logged in, so spawn them if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else -- if the username or password are not correct, output a message to the player outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) I'm hosting my private server via serverFFS. And it says that i have to create a folder in resources with a name Client. And inside that folder a gui.lua and meta.xml. I did exactly what it says. And for server i just puted the .zip file in resources. As it says. But when i do "refresh" in the console. The .zip i puted in resources/client doesn't show up. So basicly. The server-side script is working fine but i can't even start the client-side script. I hope someone could help me out. And sorry for so much words . Ty.
  14. hahec

    Questions

    Well yeah. But i think you can figure this out easily
  15. hahec

    Questions

    For Vehicle is: engineImportTXD engineLoadDFF engineLoadTXD engineReplaceModel For skins i don't know.
  16. Paste as lua tags so it's easier for scripters to see the problem.
  17. hahec

    Some help.

    Okay tnx a lot.
  18. hahec

    Some help.

    As beginner...will i use this function oftenly?
  19. hahec

    Some help.

    Okay. Tnx very much i finally understand what string function is but i stil don't really get what actually happeens if you make "ipairs" or "in ipairs". Tnx in advance
  20. hahec

    Some help.

    Hello MTA. In what casec can i use this functions? ipairs string tostring and rest of string functions. Could someone explain me what can they be used for. Ty
  21. hahec

    MTA problem!

    Sorry for double-post. But i can finally say that MTA isn't freezing anymore. Tnx a lot for help and specially Towncivilian. TNX A LOT <3.
  22. hahec

    MTA problem!

    Okay tnx..I will do so tomorrow.
  23. hahec

    MTA problem!

    Ok i will do so tomorrow cuz i'm on my dad's comp now. But what does this line means? I don't have any AppData in Users... C:\Users\\AppData\Local\VirtualStore\Program Files (x86)\Rockstar Games\GTA San Andreas.
  24. hahec

    MTA problem!

    just delete. not un-install? so...C/program files (86x)/Rockstar Games = delte and /Mta 1.3=delete?
×
×
  • Create New...