Author Topic: Location system (Database)  (Read 3421 times)

Demi God

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-1
    • View Profile
Location system (Database)
« 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, Uploading, Filefactory
0.2:  Mediafire



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  ;)

« Last Edit: February 05, 2012, 06:16:41 am by Demi God »
Liberty Unleashed daily user!
[DW] Clan owner!
[DW] || Battle-Grounds server owner!
Click here to join us!

Nexus

  • Newbie
  • *
  • Posts: 45
  • Karma: +3/-0
    • View Profile
Re: Location system (Database)
« Reply #1 on: February 04, 2012, 11:12:41 pm »
just a question, why you are not freeing the queries?



<X_94> messi suckz!!
<~Baldachyn> yes x94 finally some sane words from you

Demi God

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-1
    • View Profile
Re: Location system (Database)
« Reply #2 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  :)
Liberty Unleashed daily user!
[DW] Clan owner!
[DW] || Battle-Grounds server owner!
Click here to join us!

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: Location system (Database)
« Reply #3 on: May 17, 2012, 07:10:07 pm »
this problem appear to me
« Last Edit: July 24, 2013, 03:51:23 pm by VRocker »

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Location system (Database)
« Reply #4 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.
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: Location system (Database)
« Reply #5 on: May 18, 2012, 02:36:44 pm »
This Problem Fixed But Another Problem Appeared This Is It
« Last Edit: July 24, 2013, 03:51:33 pm by VRocker »

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Location system (Database)
« Reply #6 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);
Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: Location system (Database)
« Reply #7 on: May 18, 2012, 06:00:28 pm »
thanks very much works now ;)

Ahmed Abouelnas

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-11
  • Ahmed Abouelnas
    • View Profile
Re: Location system (Database)
« Reply #8 on: July 23, 2013, 08:19:09 pm »
you mean line 59
« Last Edit: July 23, 2013, 11:20:03 pm by Ahmed Abulnass »

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Location system (Database)
« Reply #9 on: July 23, 2013, 08:28:03 pm »
Thank you for the 1 year bump.




Don't do this again.

Ahmed Abouelnas

  • Newbie
  • *
  • Posts: 39
  • Karma: +2/-11
  • Ahmed Abouelnas
    • View Profile
Re: Location system (Database)
« Reply #10 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 ;) ;)

Fredd

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-6
    • View Profile
Re: Location system (Database)
« Reply #11 on: February 05, 2014, 07:01:22 am »
Good script  ;D

Shadow.

  • Tester
  • Full Member
  • ****
  • Posts: 144
  • Karma: +16/-35
    • View Profile
Re: Location system (Database)
« Reply #12 on: February 05, 2014, 12:50:18 pm »
Please stop bumping topics.

 

© Liberty Unleashed Team.