Welcome to Anything Forums! We are a general discussion forum that believes in freedom of expression and aim to provide a low moderation (within reasonable means) environment to discuss any topic. If you want to join, simply click HERE to be taken to our account management system where you can make an account. If you had an account at iceteks.com, anythingforums.com, uovalor.com or uogateway.com in the past it has been transfered over and you can simply do a password reset.
It goes by how powerful the weapon is, so it can get a little wacky. This is the function for getting fined (banks only). Oh and it also goes by the type of item. ex: military, etc.
function fine($iteminfo,$itemcatinfo)
{
global $bank,$bankinfo, $userid;
$fine = round(($iteminfo[damage_hp] * ($itemcatinfo[catrobpercent]/100))+1000,-2);
if($fine>100000000)$fine=100000000;
echo("
You have been fined ".$fine." ICs and loose your item!
");
AddCash("wallet",$userid,$fine*-1,0); //fine
AddCash("wallet",$bankinfo[fownerid],$fine,0); //give to owner
if(($itemcatinfo[catrobphrase]=="")||($iteminfo[item_name]==""))
{
$string="Robber attempted to rob the bank but failed, and was fined ".$fine." ICs.";
}
else
{
$string="Robber attempted to ".$itemcatinfo[catrobphrase]." with ".$iteminfo[item_name]." (".$iteminfo[damage_hp]." HP) but failed, and was fined ".$fine." ICs.";
}
SendPM($bankinfo[fownerid],$userid,"Failed bank robbery (".$bankinfo[fname].")",$string);
}
[code]
Oh and I gave you a pity donation. :P
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:3689, old post ID:29971[/size][/color]
Honk if you love Jesus, text if you want to meet Him!
haha yeah that's another bug, sort of, the reason that happends is by buying the stock holder makes money so if the stock holder hardly has any cash it makes for a huge percent of increase. I'd have to make it so you can't cash them before 24 hours or something. But the stock DB is already badly organized to begin with, dont want to add another field to it.
Archived topic from Iceteks, old topic ID:3689, old post ID:30013
Honk if you love Jesus, text if you want to meet Him!
I just got fined 100000000 IC's for attempting to rob red's bank again...how much security does that bank have exactly??? Has any one manage to rob it yet?
This is going to send my share prices sky diving!!!
I think that I'll stick to good old fashion bombing from now on.
p.s I have an item worth over 1 billion IC's but I can't sell it on as everyone is too poor to buy it.
Archived topic from Iceteks, old topic ID:3689, old post ID:30241
it was a millitary item, i've spent over 1 billion on items and I still have a bit of fire power left, thanks for the 64 million, it was nice of you to let me rob you so very easily.
It's funny just how quickly the stocks crash when something like this happens!!!
Archived topic from Iceteks, old topic ID:3689, old post ID:30247
after I robbed it the last time I saw my balance go down by 100000000 and saw yours go up by 100000000 and so I just connected the two events together and robbed the IC's back from you, I must have robbed over 100 million from you tonight- must be a record???
Archived topic from Iceteks, old topic ID:3689, old post ID:30256
Cybervillage auto PM: You've been robbed!
I stole 352026 ICs from you using "WMD - ". (Item has 2100000000 Damage HP). This is an automaticly sent message.
Overkill much?
Archived topic from Iceteks, old topic ID:3689, old post ID:30259