Автопатчер

Статус
В этой теме нельзя размещать новые ответы.

indern

Новичок
Пользователь
25 Июн 2012
14
0
1
32
Возникла проблема с подключением CPW через install.bat

Localhost:
Пишу IP - пример : 44.200.100.200 (примерный)
Login:
root
Password:
Пишу Pass - пример : gufrip (примерный)
Возникает ошибка:


В текстовом виде:

C:\patcher>color 0b

C:\patcher>title Install

C:\patcher>java -jar -Xmx256m pw-cpw.jar install
[INFO 2012-08-10 03-39-07] Installing...
[INFO 2012-08-10 03-39-07] Creating rsa keys...
Loaded public key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCyJqF8EJjZmdgYD7pe3pE/a
bBH48AjIFg5Xdj9WOF5NaishTY0sJnxRR/lQMYqkODFQRMvfXiRPuk1R9+AKLh4umIBrXbucxyRKXRAm
O60zy7cGAMvTwMUqBfmyqcshHX6ptj1v18FWhvKNHyZOnno79qKB8veyNNGNCoyj+AAPwIDAQAB
Loaded private key: MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBALImoXwQmNmZ
2BgPul7ekT9psEfjwCMgWDld2P1Y4Xk1qKyFNjSwmfFFH+VAxiqQ4MVBEy99eJE+6TVH34AouHi6YgGt
du5zHJEpdECY7rTPLtwYAy9PAxSoF+bKpyyEdfqm2PW/XwVaG8o0fJk6eejv2ooHy97I00Y0KjKP4AA/
AgMBAAECgYEAqIJN4PI6Aim48xl9adsQfHDV40oUJaWkja6tXwZBT8tnnrfqS/B3zHVb9BdO2lhro2ko
YpVGA+0D3ff7+leKFF8urm3KYk/sbeevpsz+pYEnqkQyRJIj/SUPKZbQtZE9rZxeoKfKf8o6GxRjE9Mr
fWb03iU0YxdZUMGCjyUli4ECQQD5Shreo2HFP28PuOmQBpJS47qmBBZBNsIqn4HdEeZXxwKbWEK8DzaG
mrrzqcECpv2UTWK4pSsP2icB0y0IwxSfAkEAtvJMVJm3gLs8wukteIjo+eXGEnlu0VqCvLgv6TzIB2uR
mF2iRxVmMXJrJS3DXs2GC8fwe6aOaF41S53TokzQYQJAa1Xm/9mlLULE1SYvGp5ZvmrjYLv9wRKMw8Fu
LvuYDE9Z5f04rrR2K7rPqD59JmE0afhv+0TSp76scPK2P0GPzQJBAKegcWIfCq2QYgcxgnFr+RRofcmV
rH100k+68GNkRt/NpzUVrkg1ilKKRTRmrxmhdU48H9Qcc2Wb1Hd5oF2YxmECQFnKnvyi8CCgm8xoZ2rN
xoBJAoW8qRfhabEZsWNMnfs69lRWTQ2ikXnAfQwHe4zK31TWGRPURW6iJ9fIvOtGQ5A=
[INFO 2012-08-10 03-39-07] Saving keys.
[INFO 2012-08-10 03-39-07] Input mysql server (eg, localhost):
TYT_IP
[INFO 2012-08-10 03-39-16] Input mysql login (eg, pwu):
TYT_LOGIN
[INFO 2012-08-10 03-39-21] Input mysql password (eg, superpuperpassword):
TYT_PASS
[INFO 2012-08-10 03-39-27] Input mysql database name (eg, pwu):
pwu
[INFO 2012-08-10 03-39-35] Saving config.
[INFO 2012-08-10 03-39-35] Creating table.
[FATAL 2012-08-10 03-39-38] Database error: SQL exception.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
lure

Last packet sent to the server was 0 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1
074)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:282)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.pwemu.clientupdater.CPWDB.<init>(CPWDB.java:29)
at com.pwemu.clientupdater.CPW.loadDb(CPW.java:42)
at com.pwemu.clientupdater.CPW.install(CPW.java:116)
at com.pwemu.clientupdater.CPW.main(CPW.java:67)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communicatio
ns link failure

Last packet sent to the server was 0 ms ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1
074)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
... 15 more
Caused by: java.net.UnknownHostException: TYT_IP
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
va:243)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
... 16 more
Exception in thread "main" java.lang.NullPointerException
at com.pwemu.clientupdater.CPW.loadDb(CPW.java:48)
at com.pwemu.clientupdater.CPW.install(CPW.java:116)
at com.pwemu.clientupdater.CPW.main(CPW.java:67)

C:\patcher>pause

Как бы это исправить?
И поставить на дц авто-патчер.


Добавил : Sql запрос в /phpmyadmin выполнил
 

bubon`ka

Пользователь
Пользователь
3 Апр 2012
113
10
18
28
Установи яву 6
На дц точно так же
Кидаешь папку с cpw в любую папку в дц
Делаешь новую базу в mysql, заливаешь sql
устанавливаешь..
Открываешь определённый батник у себя на компе, копируешь код без pause
вставляешь в консоль.. И всё готово)
 

indern

Новичок
Пользователь
25 Июн 2012
14
0
1
32
root@p119255:~# Error occurred during initialization of VM
-bash: Error: command not found
root@p119255:~# Could not reserve enough space for object heap
-bash: Could: command not found
root@p119255:~# Could not create the Java virtual machine.
-bash: Could: command not found
 
Статус
В этой теме нельзя размещать новые ответы.

G2A

Пользователи онлайн

Последние ресурсы

Статистика форума

Темы
3.835
Сообщения
21.242
Пользователи
7.463
Новый пользователь
DuglasS