Hello people,
I've just updated rAthena from the github repository and when I compile the server, I get these 2 WARNING:
CXX int_storage.cpp
int_storage.cpp:In function ‘bool mapif_load_guild_storage(int,uint32,int,char)’:
int_storage.cpp:201:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
WFIFOW(fd,2)=sizeof(struct s_storage)+13;^
int_storage.cpp:In function ‘void mapif_storage_data_loaded(int,uint32,char, s_storage*,bool)’:
int_storage.cpp:469:43: warning: large integer implicitly truncated to unsigned type [-Woverflow]uint16 size =sizeof(struct s_storage)+10;^
The same problem (with screenshots) has been indicated here:
but I do not know how to solve it... if I start the server I recived this specific error:
Quote
[11/Feb 10:24][Error]: s_storage size = 72024 is too big to be transmitted. (must be below 0xFFFF)
do you have any suggestions?
EDIT: I noticed that in the file "/src/common/mmo.hpp" if I lower the value "#define MAX_STORAGE" from my custom value 900 to the default value of 600, in this case everything works... but how do I keep the custom value of 900 without errors?
Question
CyberDevil
Hello people,
I've just updated rAthena from the github repository and when I compile the server, I get these 2 WARNING:
The same problem (with screenshots) has been indicated here:
https://github.com/rathena/rathena/issues/3570
but I do not know how to solve it... if I start the server I recived this specific error:
do you have any suggestions?
EDIT: I noticed that in the file "/src/common/mmo.hpp" if I lower the value "#define MAX_STORAGE" from my custom value 900 to the default value of 600, in this case everything works... but how do I keep the custom value of 900 without errors?
Edited by CyberDevilLink to comment
Share on other sites
4 answers 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.