Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #31  
Old 10-23-2008, 02:11 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Those makefile/ files I posted work for me, I just want to make sure it works for others too.
I think the bots are more intended for a 'play at home' version, alone or maybe a friend or two (even if I'm a 'bot addict' too. I'm trying to get a few more needed commands at least started (can always be changed for the better), such as pacify and evac. Things that when alone, I always think "Damn I wish I had that right now ..."
Reply With Quote
  #32  
Old 10-23-2008, 02:44 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

Quote:
Originally Posted by AndMetal View Post
I think the logic is that, because not everyone is going to run bots (although they are quite awesome), it's better to use a preprocessor definition during compile than a rule, since it will decrease a lot of the required resources (memory/processor cycles) if you're not using it.
A good point. I feel this is one of the best things to happen to the project in a while! It's exactly what I wanted when I first learned about the emulator, but have no skills to work on it
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #33  
Old 10-23-2008, 02:56 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Quote:
Originally Posted by AndMetal View Post
I think the logic is that, because not everyone is going to run bots (although they are quite awesome), it's better to use a preprocessor definition during compile than a rule, since it will decrease a lot of the required resources (memory/processor cycles) if you're not using it.
Is this actually the case? I know the executable for the zone would be bigger, but I wouldn't think it would use much more resources unless you actually spawned BOTS. If you don't I would think that resource usage would be very similar to not having them compiled in. But that's a rough guess based on looking through the code a couple of times.
Reply With Quote
  #34  
Old 10-23-2008, 04:25 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Here's another problem I saw with the Bots;
When you have a good Bot group, mobs get real easy to kill - The game really gets unbalanced; lower end red-cons become easy to kill.
So, lets say you upped the exp to 2-3x , if you kill a Red, exp is like 10x! Even with normal exp, the reds are like 4x , which is ok if they are in a no-bot game (bigger challenge/ risk for a greater reward).
When I lowered the red con Exp to something more sane, then blues and lite blues gave little or no exp. If I had new players on the server that played alone (no bots) or just were starting out, I would get complaints about no exp.
So here's what I did, that may be an idea; Its a macro called 'CON_XP_SCALING', I never could get it to compile on windows with the macro, so I quoted it out and ran like that.
All the settings are changed in CON_XP_SCALING, and the original EQ settings in variables and rule_values are default.
The effect I got was fast exp on all cons, but nothing crazy for red/yellows. It may not seem to make any sense, but it works with whatever other scaling there is in the source and counters.

Code:
//#ifdef CON_XP_SCALING
		if (conlevel != 0xFF) {
			switch (conlevel)
			{
			case CON_GREEN:
				//Message(15,"This creature is trivial to you and offers no experience.");
				return;
			case CON_LIGHTBLUE:
					add_exp = add_exp * 175/100;
				break;
			case CON_BLUE:
				//if (lvldiff >= 12)
				//	add_exp = add_exp * 6/10;
				//else if (lvldiff > 5)
					add_exp = add_exp * 250/100;
				//else if (lvldiff > 3)
				//	add_exp = add_exp * 9/10;
				break;
			case CON_WHITE:
					add_exp = add_exp * 175/100;
				break;
			case CON_YELLOW:
					add_exp = add_exp * 200/100;
				break;
			case CON_RED:
					add_exp = add_exp * 225/100;
				break;
			}
			/*
			if (otherlevel >= 65)
			{
				int add = add_exp*((otherlevel-49)*20/100);
				add_exp += add_exp*((otherlevel-64))*2;
				add_exp += add;
			}
			else if (otherlevel >= 50)
			{
				add_exp += add_exp*((otherlevel-49)*20/100);
			}*/
		}
//#endif



Quote:
Originally Posted by Andrew80k View Post
Is this actually the case? I know the executable for the zone would be bigger, but I wouldn't think it would use much more resources unless you actually spawned BOTS. If you don't I would think that resource usage would be very similar to not having them compiled in. But that's a rough guess based on looking through the code a couple of times.
Reply With Quote
  #35  
Old 10-23-2008, 04:41 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Bots, like people.... when you have a full group, mobs are easier to kill. The group exp bonus applies and you get good exp. I don't think the bots make any difference in exp gains or mob difficulty than what you would get with a full group of actual players. The only differnce is, the bots go all out 100% where a player might conserve mana or the like.

If you can show in the code somewhere that exp gain is somehow increased due to bots that would be different than if you had actual players, or that somehow mobs become easier because of bots instead of players, then that would be the place to put in a fix.
Reply With Quote
  #36  
Old 10-23-2008, 04:57 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Well, for one , Bots don't make mistakes, PCs do -
When I first tried the bots, I got about 30 levels in a few hours. Might be just the way EQemu always has been, most people do not want low exp rates, so exp in general goes up much faster than it would as if I played on live.
When I played on live with full, experienced groups, killing a red was always a big challenge and many times proved disastrous. Not so with the bots.
All around, EQ Live is much harder than EqEmu. I don't like the way Exp drags on on live either. But I do like the game to last a little longer than a day or two; but that's just me.
I do have the fix in what I post at my site for many weeks now, and about a dozen people use it (it's that last 'fix' that still makes my version of the source custom).

Last edited by Angelox; 10-24-2008 at 01:05 AM..
Reply With Quote
  #37  
Old 10-23-2008, 05:29 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

I'm hanging this up for a while... I source the released code from the bots thread and it simply doesn't work. I'll just stick with plain old 1129 untill this is either added or made easier, thanks everyone for your help.
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #38  
Old 10-23-2008, 06:04 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by hayward6 View Post
I'm hanging this up for a while... I source the released code from the bots thread and it simply doesn't work. I'll just stick with plain old 1129 untill this is either added or made easier, thanks everyone for your help.
Hayward! you don't need to source anything - just go to the new EqEmu SVN
and download the latest source , and if you cant do the make file changes, what I posted here just unzip and overwrite in your zones directory. It will compile with the bots active.
If you stll have problems, post! we'll get you going. You know where the new EqEmu SVN is right?
Reply With Quote
  #39  
Old 10-23-2008, 06:08 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

I'll have to look again later. When I run make it isn't finishing all the files... I have to go in and do zone by itself for one example, and others just dont work... I'll re download. My biggest issue is time, I cam,e home to do this and had some ideas... but after 5 minutes the wife and kids had other plans
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #40  
Old 10-23-2008, 06:22 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

The way I have always compiled in Linux is I go into each directory and run 'make clean' , then 'make'. don't have to run 'make depend' anymore, it comes with the 'make clean' now (I guess someone fixed that).
So I go to /zone, then /world, etc.
Reply With Quote
  #41  
Old 10-23-2008, 06:37 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

Quote:
Originally Posted by Angelox View Post
here just unzip and overwrite in your zones directory. It will compile with the bots active.
If you stll have problems, post! we'll get you going. You know where the new EqEmu SVN is right?
I need to rename the files though right?
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #42  
Old 10-23-2008, 06:43 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

Quote:
Originally Posted by Angelox View Post
You know where the new EqEmu SVN is right?
I guess not... all I can find there are the binaries
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #43  
Old 10-23-2008, 07:12 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

On my server I cranked the bonus exp down due to fast leveling with bots, but it is still higher than Live. I also added more experience loss on death to help balance it out. This code has a different way of mitigating the exp but what you said about ease... maybe a different solution than what either of us did is to make the npc's harder. Looking at the npc entries in the db, except for bosses it looks like theres a pattern to npc level and stats. Maybe Cavedude can tell us how to make it more difficult overall.

Since I spend more time coding bots than actually playing the emulator, do those that play in a full group of equal level players find the emulator reds super easy and do you level so fast that you feel you would reduce exp more to balance the game? Are the regular groupers on TGC 65 and max AA real quick? I use the peq database. I believe that the bots are no different than a group of equal level players. The bots have some advantages, but many disadvantages as well. Experience is calculated by the same code as a group of pc's as it is for a pc with a group of bots.
Reply With Quote
  #44  
Old 10-23-2008, 07:26 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by hayward6 View Post
I guess not... all I can find there are the binaries
Are you using windows or Linux?
Reply With Quote
  #45  
Old 10-23-2008, 07:30 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

Since switching to Linux on my server, I will never go back to Windows
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
Reply


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

   

All times are GMT -4. The time now is 06:41 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3