Show Posts
|
Pages: [1] 2 3
|
6
|
Liberty Unleashed / Liberty Unleashed Chat / Liberty Unleashed official Discord server
|
on: February 08, 2017, 09:53:46 pm
|
LU also has to keep up with the times a bit, and with the approval of VRocker, I have set up a Discord server for it. For those unfamiliar, Discord is a chat application that aims to combine the best functions of IRC, TeamSpeak and Skype into one application. It is quickly taking over the gaming world and for good reason. Feel free to join -and accompany me and my bots - Current channels- #general - General discussion channel for everything LU
- #scripting - Scripting discussion
- #support - Channel for all your support questions
- #rhytz-server - Experimental server echo channel
Bots- Lazlow - Experimental LU server echo bot (#rhytz-server)
- Liberty Tree - Checks the forum for new posts on regular basis
Feel free to join and say hi!
|
|
|
7
|
Scripting / Script Releases / Re: GTA V Spawn Camera
|
on: February 08, 2017, 12:41:16 pm
|
Hey thats awesome Nice job Would it be possible to do something like CallServerFunc("Scripts/GTA V Spawn Camera", "GTAVSpawn", FindLocalPlayer(), vectorpos) before returning 0 in the onClientRequestSpawn function? So to replace the entire spawning system? Is onClientRequestSpawn called when pressing ctrl in the spawnclass selection, and when respawning after death?
|
|
|
8
|
Scripting / Script Help / Re: Pointer to function within class
|
on: February 06, 2017, 11:09:20 am
|
Thanks Theremin, I will experiment some more. Too bad the original videos in that thread were removed, would be interesting to see what they were about.
If I could get this working it would greatly improve for example the websdk script to make it more dynamic.
|
|
|
9
|
Scripting / Script Releases / Re: Changelogs
|
on: February 02, 2017, 12:23:59 pm
|
It makes the game aspect ratio look "right" on widescreen monitors, which you appear to have. If you have it turned off on a widescreen monitor, the image will be stretched out. Options > Display Setup > Wide Screen > Off: Options > Display Setup > Wide Screen > On:
|
|
|
10
|
Scripting / Script Releases / Re: Changelogs
|
on: February 02, 2017, 10:32:59 am
|
Nice job. The links are broken though. They contain http twice
P.s. have you not enabled widescreen mode on your GTA III (screenshot)?
|
|
|
11
|
Scripting / Script Help / Pointer to function within class
|
on: January 31, 2017, 03:18:32 pm
|
A lot of LU functions take a string or pointer to a callback function. However, there seems to be no way to point to a function within a class.
Take the code below for example:
class Example { mainSocket = null; constructor(port){ mainSocket = NewSocket( this.ReceiveData ); mainSocket.SetNewConnFunc( this.Connected ); mainSocket.Start( port, 64 ); ::print("Loaded example class and opened socket"); } function Connected( socket, clientID, clientIP, clientPort ){ ::print("Socket connected"); } function ReceiveData( socket, clientID, data ){ ::print("Received data"); } } ExampleClass <- Example(2345);
The socket is opened and can be connected to. However, the functions Connected and ReceiveData never get called. Script generates no errors. I've tried to make every possible reference to these functions I could think of, but nothing happens. Am I missing something, or is this just impossible to do?
|
|
|
12
|
Liberty Unleashed / Liberty Unleashed Chat / Re: Which Gta mp do you prefer.
|
on: January 31, 2017, 11:43:47 am
|
1. MTA:SA - The best MP mod for San Andreas from a technical standpoint. Great scripting interface and very well documented. If you can think of it, it can be created in MTA:SA. Furthermore the sync is fantastic, even compared to other games. Great community too. This is where I spend most of my gaming-time, and have for the last 10 years or so. 2. LU - Lots of potential, yet I feel like people have barely scratched the surface. Or at least at it stands today with only a handful of servers. So there is room to create something unique and fun. I'd love to put some more work into creating scripts for LU.
I have played SA:MP before MTA:SA was released, and occasionally after that. Not sure how it stands today, but it doesn't seem to have changed much since then. I like MTA better looking at it from a technical standpoint, but I think SA:MP still has a bigger community.
Have played the others too, but too long ago/not enough experience to compare.
|
|
|
15
|
Servers / General Server Chat / Re: server windows
|
on: November 24, 2016, 12:30:32 pm
|
Get rid of all the scripts in your server and then try again... I think some script might be crashing the server.
Or you could download it again, put it in a new folder (clean install), and then run the updater.exe
|
|
|
|