Truncating Variables?
I'm making a custom plugin, needs to store steam ids and usernames to mysql database (when I get these two things down everythign else will be cake) but it truncates their steamid somewhere along the code...
Code:
(sorry for the somewhat messed up indents I've been up for a day or 3) This is the server output: Quote:
(^^i actually think thats correct grammar, one example, many fields?) <list> <name>[ css:um ] Migs Davis</name> <id>29</id> <steamid>83</steamid> <roundsplayed>0</roundsplayed> <posts>0</posts> <css>0</css> <blazed>0</blazed> <zero>0</zero> <admin>not</admin> </list> (of course everytime I connect it copies.) |
Hey guys I still can't figure it out...I've tried using different mysql querries and using a different code order... still no luck. Actually, for a while, "name" appeared as 91 and steam id showed up perfectly.
|
where do you get
Code:
<list> |
Thats an xml export from phpmyadmin to see content excel-style or w/e... its that about 8 times after connecting 8 times.
|
Code:
Code:
|
Alright lets see what happens, I copied the code straight off an official tutorial (more or less)
>>>>>>>>>5 MINS LATER>>>>>> nope... its still truncating the steamid variable sometimes between displaying and sending the query to MySQL from my steamid STEAM_0:1:9834747 to just 83 Also, In English, for that conditional, i intended it to be If Record Doesn't Exist Then:... so is switching the operand there appropriate? |
I was thinking something might be wrong in
Code:
But I can't tell :-( <-- me a nub |
Alright. Contest. First person to help me fix this: 5 bucks via paypal.
|
Try this. if it works, keep your 5 bucks for your server costs. I just modified a different plugin I had made for someone.
Code:
|
Quote:
Code:
|
| All times are GMT -4. The time now is 16:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.