PDA

View Full Version : Compiling Zone.exe


Merq
06-16-2004, 10:37 PM
--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
client_process.cpp
C:\Documents and Settings\Chris\Desktop\compile\Zone\client_process .cpp(3705) : error C2196: case value '492' already used
Error executing cl.exe.

Zone.exe - 1 error(s), 0 warning(s)

World.exe and EQShareMem.dll compiled fine. Why won't Zone.exe compile? =\

Merq
06-16-2004, 10:41 PM
This may be the wrong forum, sorry.

Derision
06-16-2004, 11:38 PM
My guess is that you edited common/eq_opcodes.h and made a mistake. I would suggest you download the latest source which shouldn't require eq_opcodes.h to be edited.

ndnet
06-16-2004, 11:39 PM
Line 3705 in Client_process.cpp is this:

case OP_PetitionQue: {

Which likely means you've got two things defined as the same opcode.

Check the definitions in the file common\eq_opcodes.h

devild0g
06-17-2004, 06:32 AM
OP_PetitionDelete and OP_PetitionQue have the same op code of 0x01ec in the newest source (6-16-04), make OP_PetitionDelete 0x0091 and that should fix it.