Jump to content

Phat Looser

Members
  • Posts

    627
  • Joined

  • Last visited

Everything posted by Phat Looser

  1. The sounds are back! After about half a year of absence (due to hosting etc.) I re-activated the sounds. It may be a 5 MB download, but its worth it.
  2. I don't want to say anything, but the old fashioned stealth "has a lot of lag" as you would say. That won't change until 1.1
  3. How does your server look like anyways?
  4. For GameMonitor, the IP address is EVERYTHING. In fact, the longer a server stays online, the farther up it goes in the ranking. (at least thats my experience).
  5. You even could count the frames per second and use that as the "low poly" distance.
  6. well, I got a server - and it doesn't lag. proven.
  7. mathcingDimension = matchingDimension
  8. aBoneList = {} --right leg aBoneList[54] = 53; aBoneList[53] = 52; aBoneList[52] = 51; aBoneList[51] = 1; --left leg aBoneList[44] = 43; aBoneList[43] = 42; aBoneList[42] = 41; aBoneList[41] = 1; --spine aBoneList[1] = 2; aBoneList[2] = 3; aBoneList[3] = 4; --right arm aBoneList[26] = 25; aBoneList[25] = 24; aBoneList[24] = 23; aBoneList[23] = 22; aBoneList[21] = 22; --right arm aBoneList[36] = 35; aBoneList[35] = 34; aBoneList[34] = 33; aBoneList[33] = 32; aBoneList[31] = 32; --head aBoneList[4] = 6; aBoneList[6] = 7; aBoneList[7] = 4; --torso aBoneList[32] = 41; aBoneList[22] = 51; -- aBoneFarList = {} --right leg aBoneFarList [54] = 51; --left leg aBoneFarList [44] = 41; --spine aBoneFarList [1] = 4; --right arm aBoneFarList [26] = 22; --right arm aBoneFarList [36] = 32; --head aBoneFarList [6] = 7; --torso aBoneFarList [32] = 41; aBoneFarList [22] = 51; -- function drawPedBones (ped) local aList = {}; if isElement(ped) then local x,y,z = getCameraMatrix(); local px,py,pz = getElementPosition(ped); local fDistance = getDistanceBetweenPoints3D(x,y,z,px,py,pz); if fDistance < 50 then aList = aBoneList; elseif fDistance < 300 then aList = aBoneFarList; end for iFrom,iTo in pairs(aList) do local x1,y1,z1 = getPedBonePosition(ped,iFrom); local x2,y2,z2 = getPedBonePosition(ped,iTo); if not (x1 or x2) then return; end local screenX1, screenY1 = getScreenFromWorldPosition ( x1,y1,z1 ); local screenX2, screenY2 = getScreenFromWorldPosition ( x2,y2,z2 ); local playerTeam = getPlayerTeam( ped ); local red,green,blue = 0,0,0; if playerTeam then red,green,blue = getTeamColor ( playerTeam ) end if screenX1 and screenX2 then dxDrawLine ( screenX1, screenY1, screenX2, screenY2, tocolor(red,green,blue,255) ); end end end end Uses less GFX speed - all DX funktions have the drawback that they are pushed through the pipe, which is the bottleneck of a GFX card.
  9. Don't tell me what to do youngster.
  10. I updated the "laser" of the pl-Syncro resource, because some people complained about it.
  11. Well, I do. My whole Item-System is OO. But its a bit chaotic to be OOP only, so I had an Idea called "pl-ObjectOriented" for a test. Its not EXACTLY what Lua wants to be object oriented, but that had a reason. function f1() outputChatBox("Funktion 1"); end function f2() outputChatBox("Funktion 2"); end function startup() local sName = "test1"; local aFunctionArray = { FirstFunction = f1 , SecondFunction = f2 }; local aVariableArray = { FirstVariable = "trala" , SecondVariable = "tralala"}; cClass1 = addClass(sName,aFunctionArray,aVariableArray); sName = "test2"; aFunctionArray = { FirstFunction = f2 , SecondFunction = f1 }; aVariableArray = { FirstVariable = "trili" , SecondVariable = "trilili"}; cClass2 = addClass(sName,aFunctionArray,aVariableArray); end function OOtryout() startup(); local oObject1 = createObject("test1"); local oObject2 = createObject("test2"); local oObject3 = createObject("test1"); local oObject4 = createObject("test2"); local oObject5 = createObject("test1"); local oObject6 = createObject("test2"); local oObject7 = createObject("test1"); local oObject8 = createObject("test2"); local oObject9 = createObject("test1"); local oObject0 = createObject("test2"); oObject0.fFirstFunction(); oObject0.fSecondFunction(); oObject1.fFirstFunction(); oObject1.fSecondFunction(); outputChatBox(oObject1.vFirstVariable); outputChatBox(oObject0.vFirstVariable); end addCommandHandler ( "tryout", OOtryout ) function OOtryout2() startup(); oObject0 = getObjectNr(0); oObject1 = getObjectNr(1); oObject2 = getObjectNr(2); oObject3 = getObjectNr(3); oObject4 = getObjectNr(4); oObject5 = getObjectNr(5); oObject6 = getObjectNr(6); oObject7 = getObjectNr(7); oObject8 = getObjectNr(; oObject9 = getObjectNr(9); if oObject0 then oObject0.fFirstFunction(); oObject0.fSecondFunction(); oObject9.fFirstFunction(); oObject9.fSecondFunction(); outputChatBox(oObject9.vFirstVariable); outputChatBox(oObject0.vFirstVariable); destroyObject(oObject0); destroyObject(oObject1); destroyObject(oObject2); destroyObject(oObject3); destroyObject(oObject4); destroyObject(oObject5); destroyObject(oObject6); destroyObject(oObject7); destroyObject(oObject8); destroyObject(oObject9); end destroyClass("test1"); destroyClass("test2"); end addCommandHandler ( "tryout2", OOtryout2 )
  12. Updates: -You can see your own teammates (through walls) now. -The Radar Burst shows the enemies (through walls) for a short time. -Press F to pick up objects and to drop them where ever you want to put them. -There is no blips if you move or run. That means you need to play as a team: At least one needs a radar burst or googles. -Press X instead of R to use gadgets. -Armor "only" halves your damage, it doesn't disappear (unless you die, of course). I want to emphasis team playing on stealth.
  13. Phat Looser

    Tazer

    You should start the debug console and RESTART the script so you can see whats going on on client resource start. I guess th event handlers aren't even working like JR10 said.
  14. Naw, thats what scripts should be like
  15. I'll host it for free, quadcore 4 Ghz, 12 Gig RAM, 100 up, 100 down, only thing is that you'll need SVN access. I'm not interested in any of your scripts. But I don't mind if someone else hosts it.
  16. On the one hand, its right - you shouldn't say "bitch" at all, especially when you are a moderator or admin. The moderators job is to MODERATE. And admins normally are moderators++. If I would have had a problem during a clanwar, I'd stop the clanwar and declare it as internal training. My time is too precious for this shit. On the other hand, posting pictures of that event inside here is a sure sign of a diseased mind. I've got a server myself, and I can say many, MANY people keep flaming each other for different reasons. Sometimes just for the lulz. I don't even have the time to post pictures of each clan leader that got killed and was letting steam off.
  17. Tried GTA singleplayer?
  18. Thanks, mate, now its really looks more better) BTW: Do you have MTA Community profile, for i add you in creators? Yes, like Solid said. But I suffer from the "lonewolf" disease(just like any other scripter) which makes you stop working together with other people before you even started talking to them Also, did your script detect that bones were outside the screen? Always check those nil values.
  19. aBoneList = {} --right leg aBoneList[54] = 53; aBoneList[53] = 52; aBoneList[52] = 51; aBoneList[51] = 1; --left leg aBoneList[44] = 43; aBoneList[43] = 42; aBoneList[42] = 41; aBoneList[41] = 1; --spine aBoneList[1] = 2; aBoneList[2] = 3; aBoneList[3] = 4; --right arm aBoneList[26] = 25; aBoneList[25] = 24; aBoneList[24] = 23; aBoneList[23] = 22; aBoneList[21] = 22; --right arm aBoneList[36] = 35; aBoneList[35] = 34; aBoneList[34] = 33; aBoneList[33] = 32; aBoneList[31] = 32; --head aBoneList[4] = 6; aBoneList[6] = 7; aBoneList[7] = 4; --torso aBoneList[32] = 41; aBoneList[22] = 51; -- function drawPedBones (ped) if isElement(ped) then for iFrom,iTo in pairs(aBoneList) do local x1,y1,z1 = getPedBonePosition(ped,iFrom); local x2,y2,z2 = getPedBonePosition(ped,iTo); if not (x1 or x2) then return; end local screenX1, screenY1 = getScreenFromWorldPosition ( x1,y1,z1 ); local screenX2, screenY2 = getScreenFromWorldPosition ( x2,y2,z2 ); local playerTeam = getPlayerTeam( ped ); local red,green,blue = 0,0,0; if playerTeam then red,green,blue = getTeamColor ( playerTeam ) end if screenX1 and screenX2 then dxDrawLine ( screenX1, screenY1, screenX2, screenY2, tocolor(red,green,blue,255) ); end end end end The thing is, code is generated by humans, not by machines. So keeping it readable is always a good idea.
  20. Not really, the IP is down there, in my signature. Also, shouldn't there be like, "I want to do that" first, and time and place later?
  21. The chaos community wants to have a stealth clan war for the lulz. We offer: -The anticheat -The syncro (I was told my servers were the "servers with least lag") -The server (stealth) -Some time. You will have to offer: -4 or more players -An IQ bigger then 65 (seems to be hard to have) -Having fun. What is it about? Its about having fun. We are not the best players, but we meet from time to time to kill each other. Normally we are playing "Zombie Mod" (feel free to join it to get a feeling what "no lag syncro" means )
×
×
  • Create New...