|
he-alllppppppp! (help) please :) (Sdk)
he-alllppppppp! (help) please :) // Sdk
Mar 5, 2002, 4:47pm
aight, emm, well im tring to make a phone bot, as something to occupy my
time, and well get a better understading of VB. well aight, i know how to
make multiple bots log in (diffrent way then the post before) but what i
wanna know is how do i give em each diffrent controls, like how do i make a
specific one say something instead of the other one, or do something instead
of the other
Mar 5, 2002, 5:17pm
Keeping track of , and controlling the "instance" of each Bot created is how you "select" which one your using at the time.
Setting up a class to do this is the easiest way to keep track of this information.
Leo :)
[View Quote]"swe" <m_swehli at hotmail.com> wrote in message news:3c8512d6 at server1.Activeworlds.com...
> aight, emm, well im tring to make a phone bot, as something to occupy my
> time, and well get a better understading of VB. well aight, i know how to
> make multiple bots log in (diffrent way then the post before) but what i
> wanna know is how do i give em each diffrent controls, like how do i make a
> specific one say something instead of the other one, or do something instead
> of the other
>
>
|
Mar 5, 2002, 6:32pm
well you have to use add a control and timer for each bot right? If your
first bot is controled by the control called sdk1 and sdk2 and so on then
you can set which bot it is controling by putting sdk1. before it or sdk2.
if you want to control the second bot. I may not make sense to you but i
know what im talking about lol.
[View Quote]"swe" <m_swehli at hotmail.com> wrote in message
news:3c8512d6 at server1.Activeworlds.com...
> aight, emm, well im tring to make a phone bot, as something to occupy my
> time, and well get a better understading of VB. well aight, i know how to
> make multiple bots log in (diffrent way then the post before) but what i
> wanna know is how do i give em each diffrent controls, like how do i make
a
> specific one say something instead of the other one, or do something
instead
> of the other
>
>
|
Mar 5, 2002, 7:15pm
All you have to do is just set the instance. I am not sure of the VB
command, but in C++ it is: aw_instance_set(void &instance); thats all you
need. You only need one(1) timer, and one(1) control. Just change the
instances. Oh and a hint: when a bot "hears" an event, ie: someone entering
a world, the current instance of the application is set to the bot that
"heard" the event. :)
Hope this helps. :)
Jey(302100)
[View Quote]swe <m_swehli at hotmail.com> wrote in message
news:3c8512d6 at server1.Activeworlds.com...
> aight, emm, well im tring to make a phone bot, as something to occupy my
> time, and well get a better understading of VB. well aight, i know how to
> make multiple bots log in (diffrent way then the post before) but what i
> wanna know is how do i give em each diffrent controls, like how do i make
a
> specific one say something instead of the other one, or do something
instead
> of the other
>
>
|
Mar 5, 2002, 7:39pm
in vb if you use grimms aw sdk control you have to make a new control and
timer for each bot you plan to make. You contorl the bots by making each
control have a similar name but whith a number for example for if you name
then by sdk# then you put sdk1. to control bot1 and sdk2. to control bot
two.
[View Quote]"jey" <BoBo1186 at aol.com> wrote in message
news:3c853579$1 at server1.Activeworlds.com...
> All you have to do is just set the instance. I am not sure of the VB
> command, but in C++ it is: aw_instance_set(void &instance); thats all you
> need. You only need one(1) timer, and one(1) control. Just change the
> instances. Oh and a hint: when a bot "hears" an event, ie: someone
entering
> a world, the current instance of the application is set to the bot that
> "heard" the event. :)
> Hope this helps. :)
> Jey(302100)
>
> swe <m_swehli at hotmail.com> wrote in message
> news:3c8512d6 at server1.Activeworlds.com...
to
make
> a
> instead
>
>
|
Mar 5, 2002, 8:36pm
Mmmm . . . well thats crappy. Another small reason why I stick with C++
:D
[View Quote]zeo toxion <cozmo at activeworlds.com> wrote in message
news:3c853b07$1 at server1.Activeworlds.com...
> in vb if you use grimms aw sdk control you have to make a new control and
> timer for each bot you plan to make. You contorl the bots by making each
> control have a similar name but whith a number for example for if you name
> then by sdk# then you put sdk1. to control bot1 and sdk2. to control bot
> two.
>
> "jey" <BoBo1186 at aol.com> wrote in message
> news:3c853579$1 at server1.Activeworlds.com...
you
> entering
my
> to
i
> make
>
>
|
Mar 5, 2002, 9:33pm
its not "crappy" its just the way it works...for a lot fo people VB is
easier to make things then C++ but yes i agree it is better. I know a lot
about Vb though.
[View Quote]"jey" <BoBo1186 at aol.com> wrote in message
news:3c854879 at server1.Activeworlds.com...
> Mmmm . . . well thats crappy. Another small reason why I stick with
C++
> :D
>
> zeo toxion <cozmo at activeworlds.com> wrote in message
> news:3c853b07$1 at server1.Activeworlds.com...
and
name
VB
> you
that
occupy
> my
how
what
> i
>
>
|
Mar 6, 2002, 12:50am
Not crappy ... just different. You can have a control array in VB and
load/unload instances of the control dynamically, which is synonymous with
accepting the instance pointer from the aw_create method in C.
Grims
[View Quote]"jey" <BoBo1186 at aol.com> wrote in message
news:3c854879 at server1.Activeworlds.com...
> Mmmm . . . well thats crappy. Another small reason why I stick with
C++
> :D
>
> zeo toxion <cozmo at activeworlds.com> wrote in message
> news:3c853b07$1 at server1.Activeworlds.com...
and
name
|
Mar 6, 2002, 12:54pm
thanx lol! i think i totally understand what u mean :)
[View Quote]"zeo toxion" <cozmo at activeworlds.com> wrote in message
news:3c852b69$1 at server1.Activeworlds.com...
> well you have to use add a control and timer for each bot right? If your
> first bot is controled by the control called sdk1 and sdk2 and so on then
> you can set which bot it is controling by putting sdk1. before it or sdk2.
> if you want to control the second bot. I may not make sense to you but i
> know what im talking about lol.
>
> "swe" <m_swehli at hotmail.com> wrote in message
> news:3c8512d6 at server1.Activeworlds.com...
to
make
> a
> instead
>
>
|
Mar 6, 2002, 12:56pm
lol, i thought it was obvious i was using VB since i said "well get a better
understading of VB" hehe :) but thanc for tring anyway :)
[View Quote]"jey" <BoBo1186 at aol.com> wrote in message
news:3c853579$1 at server1.Activeworlds.com...
> All you have to do is just set the instance. I am not sure of the VB
> command, but in C++ it is: aw_instance_set(void &instance); thats all you
> need. You only need one(1) timer, and one(1) control. Just change the
> instances. Oh and a hint: when a bot "hears" an event, ie: someone
entering
> a world, the current instance of the application is set to the bot that
> "heard" the event. :)
> Hope this helps. :)
> Jey(302100)
>
> swe <m_swehli at hotmail.com> wrote in message
> news:3c8512d6 at server1.Activeworlds.com...
to
make
> a
> instead
>
>
|
Mar 6, 2002, 4:22pm
yeah, just use multiple controls, i have a old FireStorm systems bot u can
have a look though, its got easy 3 way telephone bot. Its 1 of the first I
made and has a few bugs, but it still can provide you with a idea.
Ill post it later, but im writing this post offline and it will take me a
day to find the old file and bute force though the password on the ZIP.
- Mark
[View Quote]"zeo toxion" <cozmo at activeworlds.com> wrote in message
news:3c853b07$1 at server1.Activeworlds.com...
> in vb if you use grimms aw sdk control you have to make a new control and
> timer for each bot you plan to make. You contorl the bots by making each
> control have a similar name but whith a number for example for if you name
> then by sdk# then you put sdk1. to control bot1 and sdk2. to control bot
> two.
>
> "jey" <BoBo1186 at aol.com> wrote in message
> news:3c853579$1 at server1.Activeworlds.com...
you
> entering
my
> to
i
> make
>
>
|
|