Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2003, 05:34 PM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default Starting Items Completed on 0.5.0DR3

I've completed the Starting Items for 0.5.0DR3. This is a long DIFF and my first time generating a diff, so here goes.

Command line on linux is: diff -uBb original-file updated-file > file.diff

There are three files changed: common/database.h, common/database.cpp, world/client.cpp

The diffs are located here:

client.cpp.diff

database.h.diff

database.cpp.diff


regards,

krich
Reply With Quote
  #2  
Old 09-24-2003, 12:28 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Thanks for the work! I'm putting this as a sticky until we can get to it.
Reply With Quote
  #3  
Old 09-24-2003, 03:21 AM
kanechart
Sarnak
 
Join Date: Sep 2003
Posts: 78
Default

Thanks bro good work
__________________
Stop asking when the server will be out it be out when this says 100% and then maybe even a day or 2!
http://www.eqemulator.net/status.php
Reply With Quote
  #4  
Old 09-24-2003, 05:30 PM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

Warning: This seems to totally screw up when compiled under windows. Works fine under Linux. Trying to figure that out at the moment.

Regards,

krich
Reply With Quote
  #5  
Old 09-24-2003, 05:54 PM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

Hes here to stop win32 compiling, STOP HIM! :o

Thanks for the assistance
Reply With Quote
  #6  
Old 09-30-2003, 03:20 PM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

Quote:
Hes here to stop win32 compiling, STOP HIM!
Bah, foiled again. It turns out not to be a Windows problem afterall. Looks like the crashing problem was some invalid data in the starting_items table.

Database::GetItem(int32) does not take kindly to being called with zero. Causes a segmentation fault for some reason. I couldn't figure out a good way of error checking before that call (I suspect zero is not the only value that will make this function segfault).

Anyway, don't put invalid itemids in your starting_items table and you'll be fine with this enhancement.

<bad-dubbing>Hehe...Image, my next enhancement will have unstoppable Linux kung-fu. Your victory will be short lived!</bad-dubbing>

Regards,

krich
Reply With Quote
  #7  
Old 10-04-2003, 02:28 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Ok, I merged this in this morning... Looks like it's working good with my database (using TCS's, but I think his starting items table is based off Drawdes and Lurkers) ... I did notice the 0 add segfault, so I wrapped to add calls if an if(myitem) to get around that..

Also, I modified some of your logging.

I've pushed this out to CVS, so should be ready for your verification.
Let me know if you see any problems with it, or changes that need to be made. I hand to hand merge the changes as the diffs were too far apart from the code base.

Thanks for the donation!
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #8  
Old 10-05-2003, 03:31 PM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

Looks good.

Thanks,

krich
Reply With Quote
  #9  
Old 10-05-2003, 10:10 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Thanks krich.. God, I've never made so many typos at one time as I did in that last message!
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
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 07:33 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