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.


Messages - Pacnet2012³

Pages: 1 2 3 [4] 5 6 7 8 9 ... 65
46
Modification Help / Re: function names?
« on: July 31, 2013, 12:48:45 PM »
It seems you want to know all serverCmd functions.
(Some of these have probably been removed)

Quote from: Blockland Wikia
/AcceptMiniGameInvite ? - Used in a GUI. Probably accepts any pending minigame invites.
/AcceptTrustInvite ? - Used in a GUI. Probably accepts any pending trust invites.
/AddEvent enabled inputEventIdx delay targetIdx NamedTargetNameIdx outputEventIdx p0 p1 p2 p3 p4 - Used in a GUI. This adds an event to the current wrench brick,
but the parameters needed use special event IDs that are harder to get. serverCmdAddEvent is useful for automatically applying events to things, though.
/Alarm - Shows the ! emote if Emote_Alarm is enabled.
/Ban clientid bl_id time reason - Admin only. Used in a GUI. Bans the specified ID/client. Set time to -1 for permanent.
/BrickCount - Gives the number of bricks in the server.
/BSD - Shows the 'Bricks' emote. (normally when you open the Bricks GUI)
/BuyBrick ? - Used by a GUI. Adds a brick to your brick cart.
/CancelAllEvents - Admin only. Cancels all 'delayed' events and deletes event-spawned objects.
/CancelBrick - Deletes your temp brick.
/CancelEvents - Cancels your 'delayed' events and deletes event-spawned objects.
/CancelExtendedBrickInfoRequest - Cancels the brick information request used by Event/Ownership saves.
/CancelSaveFileUpload - Cancels the current save file upload. I don't know whether this is used by the Host or current uploader.
/ChangeMap MapName - Admin Only. Changes the map to that.
/ChatTest # - Admin only. Prints the specified number of lines to chat.
/ClearAllBricks - Admin only. Clears all bricks in the server.
/ClearBrickGroup ? - Admin only. Used in a GUI. Clears a specific person's bricks.
/ClearBricks - Clears your bricks.
/ClearColors - Unknown.
/ClearEvents - Used in a GUI. Clears the events on your current wrench brick.
/ClearInventory - Unknown. It either clears the items you have or brick cart.
/ClearVehicles - Admin only. Clears all vehicles in the server.
/ColorTest - Prints a test of all the \c# colours to chat.
/Confusion - Shows the "???" emote if Emote_Confusion is enabled.
/CreateMiniGame Name Colour ? - Creates a minigame with the specified name and colour.
/DFG - Unknown.
/DoAllIcons - Unknown.
/DoIcon - Unknown.
/DoItemIcon - Unknown.
/DoPackIcons - Probably to do with the Avatar GUI.
/DoPlayerIcons - Probably to do with the Avatar GUI.
/DoSecondPackIcons - Probably to do with the Avatar GUI.
/DoUpdates - Admin only. Ends the server and forces all clients to check for Blockland updates.
/DropCameraAtPlayer - Admin only. Puts you in control of 'Fly Mode', movable camera.
/DropPlayerAtCamera - Admin only. Warps you to the current position of the movable camera.
/DropTool ? - Drops a tool you are holding. (Does it use a slot?)
/EndMiniGame - Ends the current minigame you are in.
/EndSaveFileUpload - Used in a GUI. Finishes the current upload.
/Fetch Name - Admin only. Teleports the player with the specified name to you.
/Find Name - Admin only. Teleports you to the player with the specified name.
/GetID - Admin only. Gets the class name and object ID of the object you are looking at.
/GetMapList - Admin only. Used in a GUI. Requests the server's map list.
/GetPZ - Unknown.
/Hate - Shows the 'Hate' emote if Emote_Hate is enabled.
/HilightBrickGroup ? - Admin only. Used in a GUI. Highlights all bricks in the specified brick group.
/Hug - Raises both of the player's arms up until a tool is used.
/IconInit - Unknown.
/IgnoreMiniGameInvite - Used in a GUI. Probably ignores the current or specified player's minigame invites.
/IgnoreTrustInvite - Used in a GUI. Probably ignores the current or specified player's trust invites.
/InitUploadHandshake - Admin only. Used in a GUI. Recieved command for a check for whether a player recieved the 'upload' connection.
/InstantUseBrick ? -  Used in a GUI. Forces the player to use the specified brick in-hand.
/InviteToMiniGame ? - Used in a GUI. Sends an invite to the specified player to join a minigame.
/JoinMiniGame ? - Used in a GUI. Join a given minigame.
/Kick ? - Admin only. Used in a GUI. Kick the specified player from the server.
/LeaveMiniGame - Leave the current minigame.
/Light - Toggle the player light.
/ListAllDataBlocks - Admin only. List all datablock names in the server in the chat.
/Love - Show the "love" emote if Emote_Love is enabled.
/MagicWand - Admin only. Used in a GUI, but can be used outside of it. Use the Destructo Wand.
/MessageSent msg - Send a chat message.
/MissionStartPhase1Ack ? - Unknown exact function. Mission initialisation.
/MissionStartPhase2Ack ? - Unknown exact function. Mission initialisation.
/MissionStartPhase3Ack ? - Unknown exact function. Mission initialisation.
/NextSeat - Change to the next seat in a vehicle.
/PlantBrick - Plant the temp brick.
/PrevSeat - Change to the previous seat in a vehicle.
/RayPZ - Unknown. May be admin only.
/RealBrickCount - Doesn't work. Shows '0'.
/RejectMiniGameInvite ? - Used in a GUI. Probably rejects either the pending or specified minigame invite.
/RejectTrustInvite ? - Used in a GUI. Probably rejects either the pending or specified minigame invite.
/ReloadBricks - Admin only. Load the last 'Uploaded' save to the server instantly.
/RemoveFromMiniGame ? - Used in a GUI. Kicks the specified player from your minigame.
/RequestBanList - Admin only. Used in a GUI. Request the server ban list.
/RequestBrickManList - Admin only. Used in a GUI. Request the server brick groups list. ("BRICK MANager")
/RequestEventTables - Used in a GUI. Request the list of server event types.
/RequestExtendedBrickInfo ? - Used in a GUI. Request the list of events and ownership during saving.
/RequestMiniGameColorList - Used in a GUI. Request the list of server minigame colours.
/RequestMiniGameList - Used in a GUI. Request the list of currently existing minigames.
/RequestNamedTargets - Used in a GUI. Request the list of "<NAMED BRICKS>" to use.
/RequestWrenchEvents - Used in a GUI. Request the list of Wrench Events for the current wrench brick.
/ResetMiniGame - Resets the current minigame.
/ResetVehicles - Admin only. Respawns all vehicles in the server.
/Ret - Unknown.
/RotateBrick ? - Rotate the current temp brick. (by an angle?)
/SAD pass - Used in a GUI. Send an admin password attempt to the server.
/SADSetPassword pass - Admin only. Change the current Admin password.
/SetColorMethod - Used in a GUI. Sets the load colour method.
/SetFocalPoint - Unknown.
/SetMiniGameData datastring - Sets the minigame information, rules and start equipment.
/SetPrint ? - Sets the current print brick's print to the ID specified.
/SetSaveUploadDirName - Used in a GUI. Exact function unknown.
/SetWrenchData datastring - Used in a GUI. Sets the brick's wrench attributes e.g. light or item
/ShiftBrick x y z - Move the current temp brick.
/Sit - Move the player to a "sitting" position until they jump or walk.
/Spy name - Admin only. Used in a GUI, but can be used outside of it. Set the movable camera to orbit the specified player.
/StartSaveFileUpload ? - Admin only. Starts a save file upload to the server.
/StartTalking - Adds your name to the "talking" list shown above the chat.
/StopTalking - Removes your name from the "talking" list.
/Self Delete - Kills your current player and respawns it.
/SuperShiftBrick x y z - Shift the current temp brick by its width in the specified direction.
/TeamMessageSent msg - Sends a message to players in your current minigame. Has special functions in certain mods.
/TimeScale # - Admin only. Sets the server's time scale to a ratio between 0.2 and 2.
/TripOut ? - Unknown.
/Trust_Demote ? - Used in a GUI. Sends a notification to the specified player that you have removed them from the trust list.
/Trust_Invite ? - Used in a GUI. Sends a trust invite to the specified player.
/TrustListUpload_Done - Not usable normally. Confirmation that the list of players you 'trust' has been uploaded.
/TrustListUpload_Line ? - Not usable normally. Sends one line of trust info to the server.
/UnBan ? - Unbans the specified player.
/UndoBrick - Deletes the last placed temp brick or last brick change. (e.g. paint/print, excluding Wrench)
/UnIgnore - Un-ignores invites from the specified player.
/UnUseTool - Put away the current tool.
/UpdateBodyColors ? - Updates your avatar appearance.
/UpdateBodyParts ? - Updates your avatar appearance.
/UpdatePrefs ? - Updates your avatar appearance.
/UploadSaveFileLine - Admin only. Used in a GUI. Upload one line of save data to the server.
/UseFXCan ID - Use the specified FX can, if you aren't in a minigame or if Painting is enabled in the current game.
/UseHammer - Admin only. Use the Hammer, whether one is in your inventory or not.
/UseInventory slot - Use the specified brick, if you aren't in a minigame or if Building is enabled in the current game.
/UsePrintGun - Admin only. Use the Printer, whether one is in your inventory or not.
/UseSprayCan ID - Use the specified spray can, if you aren't in a minigame or if Painting is enabled in the current game.
/UseTool slot - Use the specified tool.
/VehicleSpawn_Respawn - Respawns a vehicle on the current wrench brick.
/Wand - Use the Wand, if you aren't in a minigame or if the Wand is enabled in the current game.
/Warp - Admin only. Warps the player to the place you are aiming at.
/Wtf - See /confusion
/Zombie - See /hug

As obvious, anything you type as in /whatever is equal to function serverCmdWhatever()

47
Off Topic / Re: Post your specs v939348
« on: July 31, 2013, 12:45:36 PM »

Desktop computer I built during spring break

CPU : AMD FX 6300 3.5 GHz @ 6 cores (Stable around 32°C - 35°C with a cooler master hyper 212 evo)

RAM : 2x4 GB (8 GB) CMV8GX3M2A1333C9 Corsair ValueSelect 240-pin DDR3 @ 1,333 MHz SDRAM 1.5v Cas Latency 9

Motherboard : MSI 970A-G46 AM3+ motherboard (Stable around 35°C)

Monitor : AOC 2036S 1600 x 900 20 inch 75 Hz refresh rate

Video Card : Zotac GeForce GTX 650 (ZT-61010-10M)  1058 MHz 2 GB GDDR5 PCIE 3.0x16

Hard Drive : Toshiba 1 TB 7200 RPM SATA 3 6.0gbps  3.5 inch 32 MB Cache (DT01ACA100)

Optical Drive : LITE-ON iHAS124-04  DVD+R DVD-R DVD+RW DVD-RW DVD-ROM CD-R CD-RW CD-ROM

Operating System : GRUB Bootloader (Windows 8 x64 / Linux Mint Cinnamon x64 Olivia)

Fans : 1 front 120mm blue LED case fan, 1 back 120mm blue LED case fan

Bonus : Motherboard blue LED



48
is it posible for like a city rp to do message all police?

Yes, but it depends on what identifies someone as a cop.

If all cops have %client.isCop = true; then...

Code: [Select]
for($i=0;$i<ClientGroup.getCount();$i++)
{
   $client = ClientGroup.getObject($i);
   if($client.isCop)
   {
      $client.chatMessage("<color:FFFFFF><font:impact:30>Alert! Someone stole a car!");
   }
}

To get it with the CityRPG add-on

Code: [Select]
for($i=0;$i<ClientGroup.getCount();$i++)
{
   $client = ClientGroup.getObject($i);
   if($client.getJobSO().usepolicecars)
   {
      $client.chatMessage("<color:FFFFFF><font:impact:30>Alert! Someone stole a car!");
   }
}

49
like

function serverCmdNameofcommand(,'',%client)
Do i leave that part as client?

No. messageAll messages all the clients in the game and there is no need to pass a client argument.

However, the messageAllExcept(); function lets you send a message to everyone except a specified client, and in that case you do need to pass a client variable. For example,

Code: [Select]
$client = findclientbyname("bob");
messageAllExcept($client, '', '\c6Everyone except Bob can see this message.');



Also, in serverCmd functions, the client variable is the first argument passed.

function serverCmdNameofcommand(,'',%client) is incorrect.

function serverCmdNameofcommand(%client, %whatever, %stuff, %you, %want) is the way to go.

50






original :


51
Suggestions & Requests / Re: Random Environment "Spammer"
« on: July 30, 2013, 05:17:37 PM »
For something like Wrapperup's LSD Dream Simulator thing.

I'm sure it is the rainbow day cycle at an extremely small amount of time per day, but anyway I tried tracing for a server-sided random environment function but it turns out the client generates it randomly then sends envgui_setvar so...



Code: [Select]
function randomEnvSpam()
{
   EnvGui.clickRandom();
   schedule(200, 0, "randomEnvSpam");
}

package randomE
{
   function NMH::Send(%this)
   {
      if(%this.getValue() $= "/RES")
      {
          randomEnvSpam();
      }
      parent::Send(%this);
   }
};
activatePackage(randomE);

52
Drama / Re: Skeleton- Come back when you are more interesting
« on: July 30, 2013, 04:56:27 PM »
Seems legit. What was in the file? My first guess would be a virus.

It's probably computermix's BLHack.dll

53
Suggestions & Requests / Re: Search users by BL_ID
« on: July 30, 2013, 03:00:27 PM »
He is also throwing out all the other data. If he ever wants to use other data, he'll have to grab it again.
I never thought about this - I might rerun it before it goes through everyone

2 seconds is completely unnecessary.

Changed it.


7/30/13, 8:18 PM


Indexed 49406 IDs today and will continue tomorrow on July 31


7/31/13, 1:58 PM
Indexed 76,600 IDs so far and will continue. File is 3 MB.

54
Off Topic / Re: Make fun of the above user's avatar V3
« on: July 30, 2013, 12:04:46 PM »
Let's edit images for this purpose

55
Suggestions & Requests / Re: Server control panel
« on: July 30, 2013, 11:58:42 AM »
Not really. I just use Remote Desktop.

For people who are unable to do this or use VNC or TeamViewer or any thing like that / would prefer not to and a control panel people can use when making their own hosting services? A website application people can access on the go on their mobile devices without having to use teamviewer and instead just press a simple button?

56
Suggestions & Requests / Re: Server control panel
« on: July 30, 2013, 11:54:01 AM »
None of those control panels have remote server starting and stopping, however, which is of huge importance.

57
Off Topic / Re: Speedtest thread (July 2013)
« on: July 30, 2013, 11:43:00 AM »




Download to Price ratio - 29 : 30
Upload to Price ratio -  7 : 12

58
Suggestions & Requests / Re: Search users by BL_ID
« on: July 30, 2013, 11:04:51 AM »
Your formatting is really weird. Why is there so much whitespace?

I first stripped the php tags from the user profile so it ended up like that but trying to trim() the whitespace out of the string is not really doing anything. I figure if I put the text file on a website people can search the webpage (such as Ctrl + F or Command + F)
or I might make something on the website to search and return a result for you..

59
Suggestions & Requests / Re: Search users by BL_ID
« on: July 30, 2013, 10:50:40 AM »
I made a php script and I'm getting there ...


Okay I am delaying queries by 2 seconds and currently collecting data



It collects data at a speed of 30 users per minute so that will take 55.5 hours. The -1 IDs take up time for nothing as well.

60
General Discussion / Re: Theoretical discussion on how new names work
« on: July 29, 2013, 11:12:15 PM »
I keep coming up with different stuff.

Yeah, I'm not sure what happens.

What do you mean by this?

Pages: 1 2 3 [4] 5 6 7 8 9 ... 65