- Joined
- Sep 15, 2009
- Messages
- 31
- Reaction score
- 1
Cool very well
good job tanomist
If you will fix OpenGL error on GPU's release it please, thanks
![]()
-Battle window done
Thanks, i will release all on my websiteWow, that looks very good! I gave mine a refinish the other night and made it look more D/P like, but I really like this. Good work.
GJ to all of those who are working and developing the pokenet!!Thanks, i will release all on my website
btw .. where is on the server side -> Player exp/pokemon exp table ? ^^
Thanks, i will release all on my website
btw .. where is on the server side -> Player exp/pokemon exp table ? ^^
/**
* Calculates exp gained for Pokemon at the end of battles
*/
private void calculateExp() {
/*
* First calculate earnings
*/
int item = PokemonSpecies.getDefaultData().
getPokemonByName(m_wildPoke.getSpeciesName()).getRandomItem();
if (item > -1) {
m_player.getBag().addItem(item, 1);
TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
new BattleRewardMessage(BattleRewardType.ITEM, item));
} else {
int money = 10;
m_player.setMoney(m_player.getMoney() + money);
m_player.updateClientMoney();
TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
new BattleRewardMessage(BattleRewardType.MONEY, money));
}
if (m_participatingPokemon.size() > 0) {
double exp = (DataService.getBattleMechanics().calculateExpGain(
m_wildPoke, m_participatingPokemon.size()));
if (exp == 0) exp = 1;
/*
* Secondly, calculate EVs and exp
*/
int[] evs = m_wildPoke.getEffortPoints();
/*
* Finally, add the EVs and exp to the participating Pokemon
*/
for (Pokemon p : m_participatingPokemon) {
int index = m_player.getPokemonIndex(p);
/* Add the evs */
/* Ensure EVs don't go over limit, before or during addition */
int evTotal = p.getEvTotal();
if (evTotal < 510) {
for (int i = 0; i < evs.length; i++) {
/* Ensure we don't hit the EV limit */
if (evTotal + evs[i] < 510) {
if (p.getEv(i) < 255) {
if (p.getEv(i) + evs[i] < 255) {
/* Add the EV */
evTotal += evs[i];
p.setEv(i, p.getEv(i) + evs[i]);
} else {
/* Cap the EV at 255 */
evTotal += (255 - p.getEv(i));
p.setEv(i, 255);
}
}
} else {
/*
* We're going to hit the EV total limit Only add what's allowed
*/
evs[i] = 510 - evTotal;
if (p.getEv(i) + evs[i] < 255) p.setEv(i, p.getEv(i) + evs[i]);
else
p.setEv(i, 255);
i = evs.length;
}
}
}
/* Gain exp/level up and update client */
p.setExp(p.getExp() + exp);
/*
* Load wild pokemon
*/
try {
if(!map.getProperties().getProperty("wildProbabilty").equalsIgnoreCase("")) {
m_wildProbability = Integer.parseInt(map.getProperties().getProperty("wildProbabilty"));
} else {
m_wildProbability = 28;
}
} catch (Exception e) {
m_wildProbability = 28;
}
String[] species;
String[] levels;
Well the encounter rates default is 28, set by the server, that is if it isnt set by the map, but you can change the encounter rate for each map by opening the map editor, clicking map> map properties, and editing the 'wild probability'
Pic:
![]()
In the server source under org.pokenet.server.backend.map
You find the file servermap.java
In there you will see something like this:
Code:/* * Load wild pokemon */ try { if(!map.getProperties().getProperty("wildProbabilty").equalsIgnoreCase("")) { m_wildProbability = Integer.parseInt(map.getProperties().getProperty("wildProbabilty")); } else { m_wildProbability = 28; } } catch (Exception e) { m_wildProbability = 28; } String[] species; String[] levels;
If you cant understand the code, it basically says to get the wild probability from the map, else, the wild probability = 28.
Lower def. think of probability as a percent, the higher the percent, the more likely it will happen.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0a17c086, pid=3948, tid=3684
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x0a17c086
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x02f66c00): JavaThread "Thread-0" [_thread_in_native, id=3684, stack(0x03110000,0x03160000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000001
Registers:
EAX=0x00000001, EBX=0x73f3729c, ECX=0x0a2d31e4, EDX=0x0315f324
ESP=0x0315f260, EBP=0x0315f28c, ESI=0x0315f2f8, EDI=0x73f26c9c
EIP=0x0a17c086, EFLAGS=0x00210202
Top of Stack: (sp=0x0315f260)
0x0315f260: 73f37277 00000000 0a2d3210 73f3729c
0x0315f270: 0315f534 00000000 0a17c086 0a2d31b0
0x0315f280: 0a2d3230 0a2d3210 00000000 0315f500
0x0315f290: 73f37514 0a17c086 00000000 0a2d31b0
0x0315f2a0: 0315f534 0315f2f8 0a1a07a0 7c80ac28
0x0315f2b0: 0a19415c 00000000 00000000 00000000
0x0315f2c0: 00000000 00000000 00000000 00000000
0x0315f2d0: 00000000 00000000 73f13c08 73f1184c
Instructions: (pc=0x0a17c086)
0x0a17c066: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0a17c076: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0a17c086: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0a17c096: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Register to memory mapping:
EAX=0x00000001 is an unknown value
EBX=0x73f3729c is an unknown value
ECX=0x0a2d31e4 is an unknown value
EDX=0x0315f324 is pointing into the stack for thread: 0x02f66c00
ESP=0x0315f260 is pointing into the stack for thread: 0x02f66c00
EBP=0x0315f28c is pointing into the stack for thread: 0x02f66c00
ESI=0x0315f2f8 is pointing into the stack for thread: 0x02f66c00
EDI=0x73f26c9c is an unknown value
Stack: [0x03110000,0x03160000], sp=0x0315f260, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0a17c086
C [dsound.dll+0x27514] GetDeviceID+0x272
C [dsound.dll+0x27601] DirectSoundEnumerateA+0x14
C 0x0a17c2b6
C 0x0a175e8f
C 0x0a176c18
j org.lwjgl.openal.ALC10.alcOpenDevice(Ljava/lang/String;)Lorg/lwjgl/openal/ALCdevice;+1
j org.lwjgl.openal.AL.init(Ljava/lang/String;IIZZ)V+12
j org.lwjgl.openal.AL.create(Ljava/lang/String;IIZZ)V+233
j org.lwjgl.openal.AL.create(Ljava/lang/String;IIZ)V+5
j org.lwjgl.openal.AL.create()V+6
j org.newdawn.slick.openal.SoundStore$1.run()Ljava/lang/Object;+0
v ~StubRoutines::call_stub
V [jvm.dll+0xfae4b]
V [jvm.dll+0x18c531]
V [jvm.dll+0xfaecd]
V [jvm.dll+0xbb734]
C [java.dll+0x1015] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x15
j org.newdawn.slick.openal.SoundStore.init()V+26
j org.newdawn.slick.openal.AudioLoader.init()V+9
j org.newdawn.slick.openal.AudioLoader.getAudio(Ljava/lang/String;Ljava/io/InputStream;)Lorg/newdawn/slick/openal/Audio;+0
j org.pokenet.client.backend.SoundManager.loadFiles()V+62
j org.pokenet.client.backend.SoundManager.run()V+14
v ~StubRoutines::call_stub
V [jvm.dll+0xfae4b]
V [jvm.dll+0x18c531]
V [jvm.dll+0xfaff1]
V [jvm.dll+0xfb04b]
V [jvm.dll+0xb56b9]
V [jvm.dll+0x1190d4]
V [jvm.dll+0x1411ac]
C [msvcr71.dll+0x9565] endthreadex+0xa0
C [kernel32.dll+0xb50b] GetModuleFileNameA+0x1b4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.openal.ALC10.nalcOpenDevice(Ljava/lang/String;)J+0
j org.lwjgl.openal.ALC10.alcOpenDevice(Ljava/lang/String;)Lorg/lwjgl/openal/ALCdevice;+1
j org.lwjgl.openal.AL.init(Ljava/lang/String;IIZZ)V+12
j org.lwjgl.openal.AL.create(Ljava/lang/String;IIZZ)V+233
j org.lwjgl.openal.AL.create(Ljava/lang/String;IIZ)V+5
j org.lwjgl.openal.AL.create()V+6
j org.newdawn.slick.openal.SoundStore$1.run()Ljava/lang/Object;+0
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j org.newdawn.slick.openal.SoundStore.init()V+26
j org.newdawn.slick.openal.AudioLoader.init()V+9
j org.newdawn.slick.openal.AudioLoader.getAudio(Ljava/lang/String;Ljava/io/InputStream;)Lorg/newdawn/slick/openal/Audio;+0
j org.pokenet.client.backend.SoundManager.loadFiles()V+62
j org.pokenet.client.backend.SoundManager.run()V+14
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x003a6400 JavaThread "DestroyJavaVM" [_thread_blocked, id=3172, stack(0x009a0000,0x009f0000)]
=>0x02f66c00 JavaThread "Thread-0" [_thread_in_native, id=3684, stack(0x03110000,0x03160000)]
0x02c00000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=688, stack(0x02e70000,0x02ec0000)]
0x02bf1400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3584, stack(0x02e20000,0x02e70000)]
0x02befc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1640, stack(0x02dd0000,0x02e20000)]
0x02bee800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3028, stack(0x02d80000,0x02dd0000)]
0x02beb000 JavaThread "Finalizer" daemon [_thread_blocked, id=864, stack(0x02d30000,0x02d80000)]
0x02be6400 JavaThread "Reference Handler" daemon [_thread_blocked, id=692, stack(0x02ce0000,0x02d30000)]
Other Threads:
0x02baa000 VMThread [stack: 0x02c90000,0x02ce0000] [id=1168]
0x02c02000 WatcherThread [stack: 0x02ec0000,0x02f10000] [id=396]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2304K, used 1733K [0x22990000, 0x22c10000, 0x25190000)
eden space 2048K, 74% used [0x22990000, 0x22b0af18, 0x22b90000)
from space 256K, 85% used [0x22bd0000, 0x22c06678, 0x22c10000)
to space 256K, 0% used [0x22b90000, 0x22b90000, 0x22bd0000)
tenured generation total 5120K, used 0K [0x25190000, 0x25690000, 0x2a190000)
the space 5120K, 0% used [0x25190000, 0x25190000, 0x25190200, 0x25690000)
compacting perm gen total 12288K, used 693K [0x2a190000, 0x2ad90000, 0x2e190000)
the space 12288K, 5% used [0x2a190000, 0x2a23d490, 0x2a23d600, 0x2ad90000)
ro space 10240K, 51% used [0x2e190000, 0x2e6bdff8, 0x2e6be000, 0x2eb90000)
rw space 12288K, 55% used [0x2eb90000, 0x2f22c208, 0x2f22c400, 0x2f790000)
Code Cache [0x00a20000, 0x00ab0000, 0x02a20000)
total_blobs=177 nmethods=39 adapters=75 free_code_cache=32990656 largest_free_block=64
Dynamic libraries:
0x00400000 - 0x00424000 C:\WINDOWS\system32\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da9f000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x6d7a0000 - 0x6d7ac000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7e0000 - 0x6d7ef000 C:\Program Files\Java\jre6\bin\zip.dll
0x10000000 - 0x1005c000 C:\Program Files\POKEMONIUM\Pokemonium Client 0.9b\POKEMONIUM Client\lib\native\lwjgl.dll
0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x7c9c0000 - 0x7d609000 C:\WINDOWS\system32\SHELL32.dll
0x77f60000 - 0x77fdc000 C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x73f10000 - 0x73f6c000 C:\WINDOWS\system32\dsound.dll
0x774e0000 - 0x7761c000 C:\WINDOWS\system32\ole32.dll
0x0a330000 - 0x0a342000 C:\WINDOWS\BricoPacks\Vista Inspirat 2\RocketDock\RocketDock.dll
0x0a370000 - 0x0a381000 C:\WINDOWS\BricoPacks\Vista Inspirat 2\UberIcon\UberIcon.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
VM Arguments:
jvm_args: -Djava.library.path=lib/native
java_command: Pokemonium.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 0, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 8 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnow, 3dnowext
Memory: 4k page, physical 490992k(152436k free), swap 4507816k(3984560k free)
vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE (1.6.0_26-b03), built on May 4 2011 00:50:59 by "java_re" with MS VC++ 7.1 (VS2003)
time: Mon Jun 13 00:58:02 2011
elapsed time: 5 seconds
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2364)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
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 Source)
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:352)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.pokenet.server.network.MySqlManager.connect(MySqlManager.java:32)
at org.pokenet.server.network.NetworkService.start(NetworkService.java:92)
at org.pokenet.server.ServiceManager.start(ServiceManager.java:103)
at org.pokenet.server.GameServer.start(GameServer.java:315)
at org.pokenet.server.GameServer$1.actionPerformed(GameServer.java:210)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2292)
... 52 more
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2364)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
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 Source)
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:352)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.pokenet.server.network.MySqlManager.connect(MySqlManager.java:32)
at org.pokenet.server.network.NetworkService.start(NetworkService.java:92)
at org.pokenet.server.ServiceManager.start(ServiceManager.java:103)
at org.pokenet.server.GameServer.start(GameServer.java:315)
at org.pokenet.server.GameServer$1.actionPerformed(GameServer.java:210)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2292)
... 52 more
Great, i mean ... yes please .. if you can ...i have linux on an external hard drive if you want me to test.
