well when that code/source is what i“m thinking it is then how on earth did you get that... or more like how much did it cost :laugh:
Printable View
First you have to get yourself admin :
Go into your mongodb client (Studio 3T for example, any will do), then go into loginserver => accounts, and put 4 in access level (1 is tester, 2 moderator, 3 game master, 4 admin). Restart the server and you're admin. Then to give yourself items just do /bag add itemid count (optional: echantlevel), in that case /bag add 17076 20
hello pl how to fix
connection with the server has been lost
Anyone know why im getting this error
I have the most recent Ogrefest launcher as of today.Code:18:26:28.676 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMListWarehouseItem
18:26:28.677 WARN - Client -> Server: CMLoginUserToFieldServer
18:26:28.696 WARN - Server -> Client: SMGetContentServiceInfo
18:26:28.700 WARN - Server -> Client: SMChargeUser
18:26:28.701 WARN - Server -> Client: SMLoginUserToFieldServer
18:26:28.703 WARN - Server -> Client: SMPcRoomAuth
18:26:28.704 WARN - Server -> Client: SMFixedCharge
18:26:28.705 ERROR - [UNKNOWN PACKET] : received 0xfffff936, state=AUTHED
18:26:28.705 ERROR - Packet wasn't found so... closing..
18:26:28.706 ERROR - [UNKNOWN PACKET] : received 0x669e, state=AUTHED
18:26:28.706 ERROR - Packet wasn't found so... closing..
18:26:28.706 ERROR - [UNKNOWN PACKET] : received 0x31e, state=AUTHED
It connects to ogrefest just fine. and connects to login server. As soon as i click connect to server it gives that error and says Connection with server has been lost.
maybe its a stupid question, but in the data folder there is a xml that may handle the packets, did you copy the data folder in the gameserver/bin ?
Sure did
https://puu.sh/yTNBB.png
- - - Updated - - -
Fixed it
Download this and extract to Bin64 @ZiiZii
http://www.mediafire.com/file/4q4a7szlzrqqx25/xc.7z
can try to put full data files in game server /bin
cpoy data flies and paste to it like thethishttps://i.imgur.com/Sjk1yHP.png
i believe this is the broken grab code:
gameserver/model/actions/actioncharts/CatchAction.javaCode:package com.bdoemu.gameserver.model.actions.actioncharts;
import com.bdoemu.commons.utils.Rnd;
import com.bdoemu.core.network.sendable.SMDoPhysicalAttack;
import com.bdoemu.gameserver.model.actions.ADefaultAction;
import com.bdoemu.gameserver.model.actions.templates.ActionChartActionT;
import com.bdoemu.gameserver.model.creature.Creature;
import com.bdoemu.gameserver.model.creature.agrolist.AttackResult;
import com.bdoemu.gameserver.model.creature.enums.EMainAttackType;
import com.bdoemu.gameserver.model.creature.player.Player;
import com.bdoemu.gameserver.model.knowlist.KnowList;
import java.util.Collections;
public class CatchAction extends ADefaultAction {
public CatchAction(final ActionChartActionT actionChartActionT) {
super(actionChartActionT);
}
@Override
public void init() {
final Creature target = KnowList.getObject(this.owner, this.getTargetGameObj());
if (target != null && !target.isPlayer()) { // TODO: Fix grabs lol
if (owner.isEnemy(target)) {
final boolean isPvpTarget = this.owner.isPlayer() && target.isPlayer();
int resist = target.getGameStats().getResistCapture().getIntMaxValue();
if (isPvpTarget && resist > 600000) {
resist = 600000;
}
//resist -= this.owner.getGameStats().getResistCapture().getIntValue();
if (target.canForceMove() && Rnd.get(1000000) > resist) {
final AttackResult attackResult = new AttackResult(null, this.owner, target);
attackResult.applyAttack(0, 0, EMainAttackType.DDD);
this.owner.sendBroadcastItSelfPacket(new SMDoPhysicalAttack(Collections.singleton(attackResult)));
target.getAi().HandleCapture(this.owner, null);
} else {
this.targetGameObjId = -1024;
target.sendBroadcastItSelfPacket(new SMDoPhysicalAttack(this.owner, target));
}
}
super.init();
} else {
this.targetGameObjId = -1024;
if (target != null)
target.sendBroadcastItSelfPacket(new SMDoPhysicalAttack(this.owner, target));
}
}
}