[Archive] Perfect Chaos Dwarf Rules

Joshmohr:

Hey! I’m new, so this is my first post…

Anyway, one day i made a Kollosus with a Arcane Engineer, and realised “Well, i just spent $50 dollars, and don’t have any rules”…

So i stumbled onto these. Check them out, on my printer it was 20 pages…

http://www.librarium-online.com/forums/rules-development/113178-warhammer-armies-chaos-dwarfs.html

These realy are some of the best rules ive found!!!

Please comment…

Fallen246:

Seems alright.

This message was automatically appended because it was too short.

Pyro Stick:

That link isnt working for me. All i get is the worlds biggest error code:

query_first(" SELECT fbuid FROM " . TABLE_PREFIX . "fbuser WHERE userid = " . $userid . " LIMIT 1 “); return intval($user[‘fbuid’]); } function fetch_fbuser_info($query) { require_once(DIR . ‘/includes/facebook/facebook.php’); global $vbulletin, $db; $fbusers = $db->query_read($query); $fbuids = “”; $vbuids = array(); while ($fbuser = $db->fetch_array($fbusers)) { if ($fbuser[‘fbuid’]) { $fbuids .= $fbuser[‘fbuid’] . “,”; $vbuids = $fbuser[‘userid’]; } } $fbuids = rtrim($fbuids, ‘,’); $fbuserinfo = $vbulletin->session->vars[‘fbuserinfo’]; if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options[‘fbconnect_apikey’], $vbulletin->options[‘fbconnect_secret’]); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuids, ‘name, first_name, last_name, affiliations, pic, pic_small, pic_square’); for ($i = 0; $i < count($fbuser); $i++) $fbuserinfo[$vbuids[$i]] = $fbuser[‘userid’] = $userid; if ($vbulletin->options[‘userid’] != ‘’) { $fbuserinfo = $vbulletin->session->vars[‘fbuserinfo’]; if (!is_array($fbuserinfo[‘userid’]])) { $fbuid = get_fb_uid($target[‘userid’]); if ($fbuid) { if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options[‘fbconnect_apikey’], $vbulletin->options[‘fbconnect_secret’]); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuid, ‘name, first_name, last_name, affiliations, pic, pic_small, pic_square’); $fbuserinfo[‘userid’]] = $fbuser[0]; $vbulletin->session->set(‘fbuserinfo’, $fbuserinfo); } catch(FacebookRestClientException $ex) { } } } if (is_array($fbuserinfo[‘userid’]])) { if (!is_array($fb_field_map)) { $fb_field_map = array(); $profile_fields = $db->query_read(” SELECT * FROM " . TABLE_PREFIX . "fbdatamap "); while ($field = $db->fetch_array($profile_fields)) { $fb_field_map[$field[‘vbfield’]] = $field[‘fbfield’]; } } $not_profile_field = array(‘avatarurl’, ‘profilepicurl’); foreach ($fb_field_map as $vbfield => $fbfield) { if ($profilefield && $target[‘value’] && $target[‘value’] != $vbphrase[‘n_a’]) continue; if ($target[$vbfield] && pathinfo($target[$vbfield], PATHINFO_BASENAME) != ‘unknown.gif’) continue; if ($fbfield == ‘affiliations’) { if (is_array($fbuserinfo[‘userid’]][$fbfield])) { foreach ($fbuserinfo[‘userid’]][$fbfield] as $network) { if ($network[‘type’] == ‘region’) { $fbuserinfo[‘userid’]][$fbfield] = $network[‘name’]; break; } } } } if ($profilefield) { if ($vbfield == (‘field’ . $target[‘profilefieldid’])) { $target[‘value’] = $fbuserinfo[‘userid’]][$fbfield]; break; } } else $target[$vbfield] = $fbuserinfo[‘userid’]][$fbfield]; } if ($target[‘avatarurl’]) { $avatarurl = $target[‘avatarurl’]; $show[‘avatar’] = true; } } } } function print_datamap_row($vbdata, $fbdata, $vbselected = “”, $fbselected = “”) { global $vbphrase; echo ’ '; if ($vbselected) echo ‘[ ‘.$vbphrase[‘delete’].’ ]’; echo ’ '; }

Swissdictator:

Hmm. The error looks like Pig Latin being applied to Klingon. :wink:

The Kolossus looks like what again?

Grimstonefire:

I presume they are the same rules Revlid put here:

https://discourse.chaos-dwarfs.com/t/7718

We really should get him to put it in a pdf we can host.

@Joshmohr

Revlid is a member of this forum, if you do a search for him I know he’d like to hear your feedback by pm :wink:

furrie:


That link isnt working for me. All i get is the worlds biggest error code:

query_first(" SELECT fbuid FROM " . TABLE_PREFIX . "fbuser WHERE userid = " . $userid . " LIMIT 1 "); return intval($user['fbuid']); } function fetch_fbuser_info($query) { require_once(DIR . '/includes/facebook/facebook.php'); global $vbulletin, $db; $fbusers = $db->query_read($query); $fbuids = ""; $vbuids = array(); while ($fbuser = $db->fetch_array($fbusers)) { if ($fbuser['fbuid']) { $fbuids .= $fbuser['fbuid'] . ","; $vbuids = $fbuser['userid']; } } $fbuids = rtrim($fbuids, ','); $fbuserinfo = $vbulletin->session->vars['fbuserinfo']; if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuids, 'name, first_name, last_name, affiliations, pic, pic_small, pic_square'); for ($i = 0; $i < count($fbuser); $i++) $fbuserinfo[$vbuids[$i]] = $fbuser['userid'] = $userid; if ($vbulletin->options['userid'] != '') { $fbuserinfo = $vbulletin->session->vars['fbuserinfo']; if (!is_array($fbuserinfo['userid']])) { $fbuid = get_fb_uid($target['userid']); if ($fbuid) { if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuid, 'name, first_name, last_name, affiliations, pic, pic_small, pic_square'); $fbuserinfo['userid']] = $fbuser[0]; $vbulletin->session->set('fbuserinfo', $fbuserinfo); } catch(FacebookRestClientException $ex) { } } } if (is_array($fbuserinfo['userid']])) { if (!is_array($fb_field_map)) { $fb_field_map = array(); $profile_fields = $db->query_read(" SELECT * FROM " . TABLE_PREFIX . "fbdatamap "); while ($field = $db->fetch_array($profile_fields)) { $fb_field_map[$field['vbfield']] = $field['fbfield']; } } $not_profile_field = array('avatarurl', 'profilepicurl'); foreach ($fb_field_map as $vbfield => $fbfield) { if ($profilefield && $target['value'] && $target['value'] != $vbphrase['n_a']) continue; if ($target[$vbfield] && pathinfo($target[$vbfield], PATHINFO_BASENAME) != 'unknown.gif') continue; if ($fbfield == 'affiliations') { if (is_array($fbuserinfo['userid']][$fbfield])) { foreach ($fbuserinfo['userid']][$fbfield] as $network) { if ($network['type'] == 'region') { $fbuserinfo['userid']][$fbfield] = $network['name']; break; } } } } if ($profilefield) { if ($vbfield == ('field' . $target['profilefieldid'])) { $target['value'] = $fbuserinfo['userid']][$fbfield]; break; } } else $target[$vbfield] = $fbuserinfo['userid']][$fbfield]; } if ($target['avatarurl']) { $avatarurl = $target['avatarurl']; $show['avatar'] = true; } } } } function print_datamap_row($vbdata, $fbdata, $vbselected = "", $fbselected = "") { global $vbphrase; echo '   '; if ($vbselected) echo '[ '.$vbphrase['delete'].' ]'; echo ' '; }


Pyro Stick
its not an error, its a bunch of PHP code :P

Joshmohr:

Youch… I have no idea what to do for the errors… If you give me a few, ill copy it to a Open Office Document, and ill link em’ to you.

Ubertechie:

As people where asking for it please find attached rules as a PDF

Revlid - hope you don’t mind - I saw people asking and i had the tools to help

cheers

ubertechie