SQL Failure, not sure why
Hello, I'm working with AMXX .20, and the Ultimate Warcraft3 Plugin. The guy hasn't released the source, nor updated, so that's what I have to use.
I'm trying to retrieve the XP # from the database, but so far I have not had luck in doing so. Code:
This is the subroutine. Code:
[OMGKEY->] STEAM_0:1:4050101is what I get no matter how much XP I have in that person's field. Line 155 simply calls the CheckXP with the person's SteamID which you can see is not a problem. I've tried dbi_field / dbi_result , not sure what is going on . Executing the supplied query on the database works though. Any ideas? |
Re: SQL Failure, not sure why
Quote:
|
Does he *have* to as in, everything he creates, has to be uploaded or whatever, 'cause that's a bit extreme. I thought it was more a case of not purposefully restricting code and ideas to stop others using them.
With the SQL, I dont see what's not happening. What exactly is the error? Is it compiling without any complaints? |
Yeah I got it to go I forgot dbi_nextrow
However I keep getting [OMGSQLXP->] 50 2604010 as the result. Where is this other number coming from in front? str_to_num fails it then because it can't convert that and I end up with junk like : [OMGGPLAYERXP->] ê |
What is on line 77?
|
| All times are GMT -4. The time now is 19:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.