Guys... I'm too stupid to setup roBrowser...
I used a clean hercules version, compiled it with packetver 20141022,
I've set up roBrowser like described on the getting-started guide,
I've managed to connect to the server/create character,
Once I want to connect to the map server (when I select the character to play the game) I get a "Disconnected from Server" message with
These packets:
[Network] Send: PACKET_CH_SELECT_CHAR {CharNum: 0}
Network] Recv: PACKET_HC_REFUSE_ENTER {ErrorCode: 0}
Everything's fine on the login/char/map-server, no error or anything, it just stops there.
This is my index.php for roBrowser:
<!DOCTYPE html>
<html>
<head>
<title>ROBrowser's App from http://www.robrowser.com</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script type="text/javascript" src="api.js"></script>
<script type="text/javascript">
function initialize() {
var ROConfig = {
target: document.getElementById("robrowser"),
type: ROBrowser.TYPE.FRAME,
application: ROBrowser.APP.ONLINE,
remoteClient: "http://localhost/roBrowser/client/",
width: 800,
height: 600,
development: false,
servers: [{
display: "Demo Server",
desc: "roBrowser's demo server",
address: "127.0.0.1",
port: 6900,
version: 25,
langtype: 12,
packetver: 20141022,
packetKeys: true,
socketProxy: "ws://localhost:5999/",
adminList: [2000000]
}],
skipServerList: true,
skipIntro: false,
};
var RO = new ROBrowser(ROConfig);
RO.start();
}
window.addEventListener("load", initialize, false);
</script>
</head>
<body>
<div id="robrowser">Initializing roBrowser...</div>
</body>
</html>
Could anyone help me on this, please? >_< Already tried different packetversions, no change....