Server Help

Bot Questions - warp bot problems

Solo X - Sat Jun 11, 2005 7:24 pm
Post subject: warp bot problems
i have a warp plugin that i have in but for some reason its not working... plz tell me how to fix it...

[Warp0]
# ^------- Up to 256 warps

FromX1=504
FromY1=498


ToX=100
ToY=100

Ship=-1
# ^------- Ship to warp. -1 = any

Freq=-1
# ^------- Freq to warp. -1 = any, -2 = any public, -3 = any private

# Macros you can use:
# %name% - Name of player
# %points% - Points of player
# %squad% - Squad of player
# %freq1% - Freq of player. "(Private freq)" said if private
# %freq2% - Freq of player. Private freqs are said

PubAction0=
# ^--- Up to 10 actions

PrivAction0=
# ^--- Up to 10 actions

[Warp1]
# ^------- Up to 256 warps

FromX1=519
FromY1=498


ToX=925
ToY=100

Ship=-1
# ^------- Ship to warp. -1 = any

Freq=-1
# ^------- Freq to warp. -1 = any, -2 = any public, -3 = any private

# Macros you can use:
# %name% - Name of player
# %points% - Points of player
# %squad% - Squad of player
# %freq1% - Freq of player. "(Private freq)" said if private
# %freq2% - Freq of player. Private freqs are said

PubAction0=
# ^--- Up to 10 actions

PrivAction0=
# ^--- Up to 10 actions

[Warp2]

FromX1=498
FromY1=504


ToX=300
ToY=300

Ship=-1


Freq=-1



PubAction0=


PrivAction0=


[Warp3]


FromX1=525
FromY1=504


ToX=725
ToY=300

Ship=-1


Freq=-1



PubAction0=


PrivAction0=


[Warp4]


FromX1=498
FromY1=518


ToX=300
ToY=725

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp5]


FromX1=525
FromY1=518


ToX=725
ToY=725

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp6]


FromX1=504
FromY1=524


ToX=100
ToY=925

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp7]


FromX1=519
FromY1=524


ToX=925
ToY=925

Ship=-1


Freq=-1



PubAction0=


PrivAction0=

Purge - Sat Jun 11, 2005 8:08 pm
Post subject:
Well, the INI looks correct...
Muskrat - Sat Jun 11, 2005 8:14 pm
Post subject:
No it dosen't, on the FromX1= and FromY1= there's a reason that there is also a FromX2= and FromY2=. The from locations are to form a box that the person will be warped from, why you would jsut delete part of the ini, I don't know. Besides, Solo, didn't we discuss filling out ini's earlier? bleh :\
Purge - Sat Jun 11, 2005 8:16 pm
Post subject:
Meh, forgot.
Solo X - Sat Jun 11, 2005 8:45 pm
Post subject:
well i just want there to be one warp point
Solo X - Sat Jun 11, 2005 8:48 pm
Post subject:
could i just make the x2 and y2 the same as the x1 and y1 like this


[Warp0]
# ^------- Up to 256 warps

FromX1=504
FromY1=498

FromX2=504
FromY2=498


ToX=100
ToY=100

Ship=-1
# ^------- Ship to warp. -1 = any

Freq=-1
# ^------- Freq to warp. -1 = any, -2 = any public, -3 = any private

# Macros you can use:
# %name% - Name of player
# %points% - Points of player
# %squad% - Squad of player
# %freq1% - Freq of player. "(Private freq)" said if private
# %freq2% - Freq of player. Private freqs are said

PubAction0=
# ^--- Up to 10 actions

PrivAction0=
# ^--- Up to 10 actions

[Warp1]
# ^------- Up to 256 warps

FromX1=519
FromY1=498

FromX2=519
FromY2=498


ToX=925
ToY=100

Ship=-1
# ^------- Ship to warp. -1 = any

Freq=-1
# ^------- Freq to warp. -1 = any, -2 = any public, -3 = any private

# Macros you can use:
# %name% - Name of player
# %points% - Points of player
# %squad% - Squad of player
# %freq1% - Freq of player. "(Private freq)" said if private
# %freq2% - Freq of player. Private freqs are said

PubAction0=
# ^--- Up to 10 actions

PrivAction0=
# ^--- Up to 10 actions

[Warp2]

FromX1=498
FromY1=504

FromX2=498
FromY2=504

ToX=300
ToY=300

Ship=-1


Freq=-1



PubAction0=


PrivAction0=


[Warp3]


FromX1=525
FromY1=504

FromX2=525
FromY2=504

ToX=725
ToY=300

Ship=-1


Freq=-1



PubAction0=


PrivAction0=


[Warp4]


FromX1=498
FromY1=518

FromX2=498
FromY2=518

ToX=300
ToY=725

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp5]


FromX1=525
FromY1=518

FromX2=525
FromY2=518


ToX=725
ToY=725

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp6]


FromX1=504
FromY1=524

FromX2=504
FromY2=524

ToX=100
ToY=925

Ship=-1


Freq=-1


PubAction0=


PrivAction0=


[Warp7]


FromX1=519
FromY1=524

FromX2=519
FromY2=524


ToX=925
ToY=925

Ship=-1


Freq=-1



PubAction0=


PrivAction0=
Purge - Sat Jun 11, 2005 8:59 pm
Post subject:
Yes, you can, but they have to be there.
Solo X - Sat Jun 11, 2005 9:18 pm
Post subject:
k ... thank you
Muskrat - Sat Jun 11, 2005 9:53 pm
Post subject:
I'm really not sure whether it counts the borders, but a 1-tile box is kinda small anyhow. You should probably make it like this for the first one:
Code: Show/Hide
FromX1=503
FromY1=497

FromX2=505
FromY2=499


Although I would probably go even bigger as it will also compensate for any lag there might be.
Purge - Sat Jun 11, 2005 9:55 pm
Post subject:
1 tile works for me.
Solo X - Sun Jun 12, 2005 4:44 pm
Post subject:
its still isnt working here is wat i have the code at

Code: Show/Hide
[Warp0]
#    ^------- Up to 256 warps

FromX1=504
FromY1=498

FromX2=504
FromY2=497

ToX=100
ToY=100

Ship=-1
#    ^------- Ship to warp. -1 = any

Freq=-1
#    ^------- Freq to warp. -1 = any, -2 = any public, -3 = any private

# Macros you can use:
#   %name%   - Name of player
#   %points% - Points of player
#   %squad%  - Squad of player
#   %freq1%  - Freq of player. "(Private freq)" said if private
#   %freq2%  - Freq of player. Private freqs are said

PubAction0=
#        ^--- Up to 10 actions

PrivAction0=
#        ^--- Up to 10 actions

[Warp1]
FromX1=519
FromY1=498
FromX2=519
FromY2=497
ToX=925
ToY=100
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp2]
FromX1=498
FromY1=504
FromX2=497
FromY2=504
ToX=300
ToY=300
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp3]
FromX1=525
FromY1=504
FromX2=526
FromY2=504
ToX=725
ToY=300
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp4]
FromX1=498
FromY1=518
FromX2=497
FromY2=518
ToX=300
ToY=725
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp5]
FromX1=525
FromY1=518
FromX2=526
FromY2=518
ToX=725
ToY=725
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp6]
FromX1=504
FromY1=524
FromX2=504
FromY2=525
ToX=100
ToY=925
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

[Warp7]
FromX1=519
FromY1=524
FromX2=519
FromY2=525
ToX=925
ToY=925
Ship=-1
Freq=-1
PubAction0=
PrivAction0=

Muskrat - Sun Jun 12, 2005 10:07 pm
Post subject:
Solo X wrote:

FromX1=504
FromY1=498

FromX2=504
FromY2=497


Look at this, it a negative rectangle, the froms form a BOX, where the x1 and y1 coord makes the upper left corner, and the x2 and y2 for the bottom right corner. Try putting what I said in the earlier post for that instead.
Solo X - Tue Jun 14, 2005 12:50 pm
Post subject:
aight i got it to work... thankz for the help
Anonymous - Mon Jun 20, 2005 5:32 pm
Post subject:
I'm having this problem aswell, I don't understand this. I hate math 8(
Muskrat - Mon Jun 20, 2005 7:20 pm
Post subject:
math?!?!?! who said anything about math? this is simple counting, one square.... two squares... put in the number...

Just look at the map as a grid of tiles, and specify the top-left coords of the box from which someone will be warped with fromx1 and fromy1, and fromx2 and fromy2 for the bottom-right. Then use tox and toy to specify the destination.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group