Show Posts

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.


Topics - pitfall

Pages: 1 [2] 3 4
16
Suggestions & Requests / Improved lighting?
« on: July 17, 2010, 12:46:13 AM »
I have noticed that light kinda fades at a distance, like so.

Close up:


distance:

17
Games / Simcity 4
« on: June 27, 2010, 04:10:38 PM »
I felt we did not have a good Simcity topic. If you have any sites or screen shots, let me know.

About
SimCity 4 is a city simulation game from Maxis & EA. The player can create an entire region then buold a mega metropolis. Dealing with things like crime and disasters.

Features
  • Can build a small tiny farming town to a huge mega city.
  • A gleaming, high tech city to a poor, crime filled dump.
  • Feel a little evil? Then unleash hell with volcanoes and earthquakes. :3
  • Realtime budget management.

Screens




Resources

SimCity 4 Website - nothing special.
SimCity 4 devotion - An epic place with epic mods.
simtropolis - Another mod site.

Epic Mods

Network Addon Mod (NAM) - A great mod that is to great for words.


The topic is kinda a wip.

18
Modification Help / GUI commandToServer
« on: June 24, 2010, 08:26:30 PM »
Dose not work:
Client:
Code: [Select]
function deposit(%gui)
{
%amount = Deposit.getValue();

commandToServer('bankdeposit', %amount);
}
GUI:
Code: [Select]
//--- OBJECT WRITE BEGIN ---
new GuiWindowCtrl(bankGUI) {
   profile = "GuiWindowProfile";
   horizSizing = "right";
   vertSizing = "bottom";
   position = "0 0";
   extent = "200 200";
   minExtent = "8 2";
   visible = "1";
   maxLength = "255";
   resizeWidth = "1";
   resizeHeight = "1";
   canMove = "1";
   canClose = "1";
   canMinimize = "1";
   canMaximize = "1";
   minSize = "50 50";

   new GuiTextEditCtrl(deposit) {
      profile = "GuiTextEditProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "40 60";
      extent = "82 18";
      minExtent = "8 2";
      visible = "1";
      maxLength = "255";
      historySize = "0";
      password = "0";
      tabComplete = "0";
      sinkAllKeyEvents = "0";
   };
   new GuiButtonCtrl() {
      profile = "GuiButtonProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "38 88";
      extent = "100 22";
      minExtent = "8 2";
      visible = "1";
      command = "deposit();";
      text = "Button";
      groupNum = "-1";
      buttonType = "PushButton";
   };
};
//--- OBJECT WRITE END ---
Server:
Code: [Select]
function ServerCmdbankdeposit(%client, %amount)
{
%amount = atoi(%amount);
if (%amount <= 0)
{
commandToClient(%client, 'messageBoxOK', "Error", "Not a valid number.");
return;
}

if(%amount > PitroRPData.getData(%client.bl_id).valueMoney)
{
commandToClient(%client, 'messageBoxOK', "Error", "You don't have the much money dipstuff.");
return;
}

PitroRPData.getData(%client.bl_id).valueBank += %amount;
PitroRPData.getData(%client.bl_id).valueMoney -= %amount;
}
The deposit command dose not work.
Note: The GUI opens, The server.cs is running.

19
Gallery / Chuck Norris
« on: June 22, 2010, 03:30:16 PM »
Brick INSIDE brick!

Randomly cool pic from a distance.

20
Help / Server password
« on: June 16, 2010, 10:26:25 PM »
I changed the pass to my dedi server and forgot what it was.
Pref::Server::Password = "123"; into the dedicated server did nothing.

21
Help / Cant connect to IRC.
« on: June 12, 2010, 10:39:45 PM »
Title says it all.
Code: [Select]
Add-Ons/System_ReturnToBlockland/RTBC_IRCClient.cs (1175): Unable to find object: '' attempting to call function 'setBitmap'
BackTrace: ->RTBIC_Disconnect->RTBIC_SetPane
I have tried re-down loading it, I am connected to the internet. Cause i know some idiot was going to ask those questions.

22
Help / Dissipearing bricks?
« on: June 05, 2010, 02:20:58 AM »
For some reason bricks seem to be randomly dissapear from my add-ons.
Code: [Select]
WARNING: loadBricks() - DataBlock not found for brick named "32x32 Block"
WARNING: loadBricks() - DataBlock not found for brick named "1x7 Plate"
WARNING: loadBricks() - DataBlock not found for brick named "2x5 Brick"
They worked just fine last time i ran my server (2 days ago).
Note: I did NOT edit any configs or disable/enable any brick packs or any other add-ons since i last ran my server.

23
Modification Help / Gamejoin Problems.
« on: May 27, 2010, 10:58:34 PM »
This, dose not work.
Code: [Select]
package Spawn
{
function gameconnection::OnClientEnterGame(%this,%client)
{
if(isFile("Add-Ons/Client_PitroGUI/client.cs"))
{
canvas.pushDialog(Pitrospawn);
}
else
{
%name = %client.name;
%client.delete("Sorry, you need pitro GUI!");
}
}
};
activatePackage(Spawn);



24
Modification Help / fxDtsBrick::onPlant porblems
« on: May 25, 2010, 08:47:12 PM »
It dose not work.
Code: [Select]
package atmbrickPackage
{
function fxDtsBrick::onPlant(%brick)
{
if(%brick.getDatablock().brickType == PitroRPATMBrickData)
{
if(PitroRPData.getData(%client.bl_id).valueMoney < mFloor($PitroRP::prices::ATM))
{
messageClient(%client, '', "\c6You need at least \c3$" @ mFloor($PitroRP::prices::ATM) SPC "\c6in order to plant ATM!");

%brick.schedule(0, "delete");

return;
}

messageClient(%client, '', "\c6You have paid \c3$" @ mFloor($PitroRP::prices::ATM) @ "\c6 to plant this ATM.");

PitroRPData.getData(%client.bl_id).valueMoney -= mFloor($PitroRP::prices::ATM);
}
}
};
activatePackage(atmbrickPackage);

25
Modification Help / GUI help
« on: May 22, 2010, 08:26:15 PM »
The variable dose not work.

Code: [Select]
CRP_Cash.setText("$ @ PitroRPData.getData(%data.bl_id).valueMoney");
Code: [Select]
//--- OBJECT WRITE BEGIN ---
new GuiTextCtrl(PitroGUI) {
   profile = "GuiTextProfile";
   horizSizing = "right";
   vertSizing = "bottom";
   position = "0 0";
   extent = "640 480";
   minExtent = "8 2";
   visible = "1";
   maxLength = "255";

   new GuiMLTextCtrl() {
      profile = "GuiMLTextProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "16 366";
      extent = "34 14";
      minExtent = "8 2";
      visible = "1";
      lineSpacing = "2";
      allowColorChars = "0";
      maxChars = "-1";
      text = "Cash";
      maxBitmapHeight = "-1";
      selectable = "1";
   };
   new GuiMLTextCtrl(CRP_Cash) {
      profile = "GuiMLTextProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "44 367";
      extent = "64 14";
      minExtent = "8 2";
      visible = "1";
      lineSpacing = "2";
      allowColorChars = "0";
      maxChars = "-1";
      text = "$";
      maxBitmapHeight = "-1";
      selectable = "1";
   };
};
//--- OBJECT WRITE END --
And brfore you say that im stupid because the GUI was not exucuted blah blah blah:
Code: [Select]
exec("./PitroGUI.gui");

26
Help / Team Scores
« on: May 11, 2010, 11:52:47 PM »
Is it possible to edit team scores in TDM with VCE? And if it is what would be the variable?

27
Modification Help / Local Chat (New problem)
« on: May 09, 2010, 11:43:30 PM »
It now messes with the chat commands. (^)
Code: [Select]
package PitroRP_chat
{
function ServerCmdMessageSent(%client, %text)
{
if (isObject(PitroRPMini) && $PitroRP::pref::server::localChat && isObject(%client.player))
{
%heard = 0;
// Amount of players in the area
InitContainerRadiusSearch(%client.player.getPosition(), $PitroRP::pref::server::visibleDistance, $TypeMasks::PlayerObjectType);
while((%search = ContainerSearchNext()) != 0)
%heard++;

%color = %heard > 1 ? "\c2" : "\c0";

// Send the message
InitContainerRadiusSearch(%client.player.getPosition(), $PitroRP::pref::server::visibleDistance, $TypeMasks::PlayerObjectType);
while((%search = ContainerSearchNext()) != 0)
{
messageClient(%search.client, 'chatMessage', %color @ "\c5" @ %client.clanPrefix @ "\c3" @ %client.name @ "\c5" @ %client.clanSuffix @ "\c6: " @ %text);
%heard++;
}
}
else
{
Parent::ServerCmdMessageSent(%client, %text);
}
}
};
activatePackage(PitroRP_chat);
Would replaceing
Code: [Select]
if (isObject(PitroRPMini) && $PitroRP::pref::server::localChat && isObject(%client.player))
with
Code: [Select]
if(getSubStr(%text, 1, 0) $= "^")
Fix it?'


quci edit: Also, Mctwist gave me permission.
Maybe because you can't just rip out code and slam your name all over it and expect it to work.
I don't mind. It's free source.
And heed, Just leave. You have ruined almost every damn help thread i make.

28
Gallery / Peggworth's Police station (BL_ID 9540)
« on: May 07, 2010, 10:20:34 AM »
I take very little no credit for this build. Pegg just never post anything. Because peggs old city hall was stolen by wicked i am posting this so we have proof is it ever gets stolen again. Will get more pics as the inside is finished.



29
Gallery / Pitro City (WIP)
« on: April 29, 2010, 11:25:59 PM »
Just some pics of the city. Built mostly by me. I am just posting cause i have been told that it may have been stolen.




\/This one was befor the terrain update! \/ 

30
Modification Help / Unkown Problem.
« on: April 11, 2010, 10:31:46 PM »
Screw it if you all are going to act like 5 year olds just cause its a bad mod, It basically Ruins the point of this forum.

Pages: 1 [2] 3 4