TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 25, 2024, 02:22:00 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 59
  • Total: 59

[Block ] Americas army server block help

Started by Hairy, July 19, 2007, 03:23:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hairy

#30
All updated, would it be possible to update the "snippet index" to point to this one otherwise you're gonna get new people going to the old one still.

Cheers

G6Cad

i have added it to the [Block] list, it will auto update as the 10th newest blocks available :)

Vapor

#32
Thanks for this Hairy !  O0


Find a demo of this block here: Http://nwogaming.com

Hairy


Hairy

#34
I have updated the code in the first post with a slight modification, the original code displayed the servers "query" port in the block results but this is silly as people wanting the information to join are actually after the standard port.

I have changed:
// Server Port - 1717 = default
$aa_port = '1717';


To:
// Server Port - 1716 = default
$aa_port1 = '1716';
// Server Query Port - 1717 = default
$aa_port2 = '1717';


And modified the 2 sections within the code that uses this info.

Now my blocks display the correct port for joining them  :up:

Further edit:

I have also just added in support for the links to tracker and AAMBS to reflect the standard port you put in, this will be of benefit for those not running the usual "1716" port setup.

Vapor