ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
RPG bot (Bots)
RPG bot // BotsbrandonMay 6, 2001, 7:09pm
i need an RPG bot......i dont want it simple though i need one that likes
keeps track of users hp and majic crap and you can be like a Knight or a Wizard and be able to use the spells with that group......and other stuff maybe.....can anyone do it or tell me of an existing one kahMay 7, 2001, 12:55pm
check out Who's great Xelagot script, you'll find it on the Xelagot pages in
the Scripts section KAH PS. Not trying to say that m a k a v e l i will do a less good bot, or anything [View Quote] brandonMay 7, 2001, 10:43pm
i do not liek whos script....for one only one person can play at a
time.....i want an RPG thats has moneters you ptu and when you click on them you attack them....there would be diefrent groups like Wizrads and stuff like that and when you join it giives you a certain waepin and speels choice...and a place for free healign and thnigs like that.....i want sometinh like AD&DRPG but maybe a little difeent...if anyone can do it i will say speicficly what i want [View Quote] m a k a v e l iMay 8, 2001, 9:20am
I told you I will do it, just give more detail.
(BTW Grimble, how do you know what kind of job I will do? I've only made one bot and you critisize me for it. I did a great job on this bot as some tell me, I just would like to know why you say this about me.) whoMay 8, 2001, 10:30am
Hi,
[View Quote] Simple, run multiple bots. There were 3 "Shadows" in the original. >i want an RPG thats has moneters you ptu and when you click on them > you attack them.... The monsters appear - you have the choice to fight ("click on them") or runaway. >there would be diefrent groups like Wizrads and stuff > like that and when you join it giives you a certain waepin and speels > choice...and a place for free healign and thnigs like that..... You can modify the script for that - the original actually has wizards and special quests for powerful healing items and anything else you want. Free healing is gained by potions etc etc >i want > sometinh like AD&DRPG but maybe a little difeent...if anyone can do it i > will say speicficly what i want This is where you run into problems. To actually design something specific that works well takes a lot of time and effort. You really need to do it yourself. My scripts try and point people into this line of work, hopefully they provide all the basic stuff you need in a script and thus one can add multiples/duplicates/additions to tailor something to your own needs. The script on the web page took me over 2 weeks to cut it down from the original so I could distribute it for others to use and still most people avoid it because of the amount of work involved in setting it up. The original would be a nightmare for someone to setup - you have something like 16 bots, runs across multiple worlds, quests and random adventures to complete. It all adds up to a similar thing like AD&D where the character eventually gains the skills and equipment to defeat the final enemy. Unfortunately you just cant distribute a set of scripts like this, there are so many variables. Not having a go at you or anything, I actually hope you pursue this as one of my dreams for aw for the last few years has been to see a really good AD&D style world setup with a multitude of bots runnning various adventures and providing all the necessary stuff for someone to play. I would love to see a world in which this was done. I admit it, I gave up. The adventure consumed me for months in scripting (there were various versions) and all I ended up doing was having no-one around to help me. So I packed it all in. (Later to release the public script in the hopes someone would take it up). I strongly advise you, get people to help you with stuff. This sort of project can really only succeed with a lot of work. Unfortunately everything I have done since follows a complicated script setup. I would like to provide more of my scripts to the public but really - they are an absolute bitch to setup from scratch. :( -- Cheers, Who brandonMay 8, 2001, 4:39pm
i actualy already set-up your script but its just lying on my hard
drive....i didnt know you could run more then one bot and if many poeple were fighting i could pssobly add more Monster bots also....then just get rid of the time limit or make i longer...i think i could add more diferent kinds of shops posibley by copieng one and changing it.....hmm thanks for the help Who and im thinking of devoting my world (A'Dude) to this since its practily empty rgiht now...this could actualy be a pretty sucessful project noe that i think of all this stuff [View Quote] brandonMay 8, 2001, 8:45pm
"simple"...NO!!!!!!!...i ran 3 copies of the Shadow bot... (3 shadows, 6
Monsters) but all of the Shadows interfere when you say "start adbenture" or anything else....i edited the scripts to use only 2 of the 6 monsters and even tried to have only one Shadow wait (any other idle ones got exited) (not including the ones alreayd in a game) and if another shadow got done to exit....then if a shaodw started a game have it log in an exited idle shadow...(get it lol) well...i dont have very much experiance on scripts so basicly what it did after the chnages was log off each other from the stand-alone server i was using until they finaly stopped then all of the shadows were still there sooo...ether someone fix this for me to make it run a multipe number of Shadows with their 2 monster bots listening to them....or i get another bot (which no one really knows of any other RPGbot) P.S. i'd like to try the "original" if you still have it....that one sounds MUCH better.....this one is just to simple and boring really [View Quote] m a k a v e l iMay 8, 2001, 8:47pm
If you don't want me to make one tell me, or else tell me what it should do.
brandonMay 8, 2001, 9:19pm
opps...i totally forgot about you lol.....well...do you do scripts or
Programs??? i want something like Who's actualy but... -More then one person can play at a time....like maybe a "Shadow" (or another name) waits and if it starts a game with someone another bot "Shadow2" will log into the world and wait for the next player (comunicate trhough the stand-alone server) -The monster bots- You create 1 (or 2 if needed) Monster bots per "Shadow" (Shadow calls on it when a fight is started) OR- A certain number of moster bots that can be used by all SHadow bots (this way would require less bots on at one time) -Abilty to chnage you "Shadow"s name (bot chnages its name to what the user previsuly chnaged it to when it starts a game again) and the same for the avatar -List the kinds of mosters and thir stats and the Av for that monster that the Moster bots go by when called by Shadow to fight (Shadow would randomly pick a monster on the list for the moster bot to be) -Abilty to change waepins and geep certain potions (hp, magic (revives majic powers), maybe steroids or something lol)...and buy wepons at the shop....perhpas make a script for each of these lists so you can customize the wpeons and potions and list how good the are etc.. (or not) - Join groups like Wizards, Kights, etc.. and have wepoans only those in a group can get (ex. Wizard Wand) and groups have thier adbvantages (ex. Kights get thir hp raised by 10 or Kights get armor raised.....Wizards get there Magic Powers raised etc..) And if you use Who's script as a starter make sure you take off the time limit :) If you dont use his script as a starter then you can look at his for more info on how the Shadow and moster bots work [View Quote] brandonMay 8, 2001, 10:22pm
ok i finaly gave up....what i said in myother post ive done many
times....the problem is that it always reconnects after a bot tells it to exit whihc i dont want...i want it to stay out of the world until its called back in...this is so frustrating [View Quote] whoMay 9, 2001, 2:12am
Hi,
[View Quote] rofl :) Easy, edit the other 2 scripts and change the chat event to something else eg: start2 adventure, start3 adventure Or use a control bot.... I can send you something with this in it. But its another bot. :) >i edited the scripts to use only 2 of the 6 monsters and > even tried to have only one Shadow wait (any other idle ones got exited) > (not including the ones alreayd in a game) and if another shadow got done to > exit....then if a shaodw started a game have it log in an exited idle > shadow...(get it lol) Again, look for the command phrase the shadow is saying to activate the monsters - alter this for each group or leave it as is and rename a couple of monsters and add/edit lines so the Shadow2 or 3 addresses them instead of the original. > well...i dont have very much experiance on scripts so basicly what it did > after the chnages was log off each other from the stand-alone server i was > using until they finaly stopped then all of the shadows were still there > > sooo...ether someone fix this for me to make it run a multipe number of > Shadows with their 2 monster bots listening to them....or i get another bot > (which no one really knows of any other RPGbot) > > P.S. i'd like to try the "original" if you still have it....that one sounds > MUCH better.....this one is just to simple and boring really [View Quote] The original will have a lot of stuff in it you wont understand or will complicate things :) But I guess you can try it to have a look at the differences in the script. -- Cheers, Who whoMay 9, 2001, 2:21am
Hi,
> And if you use Who's script as a starter make sure you take off the time > limit :) > The time limit is set with these variables at the top of the script: %t = 60 %u = 90 Just after the script starts how the bot percieves this is run: $start = Player SListLoad /s_myfdata $fdata SListGetField /s_myfdata $start %d1 $player GetDateTime !a <---------------- current date and time SListLoad /s_mydata1 $data1 SListGetField /s_mydata1 $player %d10 !u <-- where the players time is in the data file IfDateTime !a IsBefore !u GoTo times <-- checks the time and says 'nick off' if you played to soon AddMinutes !t !a %t <-- adds 60mins to current time, thus session will end in 60 mins (timeout) SetTimeout !t AddMinutes !u !a %u <-- adds 90 to current time and saves this to the data file - to be used for checking next time SListSetField /s_mydata1 $player %d10 !u SListSave /s_mydata1 $data1 So to disable it do this: $start = Player SListLoad /s_myfdata $fdata SListGetField /s_myfdata $start %d1 $player #GetDateTime !a #SListLoad /s_mydata1 $data1 #SListGetField /s_mydata1 $player %d10 !u #IfDateTime !a IsBefore !u GoTo times #AddMinutes !t !a %t #SetTimeout !t #AddMinutes !u !a %u #SListSetField /s_mydata1 $player %d10 !u #SListSave /s_mydata1 $data1 All timing is now disabled :) -- Cheers, Who whoMay 9, 2001, 2:25am
Hi,
[View Quote] Believe me, don't do it that way. Having the bots out of world can cause real problems with server connects etc. It is better to have them in world tucked away somewhere. Thats why the monsters etc were placed at -50m (or was it -150?) altitude. Then again, XelaG has made a lot of improvements to world and aw server connects and disconnects since those scripts were done, so they might work ok outside of world. -- Cheers, Who xelagMay 11, 2001, 11:48am
I have not noticed any problems when keeping a bot running in a universe
outside a world. Andras' statistic bot does just that. The problem can arise when the bot tries to enter a world, if it is not running or the connection is lousy. You can have a bot invisible in a world too: make it leave and then bring it back in with Vanish this statement exits the bot and brings it back in invisible. to make it visible again, use Materialize (or Materialise, both work) or you can use WarpLocal or any statement that moves the bot. The advantage of having an invisible bot is that the bot can work changing objects etc, without receiving events related to Avatars (add, change, delete, chat, clicks). It can still query property, change it, play music, and change the world attributes... and it won't be seen :) XelaG [View Quote] xelagMay 11, 2001, 11:54am
[View Quote]
Make sure there is no reconnect code, check that OnWorldDisconnect is
disabled before the bot leaves (it may have reconnect code in it), and alternately, use the Vanish keyword to make it leave and enter invisible. XelaG |