Jump to content
  • 0
Sign in to follow this  
kevingunadi

Compile error C2233 'items': arrays of objects containing zero-size arrays are illegal

Question

Hi, i want to ask about compiling the emulator

 

i have latest hercules and want to compile the emulator to PACKETVER 20200122 with visual studio 2019 but its showing error message like this

Error	C2233	'items': arrays of objects containing zero-size arrays are illegal	plugin-sample	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal	plugin-HPMHooking_map	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\achievement.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\battle.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\battleground.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\buyingstore.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\atcommand.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\channel.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\chat.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\chrif.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\clan.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\clif.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\duel.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\elemental.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\guild.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\intif.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\irc-bot.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\itemdb.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\log.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\mail.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\homunculus.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\mercenary.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\instance.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\map.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\mob.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\HPMmap.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\npc.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\npc_chat.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\party.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\pc.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\pc_groups.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\pet.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\quest.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\refine.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\rodex.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\script.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\searchstore.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\status.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\skill.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\stylist.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\storage.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\trade.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\unit.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	
Error	C2233	'items': arrays of objects containing zero-size arrays are illegal (compiling source file ..\src\map\vending.c)	map-server	D:\Games\Ragnarok\Hercules\Hercules\src\map\packets_struct.h	3829	

 

I can set PACKETVER max only 20191031 and it will compiled normally in vs 2019

 

if u have any suggestion feel free to let me know

 

 

nb: sorry for my bad english and thank you

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.