SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 19/11/2009, 06:58 PM   #41
Xander5270
Little Clucker
 
Join Date: Nov 2007
Posts: 36
Reputation: 2
Default Re: [GM] Protect the President v3 [MYSQL]

Thats actually very cool.

I will be checking this script, to learn some more about SAMP MySQL. As I want to log every single chatlogs, and make my bans into a MySQL table.. And much more, this might be usefull for me, so I will try learn some..

Thank you! (;
Xander5270 is offline   Reply With Quote
Old 19/11/2009, 07:14 PM   #42
elvago
Gangsta
 
elvago's Avatar
 
Join Date: Jan 2009
Location: 127.0.0.1
Posts: 510
Reputation: 0
Default Re: [GM] Protect the President v3 [MYSQL]

Nice and good work !, i love MySQL
__________________

Todo termina...
Playing Summoners War [Global Server]. (IGN: zTyLe) Ch: 106

Im still here, but, u can't see me.
elvago is offline   Reply With Quote
Old 22/12/2009, 10:38 PM   #43
iceicedude5
Little Clucker
 
Join Date: Dec 2009
Posts: 1
Reputation: 0
Default Re: [GM] Protect the President v3 [MYSQL]

i got banned from this server when i didnt even hack someone teleported a bike and i got on it then i got banned
iceicedude5 is offline   Reply With Quote
Old 26/12/2009, 10:28 PM   #44
nastoe
Big Clucker
 
Join Date: Sep 2009
Posts: 150
Reputation: 0
Default Re: [GM] Protect the President v3 [MYSQL]

nice GM really!
nastoe is offline   Reply With Quote
Old 28/12/2009, 05:28 PM   #45
LifestealeR
Little Clucker
 
Join Date: Dec 2009
Posts: 44
Reputation: 0
Default Re: [GM] Protect the President v3 [MYSQL]

Link is bad.
LifestealeR is offline   Reply With Quote
Old 10/02/2010, 01:15 AM   #46
dr.pepper
Huge Clucker
 
dr.pepper's Avatar
 
Join Date: Jul 2009
Posts: 309
Reputation: 38
Default Re: [GM] Protect the President v3 [MYSQL]

- Removed.

Last edited by dr.pepper; 01/01/2012 at 11:48 PM.
dr.pepper is offline   Reply With Quote
Old 10/02/2010, 07:45 AM   #47
Faraday
Big Clucker
 
Join Date: Jan 2007
Location: Belgium
Posts: 117
Reputation: 4
Default Re: [GM] Protect the President v3 [MYSQL]

Quote:
Originally Posted by dr.pepper
Code:
C:\Users\DrPepper\Desktop\SA-MP\sampserver\windows\pawno\include\a_samp.inc(17) : fatal error 100: cannot read from file: "core"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

put core.inc in your includes file.
__________________
The Official littlewhitey's SA:MP Server: 94.23.120.101:7778
Faraday is offline   Reply With Quote
Old 10/02/2010, 12:04 PM   #48
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default Re: [GM] Protect the President v3 [MYSQL]

I get problem getting in-game.
I launched the server:
Code:
SAMP Server Started On: 15:00 hu 02/11/2010
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3a R4, (C)2005-2009 SA-MP Team


Server Plugins
--------------
 Loading plugin: mysql


 > MySQL plugin R3 successfully loaded.

 Loaded.
 Loaded 1 plugins.


Started server on port: 7777, with maxplayers: 5 lanmode is OFF.


Filter Scripts
---------------
 Loaded 0 filter scripts.

[MYSQL] Connection successful!
SetDisabledWeapons() : function is deprecated. Check weapon in OnPlayerUpdate.
===================================
Protect the President v3.0.3 (28th July 2009)
Last edited: 28th July 2009
Credits: Ez, KmanN
===================================
Number of vehicle models: 69
Incoming connection: 127.0.0.1:3008
[join] aCastle has joined the server (0:127.0.0.1)
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (INSERT INTO `playerjoins` (`joinid`, `player`, `ip`, `date`) values(NULL, 'aCastle', '127.0.0.1', NOW()))
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `bans` WHERE `ip` = '127.0.0.1')
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `users` WHERE `username` = 'aCastle')
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `users` WHERE `username` = 'aCastle')
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `presidents` WHERE `name` = 'aCastle')
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (INSERT INTO `presidents` (`name`, `time`) values ('aCastle', 1265806898))
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `users` WHERE `username` = 'aCastle')
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (SELECT * FROM `users`)
[MYSQL] Lost connection to MYSQL server, Reconnecting..
[MYSQL] Connection successful!
[MYSQL] MySQL query unsuccessful. (INSERT INTO `users` (`userid`, `username`, `password`, `level`, `kills`, `deaths`, `preskills`,`rep`,`exception`,`registerip`, `registerdate`, `lastlogin`, `forumuser`, `forumpass`, `onlinetime`, `banned`) values (1, 'aCastle',MD5('1234'),1, 0, 0, 0, 0, 0, '127.0.0.1', NOW(), NOW(),'', '', 0, 0))
In-Game:
Code:
SA-MP 0.3a Started
Conencting to 127.0.0.1:7777...
Connecte Joining the game...
* aCastle (ID:0) joined the game.
-NickServ- You can register this nickname with /ns register
-NickServ- Use /ns help for more details on accounts.
Connected to SA-MP 0.3 Server
You are now President.
aCastle(ID:0) is now President
-NickServ- There was an error registering your account, please try again
So WTF !? it should work right!? so can someone help me?
__________________
Castle is offline   Reply With Quote
Old 11/02/2010, 12:37 AM   #49
dr.pepper
Huge Clucker
 
dr.pepper's Avatar
 
Join Date: Jul 2009
Posts: 309
Reputation: 38
Default Re: [GM] Protect the President v3 [MYSQL]

- Removed.

Last edited by dr.pepper; 01/01/2012 at 11:48 PM.
dr.pepper is offline   Reply With Quote
Old 11/02/2010, 12:46 AM   #50
dr.pepper
Huge Clucker
 
dr.pepper's Avatar
 
Join Date: Jul 2009
Posts: 309
Reputation: 38
Default Re: [GM] Protect the President v3 [MYSQL]

- Removed

Last edited by dr.pepper; 01/01/2012 at 11:48 PM.
dr.pepper is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] [GM]Protect the President [Posted by Request of KyleSmith] sebihunter Gamemode Scripts 87 26/10/2014 12:17 PM
Looking For Someone To Host My Server? (Protect The President v1.0) DeltaAirlines12 Server Support 0 26/08/2009 09:04 PM
Looking For Someone To Host My Server? (Protect The President v1.0) DeltaAirlines12 Help Archive 0 26/08/2009 09:00 PM


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.