Jump to content

denny199

Members
  • Posts

    877
  • Joined

  • Last visited

Everything posted by denny199

  1. denny199

    texture.fx

    As the wiki says (https://wiki.multitheftauto.com/wiki/Shader) And a little google: http://msdn.microsoft.com/en-us/library/windows/desktop/bb509561(v=vs.85).aspx http://rbwhitaker.wikidot.com/hlsl-tutorials http://en.wikipedia.org/wiki/High-level_shader_language http://en.wikipedia.org/wiki/Shader I hope that this is usefull for you, so yes FX scripting is another langaunge, if you want to know more about .fx scripting then you should PM Ren712 for more information [like where he learned it etc.], he have made some awesome shaders. ( https://community.multitheftauto.com/in ... &id=320386 ) Regards, Danny
  2. Take a look at this post( I hope that it is usefull, if you still can't figure out then ask 50p, he's good in 3d modelling): viewtopic.php?f=91&t=63832&hilit=dark+texture Goodluck!
  3. You can make your own f11 map, like for example this resource: https://community.multitheftauto.com/index.php?p= ... ils&id=381 Kindly regards, Danny
  4. Use https://wiki.multitheftauto.com/wiki/OnElementDataChange to check if the players blood data has been changed, if so, replace it to it original state (if the player has godmode activated)
  5. The part of the sending a file might be a virus, you should use a virusscan, the part of the server getting admin with Giving rhinos might be just bad administration, or he just knews a admins password , luckely we got server-logs, so this isn't a big deal to just ban him (alltrough you can evade serial&ip bans, but with some knowledge you can stop this). The forum thingy is annoying, or you can just ban him there too. Cyber crime is indeed illegal in the Netherlands, but you just got so little proof, that the police/gouvrement can't do anything. Anyways, let me tell you some points about the difference between a DDoS and a DoS. DDoS(Distributed denial-of-service) is just simple more networks, how the hackers do it: They are infecting other computers with a virus (mostly trojan horses) and then they have power of your computer like this image: The computers which have acces to the internet are ofcourse then connected to the Attackers computer/server like this image: They will send constant packages of bytes to the server, to let it overfloat. Like if you are sending 10 bytes to the server( for example a refreshing the page ) then the server will handle it, but if you are sending 1000bytes of data to the server, the server needs to download it, so if a attacker has 5000 bots in his network, he will send 5000*1000 bytes each second(depends on the attackers settings) to the server. So the server needs to handle all the requests, and then will become down because it can't handle it anymore. Now, a DoS(Denial-of-service) attack. This is the same as the DDoS attack but then simple without any bots or virusses involed, so only 1 IP, mostly it's more like pinging via the command-prompt, nowdays all servers can handle these bytes of one network. In my opinion, just don't be a stupid retard, and don't DoS, it's useless, trust me.
  6. You aren't hurting me nor making me angry, I just want to know exactly what your mind is thinking of about a DDoS/DoS Well, sorry to say, but I think that you are offending some dutch guys, just because you had in the past a fight with a dutch guy(maybe). Can you maybe tell us how you gained the "DDoS-ers" IP, and how would you prove to the dutch police that you was DDoS-ed by those IPs. You can report a DDoS-er to the police here in the Netherlands, but they don't do anything about it, mostly the internet providers are shutting the DDoS-ers internet down if there are too many complains, and trust me, most of them don't shut their costumers internet down. Also, most hackers are using a dutch server to attack an internet, and can you tell me exactly how your hard-drive crashed, was it like you said a "ddoser" attacked you, and then it suddenly it crashed??
  7. Actually, this is wrong. I'm living in the Netherlands and much of the people here are just simpely googeling for a DoS tool (please don't compare DDoS with DoS'ing) DDoS-ing is simpely using more networks (zombienet) (infected computers which are mostly trojan horses), so that hackers will use their internet to send packages of bytes to an server, to let it overload. It's true, the Netherlands has a great connection, you can down weak servers with your friends, but whats the point anyways of DDoS-ing or DoS-ing. The chinese people are constanl trying some things on your network out too, like connecting to the VNC port because some computers are very not well secured. Anyways, back to networking. You actually can't protect it without any knowledge of networking, also, this part: "they hacked my laptop and fu*ked my hard disk up", it might been a virus, or your just lack the knowledge of administrating your pc, or you don't have a proper anti-virus. And who exactly hacked your computer, mostly people are DDoS-ing out of anger, or are just roleplay server owners. Also, cloudflare is working like a backup and like a big database of people who are trying to hack you. Kindly regards, Danny
  8. function shout(player, cmd, ...) local accountname = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Owner" )) or isObjectInACLGroup ( "user." ..accountname, aclGetGroup ( "Admin" )) then players = getElementsByType ( "player" ) for k,v in pairs(players) do local message = table.concat({...}," ") exports["notification"]:showBox(v, "info",message) -- put here your resource near "notification" end end end addCommandHandler("notificate", shout) I used this on my server to notificate everyone ( server-side) Usage: /notificate The text what you want to be displayed. For client side: exports["notification"]:showBox("info""Sometimes I dream about cheeeese") -- put here your resource near "notification"
  9. O'i my brother there ain't no god in this world(sience ftw). Anyways, myonlake is right there isn't a thing such as "DDoS Protection" nor anything what you can do about it (expect with some good networking like myonlake said, OR a good working brain). Anways(again), there might be a change that there won't be a Roleplay server anymore ( don't expect this year nor next year) some servers which have scripts ripped from RG[RootGaming]/Valhalla(I miss those times). I hope that this roleplay war will stop, since there is no point being the "best" roleplay server of mta, like those people in that roleplay server will join your roleplay server. Anyways, the roleplaying these days are bad. BTW; If you really want to play some good roleplay then make your own private freeroam server with password, and then play with your friends (if you have them), it's always fun with friends. (it's not 100% real life roleplay, but it's fun, and it's so much better because you know each other, you can even make some skype conversations while gaming to chat with each other, it may be a very other aspect than the rootgaming roleplay, but it's sometimes less frustrating, and funnier.) @on-topic Can you say exactly which resources you already have made and if it is from the Valhalla gamemode, or just downloaded from the community? (i'm asking these questions because someone might be interested in the forum later on, so that he doesn't need to ask everything), is there a change that you can post your To-Do list here? Kindly regards, Danny
  10. A: Because it's a "silent disaster", ( I had this on school, that childeren in Afrika are dieing in their own shit ), not much people know it, and Paul Walker was just a teenager hero because he was in many good films in my childhood ( F&F, joy-ride, Into the Blue etc. ), He had just a high position in the society, also in the Netherlands these days, the government is sending money to the other lands, while we got enough people here who hasn't got enough or just get 50 euros per week because they aren't working ( we are getting money from the government if you don't work ) Q: I don't believe in god, now what do you think of me?
  11. He said not to create a fully new one, so he's meaning to replace a blip with another blip. On the wiki is a example: https://wiki.multitheftauto.com/wiki/GetBlipIcon -- Retrieve a table containing all the blips that exist blips = getElementsByType ( "blip" ) -- Loop through the list, storing the blip from the table in the variable blipValue for blipKey, blipValue in ipairs(blips) do -- Retrieve the blip's icon into the variable 'blipIcon' blipIcon = getBlipIcon ( blipValue ) -- If the blip's icon wasn't the default already if ( blipIcon ~= 0 ) then -- Set the blip's icon to the default setBlipIcon ( blipValue, 0 ) end end
  12. I tested the code on my local server, with 2 computers, and it is working properly for me, when I was typing /win, it was showing only on my screen. There might be a bug in the other files, or something else is causing it, search your other files for the trigger. Also, you should contact the maker of the userpanel if you don't know what is causing it, since we don't know all the code.
  13. A: No, ofcourse not, and you should answer the question properly?? Q: Do you believe in any god?
  14. Still, I won for 20 days(comparing the days between ur and mine post), Time to shine again
  15. `addCommandHandler` on the client side doesn't have a player variable, since it's client side, is your meta.xml correct, if you don't know, post it(and tell us the file name of the script), because it should draw for the player only.
  16. Maybe some more information like: -Tell us the details of the gamemode (what do you want in the gamemode) -Do you have already made something for the gamemode (maps, scripts) -Do we need script everything from scratch ( 0% to 100% ) or do we need to edit someone else his code? -What are the payments (money, admin, nothing, "respect") -Do you already have a team for the gamemode, let's say photoshoppers, mappers, webdesigners So it would be better to make your text longer / answer these questions, because 3 lines of text isn't good enough for "requesting" the scripter(s), so tell us everything what you want. Kindly regards, Danny
  17. Dude, jij bumpt ook alles hé? Kijk eens naar de post date.
  18. A: Paint. Q: Which country do you want to move to?
  19. What can't you understand in this: local sm = {} sm.moov = 0 sm.object1, sm.object2 = nil, nil function removeCamHandler () if(sm.moov == 1) then sm.moov = 0 removeEventHandler ( "onClientPreRender", getRootElement(), camRender ) end end function camRender () local x1, y1, z1 = getElementPosition ( sm.object1 ) local x2, y2, z2 = getElementPosition ( sm.object2 ) setCameraMatrix ( x1, y1, z1, x2, y2, z2 ) end function smoothMoveCamera ( x1, y1, z1, x1t, y1t, z1t, x2, y2, z2, x2t, y2t, z2t, time ) if(sm.moov == 1) then return false end sm.object1 = createObject ( 1337, x1, y1, z1 ) sm.object2 = createObject ( 1337, x1t, y1t, z1t ) setElementAlpha ( sm.object1, 0 ) setElementAlpha ( sm.object2, 0 ) setObjectScale(sm.object1, 0.01) setObjectScale(sm.object2, 0.01) moveObject ( sm.object1, time, x2, y2, z2, 0, 0, 0, "InOutQuad" ) moveObject ( sm.object2, time, x2t, y2t, z2t, 0, 0, 0, "InOutQuad" ) addEventHandler ( "onClientPreRender", getRootElement(), camRender ) sm.moov = 1 setTimer ( removeCamHandler, time, 1 ) setTimer ( destroyElement, time, 1, sm.object1 ) setTimer ( destroyElement, time, 1, sm.object2 ) return true end Just put this on the client side with the codes provided above: addEventHandler ( "onClientResourceStart", resourceRoot, function() smoothMoveCamera ( x1, y1, z1, x1t, y1t, z1t, x2, y2, z2, x2t, y2t, z2t, time ) end) Just fill in the values...
  20. Nevermind, i tought that you wanted to move the camere from one place to anothe with interpolating, use Solidsnake's one: local camTable = { { 1262, -1154, 96,1190, -1195, 58 }, --cs,cy,cz,cpx,cpy,cpz { 512.2, -1263.57, 32.53,542.16, -1287.07, 17.24 } } local cameras = { } function firstSlider ( ) cameras [ source ] = 0 setTimer ( function ( thePlayer ) cameras [ thePlayer ] = ( cameras [ thePlayer ] + 1 ) setCameraMatrix ( thePlayer, unpack ( camTable [ cameras [ thePlayer ] ] ) ) fadeCamera ( thePlayer, true, 1 ) end, 1000, 2, source ) end addEventHandler ( "onPlayerLogin", getRootElement(), firstSlider )
  21. https://wiki.multitheftauto.com/wiki/SmoothMoveCamera
  22. Awesome, if it's up then i'll take a look
  23. Uhm, I think because the gamemode has been updated in the new mta versions??? OR It's the defaultstats resource? BTW, whats your servername?
  24. Sir, you are insulting someone by saying that he can't script, he's atleast helping scripters who doesn't know anything about importing models & textures. AND look at this post date, 1 year ago. And please, stop using google translate, because "encinar" isn't a english word. Anyways, don't reply on this topic anymore, if you want to say anything to me OR if you are mad at me then consider it via PM, I'd like to see your deeply rage against me. Kindly regards, Danny
×
×
  • Create New...