Raised This Month: $ Target: $400
 0% 

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: XyXEL
Forum: Scripting Help 06-08-2007, 16:35
Replies: 13
Views: 5,150
Posted By XyXEL
Re: Mysql error.... have to escape?

without the while() ?
Forum: Scripting Help 06-08-2007, 13:33
Replies: 13
Views: 5,150
Posted By XyXEL
Re: Mysql error.... have to escape?

well, how to escape the apostrophe?

i use this now:

dont know how to only escape the apostrophe...
Forum: Scripting Help 06-07-2007, 19:08
Replies: 13
Views: 5,150
Posted By XyXEL
Re: Mysql error.... have to escape?

well.... read the page you posted...
the second syntax example ist just what i used for the insert command...

however.... i discovered the mistake... the user just had a ' in his name, so the...
Forum: Scripting Help 06-07-2007, 08:03
Replies: 13
Views: 5,150
Posted By XyXEL
Forum: Scripting Help 06-06-2007, 14:07
Replies: 13
Views: 5,150
Posted By XyXEL
Re: Mysql error.... have to escape?

well the query itself does work quite perfect.

The problem is just the value for the field name.
Usually it works, but in this special case there came an error if the clientname was like "N^...
Forum: Scripting Help 06-06-2007, 11:47
Replies: 1
Views: 859
Posted By XyXEL
persistent mysql connection

how to make a persistent mysql connection using sqlx ?

does it work if i only use
SQL_FreeHandle(SqlConnection)
on
public plugin_end()
Forum: Scripting Help 06-06-2007, 11:03
Replies: 13
Views: 5,150
Posted By XyXEL
Mysql error.... have to escape?

this is the error in the log files


this is plugin code:
Queries[1] = SQL_PrepareQuery(SqlConnection,"INSERT INTO steamids SET steamid='%s', name='%s', kills='0',...
Forum: Scripting Help 06-05-2007, 18:10
Replies: 7
Views: 1,455
Posted By XyXEL
Re: Code help plz

well.... i just finished and fixed some bugs.

it now logs the kills and deaths of each player and a player can see his rank by typing /rank and the top 10 player by typing /top10

to show the...
Forum: Scripting Help 06-05-2007, 16:31
Replies: 7
Views: 1,455
Posted By XyXEL
Re: Code help plz

i got the error..... it was a wrong sql query... it put only 3 values in db, but must be 4
Forum: Scripting Help 06-05-2007, 16:24
Replies: 7
Views: 1,455
Posted By XyXEL
Re: Code help plz

why? whats my mistake?
Forum: Scripting Help 06-05-2007, 14:50
Replies: 7
Views: 1,455
Posted By XyXEL
Re: Code help plz

well, yes, thats true ^^ thx

hope the script wont crash my server, going to test it now
Forum: Scripting Help 06-05-2007, 13:08
Replies: 7
Views: 1,455
Posted By XyXEL
Code help plz

Hello,

i just wanted to customize this stats script
http://forums.alliedmods.net/showthread.php?t=23010
but i decided to rewrite it completely.

this is my first real contact with amxx...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -4. The time now is 10:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode