Jump to content

XmarksTheScot

Member
  • Content Count

    18
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About XmarksTheScot

  • Rank
    Private First Class
  1. mmm but both files work fine in 1.47 unless have some commands been removed / changed in 1.48
  2. Ok now on the new 1.48 version i try to get it to login to a remote server and i have disabled the server pid check, but it just runs, checks bec version and closes.
  3. Strange becuase it still seems to be using my badnames and badwords files ok
  4. I can now confirm the --dsc switch now means that this doesnt need to run on the server itself, i currently have it setup to login to a slotted rented server. so just AWESOME NESSS Cheers mate EDIT It appears the scheduler wont work.. all the other option block stuff seems fine, just cant get scheduler to work. which is weird as the same scheduler file seems to work fine on a server on teh same box, but if i run BEC and give it remote info in the IP and port and disable the PID check, it logs in fine and commands work and stuff, but it just wont run scheduler to "chat" with server.
  5. so whats the differences then? which is the best to use, or is it 6 and half a dozen?
  6. yeah but im doin it on a Domination server on all bonus vehicles , all support vehicles and 2 different types of created vehicles. how would your solution of setvehilceinit / processinitcommands handle JIP players?
  7. use the MPF framework mate and call the command using remote execution, i had a similar issue in this thread here so use this line to call the script on all clients and your local machine [nil,nil,"loc" + "per",rSETOBJECTTEXTURE,_object,0,"circular_target.paa"] call RE;
  8. i had tried the setvehicleinit but it still didnt work, the texture was only shown on the machine local to the script. And as cuel says, was this not the very reason setobjecttexture command was added to the RE command library?
  9. Ok so i tried your suggestion but no luck mate ---------- Post added at 01:27 ---------- Previous post was at 00:03 ---------- ok so i realized that i had used the wrong variable name when i copied your example, but even correcting it didn't work so, i check my rpt file to find this Error in expression <; _texture = _this select 4; _tObject setObjectTexture [_tIndex, _texture]; > Error position: <setObjectTexture [_tIndex, _texture]; > Error Type String, expected Number So i unpbo'd the modules.pbo and loked into the MP folder to find all teh scripts it calls when you use MPF, and looked at teh setobjecttexture.sqf and it contained this scriptName "MP\data\scriptCommands\setObjectTexture.sqf"; _caller = _this select 0; _target = _this select 1; _tObject = _this select 2; _tIndex = _this select 3; _texture = _this select 4; //textLogFormat ["MPF_ %1 setDir %2", _target, _dir]; _tObject setObjectTexture [_tIndex, _texture]; So i realsied that it was simply that you had put " " round the surface index :D so i placed this into my code [nil,nil,"per",rSETOBJECTTEXTURE,_plane,0,"texture\camoclan.paa"] call RE; AND...... I works a treat. so we now have custom skined vehicles on our domination server and best of all it even executes the code on players when they join so skinned vehicles remain skinned for everyone all the time. So thanks mate your help made me at least rethink it a bit :P
  10. CBA aint an option as we run a public arma 2 free server and have no addons. ill try your code you quoted and see how it goes mate. i would ofc have to do it like so ? _plane = _planeName createVehicle (getMarkerPos _place); if (typeOf _plane in surface0array) then { _plane setObjectTexture [0,"texture\camoclan.paa"]; [nil,nil,"per",rSETOBJECTTEXTURE,_veh,"0","texture\camoclan.paa"] call RE; }; if (typeOf _plane in surface1array) then { _plane setObjectTexture [1,"texture\camoclan.paa"]; [nil,nil,"per",rSETOBJECTTEXTURE,_veh,"1","texture\camoclan.paa"] call RE; }; if (typeOf _plane in surface2array) then { _plane setObjectTexture [2,"texture\camoclan.paa"]; [nil,nil,"per",rSETOBJECTTEXTURE,_veh,"2","texture\camoclan.paa"] call RE; }; Yeah?
  11. Ok so i stumbled across the setobjecttexture command for vehicles and decided reskin all the vehicles in our domination server. so i placed the commands in the vehicles init in editor and also in the re-spawn script. OFC i then realized that its a local command. so i decided to try the remote execution using the MPF. and then i got stuck. So just to be clear i have made arrays of vehicles types of, which required different surfaces skined so my script checks the array and skins the correct surfaces with the correct skin. so heres my codes can some one please tell me how i pass the vehicle the script is working on to the remote executed code on the clients machines just to be clear i am trying to do this in 3 places, the x_vehrespawn2.sqf, x_helirespawn2.sqf, and our own clan vehicle creator script. so i have a few version of teh script to call dependant on where i call it but they all need to pass the vehicle its working on to a script so should all work same way. init.sqf //SOG reskining array surface0array = ["Ka52","Ka52Black","Su25_CDF","Su34","Mi24_D","BMP3","M1A1","M1A2_TUSK_MG","Mi17_Ins","Mi17_CDF","A10","T34","T72_Gue","T90","ZSU_INS","LAV25","2S6M_Tunguska","AAV","BMP2_CDF","BRDM2_ATGM_CDF","BRDM2_CDF","BTR90","HMMWV_Armored","HMMWV_M2","HMMWV_MK19","HMMWV_TOW","Offroad_DSHKM_Gue","Offroad_SPG9_Gue","UAZ_AGS30_INS","UAZ_MG_CDF","Ural_ZU23_CDF","ZSU_INS","MTVR","MtvrReammo","MtvrRefuel","MtvrRepair","HMMWV_Ambulance","Mi17_Civilian","HMMWV","LAV25_HQ"]; surface1array = ["Ka52","Ka52Black","Su25_CDF","Su34","Mi24_D","BMP3","M1A1","M1A2_TUSK_MG","GAZ_Vodnik_HMG","T34","T72_Gue","T90","ZSU_INS","MTVR","MtvrReammo","MtvrRefuel","MtvrRepair"]; surface2array = ["Mi17_Ins","Mi17_CDF","GAZ_Vodnik_HMG","LAV25","T34","T90","2S6M_Tunguska","Mi17_Civilian","LAV25_HQ"]; surface3array = ["M1A2_TUSK_MG","MTVR","MtvrReammo","MtvrRefuel","MtvrRepair"]; respawn / creator script _plane = _planeName createVehicle (getMarkerPos _place); [nil, nil, "per", rEXECVM, "SOG\vehskinc.sqf", _plane] call RE; if (typeOf _plane in surface0array) then { _plane setObjectTexture [0,"texture\camoclan.paa"]; }; if (typeOf _plane in surface1array) then { _plane setObjectTexture [1,"texture\camoclan.paa"]; }; if (typeOf _plane in surface2array) then { _plane setObjectTexture [2,"texture\camoclan.paa"]; }; called script _veh = _this select 1; if (typeOf _veh in surface0array) then { _veh setObjectTexture [0,"texture\camoclan.paa"]; }; if (typeOf _veh in surface1array) then { _veh setObjectTexture [1,"texture\camoclan.paa"]; }; if (typeOf _veh in surface2array) then { _veh setObjectTexture [2,"texture\camoclan.paa"]; }; Currently when a vehicle respawns / or is created it only shows skin to person creating it or when its a respawn, no1 as its local to server only :( And before i forget yes i placed a functions module in the editor and its domination 2.61 A2 only. Not that the domi is relevant but ... Anyway, anyone spot my mistake or am i doin something really stupid or is what im doin impossible or what?
  12. So would we need this is we wanted to use screens from the game on custom products from zazzle.com? we are a clan and any funds generated this way go back into funding our game servers
  13. Its a Windows server mate Are these programs i run onthe server then?
  14. Cool or not he was a hacker and should be BANNED, and IMHO have his genitals removed so he cant reproduce! As for anticheat on no dedi mate im not sure tbh, i think the script loggin etc only works on dedis
  15. Nearly 50 views and no1 even replies with a "sorry cant help" PFFT!!!!!!!
×