 
        XetaQuake
Members- 
                Posts561
- 
                Joined
- 
                Last visited
Everything posted by XetaQuake
- 
	Realy good update! Following bugs are solved: 1.) /leave now works after /buildhouse 2.) And ALL ( ) other commands works Following bugs are still exist: 1.) /buildhouse works when not loged in, so for all peaple, not only for admins (Yes...my ACL.xml is absolutely clear and i tested it on two servers) 2.) The Clan tag bug still exist! (pleas fix it) And i have a Proposal: When whe go in a house icon, the infos like /enter, /buy etc. shows up, but there only works when the player are entered the house, right? But when i entered the house, there is only writen /leave to leave the house (or so). I think its better when all the infos like /enter, /buy etc. only shows up when the player entered the house, because only then it works, can you follow me?
- 
	I thank you! hehe a movie don´t was needed ^^ But now whe fixed the bug =) thanks Ace_Gambit, now this thread is REALY finished ^^
- 
	I thank you! hehe a movie don´t was needed ^^ But now whe fixed the bug =) thanks Ace_Gambit, now this thread is REALY finished ^^
- 
	Absolutely same here in all points, and NOTHING command works, only /buildhouse and /leave when i in it. but no other and a new bug in the new version: /buildhouse works for every player, not only admins
- 
	Absolutely same here in all points, and NOTHING command works, only /buildhouse and /leave when i in it. but no other and a new bug in the new version: /buildhouse works for every player, not only admins
- 
	Nice new feature! (After /buildhouse it will put u inside the house) But the clan tag bug still exist Now i get in every house after i write /buildhouse, but ALL commands (/leave, /enter house etc.) don´t works (Yes i reseted the files, i downloaded it complete new) //PS: Sorry for editing many times, you read it already
- 
	Nice new feature! (After /buildhouse it will put u inside the house) But the clan tag bug still exist Now i get in every house after i write /buildhouse, but ALL commands (/leave, /enter house etc.) don´t works (Yes i reseted the files, i downloaded it complete new) //PS: Sorry for editing many times, you read it already
- 
	sorry ^^ Its a little bit complicated to build it in, i try it but it don´t works, where is setVehicleFrozen(vehicle, true) in this code? On local targetX, targetY, targetZ = 0, 0, 0 -- teleport location and -- teleport vehicle (setElementInterior or setElementPosition) i need to set the destination point? That´s my currently code: http://mta.pastebin.com/m5c934a89 And now i tries to build you code in it: http://mta.pastebin.com/m449eab5b but it don´t work notice: the client script is build in in the meta.xml, don´t worry ^^
- 
	sorry ^^ Its a little bit complicated to build it in, i try it but it don´t works, where is setVehicleFrozen(vehicle, true) in this code? On local targetX, targetY, targetZ = 0, 0, 0 -- teleport location and -- teleport vehicle (setElementInterior or setElementPosition) i need to set the destination point? That´s my currently code: http://mta.pastebin.com/m5c934a89 And now i tries to build you code in it: http://mta.pastebin.com/m449eab5b but it don´t work notice: the client script is build in in the meta.xml, don´t worry ^^
- 
	Now i found the problem why i think i "falling down". Its following: i frezzes the car after 150 milli seconds because so i can fix the problem that the car runs crasy But the problem with this metode: sometimes when the car is not hight enought (interiors are in the air...) and then the frezz launches, the car stop teleporting (flying) to the destination point, because 150 milli seconds is not enought to get in the interior. Why i don´t use more milli seconds? Because every PC uses different hardware and have different pings. Now my idea: i need a function to check that the vehicle is on the place it should be beamed, like getVehiclePosition or so. is that possibly?
- 
	Now i found the problem why i think i "falling down". Its following: i frezzes the car after 150 milli seconds because so i can fix the problem that the car runs crasy But the problem with this metode: sometimes when the car is not hight enought (interiors are in the air...) and then the frezz launches, the car stop teleporting (flying) to the destination point, because 150 milli seconds is not enought to get in the interior. Why i don´t use more milli seconds? Because every PC uses different hardware and have different pings. Now my idea: i need a function to check that the vehicle is on the place it should be beamed, like getVehiclePosition or so. is that possibly?
- 
	Now i tested a little bit, and i found the problem: Only the FIRST house i placed works to go inside! All following houses don´t work, I tested it long time and tried it again and again. After every testing, i copied and replaced the files from \KIHC\Rest to \KIHC, so i am 100% sure And a other problem: the clantag problem still exist! on my nick is a [ at the beginning, and only when i remove them i am able to create a house
- 
	Now i tested a little bit, and i found the problem: Only the FIRST house i placed works to go inside! All following houses don´t work, I tested it long time and tried it again and again. After every testing, i copied and replaced the files from \KIHC\Rest to \KIHC, so i am 100% sure And a other problem: the clantag problem still exist! on my nick is a [ at the beginning, and only when i remove them i am able to create a house
- 
	nono, i am near enought, but sometimes i still don´t get teleported. But i am near enought because i get the warnings when i write /house enter WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 392 WARNING: KIHC.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 393 15% from testing i get inside, the rest i still stand on the marker after typing /house enter (on the newest version)
- 
	nono, i am near enought, but sometimes i still don´t get teleported. But i am near enought because i get the warnings when i write /house enter WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 392WARNING: KIHC.lua: Bad argument @ 'xmlNodeGetAttribute' - Line: 393 15% from testing i get inside, the rest i still stand on the marker after typing /house enter (on the newest version)
- 
	why do you don´t use a ColSphere? houseMarker = createColSphere ( X, Y, Z, 5 ) addEventHandler ( "onColShapeHit", houseMarker, functionToTeleport )
- 
	why do you don´t use a ColSphere? houseMarker = createColSphere ( X, Y, Z, 5 )addEventHandler ( "onColShapeHit", houseMarker, functionToTeleport )
- 
	thanks for new version! now i was able to go inside and use other commands but /house enter is a little bit buggy i think. by me it works ~10 times and then nothing happens. I know in the changelog you write that this is fixed, but by me it don´t work sometimes. But - i was able to go inside =)
- 
	thanks for new version! now i was able to go inside and use other commands but /house enter is a little bit buggy i think. by me it works ~10 times and then nothing happens. I know in the changelog you write that this is fixed, but by me it don´t work sometimes. But - i was able to go inside =)
- 
	Oh I wonder for a long time how i can create a bridge between server and client side script, can you give me a tip?
- 
	Oh I wonder for a long time how i can create a bridge between server and client side script, can you give me a tip?
- 
	Why do you need a function that says you are not in a vehicle when that is exactly what the isPlayerInVehicle function does? You are right, sometimes i falling down because the interior not loading so fast or so. So i tried your tip: function unfrozen( player ) local playerVehicle = getPlayerOccupiedVehicle ( player ) local x, y, z = getElementPosition(playerVehicle) local cx, cy, cz = getCameraPosition() local dist = getDistanceBetweenPoints3D(x, y, z, cx, cy, cz) if (dist < 25.0) then setVehicleFrozen(playerVehicle, false) else setTimer(unfrozen, 50, 1, player) end end But the vehicle don´t get unfrozen. any ideas? And a error: .lua:196: attempt to call global 'getCameraPosition' (a nil value) I tries also getCameraPosition' (player) and getCameraPosition' (playerVehicle) but i get the same error (PS: sorry for doppelpost but i think its ok because i found a problem and now i have a question... ^^)
- 
	Why do you need a function that says you are not in a vehicle when that is exactly what the isPlayerInVehicle function does? You are right, sometimes i falling down because the interior not loading so fast or so. So i tried your tip: function unfrozen( player ) local playerVehicle = getPlayerOccupiedVehicle ( player ) local x, y, z = getElementPosition(playerVehicle) local cx, cy, cz = getCameraPosition() local dist = getDistanceBetweenPoints3D(x, y, z, cx, cy, cz) if (dist < 25.0) then setVehicleFrozen(playerVehicle, false) else setTimer(unfrozen, 50, 1, player) end end But the vehicle don´t get unfrozen. any ideas? And a error: .lua:196: attempt to call global 'getCameraPosition' (a nil value) I tries also getCameraPosition' (player) and getCameraPosition' (playerVehicle) but i get the same error (PS: sorry for doppelpost but i think its ok because i found a problem and now i have a question... ^^)
- 
	Ok, without my clan/group tag i can create a icon with /buildhouse. One problem is solved, but the problem that i can´t enter the house, still contains
- 
	Ok, without my clan/group tag i can create a icon with /buildhouse. One problem is solved, but the problem that i can´t enter the house, still contains
