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  Servers / Advertise your server! / Skylarks Deathmatch on: April 02, 2016, 10:34:52 am
Server Name: Skylarks DeathMatch
Server IP: skycnr.kingofvc.ml:5194
Forum: http://skylarks.vcmp.co.uk/index.php
IRC Echo: #skylarks.LU @ LUNet
Available Server Command:
(/) register, login, heal, goto, gotoloc, saveloc, wep

We are looking for admin, if you are ready for this position, feel free to apply here.
2  Scripting / Script Help / sqlite problem? on: March 22, 2016, 05:23:09 pm
when i put LoadLoc(); on onScriptLoad(), it crash the server, but i remove it, it does not crash

here LoadLoc
Code: [Select]
Loc <- {}

function LoadLoc()
{
    db <- sqlite_open( "LU.db" );
    local q = sqlite_query( db, "SELECT * FROM loc" );
while ( sqlite_column_data( q, 0 ) != null )
    {
        Loc[ sqlite_column_data( q, 0 ) ] <- {}
        Loc[ sqlite_column_data( q, 0 ) ].Pos <- ConvertStringToPos( sqlite_column_data( q, 1 ) );
        Loc[ sqlite_column_data( q, 0 ) ].Creator <- sqlite_column_data( q, 2 );
Loc[ sqlite_column_data( q, 0 ) ].Date <- sqlite_column_data( q, 3 );
sqlite_next_row( q );
    }
sqlite_free( q );
    print("\r[Loc] " + Loc.len() + " loaded." );
}

i also loaded lu_sqlite on onScriptLoad()
Pages: [1]
© Liberty Unleashed Team.