Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
strike rapier // User Search
strike rapier // User Searchthe next step in programing :PMay 30, 2005, 12:28pm
Make a better bot in console now then, and then another, and another... when
you have made 5 or 6 then go onto GUI's. Which are quite similar, except no aw_wait loop. -- - Mark Randall http://zetech.swehli.com [View Quote] Callbacks recieved on DisconnectJun 11, 2005, 5:10pm
I am hoping someone could give me an idea on this, to save me running
extensive tests. If I enable object callback, send 200 object adds... and recieve 100 callbacks, then get disconnected - will i ever recieve the other 100 callbacks? -- - Mark Randall http://zetech.swehli.com Callbacks recieved on DisconnectJun 11, 2005, 8:28pm
I am calling aw_wait at 100ms regardless; however - syncronous calls are not
an option - they freeze the calling thread, and I am actually making a multi dispatch queue class, to send callback messages back to the class or a static function that called the associated SDK method, so *should* my connection go down... for example overflow, network connectivity, idiot parents pulling out the ADSL... I need to know if the rest will be called or not after the disconnect event. -- - Mark Randall http://zetech.swehli.com [View Quote] 3.6 VB SDK Wrapper Build 41Jun 23, 2005, 7:30pm
Callback Timings?Jul 4, 2005, 3:21pm
To ask a question:
Are callbacks guarentee'd to be recieved in the same order that they were sent FIFO, for example Add 1 Add 2 Add 3 Callback 1 Callback 2 Callback 3 Cheers -- - Mark Randall http://zetech.swehli.com Callback Timings?Jul 4, 2005, 3:38pm
I am making a queue system for my object events, that uses function pointers
to inform different sections about things. I am just using FIFO at the moment, i may have to change over to the object number method. -- - Mark Randall http://zetech.swehli.com [View Quote] Callback Timings?Jul 5, 2005, 3:16pm
[View Quote]
> Alex
I have never really done this, I have always sent 9 or 10 at once with aw_cell_combine on, waiting for 8 or so to be returned, then called another 10 - in my experience this improves performance by several hundred percent, and let the callback determine if I send the next volly, obviously after the first RC you stop - if you send a few more it doesnt really matter. -- - Mark Randall http://zetech.swehli.com Callback Timings?Jul 5, 2005, 8:47pm
[View Quote]
> So, if you ever had a closer look to the result you got back, you see that
> you got the cell same 10 times, unless you set the AW_CELL_ITERATOR to a > right value before you issue an call to aw_cell_next (); ^^ Correct, took it out of Demeter. > Thanks and good luck, > Chris -- - Mark Randall http://zetech.swehli.com Callback Timings?Jul 5, 2005, 8:59pm
That said,
I made this very mistake quite a lot a few years back until someone shouted at me repeatedly for it and educated me to it. It really needs adding to the documentation as this has wrecked various projects in the past. That said, I still recieved huge increases when automatically incrementing the itterator each time and calling in a for loop. -- - Mark Randall http://zetech.swehli.com [View Quote] Callback Timings?Jul 5, 2005, 10:28pm
Now consider it as the callback system is described in the AWSDK.
Each call is a request for the server to send back data for the given cell in an asyncronous manner, which via dispatch it exactly how an itterator works. loop {request multiple itens something} > recieve the results of them As the dictionary reference says, accessing one at a time - in this context with a callback that would clearly indicate accessing it in order to send the request - not to actually handle the data itself which is explicitly dissassociated with the call itself due to the asyncronous nature.. At the end of the day: There should be an explicit aw_cell_at(x, z) function. -- - Mark Randall http://zetech.swehli.com [View Quote] SDK for PayPal or 2checkout?Jul 25, 2005, 4:09pm
I was just wondering Jim (I expect to be slammed for this), you *do* know
how to program, right? -- - Mark Randall http://zetech.swehli.com [View Quote] SDK for PayPal or 2checkout?Jul 25, 2005, 4:53pm
SDK for PayPal or 2checkout?Jul 26, 2005, 7:37pm
Nope =\ ive only clocked up 6 or 7 thousand hours of SDK programming.
-- - Mark Randall http://zetech.swehli.com [View Quote] Writing INI files for tourist namesAug 5, 2005, 3:18am
Replace$(aw_string$(AW_AVATAR_NAME), chr(34), "_")
For the record, if you are making something that needs to be high performance - INI files are terrible for it, especially when writing them on XP2. -- - Mark Randall http://zetech.swehli.com [View Quote] Writing INI files for tourist namesAug 5, 2005, 10:06am
BETA TESTERS needed for Xelagot 3.613Jan 19, 2006, 10:52pm
[View Quote]
FYI: I do this with Evolution;
http://www.temporal-solutions.co.uk/software/evolution/helper.php?page=setup/cl ../evo_mon.exe" /login /profile:"Mark 2" /hide -- - Mark Randall http://www.temporal-solutions.co.uk http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov mult-instanceOct 26, 2005, 5:12am
Only if you multithread safe the SDK yourself, the 4.1 SDK is better for
this which you will see later, try using aw_create_resolved to make it faster. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] mult-instanceNov 25, 2005, 9:00am
Your thoughts are wrong.
-- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] mult-instanceNov 26, 2005, 12:37am
Imagine one MT host server app with a few hundred bot plugins connected to
it running on a local server - or monitoring all worlds in a universe via a single CT bot. Thats 1000 there an then. Dont presume based on limits of what you have done. - MR [View Quote] New World - Now Hiring Lead Programmer(s)!Oct 30, 2005, 6:51pm
Joe is the person whom I forgot to include on my list over in community, so
that makes 6 - Andras would be on it but he seems to be more of a C'er. Seriously, if you want someone on it full time over 6 months (which is what it would take), you can expect to pay a standard wage, thats somewhere between $20,000 and $70,000 -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Oct 31, 2005, 6:54am
If my figures are right.... and theres few things I admire more than a good
figure ;) Going rate in US for a programmer is between $40 and $200 an hour isnt it? (depending on senior status). We just had a visit from Accenture who wanted 20 'Junior Software Engineers' on £16k ($25,000) placement for 1 year living in London. The lecture theatre pretty much burst out laughing at them. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Oct 31, 2005, 10:24pm
Hmm, new person introduced to the relativly undocumented SDK trying to
figure out everything in it, make up their own management systems and work out what the hell everything does... Good bloody luck, this will be one I will be amazed to see. For the record, it took me 4 years to learn 'everything' about the SDK and still find new things regually, and I code at amazing speed. Also for the record, im quite apt at project management for myself, and I always find it best to know who you are dealing with... Evidence collected so far shows that you are failing to both reach out to the core team (you know, the ones that actually know the SDK properly) You are willing to pay thousands of dollars for a programmer for a free world, wanting to take all the features from the 3 community bots and have exclusive use of them; you want it updatable by novices so you can cut the coder once its done, and you do not like the idea of students despite the best coders in AW all being on computer related computing degrees. The above makes you look like a fraud, I would be, and am, very, very warey of your motives as there is no apparent logic behind them that any of us can see... Welcome to prove me wrong tho, ive been wrong before, but its damned rare. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Oct 31, 2005, 10:51pm
For the record, I am quite aware I can be a bitch :)
-- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 1, 2005, 8:42am
Everyone always has been Chris :P i'm not confortable negotiating with
ghosts anyway ;) Besides - when June comes around again and I have lots of free time a few people shown interest, so when John has his Indian coding away for 6 months and all this lot I will simply walk along and better whatever has been made 5 fold, would probably only take me a fortnight considering all I have to do is clip existing modules together and write the code for on-top. I always need reasons to futher inflate my already huge ego :) My worth ethic is this: If I am not working for you, I am working to put you out of business - and thats good news for me, and bad news for everyone else. I am not at all hurt, or angered by not getting this, the working method isnt suitable for me. Best of luck!... im always open to new challenges, especially ones that give half of the details I did when I was making the Arc bot :O Whoops. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 1, 2005, 3:32pm
Hence why I guage what the market needs, and sell it to them as a product
once ive made it. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 2, 2005, 10:00pm
class CTrashBot :
public CBaseBot { protected: IMPLIMENT_STD_AVATARS(CBaseAvatar) IMPLIMENT_STD_LOGIN( ) IMPLIMENT_STD_COMMS( ) void OnTimer(UINT TimerID) { PBASEAVATAR user; FOR_EACH_OF_DEFINED_USERS(user, g_Avatars) if (GetTickCount() - user.GetLastActionTime() >= 1000 * 60 * 60) user->EjectUser("RIP", 300); END_FOR_EACH } }; ;) <3 -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 2, 2005, 10:02pm
My bad, that should be
if (GetTickCount() - user->GetLastActionTime() >= 1000 * 60 * 60) -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov New World - Now Hiring Lead Programmer(s)!Nov 3, 2005, 12:58am
No AW_AVATAR_STATE_DEAD unfortunately.
The last action include chat as well tho. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 3, 2005, 7:46am
Yeah Bowen pointed that out too, will have to change that in my code 0_0,
thank god code doesnt need spell checking.... #define COLOURREF COLORREF ;) All those IMPLIMENT_xx's are are sets of functions placed inline into the class that add standard avatar control etc. -- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov [View Quote] New World - Now Hiring Lead Programmer(s)!Nov 8, 2005, 8:59pm
[View Quote]
Ha, you are screwed then because the SDK has only been around for about 6.
-- - Mark Randall http://zetech.swehli.com "Those people that think they know everything are a great annoyance to those of us who do" Isaac Asimov |