AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help with mysql (https://forums.alliedmods.net/showthread.php?t=22698)

ng1200 01-02-2006 02:28

help with mysql
 
hi,
im getting this error in the server console:
L 12/31/2005 - 15:32:38: [MYSQL] Unknown error
L 12/31/2005 - 15:32:40: [AMXX] Native error in "dbi_field" on line 2066 (file "HarbuRPAlpha.sma").
thats the line range:
Code:
        format( query, 255, "SELECT balance,wallet,JobID,hunger,salaryx FROM money WHERE steamid='%s'", authid)         result = dbi_query( dbc, query)         new Balance, Salary, JobID, Wallet, Hunger, salaryx         if( dbi_nextrow( result ) > 0 )         {             Balance = dbi_field(result,1)             Wallet = dbi_field(result,2)             JobID = dbi_field(result,3)             Hunger = dbi_field(result,4)             salaryx = dbi_field(result,5)

SubFive 01-02-2006 02:36

Post your modules.ini. Make sure only one thing is unsemicoloned.

ng1200 01-02-2006 06:30

it works fine on other codes.

Rixorster 01-02-2006 07:41

First of all, this isn't Harbu RP Help request forum. But, because it's new year, ill help ya :)

***********************************

1.Download&Install AMXX 1.01
http://prdownloads.sourceforge.net/a...1.exe?download

2.Download this MySQL Module:
http://rapidshare.de/files/10250395/mysql_amxx.rar.html

3.Unpack the MySQL module to ts/addons/amxmodx(or)amxx/modules/

4.Install the HarbuRP Plugins.

5.Config the economy and mysql settings.

6.Then start the server, and be happy.


All times are GMT -4. The time now is 16:12.

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