please ! :(:
Printable View
how can player use ring effect buy from cash shop?
How can I fix the User is not registered and the password is not correct?
I registered through MySQL and through my website.
Fixed!
replace everything in your worldserver.java file with this and recompile
EDIT: however i still get a Recv packet opcode error and when i try to login i get "User is not registered"Code:/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.odinms.net.world;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.util.Properties;
import javax.rmi.ssl.SslRMIClientSocketFactory;
import javax.rmi.ssl.SslRMIServerSocketFactory;
import net.sf.odinms.database.DatabaseConnection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author Matze
*/
public class WorldServer {
private static WorldServer instance = null;
private static Logger log = LoggerFactory.getLogger(WorldServer.class);
private int worldId;
private Properties dbProp = new Properties();
private Properties worldProp = new Properties();
private WorldServer() {
try {
InputStreamReader is = new FileReader("db.properties");
dbProp.load(is);
is.close();
DatabaseConnection.setProps(dbProp);
DatabaseConnection.getConnection();
is = new FileReader("world.properties");
worldProp.load(is);
is.close();
} catch (Exception e) {
log.error("Could not configuration", e);
}
}
public synchronized static WorldServer getInstance() {
if (instance == null) {
instance = new WorldServer();
}
return instance;
}
public int getWorldId() {
return worldId;
}
public Properties getDbProp() {
return dbProp;
}
public Properties getWorldProp() {
return worldProp;
}
public static void main(String[] args) {
try {
Registry registry = LocateRegistry.createRegistry(Registry.REGISTRY_PORT, new SslRMIClientSocketFactory(), new SslRMIServerSocketFactory());
registry.rebind("WorldRegistry", WorldRegistryImpl.getInstance());
} catch (RemoteException ex) {
log.error("Could not initialize RMI system", ex);
}
}
}
Took me 2 minutes to write that, And I like your cat joke. :D:
Ok thanks, but now when i try to login, i get the unregistered id thing when i try logging in with admin admin, but i did login name: admin pass: admin(in sha1) in my query browser, and still nothing. do i need to use different encryption, or just add auto reg?
BTW people getting "main" error in the bat files, you need to copy the compiled jar into the dist folder, then rename it to odinms.jar
Seriously, shut up.
Oh really? I'm not Dan and i will never be him. Your the one pretending to be signed to Universal Studios, one of the biggest theme parks in the world. I would know if your signed to it due to the fact i live 10 minutes away from Universal and i go there once every 2 months. You can't compile, you asked me to help you with compiling. Before you lie, think before you speak. I'm a pussy? Your the one trolling posts and pretending to be 24 years old while your just some 11 year old kid in the streets. I'm obese? Your the one sitting around a computer while you have a career in Rapping. Seems like you don't do your job, you sit around critisizing other people. I just have two words for you legacy, fuck off. Leak my svn, i can simply delete it. It only takes 2 seconds to remove the space. No one is as stupid as you. Get a hobby. Fuck off. You are like that, you've leaked tons of shit, but one day, it'll all come back to you. :). Stop sitting around thinking your god because you have a rapping career because your not. Your just some has-been faggot who thinks he's all that. Your paypal got owned, your CMS got owned, your source will too.
Much love, honey.
---------- Post added at 12:15 AM ---------- Previous post was at 12:14 AM ----------
I will be adding auto-register to the svn in 5 minutes. Update when i do so.
Okay, I'm going to correct your stupid ass. Universal is in New York and California asshole.
I'm not talking about Flordia, stupid ass.
Your a pussy, your 12 shemale.
how do players buy ring
A few updates. Added auto register, you can choose to allow auto register or not through world.properties, you can choose pvp channel through world.properties, and you can set cooldowns in world.properties.
Another. :D
You expect anyone to believe that? lolololololol. Someone needs to teach you a lesson. First of all, your not signed to shit, nor do you rap. Your some 11 year old kid who trolls around other forums and servers who thinks he's god, but your not. You can't compile, you even asked me to help you with a compile problem. Before you speak, think. You make yourself sound like an idiot all the time, and i'm obese? Your the one sitting around critisizing my posts while you're thinking you rap for an agency signed to Universal. If you really were in that business, you wouldn't be sitting on a computer flaming little kids and running a maplestory server, PRojectCRASH, which is supposively comming soon. Your such an idiot, your paypal account got blocked, your CMS got leaked, and you got owned by Qualitys. Your a scammer and your just another has-been in the maplestory community.