Liberty Unleashed

Scripting => Script Releases => Topic started by: Demi God on February 04, 2012, 01:19:07 pm

Title: Location system (Database)
Post by: Demi God on February 04, 2012, 01:19:07 pm
Location system (Database) 


Details

This is a script can your current position and goto that position anytime you want.
Script Version is 0.2
Coded by Demi_God


Downloads

0.1:  Mediafire (http://www.mediafire.com/?2xwpf2emsf02plc), Uploading (http://uploading.com/files/23655c83/Location.nut/), Filefactory (http://www.filefactory.com/dlf/f/c23cd3b/b/1/h/c12149bb5d6036d777557fe8e6f7597ba39963fb/j/0/i/312769da6a698b4903f5c408fef103714c8309f3/a/399b3e3893e5b55fc9cb39685de82ba70f395ca3/n/Location.nut)
0.2:  Mediafire (http://www.mediafire.com/?vc1x90mx116tusy)



Instructions

1.Create a new folder in your server Scripts folder and name it as Location
2.Download Location.nut file from one of the above links to Location folder
3.open serverfolder>LU>content.xml and add this line <script folder="Location"/>
4.Now open the Location folder and create a text document file and name it as Script.xml
5.Open Script.xml and add this line <script file="Location.nut" client="0"/> and save it



Contains/History

0.1: /saveloc, /gotoloc.
0.2: Fixed memory leakage.


Notes

1.You can view the saved location Name, Coordinates and Author's name in 
Database.sqlite file in your server dir.
2.Please report me if you find any bugs :)
3.Please don't blame me its my first release  ;)

Title: Re: Location system (Database)
Post by: Nexus on February 04, 2012, 11:12:41 pm
just a question, why you are not freeing the queries?
Title: Re: Location system (Database)
Post by: Demi God on February 05, 2012, 06:18:11 am
just a question, why you are not freeing the queries?

Thanks for reminding me!  :D
v0.2 has been released, fixed memory leakage issue  :)
Title: Re: Location system (Database)
Post by: mimomohamed on May 17, 2012, 07:10:07 pm
this problem appear to me
Title: Re: Location system (Database)
Post by: Rocky on May 18, 2012, 12:34:50 pm
the problem is
Code: [Select]
LoadModule( "lu_sqlite" );
is the lu_sqlite present in the Modules folder? if not download it, It comes with the server package.
Title: Re: Location system (Database)
Post by: mimomohamed on May 18, 2012, 02:36:44 pm
This Problem Fixed But Another Problem Appeared This Is It
Title: Re: Location system (Database)
Post by: Rocky on May 18, 2012, 03:37:43 pm
Seems like the script's problem

change line 49
Code: [Select]
local x = sqlite_column_data(q,0), y = sqlite_column_data(q,1), z = sqlite_column_data(q,2), Creatorname = sqlite_column_data(q,3);to
Code: [Select]
local x = sqlite_column_data(data,0), y = sqlite_column_data(data,1), z = sqlite_column_data(data,2), Creatorname = sqlite_column_data(data,3);
Title: Re: Location system (Database)
Post by: mimomohamed on May 18, 2012, 06:00:28 pm
thanks very much works now ;)
Title: Re: Location system (Database)
Post by: Ahmed Abouelnas on July 23, 2013, 08:19:09 pm
you mean line 59
Title: Re: Location system (Database)
Post by: Thijn on July 23, 2013, 08:28:03 pm
Thank you for the 1 year bump.




Don't do this again.
Title: Re: Location system (Database)
Post by: Ahmed Abouelnas on July 23, 2013, 11:20:58 pm
Thank you for the 1 year bump.




Don't do this again.
okay ;D ;D ;D ;D ;) ;)
Title: Re: Location system (Database)
Post by: Fredd on February 05, 2014, 07:01:22 am
Good script  ;D
Title: Re: Location system (Database)
Post by: Shadow. on February 05, 2014, 12:50:18 pm
Please stop bumping topics.