[Help Thread] Please post your questions here.

06/22/2015 06:56 sunnyxie49#4831
Hi i need yours help
i created a c# project, almost finished
Now there is a problem
need one button_Click send some message(command) to authserver(PrincessAuroraServer.exe) or gameserver(CaptainHerlockServer.exe)
I need someone to tell me ,what should I do.



now i use SendKeys work for it
have other ways to do it?
06/22/2015 19:37 nimoht#4832
Quote:
Originally Posted by sunnyxie49 View Post
Hi i need yours help
i created a c# project, almost finished
Now there is a problem
need one button_Click send some message(command) to authserver(PrincessAuroraServer.exe) or gameserver(CaptainHerlockServer.exe)
I need someone to tell me ,what should I do.



now i use SendKeys work for it
have other ways to do it?
You need to create an Telnet ( TCP) client in your application using the console_allow_ip ip, console_port port and console_password password for authentication, when your tcp client as connected and logged, you can send commands to gameserver, auth server don't know.

insert_item don't work.

good luck!:rtfm:
06/22/2015 22:23 thund22222#4833
hello, i need some help! i have problem with delete character
whenever i want to delete the character window appears enter pass!!?
06/22/2015 23:47 ThunderNikk#4834
Try adding these to the gameserver.opt...

S game.use_storage_security:0
S game.check_storage_security_always:0
S game.use_delete_security:0
06/23/2015 00:38 thund22222#4835
Quote:
Originally Posted by thndr View Post
Try adding these to the gameserver.opt...

S game.use_storage_security:0
S game.check_storage_security_always:0
S game.use_delete_security:0
thanks , but i have question
how can i use securityNo where password is stored?
06/23/2015 01:18 ThunderNikk#4836
Maybe password2 in account table?

Keep in mind it is limited to a 6 digit pin numbers only.

You will have to add it to your account creation and you will have to create a way for users to be able to update or change their security password through your website.
06/23/2015 01:33 thund22222#4837
you experience password2 in table account but is not also you try securityno table failed
i just want to know where to store password
06/23/2015 01:40 ThunderNikk#4838
If you are going to make me MD5 hash a 6 digit password and put it in password2 in the account table and change my gameserver.opt just to find out for you...

It is telecaster.dbo.SecurityNo

I am still working on making it work.
06/23/2015 07:02 XavierDeFawks#4839
Quote:
Originally Posted by thndr View Post
Try adding these to the gameserver.opt...

S game.use_storage_security:0
S game.check_storage_security_always:0
S game.use_delete_security:0
N game.use_security:0
You are missing this one. :)

Quote:
Originally Posted by thndr View Post
If you are going to make me MD5 hash a 6 digit password and put it in password2 in the account table and change my gameserver.opt just to find out for you...

It is telecaster.dbo.SecurityNo

I am still working on making it work.
If you are trying to get SecurityNo to work i can help you with this.
06/23/2015 17:20 thund22222#4840
Quote:
Originally Posted by xXExiledXx View Post
N game.use_security:0
You are missing this one. :)



If you are trying to get SecurityNo to work i can help you with this.

thanks, yeh i try to make it work
06/23/2015 19:40 XavierDeFawks#4841
The SecurityNo is set in the SecurityNo table in telecaster. For mine telecaster was all set up i only needed 2 things to make it work.

This smp in your Auth database.

And set this value in ur authserver.opt

N db.auth.use_md5_for_security_no:1

And SecurityNo should work.
06/23/2015 21:47 thund22222#4842
Quote:
Originally Posted by xXExiledXx View Post
The SecurityNo is set in the SecurityNo table in telecaster. For mine telecaster was all set up i only needed 2 things to make it work.

This smp in your Auth database.

And set this value in ur authserver.opt

N db.auth.use_md5_for_security_no:1

And SecurityNo should work.
thank you very much i will try ...
06/24/2015 02:33 ThunderNikk#4843
Quote:
Originally Posted by xXExiledXx View Post
The SecurityNo is set in the SecurityNo table in telecaster. For mine telecaster was all set up i only needed 2 things to make it work.

This smp in your Auth database.

And set this value in ur authserver.opt

N db.auth.use_md5_for_security_no:1

And SecurityNo should work.
I have tried all kinds of different ways.

With Auth emu

Not sure if this works in the auth emu but I used the auth emu queries for SecurityNo

N db.auth.use_md5_for_security_no:1

sql.db_securitynocheck.param.account:1
sql.db_securitynocheck.param.security_no:2
sql.db_securitynocheck.query:{CALL smp_check_security(?, ?)}

1. Plain text entry in SecurityNo

2. MD5 entry in SecurityNo

3. MD5 with 2011 salt entry in SecurityNo

Regular Princess Aurora for 9.1

1. Plain text entry in SecurityNo

N db.auth.use_md5_for_security_no:0

2. MD5 entry in SecurityNo

N db.auth.use_md5_for_security_no:1

3. MD5 with 2011 salt entry in SecurityNo

N db.auth.use_md5_for_security_no:1

No mater which way I try it always returns that my password is incorrect.

I don't need it anyway I was just trying to help Thund22222
06/24/2015 03:11 XavierDeFawks#4844
Ah I was using the official auth server. When it tells you your password is incorrect that probably means smp_check_security didnt return a value. Atleast that was the cause in my case. I had to edit it because the in value for password was set as 11 while md5 is a constant 32 so it was truncating data for me.
06/24/2015 03:11 thund22222#4845
thank you anyway, i will try :)

i have another question how do i give the player temporary pet after 7 days it disappears automatically?