Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PokeNET: 2k13 --NEXUS Fixed <3

Newbie Spellweaver
Joined
Sep 4, 2011
Messages
88
Reaction score
12
Solved register error for DOB > 1994

Look up on the RegisterDialog.jar
Now this part of code
Code:
if(Integer.parseInt(m_year.getText()) <= 1994) {
Replace it with
Code:
if(Integer.parseInt(m_year.getText()) <= 9999) {

Fixing Movement (For WASD Included)

Look up for this code in GameClient.java
Code:
if ((lastPressedKey != Input.KEY_UP) && (lastPressedKey != Input.KEY_LEFT) && (lastPressedKey != Input.KEY_DOWN) && (lastPressedKey != Input.KEY_RIGHT))

Change it to
Code:
if ((lastPressedKey != Input.KEY_W) && (lastPressedKey != Input.KEY_A) && (lastPressedKey != Input.KEY_S) && (lastPressedKey != Input.KEY_D) && (lastPressedKey != Input.KEY_UP) && (lastPressedKey != Input.KEY_LEFT) && (lastPressedKey != Input.KEY_DOWN) && (lastPressedKey != Input.KEY_RIGHT))

Credits for Movement Fix:
http://forum.ragezone.com/f706/guide-movement-fix-875115/


EDIT:
1. Found a new bug, serverside movement que is bugged! Lot's of player is out of sync :( ( Is this true?)
2. Okay, so chat's working, you just can't change "Local" into anything else...
3. Friend list is always empty when you log in... you think something's wrong with this??
4. Whenever we use potions, pokemon always automatically use struggle...
 
Last edited:
Joined
Jul 8, 2009
Messages
445
Reaction score
64
This is for you, Coolkidbloo. ;)
Credit: My partner in crime with this project, LordUsagi. <3



Alright, so who remembers my PKMN-NEXUS release? Remember the setup problems? Well, I decided to fix it. Let's get started.

*removed the PKMN-NEXUS name. Now, it's 'PokeNET 2k13'
*all of my changes/fixes still apply in this release
-movement already fixed.
-potions fixed.
-IP embedded.
-Language selection removed. Auto English (sorry)
-Default's [NPC]Sprite Changer already added (Cost $0)
-ticket system implemented
-friends-list fixed.
-in-game background fixed. Auto black
-loading screen text changed; static text message
-loading screen image separated from login-screen image
-font changed
-full-screen option removed
-select Johto as starting position, removed (Work your way through the game)
-Auto start in Kanto. FTW
-Removed all starters, besides 1st generation (Make a quest for 'em or something)
-Battle UI changed.
-5th generation pokemon sprites added. (Add the Pokemon data yourself <3)
-Shiny sprites included
-chatbox background
-chatbox filter (Banned words are listed in, forbidden_words table.
-timezone fixed
-server selection limited only too one.
-private server button removed.
-Some other stuff I forgot.
*reverted back too PokeNET's original images in the client

----------------------
*IMAGES
----------------------​
xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums



----------------------
*REQUIRED JAVA
----------------------
Very important! Must have these, or else this poop won't work.





----------------------
*DOWNLOAD
----------------------



DeathLord17s Repack v1:
DeathLord17s changelog
Code:
CLIENT
	02/07/2013
	Added 'ServerIP' variable to GameClient.java, now uses this anywhere a server ip is.
	Added 'ServerName' variable to GameClient.java now uses this anywhere the name is necessary.
	Fixed the bug when using the "save" button on the options menu.
	Added option to save the username on login screen, saves in client: res/user.txt

SERVER
	02/07/2013
	Added ranks to the chat message, easy change the numbers and text in source.


DeathLord17s Repack v2:
DeathLord17s changelog
Code:
CLIENT
	04/07/2013
	Pokedex Related
		Fixed Pokemon Name placement
		Fixed pokemon Name Width

	03/07/2013	
	Pokedex added
		Added pokedex icon to UI bar
		Clicking icon opens new window::
			New window lists all pokemon (493).
			Clicking pokemon name opens new window with pokemon pokedex entry.
				Added pokemon image
				Added pokedex description entry
				Added pokemon name (needs to be fixed)
	
	02/07/2013
	Added 'ServerIP' variable to GameClient.java, now uses this anywhere a server ip is.
	Added 'ServerName' variable to GameClient.java now uses this anywhere the name is necessary.
	Fixed the bug when using the "save" button on the options menu.
	Added option to save the username on login screen, saves in client: res/user.txt
	Added news interface, loads from webpage 127.0.0.1/news.txt

SERVER
	03/07/2013
	Extended server interface:
		Added "Kick" Button
		Added "Ban IP" Button
		Added "Unban IP" Button
		Added "Mute" Button
		Added "Unmute" Button
		(all work 100%)
	Started work on in-game hiscores, currently server finds the top 10 but does nto communicate with client.

	02/07/2013
	Added ranks to the chat message, easy change the numbers and text in source.
	Time service changed to "127.0.0.1/time.php" use time.php in this folder for it.
	Stopped error message from appearing if there is no svn file.
	Stopped console logging of TCP/UDP messages
	Added news.txt to webserver
----------------------
*LIVE SERVER(s)
----------------------
1. ~removed.
2. TBA
3. TBA

----------------------
*ADD-ONS
----------------------
Add-on V1:
*Images
xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

Add-on V2:
*Images
xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

xkl - PokeNET: 2k13 --NEXUS Fixed <3 - RaGEZONE Forums

----------------------
*GUIDE
----------------------
Setup
Compile

----------------------
*TOOLS
----------------------




-------------------------------
*change embedded IP
PokenetClient > src > org.pokenet.client.ui.frame > ServerDialog.java
Code:
/*
		 * Create all the server buttons
		 */
		try {
			m_servers = new Button[5];
			m_host = new String[5];
			//Below is the default server selection. This should be used as your ONLY option.
			m_servers[0] = new Button("Entei");
			m_servers[0].setSize(280, 24);
			m_servers[0].setLocation(16, 32);
			m_servers[0].setVisible(true);
			m_servers[0].addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
					GameClient.setHost("[B][I][COLOR="#DDA0DD"]localhost[/COLOR][/I][/B]");
				}
			});
			this.add(m_servers[0]);
-------------------------------
*change window title(s)
PokenetClient > src > org.pokenet.client > GameClient.java
Code:
m_instance = new GameClient("[B][I][COLOR="#DDA0DD"]PokeNET: 2k13[/COLOR][/I][/B]");
Code:
m_confirm = new ConfirmationDialog("[B][I][COLOR="#DDA0DD"]Are you sure you want to close PokeNET?[/COLOR][/I][/B]",yes,no);
Code:
gc = new AppGameContainer(new GameClient("[B][I][COLOR="#DDA0DD"]PokeNET: 2k13[/COLOR][/I][/B]"),
-------------------------------
*change chat-box 'Welcome Message'
PokenetClient > src > org.pokenet.client.ui.frames > ChatDialog.java
Code:
addAnnouncement("[B][I][COLOR="#DDA0DD"]Welcome to PKMN-NEXUS![/COLOR][/I][/B]");

-------------------------------
*change ticket submission dialog
PokenetClient > src > org.pokenet.client.ui.frames > HelpWindow.java
Code:
this.add(m_submit);
		
    	ticketText = new TextArea();
    	ticketText.setSize(308, 50);
    	ticketText.setLocation(problemText.getX(), problemText.getY() - 72);
    	ticketText.setText("[B][I][COLOR="#DDA0DD"]If you are experiencing an in-game issue and would like to speak to a PokeNET staff member, then please use the form below to submit a ticket.[/COLOR][/I][/B]");
    	ticketText.setForeground(new Color(255, 255, 255));
    	ticketText.setBackground(new Color(0, 0, 0, 0));
    	ticketText.setBorderRendered(false);
    	ticketText.setEditable(false);
    	ticketText.setWrapEnabled(true);
  
    	this.add(ticketText);




----------------------
*BUG FIXES
----------------------​

-------------------------------
*fullscreen fix; credit: DeathLord17(This fix will already be provided in DeathLord17s repacks, posted under 'Download')
PokenetClient > src > org.pokenet.client.ui.frames > OptionsDialog.java
Code:
m_options.remove("fullScreen");
m_options.put("fullScreen", Boolean.toString(m_fullScreen
.isSelected()));
Remove this code
Code:
m_options.put("fullScreen", Boolean.toString(m_fullScreen
.isSelected()));
---

Well, I hope you enjoy. I apologize that it's not something brand new; but useful if someone is looking for a more advance public release of, PokeNET. :/:​


Can someone help me! ? to setup it i use win7 64bits when i try to excute the bat it's close so fast and nothing happen!!​
 
Newbie Spellweaver
Joined
Nov 23, 2012
Messages
11
Reaction score
0
how do I edit a pokemon from the beginning? and how do I know which command is active? and to put me as owner?
 

xkl

Experienced Elementalist
Joined
Dec 26, 2011
Messages
284
Reaction score
116
how do I edit a pokemon from the beginning? and how do I know which command is active? and to put me as owner?
1. Edit the client-side source, then compile with Eclipse.
2. Whatcha' mean? Like, knowing when a GM command is activated?
3. You can edit your AdminLevel in MySQL
 
Newbie Spellweaver
Joined
Nov 23, 2012
Messages
11
Reaction score
0
some guidance to compile with eclipse? and placed in the AdminLevel number?
 
Junior Spellweaver
Joined
Nov 16, 2010
Messages
187
Reaction score
19
some guidance to compile with eclipse? and placed in the AdminLevel number?

Look in the tutorials section -There's a guide that explains how to compile PokeNET in eclipse.
 
Newbie Spellweaver
Joined
Sep 1, 2008
Messages
18
Reaction score
1
Hello guys,

I've some issues here:

-When the player clicks on the Help button, the one with the icon of a Unown, the pop-up appears with the instructions but the screen start to blink.
-The white text box from the messages are empty ever
-When a battle starts, I can only see my pokemon in the top of the battle canvas, but no buttons or enemy poke


Thanks for everything!
 
Legendary Battlemage
Joined
Jan 23, 2013
Messages
695
Reaction score
101
Hello guys,

I've some issues here:

-When the player clicks on the Help button, the one with the icon of a Unown, the pop-up appears with the instructions but the screen start to blink.
-The white text box from the messages are empty ever
-When a battle starts, I can only see my pokemon in the top of the battle canvas, but no buttons or enemy poke


Thanks for everything!

Usually when the screen blinks it means that it's either refreshing or a hidden window is open as well.
What do you mean by the second one?

And it seems you don't have java 6 installed.
 
Newbie Spellweaver
Joined
Sep 1, 2008
Messages
18
Reaction score
1
Well, I've both 7 jdk and jre (x86 and x64), and 6 jdk and jre (x86). I've been using v6 to run the server, but without success...
 
Legendary Battlemage
Joined
Jan 23, 2013
Messages
695
Reaction score
101
You need jdk 6 to both run the server and client. Any errors?



Okay as I had said, I am running a server. It is still in early stages and I've only done a couple things to it, so most of the things are still the same (for instance, 'Entei' is still the server name, though I plan on removing server select from the client entirely)

I will be updating a thread on my forums -

Now you do not have to play whatsoever, I am not trying to advertise in any way shape or form. This is simply a project for me! My client is also available via the forums, simply look into the support section!
 
Last edited:
Newbie Spellweaver
Joined
Apr 18, 2014
Messages
50
Reaction score
30
Help ME! let me get to the server, but do not let me talk to anyone or fighting, the game stumbles I can not read or say. help!
 
Back
Top