Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2008, 04:08 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

if the heal aggro code is currently broke, maybe fix it like this:

Code:
Existing Code:

else if (IsBeneficialSpell(spell_id) && spelltar->GetHateAmount(this) > 1)
		entity_list.AddHealAggro(spelltar, this, chekHealAggroAmount(spell_id));
Code:
Option A:
else if (IsBeneficialSpell(spell_id) && spelltar->IsEngaged()) {
        Mob* targetstarget = spelltar->GetTarget();
        targetstarget->AddToHateList(this->CastToMob(), CheckHealAggroAmount(spell_id));
}
Code:
Option B:
else if (IsBeneficialSpell(spell_id) && spelltar->IsEngaged()) {
        Mob* targetstarget = spelltar->GetTarget();
        entity_list.AddHealAggro(targetstarget, this, CheckHealAggroAmount(spell_id));
}
Reply With Quote
  #2  
Old 06-26-2008, 04:25 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

Quote:
Originally Posted by Congdar View Post
if the heal aggro code is currently broke, maybe fix it like this:

Code:
Existing Code:

else if (IsBeneficialSpell(spell_id) && spelltar->GetHateAmount(this) > 1)
		entity_list.AddHealAggro(spelltar, this, chekHealAggroAmount(spell_id));
Where did you get this code from?

is it in one of the source files?
Reply With Quote
  #3  
Old 06-26-2008, 04:26 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

I think getTarget() could be exploited so maybe use one of the hatelist options GetHateTop() GetHateMost() or GetHateRandom()
Code:
spells.cpp

Option C:
else if (IsBeneficialSpell(spell_id) && spelltar->IsEngaged()) {
        Mob* targetstarget = spelltar->GetHateTop();
        targetstarget->AddToHateList(this->CastToMob(), CheckHealAggroAmount(spell_id));
}
Reply With Quote
  #4  
Old 06-26-2008, 05:30 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ok i tried adding this and compiling it but i cant get it working this is the first time i tried...

i have a few versions

visual c++ 9.0
vs 6.0 pro
and vs 2008 pro

and none of them work

i even downloaded the dev kit on the forums here im guessing its out of date on the dependency's becuase that did not work either lol

i know this is prob not the best place to ask this but i figure you guys know how to set it up.

what program would be best to use and how should i go about setting it up to compile the latest source on the main site there..

you an just give a quick rundown i know how to use the programs already so its not like explaining it to a complete newbie just newbie to compiling this code itself lol
Reply With Quote
  #5  
Old 06-26-2008, 05:38 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The dev kit works just fine if you follow the directions. Though, it doesn't hurt to have a little technical experience with compiling in VB when using it. If you got errors while compiling, then most likely the changes you made are what is causing the errors. It is very particular about how changes to the source get handled and they have to be done right or you will get errors. I haven't tried these code changes suggestions, so I don't know if they work or not.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 06-26-2008, 06:15 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

i followed the directions 100%
Code:
#### Dev Kit ####
1)install VC++2008.exe
2)this entire folder needs to be place in C:/EQEmu
3)open Server.sln with VC++ 2008
4)open tools menu click options
5)select Projects and Solutions drop down menu
6)click VC++ and add the Dependencys folder as Executable files,Include Files,Library files
7)on the top bar it will proly see debug change it to Release and then Build Solution
8)watch as its compiled you will notice many warnings this is normal
9)the newly compiled files will be in the Build folder

Notes: This kit includes build files for Pearl 5.8, zlib 1.2.3, mysql 6.0.4, VC++ 8.0, EQEmu 1110. They are the latest working build files that i know of. This Dev Kit was made by Opyrus. This kit is easy to update simply paste the latest source over the current files and if you wish to update any of the other required Build files you can paste them inthe Dependancys folder.
i even tried using a clean version without the changes and still error all over the place and then fails with no zonedebug.exe file or anything in the debug folder

maybe there a ver version of the dev kit i missed somewhere? the file sayed devkit2.0.exe

ill tr again from scratch see what happens
Reply With Quote
  #7  
Old 06-26-2008, 06:26 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Make sure you are following this step:

Quote:
7)on the top bar it will proly see debug change it to Release and then Build Solution
There is a pull down at the top of the window where you can select Release, Debug and maybe 1 other option. You have to set that to release. It looks like you were compiling the debug version and that is probably where you are failing.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #8  
Old 06-27-2008, 01:04 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ok i download the devkit installed setup and ran did every step and build

it runs and says this in the log at the bottem

then in the build folder i get shardmem folder world folder and 5 files 1 being world.exe no zone.exe or launcher or anything like that..

also the server file on the server build that comes with the dev kit (says 9 little number on the file itself telling you what version it loads in) the source i download from the site has a 7 on it.. when i load it it does its combatability upgrade thing and gives errors (well warnings not really error.. thats without adding this code thats just the source from the main site.

Code:
1>------ Build started: Project: World, Configuration: Release Win32 ------
2>------ Build started: Project: EMuShareMem, Configuration: Release Win32 ------
2>Compiling...
1>Compiling...
2>timer.cpp
1>XMLParser.cpp
2>SharedLibrary.cpp
1>Utility.cpp
2>Mutex.cpp
1>tinyxmlparser.cpp
1>tinyxmlerror.cpp
1>tinyxml.cpp
1>tinystr.cpp
1>timer.cpp
2>debug.cpp
2>Spells.cpp
1>timeoutmgr.cpp
1>TCPServer.cpp
2>SkillCaps.cpp
1>TCPConnection.cpp
2>Opcodes.cpp
1>StructStrategy.cpp
2>NPCTypes.cpp
2>NPCFactionLists.cpp
1>socket_include.cpp
1>SharedLibrary.cpp
1>shareddb.cpp
2>MMF.cpp
2>.\MMF.cpp(325) : warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling
2>Loot.cpp
1>serverinfo.cpp
2>Items.cpp
1>rulesys.cpp
2>Doors.cpp
1>races.cpp
2>DLLMain.cpp
1>perl_EQDBRes.cpp
2>Generating Code...
2>Linking...
1>perl_EQDB.cpp
2>LINK : warning LNK4044: unrecognized option '/MANIFESTUAC:level='asInvoker' uiAccess='false''; ignored
2>   Creating library .\../Build/EMuShareMem.lib and object .\../Build/EMuShareMem.exp
2>Linking...
2>LINK : warning LNK4044: unrecognized option '/MANIFESTUAC:level='asInvoker' uiAccess='false''; ignored
2>   Creating library .\../Build/EMuShareMem.lib and object .\../Build/EMuShareMem.exp
2>Embedding manifest...
1>Parse.cpp
1>Generating Code...
2>Build log was saved at "file://c:\Documents and Settings\spider\Desktop\EQEmu-0.7.0-1118-source\EQEmu-0.7.0-1118\Build\EMuShareMem\Release\BuildLog.htm"
2>EMuShareMem - 0 error(s), 3 warning(s)
1>Compiling...
1>packet_functions.cpp
3>------ Skipped Build: Project: Zone ------
3> 
1>packet_dump_file.cpp
1>packet_dump.cpp
1>opcodemgr.cpp
1>Mutex.cpp
1>moremath.cpp
1>MiscFunctions.cpp
1>misc.cpp
1>Mime.cpp
1>MemFile.cpp
1>md5.cpp
1>logsys_eqemu.cpp
1>logsys.cpp
1>Item.cpp
1>HTTPSocket.cpp
1>HttpdSocket.cpp
1>HttpdForm.cpp
1>HttpdCookies.cpp
1>guilds.cpp
1>guild_base.cpp
1>Generating Code...
1>c:\documents and settings\spider\desktop\eqemu-0.7.0-1118-source\eqemu-0.7.0-1118\common\socketlib\httpsocket.cpp(113) : warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value
1>Compiling...
1>File.cpp
1>extprofile.cpp
1>eqtime.cpp
1>EQStreamProxy.cpp
1>EQStreamIdent.cpp
1>EQStreamFactory.cpp
1>EQStream.cpp
1>EQPacket.cpp
1>EQEMuError.cpp
1>EQEmuConfig.cpp
1>EQDBRes.cpp
1>EQDB.cpp
1>EmuTCPServer.cpp
1>EmuTCPConnection.cpp
1>EMuShareMem.cpp
1>emu_opcodes.cpp
1>debug.cpp
1>DBMemLeak.cpp
1>dbcore.cpp
1>dbasync.cpp
1>Generating Code...
1>Compiling...
1>database.cpp
1>crc32.cpp
1>CRC16.cpp
1>Condition.cpp
1>classes.cpp
1>BasePacket.cpp
1>Base64.cpp
1>Titanium.cpp
1>Patches.cpp
1>Live.cpp
1>Client62.cpp
1>Anniversary.cpp
1>zoneserver.cpp
1>zonelist.cpp
1>worlddb.cpp
1>WorldConfig.cpp
1>world_logsys.cpp
1>wguild_mgr.cpp
1>perl_HTTPRequest.cpp
1>perl_EQW.cpp
1>Generating Code...
1>Compiling...
1>perl_EQLConfig.cpp
1>net.cpp
1>LoginServer.cpp
1>LauncherList.cpp
1>LauncherLink.cpp
1>HTTPRequest.cpp
1>EQWParser.cpp
1>EQWHTTPHandler.cpp
1>EQW.cpp
1>EQLConfig.cpp
1>console.cpp
1>clientlist.cpp
1>cliententry.cpp
1>client.cpp
1>Generating Code...
1>Linking...
1>LINK : warning LNK4044: unrecognized option '/MANIFESTUAC:level='asInvoker' uiAccess='false''; ignored
1>Embedding manifest...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\Documents and Settings\spider\Desktop\EQEmu-0.7.0-1118-source\EQEmu-0.7.0-1118\Build\World\Release\BuildLog.htm"
1>World - 0 error(s), 2 warning(s)
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
Reply With Quote
Reply

Thread Tools
Display Modes

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