dracoblue.net

How to add auto-youtube-tags to SMF

Open Subs.php and alter the following things.

After:

    static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;

Add:


$message = preg_replace('/http:\/\/([^\s\.]+).(youtube.com\/watch\?v=)([A-Za-z0-9\-]+)([^\s]*)/', '[youtube]$3[/youtube]', $message);

After:

            array(
'tag' => 'b',
'before' => '<b>',
'after' => '</b>',
)

Add:

            array(
'tag' => 'youtube',
'before' => ''
),

In open source, php, smf by DracoBlue @ 20 Jan 2008 | 75 Words

Drag n' Drop!

Today I finished the drag and drop functionality for the inventory and added the action bar. You may know both from other (online) games, but its still something quite new for gta online gaming. So I hope you guys like it!

In gta:tournament, project by DracoBlue @ 17 Jan 2008 | 41 Words

Visual Inventory part one

This is the first version of GTA:Tournament's Visual Inventory. At the moment you can hover items, to see what they do (like those EDs) and doubleclicky them to activate them (leads to slow health refill).

In gta:tournament, project by DracoBlue @ 17 Jan 2008 | 41 Words

Testing the battlearea

We made some nice progress on the battlearea. Elyks converted an initial version from pawn and I fixed most issues coming up. Currently only respawn is missing and what happens if you disconnect.

By the way, you can find screenshots of testing previews at the gtat media database.

In gta:tournament, project by DracoBlue @ 15 Jan 2008 | 55 Words

Speedometer + Stuntrecording added

An other update on the test server. Today I finished the speedometer + speed calculation for players, who a driving a vehicle. Also the stunts are properly identified and the time/distance for those is correctly calculated. So we'll start/add some kind of stunt-ranking soon. Currently implemented stunts: wheelie, stoppie and 2wheeler.

Yesterday I made a screenshot of the login interface of GTA:Tournament on MTA, you can view it in the media database of GTA:Tournament.

In gta:tournament, project by DracoBlue @ 15 Jan 2008 | 78 Words

Page 35 - Page 36 - Page 37