.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Reply
 
Thread Tools
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#61)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

now i see...
you double poster..
well i have no way of testing this but i'll try to find out if this is true in the source code.
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#62)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

So - next time, when You want to ask somebody to read carefully something, first - do the same by yourself .
Don't look first in the code - try test on your computer in the same way like me and SoUlFaThEr.
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#63)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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]

Last edited by sPlOrYgOn; 18-04-2004 at 16:00..
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#64)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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?
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#65)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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);
should be
Code:
BotCreate (atoi (arg1), atoi (arg2), atoi (arg3), arg4);
it is now fixed and thank you and SF for pointing it out
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#66)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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 !!!
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#67)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

yea and one of the reasons why i cannot test myself is because i cannot build a dll right now.. only so files..
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#68)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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........ crack me up!



Last edited by SoUlFaThEr; 18-04-2004 at 17:20..
  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#69)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

@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){
 char szChanged[100],szTemp[100],*szB,*szE,*szEnd;
 long lAnz;
 
 if(strlen(szChangP) < 3){
  return;
 }
 
 // copy
 strcpy(szChanged,szChangP);
 // make lowercase
 UTIL_strlwr(szChanged);
 
 //cout << szChanged << endl;
 strcpy(szTemp,szChanged);
 szEnd  = szChanged + sizeof(char) * strlen(szChanged);
 // cut out (...) stuff
 if(szB=strchr(szChanged,'(')){
  if(szB < szEnd){
   //cout <<"szb : "<<szB<<endl;
   if(szE=strchr(szChanged,')')){
	//cout <<"sze : "<<szE<<endl;
	if(szE < szEnd){
	 if(szE && szB){
	  if(szE>szB){
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szB - szChanged)*sizeof(char),szE+1);
	   
	  }
	  else{
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szE - szChanged)*sizeof(char),szB+1);
	  }
	 }
	}
   }
  }
 }
 
 if(strlen(szTemp) > 2)
  strcpy(szChanged,szTemp);
 
 strcpy(szTemp,szChanged);
 szEnd  = szChanged + sizeof(char) * strlen(szChanged);
 // cut out [...] stuff
 if(szB=strchr(szChanged,'[')){
  //cout <<"szb : "<<szB<<endl;
  if(szB < szEnd){
   if(szE=strchr(szChanged,']')){
	if(szE < szEnd){
	 //cout <<"sze : "<<szE<<endl;
	 if(szE && szB){
	  if(szE>szB){
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szB - szChanged)*sizeof(char),szE+1);
	  }
	  else{
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szE - szChanged)*sizeof(char),szB+1);
	  }
	 }
	}
   }
  }
 }
 if(strlen(szTemp) > 2)
  strcpy(szChanged,szTemp);
 
 strcpy(szTemp,szChanged);
 szEnd  = szChanged + sizeof(char) * strlen(szChanged);
 // cut out {...} stuff
 if(szB=strchr(szChanged,'{')){
  //cout <<"szb : "<<szB<<endl;
  if(szB < szEnd){
   if(szE=strchr(szChanged,'}')){
	if(szE < szEnd){
	 //cout <<"sze : "<<szE<<endl;
	 if(szE && szB){
	  if(szE>szB){
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szB - szChanged),szE+1);
	  }
	  else{
	   strcpy(szTemp,szChanged);
	   strcpy(szTemp + (szE - szChanged),szB+1);
	  }
	 }
	}
   }
  }
 }
 if(strlen(szTemp) > 2)
  strcpy(szChanged,szTemp);
 // just forget one letter .... sometimes
 
 lAnz = strlen(szChanged);
 if(lAnz>4 && RANDOM_FLOAT(0,100) < 10){
  long lLose = long(RANDOM_LONG(1,lAnz-2))+1;
  strcpy ( szChanged+(lLose-1)*sizeof(char),szChanged+lLose*sizeof(char));
 }
 
 // copy back
 strcpy(szChangP,szChanged);
}


  
Reply With Quote
Re: PODBOT2.6MM after PMB...work still pending
Old
  (#70)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: PODBOT2.6MM after PMB...work still pending - 18-04-2004

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...
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com