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]
1  Liberty Unleashed / Bug Reports / Client script issues. on: September 16, 2011, 06:14:57 am
I was scripting some stuff on my server, mainly working on some client-side stuff. I had the server open, and the client connected to the server, and was alt-tabbing between the client, server, and Notepad++. At some points, when I reloaded the scripts in the server console, the client would randomly have 1 out of 2 issues when I alt-tabbed back to the game:

-The client would freeze with a black screen, and crash when a key was pressed. At that point, I was given the option to report the crash, which I have done 3 times.
-The script would not be re-downloaded. I'm guessing this has to do with the file size of the client script not changing, so it isn't re-downloaded as it appears to not have changed. That's just a guess though, I don't know how this works in LU.

Specifications of the PC I am using:
-AMD Phenom II X4 965 Black Edition
-XFX Radeon HD 6870
-4 GB DDR3 RAM
-Windows 7 Home Premium 64-bit

The game is running with the following settings:
-1920X1080X32
-Fullscreen
-~30% Brightness
-Rest is MAXIMUM

(some of the above info is probably unnecessary, lol)

The version of LU I am using is 0.1.0.11.
2  Liberty Unleashed / Liberty Unleashed Chat / MySQL Plugin for LU? on: September 16, 2011, 05:27:53 am
Hey all,

Does anyone have any plans to release a MySQL plugin for LU? I would really like this as I have a gamemode planned that requires MySQL. I suppose I could work around it, but having MySQL functions ready would be a lot easier (and more efficient).

Thanks in advance.
3  Scripting / Script Help / Disabling default join/quit messages on: September 14, 2011, 11:38:34 pm
Hey all, I was wondering if it's possible to disable the normal join/quit messages of the server and replace them with my own. Also, I have a script ready for this, but it give me an error that I don't quite understand:

Code: [Select]
//This function is executed when a player leaves.
function onPlayerPart(thePlayer, reason)
{
local reasonString = "Unknown";
if(reason == PARTREASON_DISCONNECTED) { reasonString = "Quit"; }
if(reason == PARTREASON_TIMEOUT) { reasonString = "Timeout"; }
if(reason == PARTREASON_BAN) { reasonString = "Banned"; }
if(reason == PARTREASON_KICKED) { reasonString = "Kicked"; }

MessageAllExcept("* "+thePlayer.Name+" has left the game ("+reasonString+").", thePlayer, 0, 255, 0);
}
Code: [Select]
CONNECTION: Closed [192.168.1.45] | Index [0]

AN ERROR HAS OCCURED [getVarInfo: Could not retrieve UserData]

CALLSTACK
*FUNCTION [onPlayerPart()] Scripts/Main/sJohnMode.nut line [57]

LOCALS
[reasonString] "Quit"
[reason] 0
[thePlayer] INSTANCE
[this] TABLE
CONNECTION: Incoming [192.168.1.45] | Index [0]

Thanks in advance.
Pages: [1]
© Liberty Unleashed Team.