![]() |
Re: PODBOT2.6MM after PMB...work still pending
is it fun tho?
btw check my last post.....i edited wit with some funny info |
Re: PODBOT2.6MM after PMB...work still pending
alright i'ma try a very cheap way to strip out the detailed names..
and according to my head this should work... but i have no way of testing or building a dll for you to test... [edit] well heres to code that's been added. around line 313 in bot.cpp Code:
iUsedCount = 0; Code:
char c_tempName[BOT_NAME_LEN + 1]; [edit2] why do i feel like i'm the only person here living in GMT -8 :( [/edit2] [edit3] about the slow mo.. my 2.0Ghz gets slow mo too except it's less noticable. They move just a little slower than others but not as slow as my 400Mhz I'ma look into this [/edit3] [edit4] added the check for the length of skill [/edit4] [edit5] Note: this is pure untested code... If anyone can test it, please do and return feedback. [/edit5] |
Re: PODBOT2.6MM after PMB...work still pending
There has been a great deal of confusion over the addbot command, probably because the original pod docs are way wrong.
The DS console command has always been. (I was actually the first person to figure this out a long long time ago.. at least I never saw any post on it until I opened up a thread on nb two years ago..) pb "addbot 10 1 4 TheBotsPlayerName" 10 is the skill, 1 is the team 1=t 2=ct and 4 is the skin 1-4 and you NEED the quotes. If you leave off the quotes or you leave out parameters, it will still add a bot but weird stuff will happen, like the bot joining the wrong team, or it will have the wrong skin etc. |
Re: PODBOT2.6MM after PMB...work still pending
but what we were talking about is the addbot command in the podbot.cfg which does not require pb infront of it. not only does it not require pb infront of it.. it is wrong to put pb infront of it because it will not be interpreted.
Note: I am talking about the addbot command in podbot.cfg |
Re: PODBOT2.6MM after PMB...work still pending
sPlOrYgOn - this pb infront of addbot command You have to use when You manage a dedicated server. On dedicated server this addbot without "pb" in console doesn't work. Ask to Austin more about this if You need some info.
Austin - these quotes You need especially for name, because when You try name James Bond without quotes, the bot's name will be James. When You use the qutes , the name is correct. Mr. SoUlFaThEr - when You try compare Your and bots' skill using for example statsme, You need still the same names of BOTS - it's simply. You don't need ask somebody to fix problem especially for me. I saw, that for You fixing the problem of names of bots was so important like for me - because this I showed another name's problem. You repeated this in Your last test. The problem is this third parameter - in podbot.cfg it's bot's class, in console it's bot's name - after Your tests You can see the same results like me - thanks. I think , the best way is ask all people to find some bugs and after You and Your friends can sort the priority of these problems and after step by step fix them - but not especially for somebody. Some problems propably are simple to fix, so maybe can be fixed together with some other big problems in one release - because to see new release sometimes there is a big problem for coders to get the computer in their hands :D, so the next release can't be so soon. |
Re: PODBOT2.6MM after PMB...work still pending
KWo I know about the pb thing.. and i know what commands need pb infront and when..
[edit] in linux dedicated i don't need quotes and the parameters are "pb addbot <skill> <team> <model> <name>" it works just fine. [/edit] |
Re: PODBOT2.6MM after PMB...work still pending
Quote:
|
Re: PODBOT2.6MM after PMB...work still pending
actually i tested and it works fine without the quotes.
|
Re: PODBOT2.6MM after PMB...work still pending
sPlOrYgOn - look what I wrote to Austin about quotes. On servers based on Windows the first quote should be behind pb , not before. Me, I use this first quote before name parameter. Try on linux add a bot with name James Bond without quotes - maybe it's possible - I have not possibility to check this. I can check this only on Windows dedicated server. Maybe on linux this first quote should be before pb - can someone explain this and add this to official PODBot help (the same there should be a info about class parameter in addbot command)? When I described problem about detailnames I meant that I can't see botskill in the parenthesis; the second problem is the type of bot (when I add a bot with name, I can't see type of bot (normal, agressive, defensive), too. I have in my podbot.cfg always turned on the parameter detailnames.
Austin - I just tried pb addbot command (with this latest sPlOrYgOn's dll) on windows dedicated server and what I see: pb "addbot 100 2 1 Roger" and bot is not added, but when I change this to: pb addbot 100 2 1 Roger bot named Roger is added to CT, but I can't check his skill, because I can't see this (detailnames doesn't work), I can't his class now, but I hope is correct. When I try this: pb addbot 100 2 3 James Bond there is added a bot named James (not James Bond) to CT, but when I put this line: pb addbot 100 2 3 "James Bond" there is a bot added to CT with name James Bond. If this is true, what You said Austin about quotes , why I received these results? Maybe need more tests? If somebody have a time to test this and confirm what I see, maybe this can help to sPlOrYgOn and Austin. Mr. SoUlFaThEr - maybe addbot comand can be a separate thread http://forums.bots-united.com/images/icons/icon10.gif? |
Re: PODBOT2.6MM after PMB...work still pending
KWo you should pay more attention because I have already addressed the problem of no detailnames when supplying a name to the addbot command... and the quote before pb... it's to show it as a whole and not actually type in the quote in the console. I probably should have wrote "without the quotes" but I thought it was implied...
and what austin said maybe applied to another version but not the current ones. I looked through the code already and you do NOT put quotes around all those parameters.. If you do they would all be considered 1 parameter and that will be the bot skill.. which of course wouldn't work. When I get the chance to build a new dll I will make it with the fixes... KWo read closely and also read past posts so you don't miss out on anything. |
Re: PODBOT2.6MM after PMB...work still pending
I just made one test more - I didn't add a name to command and what I see:
pb addbot 100 2 And there is a bot added to CT [POD]Quentin_Tarantino (100) . It means, that if you add a bot with a name the parameter detailnames doesn't work, but when You use this addbot command without a bot's name, this prameter (detailnames) is working. Maybe this can help much more to sPlOrYgOn and Austin. But in botnames.txt there is described this: #There must be at least 9 names in here and you're allowed a maximum # of 21 chars for the name ! Why ? The "[POD]" will be # placed before the Name and the Skill will be appended... So when I use addbot command maybe there is a safety for non exceed more than 32 characters (with [POD] and (skill) ) and because this the parameter detailnames can't work correctly? Maybe somebody need a type (normal, agresive, defensive) as an additional parameter to addbot command http://forums.bots-united.com/images/icons/icon10.gif? |
Re: PODBOT2.6MM after PMB...work still pending
okay... KWo you didn't read a word i said...
and adding that extra parameter was done in epodbot i think.. |
Re: PODBOT2.6MM after PMB...work still pending
sPlOrYgOn - sorry , but You was writing the post at the same time I write my last (no, sorry - this is last - this previous).
|
Re: PODBOT2.6MM after PMB...work still pending
then you would've double posted if i didn't post...
btw Austin read back about 4 pages.. SoulFather wrote something that you didn't read. [edit] I am currently compiling gcc 2.95.3 to see if it makes any difference. and i'm also going to try and get glibc 2.2 installed [/edit] [edit2] 8D 8D 8D WOOT! 8D 8D 8D gcc 2.95.3 compiles a .so file that metamod can load!!! no need for glibc 2.2 8D 8D 8D WOOT! 8D 8D 8D [/edit2] [edit3] so far so good. My fix for them using the same name sometimes seems to be working because i fillserver and removebots about 10 times now and no name repeats [/edit3] [edit4] detailed names now also works when you supply the bot a name using the addbot command [/edit4] |
Re: PODBOT2.6MM after PMB...work still pending
Good job, sPlOrYgOn!! You da man! :) (although your nick is a PITA to type, just like SoUlFaThEr's... :D )
Now that's not bad: You can compile for linux now, and you seem to have fixed that duplicate names problem! That's nothing that affects gameplay very much, but still a very annoying bug. Especially because it could get worse and worse in a longer map cylce. Me & my LAN mates noticed that frequently, and it really pissed us off big time. Keep up the good work and thanks for your efforts! We appreciate it... =) |
Re: PODBOT2.6MM after PMB...work still pending
yea don't get too excited because now i see a few names that are the same such as "[POD]Chris Tucker (96)" and "[P0D]Chris Tucker (84)".. :(
[edit] I have successfully found the problem with my code and it is fixed :D [/edit] [edit2] and damn should test more before saying it works... and now that i look at what pmb did more closely he used strstr... the problem i was trying to fix never existed... there is probably something else causing them to select the same name. [/edit2] |
Re: PODBOT2.6MM after PMB...work still pending
sPlOrYgOn - in the previous thread after my asking Austin, abiut some problems with botnames , You said me this:
"the addbot bug has already been fixed.. look in the other thread about podbot http://forums.bots-united.com/showthread.php?t=1372 [edit] and Austin either started from an old version or you didn't download the newest version because those are fixed too [/edit]" You can check this here http://forums.bots-united.com/showpo...&postcount=522 So - after this I downloaded Your dll , I tried it and what I saw - nothing WHAT I ASKED Austin was not fixed by You. So - because this I asked You about the same once again. You didn't read exactly what I asked Austin about and You are angry at me, that I ask You about something You posted before me. Sorry - it was You - You said me that all I ask Austin is already fixed. Or maybe this time I'm wrong , too? I think You are angry at me, because after your and MusicMan and Austin discusion with PMB I was much more afraid that there is nobody who can continue PMB's job. I said once - I was wrong and I didn't want to hurt somebody, but if I hurted You - sorry. If You want I'll shut up and I will not post about some problems to You. |
Re: PODBOT2.6MM after PMB...work still pending
[edit]
yes indeed the problems are solved but the latest dll build does not have the fixes (personal life problems.. it can't be helped..) first. the problem about bots not joining after changelevel... My bots join after change level and also the podbot.cfg does get executed every new map. second. the problem about no detailnames when you specify a name using the addbot command. This has been fixed except the dll does not have the fix. third. the problem about the third parameter in addbot when in console.. Code:
parm0 parm1 parm2 parm3 parm4 parm5 [/edit] |
Re: PODBOT2.6MM after PMB...work still pending
sPlOrYgOn - you said this:
"edit4] detailed names now also works when you supply the bot a name using the addbot command [/edit4]" If this is true (I can't test this) one problem is fixed. Because maybe my english is so bad and You didn't understand what I meant about different work of addbot command (one result using exactly the same line in podbot.cfg and another result using this line under console line), look what described SoUlFaThEr here: http://forums.bots-united.com/showpo...8&postcount=39 and look at his first addbot command and results. This was made under console. The result - bot named 2 (not Bill) was added to T Team. But the same line when You put in podbot.cfg You will got bot named Bill with class=2 added to T team. So - the third parameter of addbot command in podbot.cfg is meaning bot's class, but under console line the same parameter is meaning name of bot, because under console line SF got a bot named 2 (not Bill) - so this meaning You can't write class of bot under console line. If this example is too difficult to understand the problem, please ask SoUlFaThEr directly about results of his test. I'm tired now... |
Re: PODBOT2.6MM after PMB...work still pending
When I described the problem "under console" I meant on listenserver, not on dedicated server. I said "exactly the same line" - on dedicated server can't be exactly the same line - must be pb infront of addbot command. My previous post and this test made by SoUlFaThEr was concerning to the listenserver console line. Sorry if I have not described this so clear.
|
Re: PODBOT2.6MM after PMB...work still pending
now i see...
you double poster.. :D well i have no way of testing this but i'll try to find out if this is true in the source code. |
Re: PODBOT2.6MM after PMB...work still pending
So - next time, when You want to ask somebody to read carefully something, first - do the same by yourself :P.
Don't look first in the code - try test on your computer in the same way like me and SoUlFaThEr. |
Re: PODBOT2.6MM after PMB...work still pending
and no i did read carefully about 3 times..
and also you should read carefully because i just said i couldn't test... you shouldn't give advice while making the mistake the advice is supposed to fix.. [edit] and after i read your problem carefully i also tried it out myself and it didn't work because you didn't say it only happened on listen when you don't need pb infront of it [/edit] |
Re: PODBOT2.6MM after PMB...work still pending
I know - I has reading - You don't have possiblity of test right now. You understood me wrong. For me is better if You don't need only to believe me or somebody (like in our example SF), but You can repeat how many times You want the result of bad work of some code on Your computer. In this case it's better for You to find some solution, maybe You can see something more during the same test. Now You understand me?
|
Re: PODBOT2.6MM after PMB...work still pending
okay that paragraph is nonunderstandable...
I just spent the whole night trying to fix a non existent bug... (nothing to do with addbot command) and I have also found the problem with addbot Code:
BotCreate (atoi (arg1), atoi (arg2), atoi (arg3), arg3); Code:
BotCreate (atoi (arg1), atoi (arg2), atoi (arg3), arg4); |
Re: PODBOT2.6MM after PMB...work still pending
I'm so sorry if You losed all night for finding bug not exactly in this point of code like we need. I meant when I use in posts addbot command (without pb) this is clear - this is in podbot.cfg command or in console line on listenserver. When I use pb in my posts - this is on dedicated server. The same if I used quotes. If You read carefully all my posts here, You can see the consequence in using of this.
OK - now I want to say only : Big Thank You. You can send me on private email account Your dll for tests (if You want), because If I understood good SF and Austin there should be some procedure for official releasing new dll. I can be Your beta tester. I think is good if Mr. SoUlFaThEr will receive this dll as first. Good job http://forums.bots-united.com/images/icons/icon12.gif!!! |
Re: PODBOT2.6MM after PMB...work still pending
yea and one of the reasons why i cannot test myself is because i cannot build a dll right now.. only so files..
|
Re: PODBOT2.6MM after PMB...work still pending
boy........you know.......as i began reading what you 2 were "arguing about".......i was getting really pissed about this thread getting so cluttered up with bullshit.
if you guys could get yourselves into a CHAT ROOM.......this thread wouldnt get eaten up but 2 people talking right through each other. now this new thread of mine has 7 pages......and theres very little USEFUL info to read. if i could just simply delete the last 30 posts in this thread........i would.(i am also a bitz at fault for beginning to play with this bug with kwo.....me and sPlOrYgOn added 2 pages to it yesterday also) in the end im glad you finally got it worked out because im now thoroughly tired of seeing the word ADDBOT. Kwo.....you know the problem is fixed now :)......wait for a new dll where this problem and some other features for the editor are finished...if i can get with PMB today(its planned) then by tomorrow there may be a DLL here for you to test out. if you should find more bugs in it.......please START A NEW post as you yourself suggested.......i intended this to be more of a coding thread rather than a bug discussion.......each bug should have a separate thread........i may even ask that this entire bot gets a new forum for itself rather than messing up the metamod forum......even tho its a metamod plugin. sPlOrYgOn: send your fixes per mail to PMB.....dont attach files cuz his email account is messed up. so send the parts you changed......added with what file its in and the line its on......so he can open his own.....and do copy and pastes. i think it should work fine like this. man you 2........:D crack me up! |
Re: PODBOT2.6MM after PMB...work still pending
@sPlOrYgOn vbmenu_register("postmenu_12274", true);
about this name problem, retrieving the real name from a bot, old joebot has a function which does it, maybe not the most elegant way, it's already old, but it works. forgetting single letters and stuff, that's something you maybe do not need :) : Code:
void CChat :: ConvertName(char *szChangP){ |
Re: PODBOT2.6MM after PMB...work still pending
btw aspirin there was really never a problem with that..
thats the "bug" i spent all last night trying to fix when SF told me to stop them from having the same name when he actually gave the same name to the addbot command... |
Re: PODBOT2.6MM after PMB...work still pending
SoUlFaThEr - maybe the problem is that You need open the new forum, not only new threads separate for each bug found by somebody in podbot26mm? It's depanding of the people what bugs they can find. In the future - I think You would like to add some new functions for podbot26mm, so trying to find all posts and wish and problems about podbot inside metamod forum maybe can be difficult. Maybe it's possible (ask Administrator) open new thread named "addbot problems with podbot26mm" and than simply move there all posts concerning to this problem. This is not good situation started so big discussion about podbot and its problems on the metamod forum, but I was not started these threads here. Sometimes to explain a simple problem You need use more of effort and time than after to solve this by somebody. Look at this last discussion about "addbot" command - after understanding problem by a coder he has needed 2 minutes to find the bug and fixing it. And because this one thread can eat few pages. I wanted send to You all I described right now via e'mail, but You blocked this possibility. Sorry for adding by me one post more here.
|
Re: PODBOT2.6MM after PMB...work still pending
om~g this has grown into a monster thread already
good job guys :) |
Re: PODBOT2.6MM after PMB...work still pending
Thanks PM...gotta keep the fire burning
|
Re: PODBOT2.6MM after PMB...work still pending
|
Re: PODBOT2.6MM after PMB...work still pending
We ain't done yet, KaszpiR... :D
But seriously: The last one should have been an entire forum already. In the end, this bot wasn't just a metamod version of good old PODBot plus one or two minor bugfixes, but developed into a bot like IvPBot or E[POD]bot - based on PODBot, but with new features and stuff... I think it deserves a forum of its own. Besides, the current structure makes it difficult for newbies to find the bot - one of my friends asked me "well, I went to bots-united and wanted to d/L PMB's bot - I found they have many bots there, but I wasn't sure which one to take. Where is it?" And where is it? "Hidden" in a monster thread in the Metamod Plugins section... Wouldn't it be better if PB2.6mm had a forum, with one thread like "get the latest version here", where only the latest "official" dll is posted, and other threads for problems, issues and queries of any kind? |
Re: PODBOT2.6MM after PMB...work still pending
that forum will be made.
|
Re: PODBOT2.6MM after PMB...work still pending
yea , the really strong "beginners guide" would be good , ause see so many threads in realbot about ppl uding aI 1.0 while wIP 9 is so better....
|
Re: PODBOT2.6MM after PMB...work still pending
ah guys, please use the filebase, not the forum to upload stuff, the forum is great, but not for downloads ;)
|
Re: PODBOT2.6MM after PMB...work still pending
whos uploading here?
what? |
Re: PODBOT2.6MM after PMB...work still pending
oh got me, you uploaded to the filebase *ups*
never mind, just ignore my other post ;) |
All times are GMT +2. The time now is 00:51. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.