•  
Welcome, Guest. Please login or register.

News:


Author Topic: scripting help  (Read 5416 times)

Offline LERASAH

  • Hitman
  • *
  • Posts: 160
  • Karma: +0/-0
  • M4 ♥ ☠
    • View Profile
scripting help
« on: June 29, 2012, 12:16:20 pm »
Hi, i know the best guy to ask this from. . Ye ye X-94..

Dudes, i'm doing some squirrel work these days.

I use mysql for account management and all. But the mysql connection doesn't work when i try to test the server on home pc.

I use the following values
dbHost : 127.0.0.1
Port :3093
Dbname and user :WITHHELD

I coded the main nut file as if the connection to mysql fails, server gives a message and stops loading other stuff.
Whr should i keep the .db file?
Where is the stupid FLAG?

Offline Euphoria

  • noteventrying.asi
  • Godfather
  • *
  • Posts: 430
  • Karma: +0/-0
  • 3301
    • View Profile
Re: scripting help
« Reply #1 on: June 29, 2012, 06:10:11 pm »
Hi, i know the best guy to ask this from. . Ye ye X-94..


He is the best in all these cases... :D :D


Offline Nexus

  • MK Server Founder
  • Godfather
  • *
  • Posts: 991
  • Karma: +0/-0
    • View Profile
Re: scripting help
« Reply #2 on: June 29, 2012, 08:49:15 pm »
make sure you server is on and if the port is correct or not:
 
Code: [Select]
const dbPort = 3306; <-- this is the mysql's default port

and follow this syntax

Code: [Select]
mysql_connect( Host(IP-string), User(String), Pass(String), Name(String), Port(integer) );
that should work :P

Offline LERASAH

  • Hitman
  • *
  • Posts: 160
  • Karma: +0/-0
  • M4 ♥ ☠
    • View Profile
Re: scripting help
« Reply #3 on: June 30, 2012, 01:00:12 am »
well, i have no idea how that script automatically locate the db. And if i use forum.liberty-unleashed.co.uk/index.php?topic=917.0 will that connect to a site like db4free.net easily?
My db is hosted there too.

@ÊŦнąИ.s[3]xZ™ : ya ya.who else
« Last Edit: June 30, 2012, 01:17:13 am by LERASAH »
Where is the stupid FLAG?

Offline Rascal

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
  • Max Payne 3 Addicted
    • View Profile
Re: scripting help
« Reply #4 on: July 01, 2012, 04:50:22 pm »
well, i have no idea how that script automatically locate the db. And if i use forum.liberty-unleashed.co.uk/index.php?topic=917.0 will that connect to a site like db4free.net easily?
My db is hosted there too.

@ÊŦнąИ.s[3]xZ™ : ya ya.who else
Epic man, PUTDM will be almost released, I'm proud of you :D

Offline LERASAH

  • Hitman
  • *
  • Posts: 160
  • Karma: +0/-0
  • M4 ♥ ☠
    • View Profile
Re: scripting help
« Reply #5 on: July 01, 2012, 05:40:39 pm »
Yeah
Where is the stupid FLAG?

Offline LERASAH

  • Hitman
  • *
  • Posts: 160
  • Karma: +0/-0
  • M4 ♥ ☠
    • View Profile
Re: scripting help
« Reply #6 on: July 02, 2012, 02:49:24 am »

But with the lu_mysql module

thanks to X_94 for replying

well, i have no idea how that script automatically locate the db. And if i use forum.liberty-unleashed.co.uk/index.php?topic=917.0 will that connect to a site like db4free.net easily?
My db is hosted there too.

@ÊŦнąИ.s[3]xZ™ : ya ya.who else
Epic man, PUTDM will be almost released, I'm proud of you :D

Yea!
Where is the stupid FLAG?

Offline Hockz

  • [MK]
  • Godfather
  • *
  • Posts: 424
  • Karma: +0/-0
    • View Profile
Re: 13731 I have a question
« Reply #7 on: August 22, 2012, 07:55:57 am »
Hi, I'm 15. I have 5" (i think you understand). Should i link removed - link removed >buy viagra[/url] , link removed buy viagra to make it longer?
LOOOOL
« Last Edit: August 22, 2012, 09:43:23 am by NewK »