Thread

Location (Sdk)

Location // Sdk

1  |  

bambam

Nov 20, 2000, 3:00pm
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C05318.9AF14EC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Can anyone give me a sample of how to turn a textbox input of e.g.:

10S 12E 0.5A 30

Into numbers a bot can use for teleportation, like

North =3D -10000
West =3D -12000
Alt =3D 5000
Rot =3D 3000

Thanks,

BamBam

btw I am using VBsdk but if you give me the answer in C++ I think I can =
convert for myself


------=_NextPart_000_0008_01C05318.9AF14EC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Can anyone give me a sample of how to =
turn a=20
textbox input of e.g.:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><EM>10S 12E 0.5A 30</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Into numbers a bot can use for =
teleportation,=20
like</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>North =3D -10000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>West =3D -12000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Alt =3D 5000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Rot =3D 3000</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>BamBam</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>btw I am using VBsdk but if you give me =
the answer=20
in C++ I think I can convert for myself</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0008_01C05318.9AF14EC0--

hal9000

Nov 20, 2000, 7:30pm
i just recently made that happen... lemme find my code and post it here for
ya :-)

--
-=Hal9000=- world:Discover
--==~~out~~==--
[View Quote] 10S 12E 0.5A 30

Into numbers a bot can use for teleportation, like

North = -10000
West = -12000
Alt = 5000
Rot = 3000

Thanks,

BamBam

btw I am using VBsdk but if you give me the answer in C++ I think I can
convert for myself

hal9000

Nov 20, 2000, 7:35pm
note: This code is based on Faber's C++ code, I have changed it quite a bit
to make it work with VB, and output what's needed

--
-=Hal9000=- world:Discover
--==~~out~~==--
[View Quote]
begin 666 teleports.bas
M071T<FEB=71E(%9"7TYA;64 at /2 B=&5L97!O<G1S( at T*3W!T:6]N($5X<&QI
M8VET#0H-"E!U8FQI8R!3=6( at 5')A;G-L871E5%!O<G13='(H0GE686P at ='-T
M<B!!<R!3=')I;F<L(&YE=TX at 07, at 3&]N9RP at ;F5W5R!!<R!,;VYG+"!N97=!
M($%S($QO;F<L(&YE=T0 at 07, at 3&]N9RP at ;F5W5V]R;&0 at 07, at 4W1R:6YG*0T*
M(" at ($1I;2!T96QE<&]R="!!<R!3=')I;F<-"B at ("!$:6T at <&%R="!!<R!3
M=')I;F<-"B at ("!$:6T at ;B!!<R!);G1E9V5R#0H at (" at 1&EM(&)U9F9E<B!!
M<R!3=')I;F<-"B at ("!T96QE<&]R=" ]('1S='(-"B at (" -"B at ("!$;PT*
M(" at (" at ("!4<FEM("AT96QE<&]R="D-"B at (" at (" at ;B ]($EN4W1R*#(L
M('1E;&5P;W)T+" B("(I#0H at (" at (" at ($EF(&X at /#X at ,"!4:&5N#0H at (" at
M(" at (" at ("!P87)T(#T at 3&5F="AT96QE<&]R="P at ;BD-"B at (" at (" at (" at
M('1E;&5P;W)T(#T at 36ED*'1E;&5P;W)T+"!N("L at ,2D-"B at (" at (" at 16QS
M90T*(" at (" at (" at (" at <&%R=" ]('1E;&5P;W)T#0H at (" at (" at (" at ("!T
M96QE<&]R=" ]("(B#0H at (" at (" at ($5N9"!)9 at T*(" at (" at (" -"B at (" at
M(" at 5')I;2!T96QE<&]R= T*(" at (" at ("!4<FEM('!A<G0-" at T*(" at (" at
M("!)9B H27-.=6UE<FEC*$QE9G0H<&%R="P at ,2DI*2!/<B H3&5F="AP87)T
M+" Q*2 ]("(N(BD at 3W( at *$QE9G0H<&%R="P at ,2D at /2 B+2(I(%1H96X-"B at
M(" at (" at (" at ($1I;2!V86QU92!!<R!$;W5B;&4-"B at (" at (" at (" at ($EF
M($ES3G5M97)I8RAP87)T*2!4:&5N#0H at (" at (" at (" at (" at (" at =F%L=64 at
M/2!);G0H<&%R="D-"B at (" at (" at (" at ($5L<V4-"B at (" at (" at (" at (" at
M("!V86QU92 ]($EN="A,969T*'!A<G0L($QE;BAP87)T*2 M(#(I*0T*(" at
M(" at (" at (" at 16YD($EF#0H at (" at (" at (" at ("!B=69F97( at /2!,0V%S92A2
M:6=H="AP87)T+" R*2D-" at T*(" at (" at (" at (" at 5')I;2 H8G5F9F5R*0T*
M(" at (" at (" at (" at 268 at 27-.=6UE<FEC*'!A<G0I(%1H96X-"B at (" at (" at
M(" at (" at ("!N97=$(#T at 26YT*'!A<G0 at *B Q,"D-"B at (" at (" at (" at ($5L
M<V4-"B at (" at (" at (" at (" at ("!396QE8W0 at 0V%S92!B=69F97(-"B at (" at
M(" at (" at (" at (" at (" at 0V%S92!)<R ](")N("(Z(&YE=TX at /2!);G0H=F%L
M=64 at *B Q,# P*0T*(" at (" at (" at (" at (" at (" at ("!#87-E($ES(#T at (G, at
M(CH at ;F5W3B ]($EN="AV86QU92 J("TQ,# P*0T*(" at (" at (" at (" at (" at
M(" at ("!#87-E($ES(#T at (G< at (CH at ;F5W5R ]($EN="AV86QU92 J(#$P,# I
M#0H at (" at (" at (" at (" at (" at (" at ($-A<V4 at 27, at /2 B92 B.B!N97=7(#T at
M26YT*'9A;'5E("H at +3$P,# I#0H at (" at (" at (" at (" at (" at (" at ($-A<V4 at
M27, at /2 B82 B.B!N97=!(#T at 26YT*'9A;'5E("H at ,3 P,"D-"B at (" at (" at
M(" at (" at ("!%;F0 at 4V5L96-T#0H at (" at (" at (" at ("!%;F0 at 268-"B at (" at
M(" at 16QS90T*(" at (" at (" at (" at 268 at 4FEG:'0H<&%R="P at ,2D at /2 B("( at
M5&AE; at T*(" at (" at (" at (" at (" at (&YE=U=O<FQD(#T at 3&5F="AP87)T+"!,
M96XH<&%R="D at +2 Q*0T*(" at (" at (" at (" at 16QS90T*(" at (" at (" at (" at
M(" at (&YE=U=O<FQD(#T at <&%R= T*(" at (" at (" at (" at 16YD($EF#0H at (" at
M(" at ($5N9"!)9 at T*(" at ($QO;W at 56YT:6P at =&5L97!O<G0 at /2 B( at T*16YD
&(%-U8 at T*
`
end

twisted horizon

Nov 20, 2000, 9:32pm
Do you have a copy of Faber's C++ code?
-Twist
[View Quote]

the derek

Nov 20, 2000, 11:04pm
use instr() left() and right() functions (thats vb
code there)

[View Quote] > Can anyone give me a sample of how to turn a
> textbox input of e.g.: 10S 12E 0.5A 30 Into
> numbers a bot can use for teleportation,
> like North = -10000West = -12000Alt = 5000Rot =
> 3000 Thanks, BamBam btw I am using VBsdk but if
> you give me the answer in C++ I think I can
> convert for myself

hal9000

Nov 21, 2000, 8:25pm
he asked for it in VB...

--
-=Hal9000=- world:Discover
--==~~out~~==--
[View Quote]

the derek

Nov 22, 2000, 1:09am
that is vb code

[View Quote] > he asked for it in VB...
>
> --
> -=Hal9000=- world:Discover
> --==~~out~~==--
[View Quote]

the derek

Nov 22, 2000, 1:31am
if you want the EXACT codeon how to do it send me an
e-mail

[View Quote] > that is vb code
>
[View Quote]

tony56

Nov 22, 2000, 8:10am
Uh, I believe Hal9000 already posted the code earlier.

--
- Tony56 (chandler56 at mail.com)
"Freedom: That's What The Government Wants You To Believe!"
____________________________________________________________
[View Quote]

the derek

Nov 22, 2000, 3:48pm
i dont look at attachments and i read the message and i saw
under it what looked like to be the quoted message my mistake oh
well

[View Quote] > Uh, I believe Hal9000 already posted the code earlier.
>
> --
> - Tony56 (chandler56 at mail.com)
> "Freedom: That's What The Government Wants You To Believe!"
> ____________________________________________________________
[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn