Closed steven90005 closed 5 years ago
writeD(28800) should -8 Hours
Dont know if this works but try this
writeD((int) (Calendar.getInstance().getTimeInMillis() / 1000)); writeH(350);//4.3 writeH(2561);//4.5
Change Both H to 1 D:
writeD((int) (Calendar.getInstance().getTimeInMillis() / 1000)); writeD(28800);
if this isnt working you also can try to add this change too :
writeC(GSConfig.SERVER_COUNTRY_CODE);// country code; writeC(0x00);// unk
to writeC(GSConfig.SERVER_COUNTRY_CODE);// country code; // writeC(0x00);// unk
Thanks for your answer
I try to add 50400(14 hr) on writeD((int) ((Calendar.getInstance().getTimeInMillis()/ 1000)+50400));
Then , it works!
I want to change my server time zone.
I edit my gameserver.timezone to Etc/GMT-8 or Asia/Taipei and SM_VERSION_CHECK.java from this website: http://falke34.bplaced.net/forums/archive/index.php?thread-3168.html
but these still don't work :( My emu version is 4.7.5.