v3 Guide to Making a Good Server

Author Topic: v3 Guide to Making a Good Server  (Read 16548 times)

Quote
no i could join servers before

had same problem but it was cuz some1 was so stupid to have (spelled bad) post multiplayer out

about that plut hook is it better or not better?!

where can i find plut hook? seeking every where (at shapes)
please dont say (...)spelled wrong
« Last Edit: July 01, 2006, 04:10:38 PM by remco138 »

Its about the same and go to weapons > Hook and change the mat its made from to plut.

can some one put v3 on bjwaymods.net and on v3 can you have a account

ty....some1 must join my server!

im setting it up now.

change the matt? only ting i see tehre is
mat1 0
mat2 0
mat3 0
mat4 0
how can i make that in plut?!
« Last Edit: July 02, 2006, 04:22:22 AM by remco138 »

rudyman

  • Guest
ty....some1 must join my server!

im setting it up now.

change the matt? only ting i see tehre is
mat1 0
mat2 0
mat3 0
mat4 0
how can i make that in plut?!

This is all in my guide, remco.

mat1 7
mat2 7
mat3 7
mat4 7
mat5 7

lies

it isnt 7 lol i tried it must be 5

Grist Mill

  • Guest
do you have to have blockland to have world editor?

or any other TGE game that has world editor


i have 2 problems if i try to copy a house (ctrl c - ctrl v)
its total black

and if i save it wond save my logs :(

(i need to use scaled boxes D"-:

k1l4l4

  • Guest
To make a fireball shooting horse, do the same steps as the superhorse but use an orc instead of an admin.

i have 2 problems if i try to copy a house (ctrl c - ctrl v)
its total black

and if i save it wond save my logs :(

(i need to use scaled boxes D"-:

you need to relight scene to get the house to be lighted man....
no idea on the logs

rudyman

  • Guest
To relight the scene, press 'alt L' while in the world editor. This will make the buildings the correct color. There's no reason why only your logs wouldn't save. Maybe you're not saving correctly (just do file > save....) though this will overwrite your normal port town mission file, which i suggest you backup.

-EDIT-
I've had requests for people about building a jail. Here's the script to do it:
*NOTE* if you don't understand what i say below, do NOT try to do it!

Just add the code below into a blank space (like line 4) of your 'main.cs' file (it's in your root aot folder.)
*Note*: replace the blank in setTransform("_____________");  with coordinates to where your jail is.
If you don't know how to get the coordinates of where your jail is, i suggest you don't try this at all.

Once you've added the code, launch AoTv3 and open the GUI editor. Add 2 buttons to the adminGUI menu (just copy and paste an existing button) and make the command for the first button commandToServer('jailPlayer'); and for the second button, change the command to commandToServer('unjailPlayer');. Click Apply. If you don't know how to do this, don't try it.

*NOTE* the following script was made completely by me (rudyman). I worked hard to get it to work.

Code: [Select]
function serverCmdJailPlayer(%client)
{
%clientguy = %client.getControlObject();
%victimx = lstAdminPlayerList.getSelectedId();
%victim = %victimx.getControlObject();
%cname = %clientguy.getShapeName();
%vname = %victim.getShapeName();
$vpos = %victim.getTransform();
%victim.setTransform("_____________");
%victim.isTimeout = 1;
messageClient(%victimx, '', '\c3You have been jailed by %1!', %cname);
messageClient(%client, '', '\c3You have jailed %1!', %vname);
messageAll("", '\c3%1 was jailed by %2.', %vname, %cname);
}

function serverCmdUnJailPlayer(%client, $vpos)
{
%clientguy = %client.getControlObject();
%victimx = lstAdminPlayerList.getSelectedId();
%victim = %victimx.getControlObject();
%cname = %clientguy.getShapeName();
%vname = %victim.getShapeName();
%vx = getWord($vpos,0);
%vy = getWord($vpos,1);
%vz = getWord($vpos,2);
%victim.setTransform(%vx SPC %vy SPC %vz);
%victim.isTimeout = 0;
messageClient(%victimx, '', '\c3You have been released by %1!', %cname);
messageClient(%client, '', '\c3You have released %1 from jail!', %vname);
messageAll("", '\c3%1 was released from jail by %2.', %vname, %cname);
}
« Last Edit: July 13, 2006, 09:32:01 PM by rudyman »

TY I am too lazy and I haven't studied scripts or C++ for  too long to do that myself.

*%vpos = %victim.getTransform();


%victim.setTransform(%vx SPC %vy SPC %vz);
                                     ^
                                   WTF(where they WERE?(i think))
« Last Edit: July 13, 2006, 09:49:13 PM by Anti-Cop »

rudyman

  • Guest
TY I am too lazy and I haven't studied scripts or C++ for  too long to do that myself.

*%vpos = %victim.getTransform();


%victim.setTransform(%vx SPC %vy SPC %vz);
                                     ^
                                   WTF(where they WERE?(i think))

I made it so that when you unjail the player, it teleports them to where they were just before they got jailed.