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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #616  
Old 07-07-2008, 11:33 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

When I go to compile the new 1118 bot code under linux I get alot of file not found errors and other things. The newest bot code does not hold the same directory structure as the normal eqemu sources. I noticed when I unrar'd the file it just put all of the files in one directory.

Anyone have the newest bot code set up in the normal eqemu structure? All's we still need to run it is the zone folder correct? In this new release do not find the EmuSharemem, eqlaunch, world, zone, common, or utils folders. Just a bunch of files and lots of file not found errors.
  #617  
Old 07-07-2008, 01:24 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

I had the same problem. do you have mysql AND perl installed? and also the correct include/library directories?

These helped me (Thanks to Andrew80k and Aramid)

http://www.eqemulator.net/wiki/wikka...a=DevVSExpress

http://www.eqemulator.net/forums/showthread.php?t=25372
  #618  
Old 07-07-2008, 01:39 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Yes I have perl and mysql installed, I have been running an eqemu server for about 2 years now and bots since 1106ish. The problem I am having seems to be that the directory structure of the rar file is no where near the same thing as the normal eqemu sources. Here is what I mean:

Normal EQEMU source file structure:

Code:
ls 
EMuShareMem  Server.dsw  changelog.txt  eqlaunch  world
Makefile     Server.sln  common         utils     zone
EQEMU 1110 Bot Source file structure (note I would just go in zone folder here and edit the makefile then run make, and then link to the zone binary in the zone folder to run the server with bots):

Code:
ls
1110Bots.dsw  EMuShareMem  changelog.txt  eqlaunch  world
1110Bots.sln  Makefile     common         utils     zone
New 1118 Bot Source Directory:

Code:
 ls
0.6.1-upgrade.sql
1110Bots.dsw
1110Bots.ncb
1110Bots.sln
1110Bots.suo
3d.hpp
3d_base.hpp
AA.cpp
AA.h
Anniversary.cpp
Anniversary.h
Anniversary_itemfields.h
Anniversary_ops.h
Anniversary_structs.h
Azone.vcproj
Base64.cpp
Base64.h
BasePacket.cpp
BasePacket.h
CRC16.cpp
CRC16.h
Client62.cpp
Client62.h
Client62_itemfields.h
Client62_ops.h
Client62_structs.h
Condition.cpp
Condition.h
DBMemLeak.cpp
DBMemLeak.h
DLLMain.cpp
Doors.cpp
Doors.h
EMuShareMem.cpp
EMuShareMem.dev
EMuShareMem.dsp
EMuShareMem.dsw
EMuShareMem.h
EMuShareMem.vcproj
EMuShareMem.vcproj.JTC.Administrator.user
EMuShareMem.vcproj.MARS.Terry.user
EMuShareMem.vcproj.old
EQCheckTable.h
EQDB.cpp
EQDB.h
EQDB.h.xs
EQDBRes.cpp
EQDBRes.h
EQDBRes.h.xs
EQEMuError.cpp
EQEMuError.h
EQEmu-0.7.0-1118_Bots-Source.rar
EQEmuConfig.cpp
EQEmuConfig.h
EQEmuConfig_elements.h
EQLConfig.cpp
EQLConfig.h
EQLConfig.h.xs
EQNetwork.cpp
EQNetwork.h
EQPacket.cpp
EQPacket.h
EQStream.cpp
EQStream.h
EQStreamFactory.cpp
EQStreamFactory.h
EQStreamIdent.cpp
EQStreamIdent.h
EQStreamIntf.h
EQStreamLocator.h
EQStreamProxy.cpp
EQStreamProxy.h
EQStreamType.h
EQW.cpp
EQW.h
EQW.h.xs
EQWHTTPHandler.cpp
EQWHTTPHandler.h
EQWParser.cpp
EQWParser.h
EmuTCPConnection.cpp
EmuTCPConnection.h
EmuTCPServer.cpp
EmuTCPServer.h
File.cpp
File.h
HTTPRequest.cpp
HTTPRequest.h
HTTPRequest.h.xs
HTTPSocket.cpp
HTTPSocket.h
HexRichEdit.cpp
HexRichEdit.h
HttpdCookies.cpp
HttpdCookies.h
HttpdForm.cpp
HttpdForm.h
HttpdSocket.cpp
HttpdSocket.h
IFile.h
Item.cpp
Item.h
Items.cpp
Items.h
Kaiyodo-LList.h
LauncherLink.cpp
LauncherLink.h
LauncherList.cpp
LauncherList.h
Live.cpp
Live.h
Live_itemfields.h
Live_ops.h
Live_structs.h
LoginServer.cpp
LoginServer.h
Loot.cpp
Loot.h
MMF.cpp
MMF.h
MMFMutex.cpp
MMFMutex.h
Makefile
Makefile.bsd
Makefile.common
Makefile.wine
Map.cpp
MaxSkill.cpp
MemFile.cpp
MemFile.h
Mime.cpp
Mime.h
MiscFunctions.cpp
MiscFunctions.h
MobAI.cpp
Mutex.cpp
Mutex.h
NPCFactionLists.cpp
NPCFactionLists.h
NPCTypes.cpp
NPCTypes.h
NpcAI.cpp
NpcAI.h
Object.cpp
Opcodes.cpp
Opcodes.h
Parse.cpp
Parse.h
PlayerCorpse.cpp
PlayerCorpse.h
PlayerCorpse.h.xs
ProcLauncher.cpp
ProcLauncher.h
Quest.cpp
Quest.h
README
README.eqemu
README.macosx
SSDeclare.h
SSDefine.h
SSRegister.h
SharedLibrary.cpp
SharedLibrary.h
SkillCaps.cpp
SkillCaps.h
Spells.cpp
Spells.h
StdAfx.cpp
StdAfx.h
StringIDs.h
StructStrategy.cpp
StructStrategy.h
TCPBasicServer.h
TCPConnection.cpp
TCPConnection.h
TCPServer.cpp
TCPServer.h
TextMapFile.cpp
TextMapFile.h
Titanium.cpp
Titanium.h
Titanium_itemfields.h
Titanium_ops.h
Titanium_structs.h
TreeMenu.css
TreeMenu.js
Utility.cpp
Utility.h
World.dsp
World.dsw
World.vcproj
World.vcproj.JTC.Administrator.user
World.vcproj.MARS.Terry.user
World.vcproj.old
WorldConfig.cpp
WorldConfig.h
WorldTCPConnection.h
XMLParser.cpp
XMLParser.h
ZONECFG.SQL
Zone.dsp
Zone.dsw
Zone.mak
Zone.vcproj
Zone.vcproj.JTC.Administrator.user
Zone.vcproj.MARS.Terry.user
Zone.vcproj.old
ZoneConfig.cpp
ZoneConfig.h
ZoneLaunch.cpp
ZoneLaunch.h
ZoneNumbers.h
ZonePerl.vcproj
account.html
accounts.html
action.html
actions.cpp
aggro.cpp
all_convert
apathing.cpp
apathing.h
archive.hpp
attack.cpp
awater.cpp
awater.h
azone.cpp
azone.h
basic_functions.h
beacon.cpp
beacon.h
blah.h
bodytypes.h
bonuses.cpp
boostcrap.cpp
boostcrap.h
bootzone.html
botAI.cpp
botRaids.cpp
botRaids.h
branch.gif
branchbottom.gif
branchtop.gif
breakdowns.h
bugdb.cpp
bugdb.h
buildfile.cpp
buildfile.h
cache.cpp
cache.h
changelog.txt
char_format.h
charmove.dsp
chat.html
class.sh
class.typemap
classes.cpp
classes.h
cleanipc.cpp
client.cpp
client.h
client.h.xs
client_logs.cpp
client_logs.h
client_mods.cpp
client_packet.cpp
client_packet.h
client_process.cpp
cliententry.cpp
cliententry.h
clientlist.cpp
clientlist.h
command.cpp
command.h
commands.html
commands.pl
common_profile.h
config.html
configdl.html
console.cpp
console.h
convert
convert_ops.pl
crc32.cpp
crc32.h
database.cpp
database.h
database.html
dbasync.cpp
dbasync.h
dbcore.cpp
dbcore.h
dbmemshare.cpp
debug.cpp
debug.h
deity.h
delete.gif
doors.cpp
doors.h
effects.cpp
embparser.cpp
embparser.h
embperl.cpp
embperl.h
embxs.cpp
embxs.h
emu_opcodes.cpp
emu_opcodes.h
emu_oplist.h
entity.cpp
entity.h
entity.h.xs
eq_constants.h
eq_old_structs.h
eq_opcodes.h
eq_packet_structs.h
eqemu_config.xml
eqemu_config.xml.full
eqlaunch.cpp
eqlaunch.dsp
eqlaunch.dsw
eqstrmgr.cpp
eqstrmgr.h
eqtime.cpp
eqtime.h
errmsg.h
event_codes.h
exp.cpp
export
export_char.cpp
extprofile.cpp
extprofile.h
faction.cpp
faction.h
favicon.ico
fearpath.cpp
features.h
file.cpp
file.hpp
file_loader.hpp
files.h
filters.html
folder.gif
forage.cpp
forage.h
global.hpp
gpl.txt
gpoint.cpp
gpoint.h
groups.cpp
groups.h
groups.h.xs
guild.cpp
guild.html
guild_base.cpp
guild_base.h
guild_mgr.cpp
guild_mgr.h
guildcreate.html
guilds.cpp
guilds.h
guilds.html
guildsearch.html
hate_list.cpp
hate_list.h
head_01_nb.jpg
head_02_nb.jpg
head_03_nb.jpg
head_04_nb.jpg
hexvis.clw
hexvis.cpp
hexvis.dsp
hexvis.dsw
hexvis.h
hexvis.ico
hexvis.rc
hexvis.rc2
hexvisDlg.cpp
hexvisDlg.h
horse.cpp
horse.h
import_char.cpp
import_showeq
index.html
inventory.cpp
item_fieldlist.h
item_struct.h
items-0.6.0-DR2-0.6.1-DR1-convert.sql
itemtablechanges.sql
languages.h
launcher.html
launchers.html
line.gif
linebottom.gif
linked_list.h
load_13thfloor_items.pl
load_db.cpp
locate_stringids.pl
log.ini
logsys.cpp
logsys.h
logsys_eqemu.cpp
logtypes.h
loottable.h
loottables.cpp
main.css
makefile
makefile.a64
makefile.bsd
makefile.common
makefile.cygwin
makefile.darwin
makefile.qst
makefile.vc2003
makefile.wine
makefile.x86opt
makepatch
map.h
masterentity.h
maxskill.h
md5.cpp
md5.h
menu.html
message.h
mime.types
minilogin.html
minus.gif
minusbottom.gif
minustop.gif
misc.cpp
misc.h
mkdot.sh
mob.cpp
mob.h
mob.h.xs
moremath.cpp
moremath.h
net.cpp
net.h
npc.cpp
npc.h
npc.h.xs
object.h
octree.hpp
oldcode.cpp
oldcode.h
op_codes.h
opcode_dispatch.h
opcode_map.cpp
opcodemgr.cpp
opcodemgr.h
opcodes.conf
opcodes_to_ida.pl
packet_dump.cpp
packet_dump.h
packet_dump_file.cpp
packet_dump_file.h
packet_functions.cpp
packet_functions.h
packetfile.cpp
packetfile.h
parser.cpp
parser.h
patch_6.2.conf
patch_Anniversary.conf
patch_Live.conf
patch_Titanium.conf
patches.cpp
patches.h
pathfinding.cpp
pathing.cpp
pathing.h
perl_EQDB.cpp
perl_EQDBRes.cpp
perl_EQLConfig.cpp
perl_EQW.cpp
perl_HTTPRequest.cpp
perl_PlayerCorpse.cpp
perl_client.cpp
perl_entity.cpp
perl_groups.cpp
perl_mob.cpp
perl_npc.cpp
perl_perlpacket.cpp
perlpacket.cpp
perlpacket.h
perlpacket.h.xs
perlparser.cpp
perlparser.h
petAI.cpp
petitions.cpp
petitions.h
petitions.html
pets.cpp
pets.h
pfs.cpp
pfs.hpp
players.html
plugin.pl
plus.gif
plusbottom.gif
plustop.gif
ppconvert.cpp
ppconvert.dsp
ppreader.pl
ppskillfix.cpp
ppskillfix.dsp
ppskillfix.dsw
profiler.h
ptimer.cpp
ptimer.h
put
quadtree.cpp
quadtree.h
questmgr.cpp
questmgr.h
queue.h
queues.h
races.cpp
races.h
raid.h
raids.h
rdtsc.cpp
rdtsc.h
reset.png
resource.h
rules.html
rulesys.cpp
rulesys.h
ruletypes.h
runall
s3d.c
s3d.h
schema.xml
seperator-2.h
seperator.h
serialize_items.pl
serverinfo.cpp
serverinfo.h
servertalk.h
shareddb.cpp
shareddb.h
shortnames
sig_to_ida.pl
skills.h
socket_include.cpp
socket_include.h
spacer.gif
spawn2.cpp
spawn2.h
spawngroup.cpp
spawngroup.h
spdat.cpp
spdat.h
special_attacks.cpp
spell_effects.cpp
spell_explorer.cpp
spells.cpp
status.html
stringids_to_ida.pl
struct_fields.sh
submit.png
tasks.cpp
tasks.h
template.cpp
template.h
template_ops.h
template_structs.h
ter.cpp
ter.hpp
throwpackets.pl
timeoutmgr.cpp
timeoutmgr.h
timer.cpp
timer.h
tinystr.cpp
tinystr.h
tinyxml.cpp
tinyxml.h
tinyxmlerror.cpp
tinyxmlparser.cpp
titles.cpp
titles.h
top.html
tradeskills.cpp
trading.cpp
trap.cpp
trap.h
tribute.cpp
types.h
unix.cpp
unix.h
update.png
updatemgr.cpp
updatemgr.h
useperl.h
variables.html
version.h
watermap.cpp
watermap.h
waypoints.cpp
wguild_mgr.cpp
wguild_mgr.h
win_getopt.cpp
win_getopt.h
wld.c
wld.h
world.html
world_logsys.cpp
worldconn.cpp
worldconn.h
worlddb.cpp
worlddb.h
worldserver.cpp
worldserver.h
worldstatus.html
worldui.pl
wr_update.sql
zfile.cpp
zfile.h
zon.cpp
zon.hpp
zone.cpp
zone.h
zone.html
zone_logsys.cpp
zone_profile.cpp
zone_profile.h
zonedb.cpp
zonedb.h
zonedbasync.cpp
zonedbasync.h
zonedump.h
zonelist.cpp
zonelist.h
zones.html
zoneserver.cpp
zoneserver.h
zoning.cpp
See my issue now? When I go to run make it has no idea where to find any of the files that the makefiles are calling for, beacuse the files are not in the proper directories.
  #619  
Old 07-07-2008, 01:59 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

I didn't change anything in the directory structure, all I did was use Beyond Compare and add everything that was in 1118 TO the BOT code, changed the Makefile files, so if you had to change the makefile and makefile.common, then you don't have the code I submitted, because they were already changed. On my 1118_Bot-Source version, you have to compile the entire thing, not just the zone code because of all the 1118 changes in the regular emu code. Sounds to me like it is not decompressing correctly as ALL of the directory structures ARE there. I use Debian Linux myself.
__________________
Random Segments of Code....
  #620  
Old 07-07-2008, 03:03 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

I could be wrong, but it almost looks like the archive was extracted w/o writing the directory structure. (or maybe the archive was created w/o adding the directory structure.)
  #621  
Old 07-07-2008, 03:08 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

That is what I thought. I will try to redownload the rar file and decompress again to see if I get any changes.
  #622  
Old 07-07-2008, 03:45 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

I downloaded the VC++2008 Express Dev Kit from here: http://www.mediafire.com/?vycm22limtm

Installed it by using the defaults and then setup the dependencies as described in the readme file

Uncompressed the 1118_Bots-Source file and compiled it with no problems. The directory structure is there.
__________________
Random Segments of Code....
  #623  
Old 07-07-2008, 04:23 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Quote:
Originally Posted by Aramid View Post
I downloaded the VC++2008 Express Dev Kit from here: http://www.mediafire.com/?vycm22limtm

Installed it by using the defaults and then setup the dependencies as described in the readme file

Uncompressed the 1118_Bots-Source file and compiled it with no problems. The directory structure is there.
Yep. Same here. I didn't have to do anything at all. Compiled itself practically. Not only that, but it's running very well.
  #624  
Old 07-08-2008, 04:11 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Was my bad I used the command unrar e and should have used unrar x. I usually edit the makefiles anyway to optimize the compiles for my server's cpu.
  #625  
Old 07-08-2008, 09:12 PM
billhumpsalot
Fire Beetle
 
Join Date: Dec 2007
Posts: 7
Default

I just got done compiling the bot source provided I noticed it said
1110Bots.sln but its listed for 1118 so I guess it's the right one. But while compiling the source I was wondering if it was normal to get 2-3 warnings and why I could only get it to compile under debug and not release?

all in all I tested it and works, I also have uploaded the files to see if it looks ok to you all and I did compress it down as far as I can get it.

http://www.mediafire.com/?1mlnyxdf21v
  #626  
Old 07-09-2008, 08:52 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Quote:
Originally Posted by billhumpsalot View Post
...I could only get it to compile under debug and not release?
The release compile only seems to work if you select ReleasePerl in VS2005.
  #627  
Old 07-09-2008, 11:49 AM
billhumpsalot
Fire Beetle
 
Join Date: Dec 2007
Posts: 7
Default

Ah ok thanks, I still get these warnigs but still compiles ok just the MB size diffrence is weird not sure if it's right or not.

Zone.exe 2.44
World.exe 4.15

This is the list of warnings I get.

LINK : warning LNK4044: unrecognized option '/MANIFESTUAC:level='asInvoker' uiAccess='false''; ignored

c:\eqemu-0.7.0-1118_bots-source\common\socketlib\httpsocket.cpp(113) : warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value

I'm not sure if anyone else gets these or if it's normal.
  #628  
Old 07-09-2008, 12:16 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

I get
2>emusharemem\mmf.cpp(325) : warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling

1>httpsocket.cpp(113) : warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value

but everything seems to work just fine.
  #629  
Old 07-09-2008, 01:44 PM
billhumpsalot
Fire Beetle
 
Join Date: Dec 2007
Posts: 7
Default

So even if the bot source given says 1110Bots.sln it's still 1118 merged in with it correct?
  #630  
Old 07-09-2008, 02:16 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

When I make a release, I update the file name... the last release was made by somebody else and they missed that minor detail. It doesn't affect anything.

The reason I haven't made a release in a while is because I am in the middle of revamping the spell lists the bots use and there are so many spells and some of them don't work when cast by the bots and it is taking a long time to do cuz I have to change the code as well as the database when setting up these new spell lists. It will be worth the wait though.
Closed Thread


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 02:46 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3