Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Spanky

Pages: 1 ... 296 297 [298] 299 300 ... 564
4456
General Chat / Re: AA25 Server UDP query
« on: Tuesday, April 24, 2012, 18:03:13 PM »
Check out my server.php that I sent you, specifically;
Code: [Select]
<?php
if($Info == "")
{
echo "Can't connect to server. Please try again.";
die();
}
?>

Your code doesn't fail gracefully:
Code: [Select]
Warning: fsockopen() [function.fsockopen]: unable to connect to udp://127.255.255.255:1717 (Permission denied) in /data/multiserv/users/760329/projects/1823153/www/includes/aa2_js_funktionen.php on line 5

Warning: fclose() expects parameter 1 to be resource, boolean given in /data/multiserv/users/760329/projects/1823153/www/includes/aa2_js_funktionen.php on line 15

4457
Bug Reports / Re: Slot closed.
« on: Tuesday, April 24, 2012, 12:37:06 PM »
Perhaps the Assist server crashed momentarily? I wouldn't worry about it. Official Auth went down many times and servers always crashed. It will still happen with Assist :)

4458
General Chat / Re: America's Army flashes
« on: Tuesday, April 24, 2012, 02:54:37 AM »
F5 F5 F5 F5 F5 F5 F5 F5 F5 F5 F5 F5

4459
General Chat / Re: America's Army flashes
« on: Tuesday, April 24, 2012, 02:39:26 AM »
If an action doesn't affect me, I don't pay attention to it.

One of the best things you've ever said. I agree 100%.

4460
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 20:12:23 PM »
Actually, I just thought of a way to bypass the query spam problem. You don't link the usernames to Battletracker in the serverlist, you link them to another file with POST data (the username) which then sends a query to the Assist server, replies back with the BT ID and then a header redirect at the bottom. This way might be better too, because you wouldn't have to hook into an Assist API just to load the server list page, it would only talk to the Assist server if the web visitor actually clicked a name.

4461
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 16:16:19 PM »
If we were to have a database of ID's and usernames, might I suggest we toss a date column in there and clean out accounts that haven't been used in 30 days? i.e. banned ones and abandoned noob accounts so it doesn't clutter things up.

Just my useless contribution :)

4462
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 15:38:13 PM »
Look at you go Pit!

4463
Introductions / Re: hello im vonny
« on: Monday, April 23, 2012, 13:46:09 PM »
Great lulz.

4464
Miscellaneous / Re: Photography
« on: Monday, April 23, 2012, 13:44:54 PM »
I like quite a few of them. Do you touch them up with Photoshop?

4465
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 13:44:04 PM »
There's many ways to do it in PHP, I think you're thinking of something like:
Code: [Select]
$queryString = "getaaoid" . $playername;
Personally, I would do it like this:
Code: [Select]
$queryString = "getaaoid{$playername}";Jared taught me about brackets and I prefer keeping everything inside the quotes rather than outside. You don't NEED the brackets, it just tells PHP that the text in the brackets is the variable.

Jonny, that idea might require some jQuery. I think both me and Graf are thinking about generating the ID when the page is loaded, that way links can be created directly to the persons account. So, at maximum there would be 32 or whatever queries in a second when the page is loaded.

4466
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 13:27:30 PM »
You seem to be forgetting, i dont run the servers anymore.

*shifty eyes*

Thanks Graf :)

4467
Introductions / Re: hello im vonny
« on: Monday, April 23, 2012, 12:30:41 PM »
Welcome back to AA :) I don't think we have requirements for the veteran badge or have anything saying xxxx user gets it because xxxx. It's something we can set but we've never really talked about when it's right to use it.

4468
General Chat / Re: AA25 Server UDP query
« on: Monday, April 23, 2012, 12:26:42 PM »
My test worked, to get the ID --> http://server-viewer.co.de/aa25auth.php.

Graf, I was talking about this :) I have no idea how to query with a specific string via UDP. Jonny will have to unblock servers or raise the max request amount.

4469
General Chat / Re: Qtracker
« on: Sunday, April 22, 2012, 23:37:18 PM »
Probably but why would you want to use it when Assist has a server browser already?

4470
General Chat / Re: AA25 Server UDP query
« on: Sunday, April 22, 2012, 17:20:03 PM »
Graf, mind sharing the PHP code you used? I might integrate it into this site's server list if you don't mind.

Pages: 1 ... 296 297 [298] 299 300 ... 564

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager