Jump to content
  • 0

Problema MySQL


Guest tigersebi

Question

Guest tigersebi

am incerca sa fac un srv moderntopia am si mysql si cand am dat drumu

[00:20]   Loaded.

[00:20]  Loaded 1 plugins.

[00:20]

[00:20] Ban list

[00:20] --------

[00:20]  Loaded: samp.ban

[00:20]

[00:20]

[00:20] Filter Scripts

[00:20] ---------------

[00:20]   Loading filter script 'database.amx'...

[00:20]   Unable to load filter script 'database.amx'.

[00:20]   Loading filter script 'vactions.amx'...

[00:20]   Loading filter script 'bread_oed.amx'...

[00:20] +---------------+

[00:20] | Object editor |

[00:20] |  Filterscript |

[00:20] |  by breadfish |

[00:20] +---------------+

[00:20] * WARNING:  'scriptfiles/BREAD_OED.TXT' not found; skipping objects

[00:20]   Loading filter script 'VehNames.amx'...

[00:20] ¤|------------|>FilterScript<|------------|¤

[00:20]  Vehicle Names Display Filterscript by Seif[CC] AKA Michael_Taylor

[00:20]  Don't claim as yo' own, busta!   Have fun~

[00:20] ¤|------------|>Filterscript<|------------|¤

[00:20]   Loading filter script 'Seifanims.amx'...

[00:20]   Unable to load filter script 'Seifanims.amx'.

[00:20]   Loading filter script 'antispam.amx'...

[00:20] --------

[00:20] Anit Spam By Puffmac

[00:20] --------

[00:20]   Loaded 4 filter scripts.

[00:20] BizzInfo:0 Owner:The State Message:Emmet's Gun Shop Entfee:5 Till:0 Products:134/500 Interior:1.

[00:20] BizzInfo:1 Owner:The State Message:Ammo-Nation Gun Shop Entfee:5 Till:5515 Products:403/500 Interior:4.

[00:20] BizzInfo:2 Owner:The State Message:Drink & Dine Restaurant Entfee:5 Till:140 Products:470/500 Interior:1.

[00:20] BizzInfo:3 Owner:The State Message:~w~Police Armoury Entfee:0 Till:1609045 Products:346/500 Interior:10.

[00:20] BizzInfo:4 Owner:The_State Message:Los Santos Bank Entfee:0 Till:0 Products:87404/100000 Interior:0.

[00:20] SBizzInfo:0 Owner:No-One Message:Un Named Entfee:2500 Till:209954 Products:99/100 Interior:0.

[00:20] SBizzInfo:1 Owner:The State Message:Los Santos Car Dealer Entfee:5000 Till:0 Products:86/100 Interior:0.

[00:20] SBizzInfo:2 Owner:The State Message:Un Named Entfee:0 Till:405 Products:100/100 Interior:0.

[00:20] SBizzInfo:3 Owner:The State Message:Un Named Entfee:1 Till:5904 Products:100/100 Interior:0.

[00:20] SBizzInfo:4 Owner:The State Message: Entfee:10000 Till:-2008540399 Products:100/100 Interior:0.

[00:20] SBizzInfo:5 Owner:The State Message:Car Owners Business Entfee:1337 Till:0 Products:93/100 Interior:0.

[00:20] SBizzInfo:6 Owner:The State Message:Ideal Homies Clothing Store Entfee:0 Till:750 Products:87/100 Interior:0.

[00:20] SBizzInfo:7 Owner:The State Message:San Andreas Advertising Company Entfee:10000 Till:13330 Products:100/100 Interior:0.

[00:20] SBizzInfo:8 Owner:The State Message:Carwash Business Entfee:99999 Till:0 Products:14822/100 Interior:0.

[00:20] SBizzInfo:9 Owner:No-One Message: Entfee:500 Till:2949194 Products:73/100 Interior:0.

[00:20] SBizzInfo:10 Owner:The State Message:Silverstone Paintball Arena Entfee:500 Till:0 Products:100/100 Interior:0.

[00:20] SBizzInfo:11 Owner:The State Message: Entfee:5000 Till:0 Products:93/100 Interior:0.

[00:20] SBizzInfo:12 Owner:The State Message: Entfee:100 Till:0 Products:92/100 Interior:0.

[00:20] IRC:0 Admin: MOTD: I Fucked your Mum in Red Password: red NeedPass: 1 Lock: 0

[00:20] IRC:1 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:2 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:3 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:4 Admin: MOTD:  Password:  NeedPass: 1 Lock: 0

[00:20] IRC:5 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:6 Admin: MOTD: A Channel to talk in with your friends. Password:  NeedPass: 0 Lock: 0

[00:20] IRC:7 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:8 Admin: MOTD:  Password: rolled NeedPass: 1 Lock: 0

[00:20] IRC:9 Admin: MOTD: Los Santo's Rifa Password: lsrifa NeedPass: 1 Lock: 0

[00:20] Family:0 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:1 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:2 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:3 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:4 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:5 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:6 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:7 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:8 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:9 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] CK:0 Taken: 1 Sendername:Liviano_Gambino Giveplayer: Leon_Farag

[00:20] CK:1 Taken: 1 Sendername:Radomir_Brozek Giveplayer: Leon_Farag

[00:20] CK:2 Taken: 1 Sendername:Liviano_Gambino Giveplayer: Liviano_Gambino

[00:20] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] Paper:0 Used: 1 Maker:Tim_Gerlach Title: ure dead Text1: die Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: ill kill u

[00:20] Paper:1 Used: 0 Maker:0

Title: ure dead Text1: die Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: ill kill u

[00:20] Paper:2 Used: 0 Maker:ure dead Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:3 Used: 0 Maker:ure dead Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:4 Used: 0 Maker:0

Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:5 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:6 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:7 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:8 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:9 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Pickups Max = 100, Current Pickups = 120

[00:20]  

[00:20]  

[00:20]  LinkMania OrizonT RolePlay

[00:20]  _____________________________

[00:20]  By: RyDeR,Pale_Br

[00:20]  

[00:20] MYSQL: LinkMania, MySQL Player Accounts v0.1 by RyDeR,Pale_Br.

[00:20] MYSQL: Attempting to connect to server...

[00:20]

Connection to MySQL database: Failed !

[00:20] Can't connect to MySQL server on '127.0.0.1' (10061)

[00:20] Error in mysql_select_db: MySQL server has gone away

[00:20] MYSQL: Connection error, retrying...

[00:20]

Connection to MySQL database: Failed !

[00:20] Can't connect to MySQL server on '127.0.0.1' (10061)

[00:20] Error in mysql_select_db: MySQL server has gone away

[00:20] MYSQL: Could not reconnect to server, terminating server...

[00:20] --- Server Shutting Down.

[00:20]

/**************************************************/

/* SAMP-MySQL v0.13 Plugin unloaded successfully ! */

/**************************************************/

pliz help me :(

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

am incerca sa fac un srv moderntopia am si mysql si cand am dat drumu

[00:20]   Loaded.

[00:20]  Loaded 1 plugins.

[00:20]

[00:20] Ban list

[00:20] --------

[00:20]  Loaded: samp.ban

[00:20]

[00:20]

[00:20] Filter Scripts

[00:20] ---------------

[00:20]   Loading filter script 'database.amx'...

[00:20]   Unable to load filter script 'database.amx'.

[00:20]   Loading filter script 'vactions.amx'...

[00:20]   Loading filter script 'bread_oed.amx'...

[00:20] +---------------+

[00:20] | Object editor |

[00:20] |  Filterscript |

[00:20] |  by breadfish |

[00:20] +---------------+

[00:20] * WARNING:  'scriptfiles/BREAD_OED.TXT' not found; skipping objects

[00:20]   Loading filter script 'VehNames.amx'...

[00:20] ¤|------------|>FilterScript<|------------|¤

[00:20]  Vehicle Names Display Filterscript by Seif[CC] AKA Michael_Taylor

[00:20]  Don't claim as yo' own, busta!   Have fun~

[00:20] ¤|------------|>Filterscript<|------------|¤

[00:20]   Loading filter script 'Seifanims.amx'...

[00:20]   Unable to load filter script 'Seifanims.amx'.

[00:20]   Loading filter script 'antispam.amx'...

[00:20] --------

[00:20] Anit Spam By Puffmac

[00:20] --------

[00:20]   Loaded 4 filter scripts.

[00:20] BizzInfo:0 Owner:The State Message:Emmet's Gun Shop Entfee:5 Till:0 Products:134/500 Interior:1.

[00:20] BizzInfo:1 Owner:The State Message:Ammo-Nation Gun Shop Entfee:5 Till:5515 Products:403/500 Interior:4.

[00:20] BizzInfo:2 Owner:The State Message:Drink & Dine Restaurant Entfee:5 Till:140 Products:470/500 Interior:1.

[00:20] BizzInfo:3 Owner:The State Message:~w~Police Armoury Entfee:0 Till:1609045 Products:346/500 Interior:10.

[00:20] BizzInfo:4 Owner:The_State Message:Los Santos Bank Entfee:0 Till:0 Products:87404/100000 Interior:0.

[00:20] SBizzInfo:0 Owner:No-One Message:Un Named Entfee:2500 Till:209954 Products:99/100 Interior:0.

[00:20] SBizzInfo:1 Owner:The State Message:Los Santos Car Dealer Entfee:5000 Till:0 Products:86/100 Interior:0.

[00:20] SBizzInfo:2 Owner:The State Message:Un Named Entfee:0 Till:405 Products:100/100 Interior:0.

[00:20] SBizzInfo:3 Owner:The State Message:Un Named Entfee:1 Till:5904 Products:100/100 Interior:0.

[00:20] SBizzInfo:4 Owner:The State Message: Entfee:10000 Till:-2008540399 Products:100/100 Interior:0.

[00:20] SBizzInfo:5 Owner:The State Message:Car Owners Business Entfee:1337 Till:0 Products:93/100 Interior:0.

[00:20] SBizzInfo:6 Owner:The State Message:Ideal Homies Clothing Store Entfee:0 Till:750 Products:87/100 Interior:0.

[00:20] SBizzInfo:7 Owner:The State Message:San Andreas Advertising Company Entfee:10000 Till:13330 Products:100/100 Interior:0.

[00:20] SBizzInfo:8 Owner:The State Message:Carwash Business Entfee:99999 Till:0 Products:14822/100 Interior:0.

[00:20] SBizzInfo:9 Owner:No-One Message: Entfee:500 Till:2949194 Products:73/100 Interior:0.

[00:20] SBizzInfo:10 Owner:The State Message:Silverstone Paintball Arena Entfee:500 Till:0 Products:100/100 Interior:0.

[00:20] SBizzInfo:11 Owner:The State Message: Entfee:5000 Till:0 Products:93/100 Interior:0.

[00:20] SBizzInfo:12 Owner:The State Message: Entfee:100 Till:0 Products:92/100 Interior:0.

[00:20] IRC:0 Admin: MOTD: I Fucked your Mum in Red Password: red NeedPass: 1 Lock: 0

[00:20] IRC:1 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:2 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:3 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:4 Admin: MOTD:  Password:  NeedPass: 1 Lock: 0

[00:20] IRC:5 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:6 Admin: MOTD: A Channel to talk in with your friends. Password:  NeedPass: 0 Lock: 0

[00:20] IRC:7 Admin: MOTD:  Password:  NeedPass: 0 Lock: 0

[00:20] IRC:8 Admin: MOTD:  Password: rolled NeedPass: 1 Lock: 0

[00:20] IRC:9 Admin: MOTD: Los Santo's Rifa Password: lsrifa NeedPass: 1 Lock: 0

[00:20] Family:0 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:1 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:2 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:3 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:4 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:5 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:6 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:7 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:8 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] Family:9 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0

[00:20] CK:0 Taken: 1 Sendername:Liviano_Gambino Giveplayer: Leon_Farag

[00:20] CK:1 Taken: 1 Sendername:Radomir_Brozek Giveplayer: Leon_Farag

[00:20] CK:2 Taken: 1 Sendername:Liviano_Gambino Giveplayer: Liviano_Gambino

[00:20] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one

[00:20] Paper:0 Used: 1 Maker:Tim_Gerlach Title: ure dead Text1: die Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: ill kill u

[00:20] Paper:1 Used: 0 Maker:0

Title: ure dead Text1: die Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: ill kill u

[00:20] Paper:2 Used: 0 Maker:ure dead Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:3 Used: 0 Maker:ure dead Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:4 Used: 0 Maker:0

Title: die Text1: ill kill u Text2: ill kill u Text3: ill kill u Text4: ill kill u Text5: ill kill u Text6: ill kill u Text7: 0

[00:20] Paper:5 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:6 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:7 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:8 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Paper:9 Used: 0 Maker:0

Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0

[00:20] Pickups Max = 100, Current Pickups = 120

[00:20]  

[00:20]  

[00:20]  LinkMania OrizonT RolePlay

[00:20]  _____________________________

[00:20]  By: RyDeR,Pale_Br

[00:20]  

[00:20] MYSQL: LinkMania, MySQL Player Accounts v0.1 by RyDeR,Pale_Br.

[00:20] MYSQL: Attempting to connect to server...

[00:20]

Connection to MySQL database: Failed !

[00:20] Can't connect to MySQL server on '127.0.0.1' (10061)

[00:20] Error in mysql_select_db: MySQL server has gone away

[00:20] MYSQL: Connection error, retrying...

[00:20]

Connection to MySQL database: Failed !

[00:20] Can't connect to MySQL server on '127.0.0.1' (10061)

[00:20] Error in mysql_select_db: MySQL server has gone away

[00:20] MYSQL: Could not reconnect to server, terminating server...

[00:20] --- Server Shutting Down.

[00:20]

/**************************************************/

/* SAMP-MySQL v0.13 Plugin unloaded successfully ! */

/**************************************************/

pliz help me :(

se incarca toate alea da si dupaia tise inchide da

am avut si eu problema asta odat si am sters Plugin

da ai le stergi si iti va merge

mie mia mers

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

  • 0
Guest tigersebi

[17:36]

[17:36] Server Plugins

[17:36] --------------

[17:36]  Loaded 0 plugins.

[17:36]

[17:36] Ban list

[17:36] --------

[17:36]  Loaded: samp.ban

[17:36]

[17:36]

[17:36] Filter Scripts

[17:36] ---------------

[17:36]   Loading filter script 'database.amx'...

[17:36]   Unable to load filter script 'database.amx'.

[17:36]   Loading filter script 'vactions.amx'...

[17:36]   Loading filter script 'VehNames.amx'...

[17:36] ¤|------------|>FilterScript<|------------|¤

[17:36]  Vehicle Names Display Filterscript by Seif[CC] AKA Michael_Taylor

[17:36]  Don't claim as yo' own, busta!   Have fun~

[17:36] ¤|------------|>Filterscript<|------------|¤

[17:36]   Loading filter script 'antispam.amx'...

[17:36] --------

[17:36] Anit Spam By Puffmac

[17:36] --------

[17:36]   Loaded 3 filter scripts.

[17:36] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"

[17:36] --- Server Shutting Down.

poate nui bun gm amx-u dar nici nu stiu cum sa compilez  :|

poate cineva sa imi zica cum se compileaza un pwn va rog

am bagat din nou pluginul si imi arata ca in primul post al meu apoi se inchide srv

Link to comment
Share on other sites

  • 0

Ca pluginul MySQL sa ruleze, iti trebuie server de MySQL. Il gasesti pe site-ul, www.MySQL.com

Nu stiu ce-i cu filterscriptul database.amx...

Nu ai setat bine la '#define SQL_HOST "hostul"'. De obicei se pune 'localhost'.

Ii gresit mult.

Link to comment
Share on other sites

  • 0
Guest 6am30v3r

Daca reusesc eu sa il fac , voi face un tutorial :)

Oficial 22.01.2009 cu o zii inainte de ziua mea am reusit sa fac moderntopia .... http://sa-mp.ro/forum/index.php?topic=754.0 Yeyyyy

Aveti acolo tutorial tot ce va trebe :D

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Rares Negrici
      (error #1044) Access denied for user 'u532306_5bySlabLCK'@'%' to database 'my-db1640120897' help me
    • By WiDuAlK
      Salutare, azi am sa va prezint cum sa faceti un tutorial register/login mysql R39.
      Mai intai o sa va trebuiasca pluginul si includeul mysql care ip puteti gasi AICI!
      Mai intai o sa punem la inceputul GM-ului include-ul mysql.
       
      #include <a_mysql>  
      Acum o sa definim datele de conectare
      #define mysql_host "localhost" // aici punem ip hostului. Daca folosim in PC GM lasam localhost #define mysql_db "bazadate"// aici punem numele bazei de date. #define mysql_user "root"// aici punem numele userului de la host. Daca folositi PC lasati root. #define mysql_pass ""//Aici puneti parola de la host(de la phpmyadmin al hostului). In caz de folositi PC lasati asa.  
      Vom crea 2 Enum-uri. Unul cu dialogurile de register/login si altul cu datele pe care le va avea playerul
      enum {     DIALOG_LOGIN, // dialogul de login     DIALOG_REGISTER// dialogul de register }; enum pInfo //numele enumului este pInfo. in el vom pune datele playerului gen Admin/Level/ Money/Experianta si altele. {     pParola,//cu pParola vom lua parola din baza de date a playerului     pID// cu pID vom lua ID-ul din baza de date a playerului }; new P_Data[MAX_PLAYERS][pInfo];// Aceasta variabila este array. cu ea vom verifica 2 lucruri. id playerului si datele lui gen P_Data[playerid][pID] == 1;  
      Vom crea acum un new care ne va ajuta sa conectam datele de conectarea cu baza de date
      new handle; // handle(mâner) este cea de care ne vom folosi sa facem lagatura intre baza de date si server Acum vom crea legatura intre baza de date si server.
       
      forward MySQLConnect();// se creaza un nou callback cu forward public MySQLConnect()// se face callback-ul {     handle = mysql_connect(mysql_host, mysql_user, mysql_db, mysql_pass);// definim handle(manerul) ca fiind conectarea mysql la host, baza de date, parola si user-ul     if(mysql_errno() != 0)// in caz ca aceasta va fi diferita de 0(0 inseamna ca e conectat, 1 inseamna ca nu e conectat , fiind un vector)     {         printf("Conexiunea la baza de date %s a esuat ---> Server Inchis ~~~", mysql_db);// va trimite un mesaj in consola         SendRconCommand("exit");// se inchide serverul     }     else// altfel daca este 0(daca se face legatura)     {         printf("Conexiunea la baza de date '%s' cu user-ul '%s' a reusit!!!", mysql_db, mysql_user);// ne va da acest mesaj in consola     }     return 1; }  
      Callback-ul MySQLConnect se va pune la OnGameModeInit pentru a fi finalizata conectarea la baza de date.
      public OnGameModeInit() {     MySQLConnect();     return 1; } Se va crea un stock simplu cu care vom selecta numele playerului
       
      stock GetName(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); return Name; }  
      Acum vom se va crea un nou callback , la care vom apela cand playerul se conecteaza. El va arata daca are cont sau nu.
       
      forward OnPlayerLogin(playerid);// se creaza callbac-ul public OnPlayerLogin(playerid)//Se creaza publicul {     new rows, fields;// definim rows(randurile)si fields(domeniile)     cache_get_data(rows, fields);//cache_get_data interogheaza date din baza de date. acele date sunt rows si fields     if(rows)// atunci cand playerul se inregistreaza i se va crea niste randuri. Daca i se gasesc atunci cand se va conecta ii va da:     {         ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Logheaza-te!", "Te rog sa-ti introduci parola contuului mai jos!", "Logare", "Exit");// dialogul register     }     else// daca nu i se gasesc randuri, adica daca contul nu exista, atunci i se va da urmatorul dialog     {         ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Inregistrare", "Trebuie sa iti creezi un cont ca sa joci pe server. nTasteaza mai jos o parola, pentru a te inregistra!", "Inregistreaza", "Exit");// dialogul register     }     return 1; }  
      Acum ca am creat dialogul care ne ajuta sa verificam daca playerul are cont sau nu , mergem la OnPlayerConnect si punem urmatoarele:
       
      public OnPlayerConnect(playerid) {     new query[100];// definim query(interogare)     mysql_format(handle, query, sizeof(query), "SELECT * FROM conturi WHERE Nume = '%s'", GetName(playerid));// mysql format face interogarile/setarile/obtiunile/updateurile la baza de date     //handle reprezinta conectarea la mysql, query si sizeof(queri) reprezinta interogarea     //"SELECT * FROM conturi WHERE Nume = '%s'"- Selecteaza de la tabelul cu conturi, unde numele este %s(de exemplu eu am numele Widualk pe sa-mp. Mi se va extrage numele si     mysql_tquery(handle, query, "OnPlayerLogin", "i", playerid);// se va interoga OnPlayerLogin. Adica mai pe scurt , cand se conecteaza se va verifica daca are cont sau nu acel player.     return 1; }  
      Acum ca am terminat cu callback-urile de la conectare, vom crea dialogurile.
       
      public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {     new query[128], ip[25];// se creaza interogarea si ip.     switch(dialogid)// se va folosi switch pentru a selecta dialogul     {         case DIALOG_REGISTER:// daca se va selecta dialogul register         {             if(!response)                     return Kick(playerid);// daca se va apasa pe butonul Exit ii va da kick             if(response)// daca se apasa pe Butonul inregistrare se vor face urmatoarele verificari             {                 if(!strlen(inputtext))// daca nu e scris nimic la parola                         return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Parola incorecta!", "Introdu-ti o parola pentru a te inregistra pe server! n", "Inregistreaza", "Exit");// ii va da din nou dialogul register cu mesajul specific                 GetPlayerIp(playerid, ip, sizeof(ip));// definim ip-ul de mai sus                 mysql_format(handle, query, sizeof(query), "INSERT INTO conturi (Nume, Parola, IP) VALUES ('%s', '%e', '%s')", GetName(playerid), inputtext, ip);// se insereaza in tabelul cu conturi numele playerului, parola pe care a scris-o si ip pe care il are                 mysql_query(handle, query);// se va trimite setarile si se va interoga callback-ul OnRegistration                 SpawnPlayer(playerid); // ii da spawn             }             return 1;         }         case DIALOG_LOGIN:// daca se va selecta dialogul de login         {             if(!response) return Kick(playerid);// si se va apasa pe butonul exit ii va da kick             if(response)//daca se apasa pe butonul LOGARE se va face urmatoarele verificari             {                 if(!strlen(inputtext))// daca nu a scris nimic la parola                         return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Parola incorecta!", "Te rog sa iti introduci parola corecta, pentru a te loga pe server.", "Logare", "Exit");// ii va da dialogul cu login cu mesajul specific                 // daca se va trece peste aceasta verificare se vor face urmatoarele:                 mysql_format(handle, query, sizeof(query), "SELECT * FROM `conturi` WHERE `Nume`='%e' AND `Parola` = '%e'", GetName(playerid),inputtext);// va fi selectata parola de la tabelul cu conturi mysql_tquery(handle, query, "OnLogin", "i", playerid);// se va face apel la baza si se va interoga CallBackUl OnLogin (Tquery = take query sau ia interogare in romana)             }             return 1;         }     }     return 1; }  
      Acum , ca am facut dialogurile , vom crea calback-urile care se interogheaza la dialogurile de mai sus.
      Vom crea callback-ul pentrul dialogul de register.
       
      Acum , vom crea callback-ul la care apeleaza dialogul de login
       
      forward OnLogin(playerid);// definim callback ul public OnLogin(playerid)// facem publicul {     new rows, fields,temporar[200];// definim randurile si domeniile, iar temporar se va folosi la extragerea stringurilor     cache_get_data(rows, fields);// facem interogarea lor     if(rows)// daca playerul are randuri(adica daca are cont creat, odata cu contul se creeaza randurile)     {         //deci daca are randuri         cache_get_field_content(0, "Parola",temporar), format(P_Data[playerid][pParola], 25, temporar);// i se vaextrage parola si i se verifica daca coincide cu numele. Se foloseste new-ul temporar pentru extragerea parolei, ea retinandu-se temporar(pana cand se deconecteaza jucatorul)         P_Data[playerid][pID] = cache_get_field_content_int(0, "ID");// i se vaextrage ip-ul         //un exemplu ar fi , daca are Admin , va fi ceva de genu P_Data[playerid][pAdmin] = cache_get_field_content_int(0,"Admin)"; i se va extrage din baza de date levelul de admin si i se va returna pe server, mai precis, cand se conecteaza are levelul de admin , care i-a fost setat de owner         SpawnPlayer(playerid);// si se va da spawn     }     else// altfel , daca parola este gresita     {         ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Parola incorecta!", "Te rog sa iti introduci parola corecta, pentru a te loga pe server.", "Logare", "Exit");// ii va da dialogul cu mesajul specific.     }     return 1; } Iar la final punem la OnGameModeExit();
      public OnGameModeExit() {     mysql_close( handle ) ;// deconectam serverul de la baza de date, daca se inchide     return 1; } Acum , o sa recapitulam.
      Playerul are nevoie de ID, Nume, Parola si IP, deci 4 coloane in tabel.
      Tabelul se numeste "conturi", deoarece interogarea se face acolo "mysql_format(handle, query, sizeof(query), "SELECT * FROM conturi"-conturi este tabelul unde vor aparea ID ,Nume, Parola, IP
      Baza de date se numeste "bazadate" din: #define mysql_db "bazadate"
       
      O sa va arat acum cum se creaza tabelul.
      Pasul 1. Definim baza de date cu numele "basedate":

      Pasul 2: Se selecteaza noua baza:

      Pasul 3: Se creaza tabelul cu cele 4 coloane:

      Pasul 4: Se definesc coloanele , cu fiecare setare

      La tip    INT = intenger= numar de cifre.
                   Varchar = string = sir de caractere(litere)
      la Lungimea / setare se selecteaza cat spatiu se acorda, adica cate caractere incap maxim in acel tabel
       la id va fi maxim 9999999999(sun 10 cifre consecutive de "9", adica acel numar va fi maximul de playeri care pot avea cont)
       la nume, se va putea salva doar numele care contine doar 25 de caractere(adica daca numele depaseste 25 litere, doar primele 25 se vor salva)
      la interclasare la Varchar , mereu sa puneti latin1_sweadich_ci, de ce, asta nu pot spune nici eu , dar , stiu ca asa trebuie
      La ID tot timpul sa bifati casuta "A_I(auto Increment)" care va genera singur id-ul, altfel nu va merge tabelul conturi
       
      Asa ar trebui sa va arata , atunci cand va inregistrati:

       
      Atentie tutorial creat 100% de Widualk. Nerespectarea creditelor va duce la sanctiuni!
    • By St3f4n36
      Cum as putea fac urmatoarea chestie:
      Daca intr-un dialog imi apare ca primeste x bani daca apasa cazul 1 ( banii formati cu new money = 100 + rand(100); )
      si dupa sa imi trimita un mesaj tot cu aceasi suma de bani x. Trebuie salvata intr-o variabila sau cum?
    • By xVincenzo
      salut cum pot rezolva aceasta eroare? 
      error 033: array must be indexed (variable "gString")
       
      aceasta este linia de cod: gString = EOS; format(gString, sizeof(gString), "Ti-a fost setat Nitro Account la valoarea %d de catre administratorul %s.", valoare , GetName(playerid));
          SCM(id, COLOR_LIGHTBLUE, gString);
    • By CenzoR
      Salut! Am conectat gamemodeul, imi zice ca baza de date s-a conectat cu succes, daaaarrr... cand vreau sa intru pe el... spune ca parola este incorecta ca si cum ai avea baza de date neconectata, datele sunt puse in gamemode, am verificat totul, de la ce poate sa vina problema ma puteti ajuta?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.