Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 04:18:52 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 51
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 44
Total: 44

Author Topic: [Block ] Americas army server block help  (Read 18858 times)

0 Members and 1 Guest are viewing this topic.

Hairy

  • Guest
Re: [Block] Americas army server block help
« Reply #30 on: January 09, 2009, 06:10:00 AM »
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
« Last Edit: January 10, 2009, 02:33:35 AM by G6 »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: [Block ] Americas army server block help
« Reply #31 on: January 09, 2009, 06:14:20 AM »
i have added it to the [Block] list, it will auto update as the 10th newest blocks available :)

Offline Vapor

  • Jr. Member
  • **
  • Posts: 27
Re: [Block ] Americas army server block help
« Reply #32 on: January 09, 2009, 11:31:29 AM »
Thanks for this Hairy !  O0


Find a demo of this block here: http://Http://nwogaming.com
« Last Edit: January 09, 2009, 11:50:09 AM by V@por »

Hairy

  • Guest
Re: [Block ] Americas army server block help
« Reply #33 on: January 09, 2009, 07:18:35 PM »
Thanks G6 and V@por, looks good  :up:

Hairy

  • Guest
Re: [Block ] Americas army server block help
« Reply #34 on: February 22, 2009, 12:41:55 AM »
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:
Code: [Select]
// Server Port - 1717 = default
$aa_port = '1717';

To:
Code: [Select]
// 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.
« Last Edit: February 22, 2009, 12:52:01 AM by Hairy »

Offline Vapor

  • Jr. Member
  • **
  • Posts: 27
Re: [Block ] Americas army server block help
« Reply #35 on: May 20, 2009, 07:18:14 PM »
Went back to SMF..thanks hairy!