421
Gallery / Re: Modernish House
« on: February 09, 2010, 10:12:09 PM »
I like it. Needs more trees.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Add-Ons/GameMode_CityRPG/common.cs Line: 775 - Syntax error.
>>> Some error context, with ## on sides of error halt:
^^messageClient(%client, '', "\c6You already have a charge request from another service! Type \c3/no\c6 to reject it.");
}
function fxDTSBrick::sellItem(%brick, %item, %markup, %client)
{
^if(isObject(%client.player) && !%client.player.serviceOrigin && isObject(%brick))
^{
^^%name = $CityRPG::prices::weapon::name[%item].uiName;
^^{##
##
^^^%client.player.serviceType = "item";
^^^%client.player.serviceItem = %item;
^^^%client.player.serviceFee = $CityRPG::prices::weapon::price[%item] + %markup;
^^^%client.player.serviceMarkup = %markup;
^^^%client.player.serviceOrigin = %brick;
^^^
^^^messageClient(%client,'',"\c6A service is offering to sell you one \c3" @ %name SPC "\c6for \c3$" @ %client.player.serviceFee SPC "\c6.");
>>> Error report complete.Codefunction fxDTSBrick::sellItem(%brick, %item, %markup, %client)
{
if(isObject(%client.player) && !%client.player.serviceOrigin && isObject(%brick))
{
%name = $CityRPG::prices::weapon::name[%item].uiName;
{
%client.player.serviceType = "item";
%client.player.serviceItem = %item;
%client.player.serviceFee = $CityRPG::prices::weapon::price[%item] + %markup;
%client.player.serviceMarkup = %markup;
%client.player.serviceOrigin = %brick;
messageClient(%client,'',"\c6A service is offering to sell you one \c3" @ %name SPC "\c6for \c3$" @ %client.player.serviceFee SPC "\c6.");
messageClient(%client,'',"\c6Accept with \c3/yes\c6, decline with \c3/no\c6.");
}
}
else if(%client.player.serviceOrigin && %client.player.serviceOrigin != %brick)
messageClient(%client, '', "\c6You already have a charge request from another service! Type \c3/no\c6 to reject it.");
}
2. A Goblin AI2. Bot events
3
4. An actual mining brick something like this ^
No, he can'tCityRPG can run on non-dedi. Any way no one is going to offer to test to it they dont know what it is,
Cause All cityRP's have a line in it to make it not run on Non-Dedi's
Yet, i know how to remove it.
But, no one will test it if you don't tell what it is.
pitfall's looked.I hate you so much. I have some one helping me fix it. And atleast i put effort into my city. Plus i dont spam my self or any one with money. Mine is better then many others.
function serverCmdgiveMoney(%client, %money, %name)
{
%money = mFloor(%money);
if(%money > 0)
{
if((CityRPGData.getData(%client.bl_id).valueMoney -= %money) >= 0)
{
if(isObject(%client.player))
{
%target = containerRayCast(%client.player.getEyePoint(), vectorAdd(vectorScale(vectorNormalize(%client.player.getEyeVector()), 5), %client.player.getEyePoint()), $typeMasks::playerObjectType).client;
if(isObject(%target))
{
messageClient(%client, '', "\c6You give \c3$" @ %money SPC "\c6to \c3" @ %target.name @ "\c6.");
messageClient(%target, '', "\c3" @ %client.name SPC "\c6has given you \c3$" @ %money @ "\c6.");
CityRPGData.getData(%client.bl_id).valueMoney -= %money;
CityRPGData.getData(%target.bl_id).valueMoney += %money;
%client.SetInfo();
%target.SetInfo();
}
else
messageClient(%client, '', "\c6You must be looking at and be in a reasonable distance of the player in order to give them money.");
}
else
messageClient(%client, '', "\c6Spawn first before you use this command.");
}
else
messageClient(%client, '', "\c6You don't have that much money to give.");
}
else
messageClient(%client, '', "\c6You must enter a valid amount of money to give.");
}
FREE for the mac...
You signed on for this bullstuff when you bought a Macintosh. Deal with it.
It is.It is not the same game engine. Its not the real Blockland.
http://www.youtube.com/watch?v=odbGT8xByrE
From 1:17 to 1:38 is proof that it is possible.