I am adapting a php code that allows new players to create accounts, the issue is that it generates the keys in a way that when they try to enter the server, it does not allow them to enter due to a password error.
And from what I see Acis rev401 uses Bcrypt to encrypt the keys generated by the game's self-account. Since I don't understand anything about keys, I would like to know if someone can help me adapt the PHP code so that it generates keys that can be used to log into the game. Or I wonder if there is any other alternative method that I am not aware of.
Bcrypt example code:
*String strong_salt =BCrypt.gensalt(10)<br />*String stronger_salt =BCrypt.gensalt(12)<br />*</code>*<p>*The amount of work increases exponentially (2**log_rounds), so each increment is twice as much work.Thedefault log_rounds is 10, and the valid range is 4 to 30.*@authorDamienMiller*@version0.2*/publicclassBCrypt{// BCrypt parametersprivatestatic final int GENSALT_DEFAULT_LOG2_ROUNDS =10;privatestatic final int BCRYPT_SALT_LEN =16;// Blowfish parametersprivatestatic final int BLOWFISH_NUM_ROUNDS =16;// Initial contents of key scheduleprivatestatic final int[] P_ORIG ={0x243f6a88,0x85a308d3,0x13198a2e,0x03707344,
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
WEBSITE
I have been out of this league for a decade now and I decided to open a BETA SERVER for you guys to test and give me your feedback. It would be much appreaciated 😄
Estimated Grand Opening: 27/8/2025
Server Rates
EXP/SP: x9999
Adena: x500
Drop: x1
Spoil: x1
Raid Boss Drop: x1
Epic Boss Drop: x1
Safe Enchant: +3
Max Enchant: +20
Normal Scroll Chance: 90% (up to +10) / 75% (up to +15) / 50% (up to +20)
Game Features
Max clans in ally (3)
NPC Buffer with 2h buff duration
GM Shop until S-Grade
Auto-learn skills
Buff Slots (60)
Autopickup
might want to add this if you are actively developing
POST/GET methods can be used
Server votes returns array of votes and total votes
https://api.hopzone.eu/v1/?api_key=GbZRrFHWLcIetld2xahEy6VK5&server_id=19&type=json
IP Address returns the vote status
https://api.hopzone.eu/v1/?api_key=GbZRrFHWLcIetld2xahEy6VK5&ip=185.44.145.1&type=json
Note: it has also a vote generation via request and then you can craft a link and send it to player to vote on, it solves the ipv6 problem that many topsites have.
server id 19 and the api is used for the test server i got for api development
for any related question find me on the discord
https://hopzone.eu/docs.html/
Question
luzzifer
I am adapting a php code that allows new players to create accounts, the issue is that it generates the keys in a way that when they try to enter the server, it does not allow them to enter due to a password error.
And from what I see Acis rev401 uses Bcrypt to encrypt the keys generated by the game's self-account. Since I don't understand anything about keys, I would like to know if someone can help me adapt the PHP code so that it generates keys that can be used to log into the game. Or I wonder if there is any other alternative method that I am not aware of.
Bcrypt example code:
0 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.
Note: Your post will require moderator approval before it will be visible.