this is in my src ackage constants;
import java.util.Calendar;
public class ServerConstants {
public static boolean TESPIA = false;
public static boolean release = true;
public static final boolean PollEnabled = false;
public static final String Poll_Question = "Are you mudkiz?";
public static final String[] Poll_Answers = {"test1", "test2", "test3"};
public static final short MAPLE_VERSION = (short) 144;
public static final String MAPLE_PATCH = "3";
public static final boolean BLOCK_CS = false;
public static boolean Use_Localhost = false;
public static final int MIN_MTS = 100;
public static final int MTS_BASE = 0;
public static final int MTS_TAX = 5;
public static final int MTS_MESO = 10000;
public static final boolean TRIPLE_TRIO = true;
public static final int CURRENCY = 4001055;
public static final String FM_BGM = "Bgm03/Elfwood";
public static final long number1 = 611816276193155499L;
public static final long number2 = 1877318832L;
public static final long number3 = 202227472981090217L;
public static final byte Class_Bonus_EXP(int job) {
switch (job) {
case 501:
case 530:
case 531:
case 532:
case 800:
case 900:
case 910:
case 2300:
case 2310:
case 2311:
case 2312:
case 3100:
case 3110:
case 3111:
case 3112:
return 10;
}
return 0;
}
public static boolean getEventTime() {
int time = Calendar.getInstance().get(11);
switch (7) {
case 1:
return (time >= 1) && (time <= 5);
case 2:
return (time >= 4) && (time <= 9);
case 3:
return (time >= 7) && (time <= 12);
case 4:
return (time >= 10) && (time <= 15);
case 5:
return (time >= 13) && (time <= 18);
case 6:
return (time >= 16) && (time <= 21);
}
return (time >= 19) && (time <= 24);
}
public static enum CommandType {
NORMAL(0),
TRADE(1);
private int level;
private CommandType(int level) {
this.level = level;
}
public int getType() {
return this.level;
}
}
public static enum PlayerGMRank {
NORMAL('@', 0),
DONATOR('#', 1),
SUPERDONATOR('$', 2),
INTERN('!', 3),
GM('!', 4),
SUPERGM('!', 5),
ADMIN('!', 6);
private char commandPrefix;
private int level;
private PlayerGMRank(char ch, int level) {
this.commandPrefix = ch;
this.level = level;
}
public char getCommandPrefix() {
return this.commandPrefix;
}
public int getLevel() {
return this.level;
}
}
}
what to change here
Loader 1...Loader 2...
Loader 3...
Loader 4...
Loader 5...
Loader 6...
29261 items loaded.
Loader 7...
Loader 8...
Loader 9...
Loader 10...
[Loading Login]
Listening on port 8484.
[Login Initialized]
[Loading Channel]
Channel 1: Listening on port 8585
Channel 2: Listening on port 8587
[Channel Initialized]
[Loading CS]
Listening on port 8790.
[CS Initialized]
[Respawn Worker] Registered for channels 1 2
[Fully Initialized in 40 seconds]
i make the server run but, when i use maplestory rediirection and change to hamachi ip. i get in with nexon ip adress. i cant log in to my private server hamachi help
and here is the worldgms.text # Ratesnet.sf.odinms.world.exp=8
net.sf.odinms.world.meso=8
# Admin Only or not
net.sf.odinms.world.admin=false
# 1 = Disable PQ 0 = Enable PQ
net.sf.odinms.world.flags=0
# Name of the Server
net.sf.odinms.login.serverName=Zenith
# Event Message at Channel Selection
net.sf.odinms.login.eventMessage=
# Flag at Channel Selection 0: Nothing 1: Event 2: New 3: Hot
net.sf.odinms.login.flag=2
# Initial amount of characters per account
net.sf.odinms.login.maxCharacters=3
# Server Scrolling Message
net.sf.odinms.world.serverMessage=Zenith -> Server Emulator 144 *Private Edition*
# total user limit of the server
net.sf.odinms.login.userlimit=1500
# defaults for channelservers
net.sf.odinms.channel.net.port1=8585
net.sf.odinms.channel.net.interface=127.0.0.1
# active event scripts
net.sf.odinms.channel.events=Olivia,PVP,CygnusBattle,ScarTarBattle,VonLeonBattle,Ghost,MV,OrbisPQ,HenesysPQ,Romeo,Juliet,Pirate,Amoria,Ellin,CWKPQ,AutomatedEvent,DollHouse,BossBalrog_EASY,BossBalrog_NORMAL,HorntailBattle,Nibergen,PinkBeanBattle,ZakumBattle,NamelessMagicMonster,Dunas,Dunas2,2095_tokyo,ZakumPQ,LudiPQ,ServerMessage,KerningPQ,ProtectTylus,WitchTower_EASY,WitchTower_Med,WitchTower_Hard,Vergamot,ChaosHorntail,ChaosZakum,CoreBlaze,BossQuestEASY,BossQuestMed,BossQuestHARD,BossQuestHELL,Ravana_EASY,Ravana_HARD,Ravana_MED,GuildQuest,Aufhaven,Dragonica
and what should i put here channel text # hostname or IP address of your world server
#net .sf.odinms.world.host=203.188.239.82 not mine hamachi ip what this mean?
#net .sf.odinms.world.host=203.116.196.8 not mine what this mean
#net .sf.odinms.world.host=5.180.9.16 not mine what is it mean?
net.sf.odinms.world.host=127.0.0.1
# number of channels to host in this process
net.sf.odinms.channel.count=2
# channel keys (these are defined in the channels table)
net.sf.odinms.channel.0.key=release1
net.sf.odinms.channel.1.key=release2
net.sf.odinms.channel.2.key=release3
net.sf.odinms.channel.3.key=release4
net.sf.odinms.channel.4.key=release5
net.sf.odinms.channel.5.key=release6
net.sf.odinms.channel.6.key=release7
net.sf.odinms.channel.7.key=release8
net.sf.odinms.channel.8.key=release9
net.sf.odinms.channel.9.key=release10
net.sf.odinms.channel.10.key=release11
net.sf.odinms.channel.11.key=release12
net.sf.odinms.channel.12.key=release13
net.sf.odinms.channel.13.key=release14
net.sf.odinms.channel.14.key=release15
net.sf.odinms.channel.15.key=release16
net.sf.odinms.channel.16.key=release17
net.sf.odinms.channel.17.key=release18
net.sf.odinms.channel.18.key=release19
net.sf.odinms.channel.19.key=release20
maybe i use wrong maplestory redirection. Is said madeby anhthanh95