Month: March 2010

Adding Bots in Urban Terror

if you dont know what Urban Terror is then its an open source free multiplayer game similar to the likes of Counter Strike and uses Quake engine.

for more details goto :

http://www.urbanterror.info/

since its a multiplayer, to be able to play as asingle player it needs bots  you will need to create bots. here is the method how to add bots to it :

http://forums.urbanterror.info/topic/6906-running-bots-in-ut4/

Adding bots to a game

First tell the server to allow bots, press tilde (~) to open the console and type:

/bot_enable 1

and start the server through the appropriate menu choices

If the server is already running:

/reload

then you can start to add the bot(s):

/addbot <type> <level> <team> <ping> <server nick>

the <type> should use one of the following bot file names:

boa
cheetah
chicken
cobra
c ockroach (<== space between the C and the O added to pass BB filters)
cougar
goose
mantis
penguin
puma
python
raven
scarab
scorpion
tiger
widow

<level> should be between 1 (n00bish) – 5 (malevolent)

so the following would add a level 4 bot called “=lvl4=Puma” to the blue team:

/addbot Puma 4 Blue 76 =lvl4=Puma

Each bot type has it’s own weapon load out – Puma for example uses a LR300ML + Spas + Baretta combo. By making sure at least 1 bot has the same weapons as you, you’ll never run out of ammo.

Tactically, the bots are not very bright, and you can’t give them orders like q3 bots, however they do use the same evasion techniques (varying levels of crouching, bunny hopping and strafing) as live players, with varying levels of aggression.

Bot configuration files
If you want to add more than one bot at a time, you might want to make a .cfg file which you save to your q3ut4 directory
[pre]

/====== sample_bot.cfg======

addbot C ockroach 4 Blue 76 =lvl4=C ockroach
addbot Cheetah 4 Blue 56 =lvl4=Cheetah
addbot Cobra 4 Blue 45 =lvl4=Cobra
addbot Penguin 4 Blue 89 =lvl4=Penguin
addbot Puma 4 Blue 89 =lvl4=Puma
addbot Puma 1 Blue 89 =lvl1=Puma

/====== sample_bot.cfg======

[/pre]

get the server to load this by simply typing

/exec <filename>
Note while the example above tries to add bots to the blue team – the server will spread them evenly on both teams – so add an even number or face the chagrin of continually getting pwned at spawn, by bots.

As mentioned before, the bots mimic certain aspects of real life, in teams they will mimic certain aspects of team life, like occasionally tking you for no reason, ignoring calls for backup or medic, and appearing to be AFK at spawn.

Removing bots

/kick <nick>

If you have more than 1 bot, or you can’t be arsed typing whatever l33t nick you gave that 1 bot you added, you can use this to take all bots off the server:

/kick allbots

though be warned the server checks for nick matches in the player list first, so player ‘allbots’ would probably not be too happy with you, having been bumrushed off the server for no apparent reason.

Maps for running bots

Not every map in UT4 has bot support, the following do, sort of –

Abbey
Algiers
Austria
Dressing room
Firing Range
Mandolin *
Riyadh
Prague*
Toxic*
Uptown

Some maps work better than others – the maps marked with an asterisk are maps where the bots have trouble getting out of the spawn points.

The maps found most useful in upping my game are :

Firing range – good for close quarters practice
Riyadh – add several bots for sniper target practice
Algiers – for finding sweet spots on the map to fire from cover
Dressing room – for mixed terrain levels + varying range battles – though bots will fall into the river in the middle and remain in there.

and again:

http://www.thinkdigit.com/forum/showthread.php?t=62954

Here’s a page which tells you how to add bots to your game:

http://www.forums.urbanterror.net/in…ic,8053.0.html

It’s a comprehensive set of instructions but it doesn’t tell you which bots have which weapons/armour/gear, which is something I’d really like to know. Anyone seen a list?

Note: the cockroach bot name should be spelled without a space. Be aware that you can’t use spaces in bot names though. Use underscores instead.

Know also that the ping value will default to zero (0) for bots added to a game hosted on your computer (no network traffic), so you may as well set it to 0 in the first place, making life a little easier.

I use the config file method which allows multiple bots to be added at once, saving time and thus reducing the risk of being shot whilst adding bots. I’ve made several .cfg files with names like bots4.1.cfg, bots.4.2.cfg – denoting two sets of different bots all set to level 4. Level 1 makes bots stupidly easy to kill. Level 5 is almost as tough as playing online with the pros, except bots are much less cooperative in team games.
By using small groups of bots at different skill levels I can mix and match my teammates/opponents by loading in different .cfg files depending on the map and how lucky I’m feeling. When it’s getting too easy I just kick off a few level 3 bots and add a level 4 or 5 bot instead.

Note: set all bots to join the same team (e.g. blue) in all your config files and they’ll be distributed evenly anyway (unless you’ve changed that option in your server settings, I think). Add them one by one and they won’t.

Handy hint: I’ve taken to naming bots according to their bot name and the level I’ve set them to, e.g. mantis_4
This makes it easier to identify bots with weapons that you tend to use (more ammo) and comes in handy when you want to kick off lower level bots in order to add harder ones, or vice versa.

One more thing; if you have an autoexec.cfg file in your q3ut4 folder just insert this on a new line and bots will be enabled by default when you start UT4:

set bot_enable 1

That way you won’t have to first enable bots and then reload the server.
Once you’ve saved the autoexec.cfg file, launched UT4 and started a server, you can add bots straight away in the usual manner.

Note: .cfg files are basically text files with a different suffix, so they can be edited in Notepad, Text Edit, BBEdit, etc.
If you don’t have an autoexec.cfg file then you can easily make one. Use double forward-slashes if you want to add comments, e.g:

// Enable bots for single-player mode
set bot_enable 1

and:

I’ve managed to probe the contents of the zpak000.pk3 file and deciphered the following list of bot weapon/gear assignments:

Name: Boa
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Cheetah
Primary: Kalashnikov AK103
Secondary: Franchi SPAS-12
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Chicken
Primary: H&K G36
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Cobra
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: Smoke Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Cockroach
Primary: H&K UMP45
Secondary: –
Sidearm: Beretta 92G
Grenades: Flash Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Cougar
Primary: H&K G36
Secondary: –
Sidearm: Beretta 92G
Grenades: Flash Grenades
Item 1: Silencer
Item 2: Kevlar Vest
Item 3: –

Name: Goose
Primary: H&K 69
Secondary: H&K UMP45
Sidearm: .50 Desert Eagle
Grenades: –
Item 1: Extra Ammo
Item 2: Kevlar Vest
Item 3: –

Name: Mantis
Primary: ZM LR300 ML
Secondary: –
Sidearm: Beretta 92G
Grenades: –
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Name: Penguin
Primary: ZM LR300 ML
Secondary: –
Sidearm: .50 Desert Eagle
Grenades: –
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Name: Puma
Primary: ZM LR300 ML
Secondary: –
Sidearm: Beretta 92G
Grenades: –
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Name: Python
Primary: H&K G36
Secondary: Franchi SPAS-12
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Raven
Primary: H&K PSG-1
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: –
Item 1: Kevlar Vest
Item 2: Silencer
Item 3: –

Name: Scarab
Primary: H&K G36
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: –
Item 1: Kevlar Vest
Item 2: Silencer
Item 3: –

Name: Scorpion
Primary: Remington SR8
Secondary: H&K MP5K
Sidearm: Beretta 92G
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: –
Item 3: –

Name: Tiger
Primary: Kalashnikov AK103
Secondary: –
Sidearm: Beretta 92G
Grenades: HE Grenades
Item 1: Medkit
Item 2: Kevlar Vest
Item 3: –

Name: Widow
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: Beretta 92G
Grenades: –
Item 1: Kevlar Vest
Item 2: Laser Sight
Item 3: –

and here:

http://forums.urbanterror.info/topic/19892-addbot-for-ut/

If you want to activate addbot without doing it manually each time, try this

add the following to autoexec.cfg file using notepad:

bot_enable 1

after start up server,press ~ key at the left hand top keyboard and use the following command to add bot:

/addbot boa 5 red (or blue)
/addbot tiger 4 red (or blue)
/addbot goose 3 red (or blue)

Check for the files within the UT folder for more info.

I would like to suggest that developer should leave the name out or auto assign a name becos at time a spelling mistake need to retype the command.

You’re trying too hard. The bot_enable 1 goes in the server.cfg file on the server so it runs every time the server is started or exec’d. In your (the client) autoexec.cfg file drop in the binds that add your bots-

bind 3 rcon addbot goose 4 Red 6500 Sandra_Shooter
bind 4 rcon addbot goose 4 Blue 3500 Busty_Buela
bind 5 rcon addbot cobra 4 Red 6500 Lulu_Luger
bind 6 rcon addbot boa 4 Blue 6500 Betty_Beretta
bind 7 rcon addbot tiger 5 Red 6500 Bitchn_Blond
bind 8 rcon addbot widow 5 Blue 6500 Slutorous_Soldier
bind 9 rcon addbot Trooper 3 Red 6500 Connie_Commando
bind 0 rcon addbot Guard 3 Blue 6500 Shirley_Sharpshooter

As long as you are already logged in with an rcon password you can add bots at the touch of a key.

Central Income Tax and TDS

here is a nice article explaining about TDS that is deducted from employees every month.

http://ibnlive.in.com/news/deduction-for-employees-from-salary-income/111551-7.html

it explains a lot about how the TDS and Income Tax is calculated

The first most important deduction which is available to every salaried employee is the deduction under section 80C of the Income-tax Act, 1961 whereby on a sum total of maximum Rs.1 lakh the investments can be made in terms of section 80C of the Income-tax Act, 1961. The following are the important items for which the employee can make the investment and then enjoy the deduction within the overall limit of Rs. 1 lakh.

(a)Life Insurance Premium for self, wife & children & also contribution to Unit Linked Insurance Plan (ULIP).

(b) Contributions to Provident Fund.

(c) Contributions to Public Public Provident Fund.

(d) Contribution to Equity Linked Savings Scheme (ELSS) – may be combination of more than one plan.

(e) Payment for Purchase or Construction of residential house so arrived at by looking at the breakup of your EMI Payments – but no deduction for repayment of loans to all but only for loans from employer, banks, LIC, National Housing Bank, etc. If would also include stamp duty & payment of registration fee of the house.

(f) Term Deposit/Fixed Deposit with a bank for 5 years or more

(g) Deposit in Senior Citizens Savings Scheme – may be in one lot or different lots.

(h) Investments in National Savings Certificates (NSC) & Post Office Time Deposit Scheme.

(i) Payment of tution fees for full time education of any two children excluding donation, etc to school.

In addition to the above items which entitle an assessee to claim deduction under section 80C, it is also possible for the employee to enjoy deduction for contribution to certain Pension Funds as per section 80CCC or deduction in respect of contribution to Pension Scheme of the Central Government as per section 80CCD. However, the deduction in respect of these items inclusive of the deduction under section 80C is limited to a maximum of Rs. 1 lakh. Hence, the employee should submit in the first place declaration to the employer about the proposed investments for the above purpose so that the employer can take the same into consideration and deduct tax at source accordingly.

The second important point which will entitle deduction at source from the salary income of the employee would be in respect of deduction for interest on housing loan. As per section 24 deduction available on housing loan for residential house upto Rs. 1,50,000 p.a. if loan taken after 1-4-1999 but it would be only Rs. 30,000 p.a., if loan taken prior to 1-4-1999. Do remember the following salient features:-

(1) Deduction only to the assessee who is owner of the property.

(2) Deduction available to each co-owner.

(3) If loan after 1-4-1999 the acquisition or construction must be completed within three years after taking loan.

(4) The employer can grant deduction only on furnishing simple statement to be verified by the taxpayer.

(5) Certificate from person to whom interest is to be paid to be submitted to the employer.

(6) Deduction permissible for loan from any one at any rate of interest.

(7) Deduction of interest for more than one house cannot be claimed within the limit of Rs. 1,50,000.

(8) Deduction for interest also permissible for other properties if rented out.

(9) Interest deduction for house loan available even if actual interest not paid during the year.

(10) Interest on House Building Advance taken by Govt. employees also allowed deduction even if firstly the loan is repaid & the interest is paid later on.

While claiming the benefit of deduction in respect of residential housing, care should be taken to note that the deduction cannot be available in respect of interest on housing loan in case the property is not ready.

The employer can also grant deduction in respect of other items also to the employee. Some of these important items for which deduction can be granted are as under :-

(a) Deduction as per section 80D on Medical Insurance Policies for self, spouse and children deduction upto Rs. 15,000 and further for Insurance of parents upto Rs. 15,000. However, if senior citizen the deduction is Rs. 20,000.

(b) Deduction as per section 80DD for maintenance of dependant with disability Rs. 50,000 and Rs. 75,000 for severe disability.

(c) Deduction as per section 80DDB for medical treatment of specified diseases for self and dependants Rs. 40,000 and Rs. 60,000 for senior citizens.

(d) Deduction as per section 80E for interest on loan for higher education without any upper limit.

(e) Deduction for donation under section 80G at the rate of 50% and 100% in case of Donations to P.M. Drought Relief Fund, Rajiv Gandhi Foundation National Defence Fund, etc. Employer generally not to give the deduction, employee to claim in Income-tax return.

(f) Donation to a recognised Political Party as per section 80GGC.

(g) Deduction in case of person with Disability as per section 80U of Rs. 50,000 and Rs. 1 lakh for persons with severe disability.

(h) Deduction for exemption from the amount of House Rent Allowance would be granted as per section 10 of the I.T. Act only if actually rent paid. The maximum deduction is minimum of (i) HRA amount (ii) Excess of Rent paid over 10% of salary (iii) 50% of salary for metros and 40% of salary in other towns.

(i) Deduction for Rent paid as per section 80GG upto 25% of income subject to maximum of Rs. 2,000 p.m.

To avail the above deductions from salary income it is utmost necessary to submit papers and details to the employer so that the employer can give necessary credit for the same while deducting tax at source.

(Articles by Subhash Lakhotia, Tax Expert)

apart from this one can get more information about Central It from:

http://www.incometaxindia.gov.in/

some tax calulators:

http://www.docstoc.com/search/income-tax-calculator/?catfilter=1

http://brupt.com/search.php?cx=partner-pub-5966415209736484:5uktsc-uupw&cof=FORID:10&as_filetype=doc&q=income+tax+calculator&sa=Search&siteurl=www.brupt.com%252F

for sikkim: tds calculator

http://www.ziddu.com/download/8992600/tdscal2009-10.xls.html

http://www.ziddu.com/download/8992599/TAN.zip.html

Pick your software @ www.ninite.com

source: http://ninite.com/

The easiest way to get apps.

  1. Pick your favorite software.
  2. Start your customized installer.
  3. You’re done!

Ninite installs software fast with default settings and
says “no” to browser toolbars and other junk.

Ninite checks your PC’s language and 64-bit support
to install the latest, best version of each program.

Ninite runs on Windows XP/Vista/7 and works in the
background unattended and 100% hands-free.

All Ninite does is automatically download and install
the apps you select. Not even Ninite is installed.

People use Ninite to install a million apps every month.
Here’s what they’re saying:

Pick your software

My Pick:

http://ninite.com/installer/42f6bcfa24c2c77245e4a3b3cd66953b0102a5be