Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


  Show Posts
Pages: [1] 2 3 ... 6
1  Scripting / Script Help / Re: Using 'loops' in a Class on: February 21, 2017, 07:40:04 pm
I'm not an expert, but I'll try to give you my opinion.

In history, the computer science has been through several approaches called paradigms which define how parts of program are viewed and act.
From the point of theory, these paradimgs may use different mechanism to compute (for instance, OOP objects would use message sending to communicate) and may not use instructions (non-imperative languages such as LISP,Prolog).

These approaches are used in real, but their implementation migh differ from "clean" theoretic view. As for OOP in real programs, it depends a bit on language you are using.
In C++ which is still close to CPU (from the point of abstraction), objects are treated as data structures with methods - functions. Thus, in C++, selection, sequence and iteration are rather neccessary to use to program anything, even while using classes.

Although using loops in class is correct if neccessary, modern C++ may provide bunch of standard alternatives which will keep the abstraction of your code high (for example, iterating through vectors or data structures).

In conclusion, the usage of language mechanisms depends on your experience with language and programming, and on specific situations.
2  Liberty Unleashed / Liberty Unleashed Chat / Re: Why not make LU open source? on: January 28, 2017, 12:40:14 pm
In my opinion, even if LU was open-sourced, it wouldn't be possible to make it flawless and exploit-proof.

As far as I know, all fan multiplayer modifications are using original game's engine to calculate player's movements and collisions (please, correct me if someone has changed this and created a server-side collision simulation based on game files like standard multiplayers such as Call of Duty, Counter-Strike, etc. do). Thus, almost everything has its origin in client's PC and the major purpose of server is to broadcast data to other clients.

I think you can feel the source of problems - it's impossible to verify if anything from client has been forged. The impact of releasing any multiplayer like this is showing how data are treated (and verified) and make it others easy to bypass this mechanism.

If someone wants to provide a flawless multiplayer modification for any game, a server-side physics and game simulation is required. Personally, I think it shouldn't be so demanding to use/reverse GTA game files to extract data about world, objects and collisions and to create a copy of GTA physics, already based on existing engines (e.g. http://bulletphysics.org/wordpress/).

In conclusion, I hardly believe that LU will ever be released as an open source SW as it'd be pretty pointless to do so. I've done that with my multiplayer modification for Mafia (LHMP) https://github.com/LHMPTeam/lhmp-old , but open-source projects without active creators are almost all dead and no one will continue to develop something he can't fully understand (otherwise he'd created his own one). 
3  News and Content / Updates/Changes / Re: Update 0.1.0.16 (06/08/14) on: September 05, 2014, 03:27:12 pm
AFAIK, you need WinXP SP3 to install VS 2013 C++ redistributable.
4  News and Content / Liberty Unleashed News / Re: An update on the progress on: February 16, 2014, 10:11:55 am
I had Win 7 x64 and it always worked good for me. It just needed some startup settings.
5  Liberty Unleashed / LU Clans / Re: Virtual owners again return. on: January 25, 2013, 10:04:14 pm
It looks like 3rd return :D
6  Off Topic / General Chat / Re: I need a Program on: January 17, 2013, 04:53:00 pm
The simpliest way is create one database and use it on 2 server :) Or if that servers are at same PC, you can write .bat or .sh script which would copy the newest thing on server to each other (but this is quite HARD).
7  Liberty Unleashed / Support / Re: Problem with FPS with LU(30fps). on: November 21, 2012, 03:08:14 pm
You can not turn it off in LU, you must start base game and turn it there.
8  Liberty Unleashed / Bug Reports / Cars dont work properly on: November 10, 2012, 10:59:03 pm
If you have got 4 passager car, only 3 people can enter at same time or sometimes if you have got 2 passager car and someone enter as passager, you can't enter the vehicle as driver. I know that this is old bug, but it still getting my angry, so I hope it'll be finally fixed well.
9  Scripting / Scripting Discussion / Re: Help. on: April 26, 2012, 05:35:19 pm
Why don't you edit old VCMP 0.1 source ? It is quite good and have all basic functions which MP must have.
10  Off Topic / Spam / Re: SPAAAAAAAAAAAAACE on: March 26, 2012, 06:05:44 pm
aaaah, Portal 2 rulez the world :)
11  Liberty Unleashed / Liberty Unleashed Chat / Re: VRockah! on: March 19, 2012, 07:46:45 pm
lol, U have to stop smoking / drinking :D
12  Scripting / Script Help / Re: Bindkey Help on: February 20, 2012, 05:47:04 pm
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions/Controls/BindKey
Code: [Select]
function onScriptLoad()
{
     BindKey( '2', BINDTYPE_DOWN, FixCar, 123 );
     
     return 1;
}
 
function FixCar( id )
{
     Message( "You fixed car with ID " + somenumber );
}
13  Off Topic / General Chat / Re: Vice City Online - Public Beta Test on: February 07, 2012, 02:36:23 pm
no, I mean Vice Unleashed :P . VCMP is dead because they don't have active programmers.
14  Off Topic / General Chat / Re: Vice City Online - Public Beta Test on: February 06, 2012, 03:17:31 pm
VU will be better, I trust only Vrocker :)
15  Off Topic / Spam / Re: HEY, TEACHER on: January 08, 2012, 04:00:02 pm
If you don't like school,  go and say it to prime minister or school's minister. But stop hating teachers. Someone must do this work.
Pages: [1] 2 3 ... 6
© Liberty Unleashed Team.