Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
1v1 Dueling (mav's)

 
Post new topic   Reply to topic Printable version
 View previous topic  Is there a way to kill a player with a... Post :: Post Okay heres the bottom line...  View next topic  
Author Message
Dueler
Guest


Offline

PostPosted: Thu Sep 29, 2005 9:21 am    Post subject: 1v1 Dueling (mav's) Reply to topic Reply with quote

I know mav made a duel bot; but the ini is so fucking confusing! Can someone explain the layout to me in better detail than his?
Back to top
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Sep 29, 2005 9:50 am    Post subject: Reply to topic Reply with quote

This is the duel.ini
Code: Show/Hide


[Boxes]
// Portals should be near the respawn area: bot warps players from here to the duel box
// Erase the boxes you don't need, 0-7 are supported
// Syntax: 0=x1 y1 x2 y2  x3 y3  x4 y4  x5 y5 x6 y6 name
//          source portal   |      |         |
//                     first drop  |         |
//                          second drop      |
//                                    box rectangle

//               ||       ||       ||               |
0=508 488 511 494  290 138  432 280  285 133 437 285 1 - North-West

All you need to do is to specify coordinates. Coordinates are paired; a x-coordinate and an y-coordinate number.

For each box you write a line like this:
0=<warp box coords> <spawn position player 1 inside duel box> <spawn position player 2 inside duel box> <duel box top left coord> <duel box bottom right coord> <Duel box name>

So you get for example:
0=508 488 511 494 290 138 432 280 285 133 437 285 This is Duel Box 1!

And for the second duel box:
1=487 506 493 509 138 290 280 432 133 285 285 437 This is Duel Box 2!

For each duel box, increase the number before the = .

How to get the Coordinates, Warp Box:
Click the Select tool
Select the area and get the numbers from the bottom status bar.
Notice how the numbers from this picture match the numbers in the CODE example.

How to get the Coordinates, Spawn Point 1:
Hold your mouse above the point where you want player #1 to spawn. Remember and write down the coordinates.

And the same for the rest.

BTW. I used SSME in the example images.
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics




select.png - 9.09 KB
File downloaded or viewed 10 time(s)

warpbox.png - 14.86 KB
File downloaded or viewed 11 time(s)

spawnpoint.png - 11.95 KB
File downloaded or viewed 9 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Thu Sep 29, 2005 3:52 pm    Post subject: Reply to topic Reply with quote

Really. If you need a graphic tutorial to explain it, why not make it simpler? What ever happened to
Code: Show/Hide
[Box1]
Portal=
FirstDrop=
SecondDrop=
Box=

_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Sep 29, 2005 5:48 pm    Post subject: Reply to topic Reply with quote

lazyness to change the original bot sa_tongue.gif

http://catid.ssihosting.com/files/plugins/duel.zip

It's not really that hard at all and you only need to do it once to setup the bot.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Agurus
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: May 05 2004
Posts: 353
Location: SSCI Halo
Offline

PostPosted: Tue Oct 04, 2005 11:23 am    Post subject: Reply to topic Reply with quote

Quote:

duel.dll build 1


Warnings:
If you decide to let the bot manage doors to indicate locked duel
boxes (recommended), the bot REQUIRES SYSOP.


About:
Hosts 1v1 duels. Players cannot interfere with duels.
Resets ships in safety zones.
Does not require players to learn bot !commands.

Does not keep score. Players decide how scores work,
when kills are disqualified, etc.


Installation:
Copy duel.dll and duel.ini to your MERVBot folder.
In spawns.txt, use duel.dll instead of blank.


In arena settings:

[+] optional: have the server allocate one player per team.
Why?
Because duels are 1v1, there is no reason to have teams.

[+] optional: disallow player attaching.
Why?
Players could otherwise jump into another pair's duel.
If you want to allow players to duel as turrets, skip this step.

{+} Make players spawn directly in the center.
Why?
There can be only one portal gate for each duel box, so the gates
should be centrally located. Ergo, the players should also be
centrally located, so they can easily get to the gates.
A safety zone in the center would be a good idea.


In the map:

{+} Create one portal gate for each duel box. Each gate should use a different
door tile type. The gates should be rectangular, and labelled with the name
of the duel box they connect to. They should be outside of the duel boxes.
Why?
When players enter a gate, they are warped to the associated duel box.
If the duel box is full, the gate's door tiles will be illuminated.
The gate area is rectangular, so the door tiles should be the same shape.
Labels are important so players can call others to their box.
NOTE: Only one gate for each duel box is allowed, DO NOT set up your
duel.ini such that more than one entry links to the same place.

{+} Create your duel boxes. They must be generally rectangular in shape.
Place them far from the central respawn area.
Why?
This is a limitation of the bot, which is unlikely to change.
Rectangles are a convenient way to describe the structures in duel.ini

{+} Boxes are enclosed. There should be no way to fly out of each duel box.
Why?
If a player is outside of a duel box, the box is re-opened for other players.

{+} Put at least a 3x3 square of safety tile under where you want players to
be transported when they enter the box. Create two of these regions
and place them at opposite ends of the duel box, preferably in corners.
Why?
Players could be spawn-killed easily without these areas.
They'll be warped to these drop points when they enter a portal gate.
Testing indicates that players prefer drop points to be located in box
corners, though this is not necessary.


In duel.ini:

1) Delete the example lines starting with #=.

For each duel box:

2) Create a line starting with the door tile value.

How to get the door tile value?
The door tile value can be found in SSME by clicking the dropper
tool and clicking a door tile used by one of the portal gates.
In the "Tileset" window, the appropriate door tile will be
selected. The number of tiles from the selected tile and the
first door tile is the number you should start with. This
number should be in the range of 0 to 7.

3) Press '=' and type the x y coordinates of the upper left tile in
the portal gate. Then type the x y coordinates of the lower right
tile in the portal gate. Separate each coordinate by white space.

Example:
#=x y x y
0=100 120 150 170

4) Type the x y coordinates of the first and second drop points.
These are the areas where players are dropped in the duel box.
Again, separate with white space.

Example:
#=x y x y x y x y
0=100 120 150 170 110 130 140 160

5) Type the x y coordinates of the upper left bound of the duel box.
Then type the x y coordinates of the lower right bound of the duel box.
You should go slightly outside of the actual bounds of the duel box,
because laggers may drift outside the box in the bot's eyes.

6) Type the name of the duel box. Ideally this would include
a name, a direction in which to find its portal, and an informal name.

Example:
0= ... 1 North - Bumpy Box

7) Repeat from #2 for each duel box.

Now you are ready to use the bot!



That is so damn detailed; You should upload a sample map or something
_________________
X-SSCI Halo CTF Administrator

"I used to do drugs. I still do, but I used to, too."
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Oct 04, 2005 3:27 pm    Post subject: Reply to topic Reply with quote

It's not that hard.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Tue Oct 04, 2005 4:30 pm    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
What ever happened to
Code: Show/Hide
[Box1]
Portal=
FirstDrop=
SecondDrop=
Box=


Cyan is right. That would be more userfriendly and just as much programming work any ways.
Back to top
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Tue Oct 04, 2005 7:12 pm    Post subject: Reply to topic Reply with quote

what do you put in for the BOX= part? Can some a sample map or something
Back to top
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Wed Oct 05, 2005 3:15 am    Post subject: Reply to topic Reply with quote

Guest, the plugin doesn't use
Code: Show/Hide
[Box1]
Portal=
FirstDrop=
SecondDrop=
Box=


Follow the directions in the 2nd post of this thread or Agurus post.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solid_Fire
Server Help Squatter


Age:35
Gender:Gender:Male
Joined: Dec 22 2004
Posts: 327
Location: NV. Dont stalk me..plz..
Offline

PostPosted: Sat Oct 08, 2005 6:03 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
// Duel boxes should have no exits and fit within a rectangle

[Boxes]
// Portals should be near the respawn area: bot warps players from here to the duel box
// Erase the boxes you don't need, 0-7 are supported
// Syntax: 0=x1 y1 x2 y2  x3 y3  x4 y4  x5 y5 x6 y6 name
//          source portal   |      |         |
//                     first drop  |         |
//                          second drop      |
//                                    box rectangle
0=510 489 513 493  424 256  599 417  415 245 710 485 1 North - Regular
2=510 531 514 535  424 610  599 771  409 595 609 782 2 South - Regular


Ok, i have a couple questions.

This Set of coords, (
Code: Show/Hide
510 489 513 493
)
are the warp box coords, correct? (whereas you go into the box and get warped directly to the duel box)

Im not really understanding what the other sets of coords are for, im at a brainfart at the moment, so can someone please help me out..?
_________________
Unknown Webmaster, Confused Game Player
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Oct 09, 2005 3:56 am    Post subject: Reply to topic Reply with quote

<warp box coords> <spawn position player 1 inside duel box> <spawn position player 2 inside duel box> <duel box top left coord> <duel box bottom right coord> <Duel box name>

The <warp box coords> are like the set of coords you posted; 510 489 513 493. The rest of the coordinates you need to enter are described above.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solid_Fire
Server Help Squatter


Age:35
Gender:Gender:Male
Joined: Dec 22 2004
Posts: 327
Location: NV. Dont stalk me..plz..
Offline

PostPosted: Sun Oct 09, 2005 3:57 am    Post subject: Reply to topic Reply with quote

Oh ok, thank you mav, Appreciate it icon_smile.gif I Just got a little confused. It happens.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Oct 09, 2005 3:58 am    Post subject: Reply to topic Reply with quote

No problem, good luck with it.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solid_Fire
Server Help Squatter


Age:35
Gender:Gender:Male
Joined: Dec 22 2004
Posts: 327
Location: NV. Dont stalk me..plz..
Offline

PostPosted: Sun Oct 09, 2005 9:24 pm    Post subject: Reply to topic Reply with quote

Hmm, it seems that when i try and go into the box, it doesnt warp me any where....does there need to be some kind of "Warp Tile" or something..i think im missing something...i'v got the warp box coords setup and stuff :/..so much thinking my it hurts.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Oct 10, 2005 4:33 am    Post subject: Reply to topic Reply with quote

Copy/Paste your .ini and your map (or PM it) so I can check it for errors.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solid_Fire
Server Help Squatter


Age:35
Gender:Gender:Male
Joined: Dec 22 2004
Posts: 327
Location: NV. Dont stalk me..plz..
Offline

PostPosted: Tue Oct 11, 2005 9:06 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
// Duel boxes should have no exits and fit within a rectangle

[Boxes]
// Portals should be near the respawn area: bot warps players from here to the duel box
// Erase the boxes you don't need, 0-7 are supported
// Syntax: 0=x1 y1 x2 y2  x3 y3  x4 y4  x5 y5 x6 y6 name
//          source portal   |      |         |
//                     first drop  |         |
//                          second drop      |
//                                    box rectangle
0=467 482 511 545  197 508  305 509  415 245 710 485 Duel Box 1
1=510 531 514 535  424 610  599 771  409 595 609 782 Duel Box 2


I'll pm you the map.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Oct 13, 2005 5:37 am    Post subject: Reply to topic Reply with quote

This is your code and it should work. What you did wrong is that you took the coordinates from the wrong textbox of SSME. You need to take the coordinates from the most right one, not the one in the middle.



Code: Show/Hide
// Duel boxes should have no exits and fit within a rectangle

[Boxes]
// Portals should be near the respawn area: bot warps players from here to the duel box
// Erase the boxes you don't need, 0-7 are supported
// Syntax: 0=x1 y1 x2 y2  x3 y3  x4 y4  x5 y5 x6 y6 name
//          source portal   |      |         |
//                     first drop  |         |
//                          second drop      |
//                                    box rectangle
0=491 510 496 513  198 509  306 511  196 471 310 550 Duel Box 1
1=527 510 532 513  828 510  721 511  716 467 833 552 Duel Box 2
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solid_Fire
Server Help Squatter


Age:35
Gender:Gender:Male
Joined: Dec 22 2004
Posts: 327
Location: NV. Dont stalk me..plz..
Offline

PostPosted: Thu Oct 13, 2005 6:52 pm    Post subject: Reply to topic Reply with quote

Ohh ok, thank you. I'll remember that next time. Appreciate the help mav icon_smile.gif.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 27 page(s) served in previous 5 minutes.

phpBB Created this page in 0.480155 seconds : 44 queries executed (89.3%): GZIP compression disabled