Kamis, 19 Juli 2012

Perintah BOT DOTA

Siapa yang masih binggung dengan BOT DOTA, hehehe... ini saya bagikan.

dari Perintah di bawah ini ada yang kurang yaitu:
/watch [BOT] perintah untuk melihat aktivitas BOT kamu. (berguna lo saat 1 team mau join dalam 1 room)

refrence dari nusareborn.in


addadmin <name>                add a new admin to the database for this realm
!addban <name> [reason]         add a new ban to the database for this realm
!announce <sec> <msg>           set the announce message (the bot will print <msg> every <sec> seconds in the lobby), use "off" to disable the announce message
!autohost <m> <p> <n>           auto host up to <m> games, auto starting when <p> players have joined, with name <n>, use "off" to disable auto hosting
!autohostmm <m> <p> <a> <b> <n> auto host up to <m> games, auto starting when <p> players have joined, with name <n>, with matchmaking enabled and min score <a>, max score <b>
!autostart <players>            auto start the game when the specified number of players have joined, use "off" to disable auto start
!ban                            alias to !addban
!channel <name>                 change battle.net channel
!checkadmin <name>              check if a user is an admin on this realm
!checkban <name>                check if a user is banned on this realm
!close <number> ...             close slot
!closeall                       close all open slots
!countadmins                    display the total number of admins for this realm
!countbans                      display the total number of bans for this realm
!dbstatus                       show database status information
!deladmin <name>                remove an admin from the database for this realm
!delban <name>                  remove a ban from the database for all realms
!disable                        disable creation of new games
!downloads <0|1|2>              disable/enable/conditional map downloads
!enable                         enable creation of new games
!end <number>                   end the specified game in progress (disconnect everyone), only root admins can end games where the game owner is still playing
!enforcesg <filename>           load a replay to be used as a template for the player layout in the next saved game
!exit [force|nice]              shutdown ghost++, optionally add [force] to skip checks or [nice] to allow running games to finish first
!getclan                        refresh the internal copy of the clan members list
!getfriends                     refresh the internal copy of the friends list
!getgame <number>               display information about a game in progress
!getgames                       display information about all games
!hold <name> ...                hold a slot for someone
!hostsg <name>                  host a saved game
!load <pattern>                 load a map config file (".cfg" files), leave blank to see current map
!loadsg <filename>              load a saved game
!map <pattern>                  load a map file (".w3m" and ".w3x" files), leave blank to see current map
!open <number> ...              open slot
!openall                        open all closed slots
!priv <name>                    host private game
!privby <owner> <name>          host private game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!pub <name>                     host public game
!pubby <owner> <name>           host public game by another player (gives <owner> access to admin commands in the game lobby and in the game)
!quit [force|nice]              alias to !exit
!reload                         reload the main configuration files
!say <text>                     send <text> to battle.net as a chat command
!saygame <number> <text>        send <text> to the specified game in progress
!saygames <text>                send <text> to all games
!sp                             shuffle players
!start [force]                  start game, optionally add [force] to skip checks
!stats [name]                   display basic player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!statsdota [name]               display DotA player statistics, optionally add [name] to display statistics for another player (can be used by non admins)
!swap <n1> <n2>                 swap slots
!unban <name>                   alias to !delban
!unhost                         unhost game in lobby, only root admins can unhost games where the game owner is in the lobby
!version                        display version information (can be used by non admins)
!wardenstatus                   show warden status information

Kamis, 23 Februari 2012

Pengurangan DateTime di PHP

http://php.net/manual/en/datetime.sub.php

http://www.php.net/manual/en/class.dateinterval.php

$date = new DateTime('2000-01-20');$date->sub(new DateInterval('P10D'));
echo 
$date->format('Y-m-d') . "\n";


or


<?php
$signupdate 
strtotime('2010-05-01 15:03:50');$thirtydaysago strtotime('-30 days');

if(
$signupdate $thirtydaysago){
  
#new member}?>

Rabu, 22 Februari 2012

Backup Data Outlook

Backup Data, buat file pst baru. lalu 


Hasil dari pembuatan file outlook data lalu pilih yg file baru tersebut.

dan restart outlook anda. Done...

Rabu, 15 Februari 2012

Membandingkan Code Program

ini dia Program Open Source yang membandingkan Source Code yang kita bandingkan apakah sama atau berbeda dengan rekan kerja kita

Membuat Dokumentasi Di PHP

Teman Kerja ku baru saja menemukan cara pendokumentasi yang lebih cepat dan lebih rapi, dengan menggunakan Doxygen


Dan Hasilnya adalah

Jumat, 10 Februari 2012

Debug in PHP

Bagi Agan²/wati kalo kita sering coding dengan PHP pasti pingin melakukan efesiensi waktu dengan cara dapat melakukan debug saat proses coding web...

nah ini dia step by step install xdebug dan diintegrasikan dengan netbeans
Ini dia cara Link untuk melakukan instalasinya

ini dia hasil installnya yang berhasil aku coba


jgn lupa install xdebug helper pada chrome ini gambarnya



zend_extension = "C:\xampp\php\ext\php_xdebug-2.1.2-5.3-vc6.dll"
xdebug.remote_enable = 1
xdebug.profiler_enable = 0
xdebug.remote_host = "127.0.0.1"


Rabu, 11 Januari 2012

Unshakeable

Arman Harianto
Cybrio

Ibrani 12:26-28

Jgn takut sama goncangan.

Chick-fil-a

Trueth Cathy
Wealth, is it worth it?

Kekayaan menjadi berarti jika diperoleh dengan jujur, digunakan

3P Prinsip, People, Profit

Jawaban ketidakpastian adalah kebenaran

Tuhan berbicara lewat situasi ♈ģ tidak enak.

Tuhan ingin supaya kita bangun bisnis dengan pemurnian

1. Carilah dahulu kerajaan allah dan kebenarannya
2. bersyukurlah. Manage thanks giving
   1 kor 10:10
3. Giving the best.
Beribadah dengan cara ♈ģ berkenan. Ucapan syukur kepada allah.
Berbuat baik.


Efesus 5:

Efesus 6
1. Keluarga
2. Anak
3. Bisnis

Set priority first, firman tuhan harus menjadi pondasi dalam hidupku

Jumat, 06 Januari 2012

Hapus Index.php pada CodeIgniter

Utak-utik lagi tentang URI Routing CodeIgniter.
akhirnya menemukan web yang membahas SIP banget...

Ini Masalah yang dihadapi.

http://namaweb/index.php/methodController

kan pengennya seperti ini

http://namaweb/methodController

yup ini dia caranya

  1. Masuk ke Config dari CI 
  2. Cari $config['index_page']
  3. isinya dihapus menjadi seperti ini $config['index_page'] = '';
  4. dan terakhir jgn lupa buat file .htacess dan taruh di root.
isi dari .htacess seperti ini

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

jika ingin lebih mendetail tentang rewrite engine di baca di sini

Kamis, 05 Januari 2012

Preview Chart For CodeIgniter

Kemaren sempat coba" tentang chart. 
Dan menemukan beberapa yang dapat di intergrasikan dengan CodeIgniter.

    Saya lebih tertarik menggunakan chart ini untuk pengembangan project ini karena saya menemukan Source yang berhubungan dengan project saya. tampak sekilas pemandangan yang mengagumkan...


    Untuk Integrasi dengan CodeIgniter bisa dicoba dengan Library ini
    Untuk Integrasi dengan CodeIgniter bisa dicoba dengan Library ini