BTH
-
Posts
99 -
Joined
-
Last visited
Posts posted by BTH
-
-
Scripting Tutorial 7 - Bomp Shop - Tuesday 13 March 2007 (16:18)
-
Write that in English, and i might help you.HiCan me help for my MTA SA. Server Gameserver Webinterface php Script scripten.
bad english sorry
I Have Linux Server
thx
-
^^If only someone from developers could give us some hint when it could be released.I can imagin how JHXP laffing about us watching how we are trying to quess the relese day.I just had to
-
Hold Ctrl while starting MTA.
-
You beat me to itand again moving those would be hard, I would have to make a script to move hundreds of objects, that would make for a long script. The water is only one thing, that’s why I would prefer moving it instead.Not necessarily. You can easily move a lot of objects in unison without writing lots of script code (object arrays and loops for example). Moving a lot of objects in the same direction and with the same speed should be no problem. Same goes for pickups (assuming you can dynamically set the xyz attributes). I was also thinking of the glue function. This will come in handy if you want to move objects as one...
-
SA:MP has deathmatch, MTA: SA has quality.
EDIT: MTA: SA is only racing at the moment, but deathmatch is coming. Sometime.
-
Th error is from the error reporter(!). Just ignore it.More times i go this error "Couldn't find core dump file to send" when im playing in a server or in the Map Editor (More times in the Map Editor) and i dont know how to fix! Please Help me! -
ehm.. duke nukem forever coff coff.. ehm..
http://forum.mtavc.com/viewtopic.php?t=18501PS: My guess is that it will be Coming soon -
It can't be added easily AFAIK. The source code he posted was for .NET. MTA is coded in native C++.If its something that can be added easily why not do it? Ban by multi IP-adresses is plain stupid cuz most people have dynamic IPs and they can always run MTA via a socks proxy server. -
Doesn't Lua have built-in support for copying tables?
-
You're mixing up C++ and Microsoft Visual C++. Native C++ does not use .netI am not sure about functions of upcoming MTA DM release, but I hope that we're going to have CPU ID ban. If you haven't implented it already, then here's a little function for getting CPU ID, which has to be impelnted in the client. Then you should send it to the server and store in some file.public string GetCPUId() { string cpuInfo = String.Empty; string temp = String.Empty; ManagementClass mc = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { if (cpuInfo == String.Empty) {// only return cpuInfo from first CPU cpuInfo = mo.Properties["ProcessorId"].Value.ToString(); } } return cpuInfo; }
The code is in C#, but it is not difficult to convert it, as C# and C++ are parts of one platform (.NET).
P.S. Global ban by CPU ID isn't violent. It is what I call justice. Noone would cheat ever.
Thanks.
-
Whats the point of this? [lua]function copyTable ( src, des )
for k,v in pairs(src) do
if (type(v) == "table") then
des[k] = {}
copyTable(src[k],des[k])
else
des[k] = v
end
end
end[/lua]
-
-
-
>_>
<_<
Scripting!
-
...
L2R NOOBS! -
-
No.can you stop the initial load screens? because they are really annoying. -
Statistics
query($sql);
$msg = mysql_num_rows($mySQL->query);
echo "
Total guesses: $msg\n";\n";
$sql = 'SELECT * FROM guesses where gdate < NOW();';
$mySQL->query($sql);
$msg = mysql_num_rows($mySQL->query);
echo "Passed dates: $msg
$sql = 'SELECT feat FROM guesses where feat != \'\';';
$mySQL->query($sql);
echo '
Feature guesses:
';echo '';
$vary = true;
while($outs = mysql_fetch_array($mySQL->query)){
$class = ($vary = !$vary)? "class1" : "class2";
echo "
$outs[0]\n";}
?>
-
New statistics page: http://itsbth.awardspace.com/stats.php.
Keep the guesses coming!
PS: Note the maturity of the guesses :\
-
If you bought GTA recently, you need to get the downgrade patch here.
-
You can't get the MAC address without being in the same local network.
-
The last element is actually a string with functionname.Now that's the kind of replies I like, thanks Aeron!Ok, so this is the idea...
----
addEventHandler (event, getRootElement(), function)
addEventHandler = Let the script know you want to activate a function with a special event
event = The name of the event, actually the trigger for the function
getRootElement() = Holds the information which gets sended to the function (can be an array which holds more information).
(I guess this is a XML function, but from what kind of XML file it gets the root? And what does it return?)
function = The function to activate
Correct if im wrong.
-
Since were all started with the bumping, we might sticky this sarcasm
MTA: SA on linux
in General discussion
Posted
Wine or Cedega...
Don't know if MTA works.