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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2004, 10:25 PM
Castelle
Fire Beetle
 
Join Date: Apr 2004
Posts: 1
Default 5.7 DR2

I downloaded the src from shawns link and compiled me up a linux server. All works fine for toons made with the 5.6 server, however, 5.7 it disconnects the client and doesnt finish the process, although no errors are displayed, the blob field doesnt get filled so next time you login it is deleted as a bogus toon.
Reply With Quote
  #2  
Old 04-26-2004, 10:59 AM
MindMage
Fire Beetle
 
Join Date: Apr 2004
Location: florida
Posts: 24
Default 5.7DR2

Is it possible to get a compiled version of 5.7DR2? I know there is absolutely positively NO SUPPORT for it whatsoever....but the whole item drop thing is driving me insane and I guess DR2 fixes that.

MindMage
__________________
If at first you don't succeed, stack another DOT.
Reply With Quote
  #3  
Old 04-26-2004, 11:59 AM
valaerosilantix
Sarnak
 
Join Date: Apr 2004
Posts: 61
Default

I have been attempting to compile, but the zones compiling keeps getting me an error lol

client_process.cpp
C:\EQEmu\versions\5.7dr2\zone\client_process.cpp(5 017) : error C2086: 'i' : redefinition


Most likely they have yet to get teh bugs out of it to successfully compile to win32.

yea its driving me nuts to. if anyone with a bit of C++ programming can explain to me exactly what that error means and where, I can probably fix it (no offence, programming is programming is programming, language is near the same, and I can figure it all out :P)
Reply With Quote
  #4  
Old 04-26-2004, 02:00 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

That message means that a variable with name i is getting declared twice in the same block of code. MOst likely this is because the code is declaring a temporary variable named i inside of a loop. This is legal to do and most mdoern compilers don't have a problem with it, but some older compilers declare variables for the whole method instead of the block of code and have trouble with doing this.
Reply With Quote
  #5  
Old 04-26-2004, 03:33 PM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

I think I looked at that particular problem before, and animepimp is right. `i' was being used as a temporary counter, and was redefined inside of a for loop...ie: for (int i = 0; i < ....).. just changing "int i" to "i" was fine, because the previous code was done using it.
Reply With Quote
  #6  
Old 04-26-2004, 03:46 PM
valaerosilantix
Sarnak
 
Join Date: Apr 2004
Posts: 61
Default

that helps greatly. Ill see if I can find where it is and do a custom edit
Reply With Quote
  #7  
Old 04-26-2004, 03:57 PM
valaerosilantix
Sarnak
 
Join Date: Apr 2004
Posts: 61
Default

found it. changed

for(int i = 0; i < 9; i++)

in the file to

for(i = 0; i < 9; i++)

and it compiled correctly
Reply With Quote
  #8  
Old 04-26-2004, 05:39 PM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

:

What compiler are you using ? not sure about that, but iirc 'recommended' is gcc3.2.3. Using it the first pattern works just fine.

Are you using the makefiles ?

nm, just glad you could compile, but curious about that anyway.
__________________
EQEMu Quest Repository is down until something new :(
Reply With Quote
  #9  
Old 04-26-2004, 10:10 PM
valaerosilantix
Sarnak
 
Join Date: Apr 2004
Posts: 61
Default

Running Winxp

Compiled using MS Visual Studios 6.0
Reply With Quote
  #10  
Old 04-27-2004, 01:50 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

Yeah that old of a version of Visual studio is probably too old to support features like block variables that new compilers allow since they declare them more dynamically.
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 05:51 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