Page 1 of 1

Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 1:30 pm
by Etaew
I saw a post on setting up a development environment for working on the database, but I've been playing the last few days and I am interested in setting up a system to contribute to core features.

So far I have:
  • Downloaded WarEmu source code and compiled
  • Downloaded RoR DB snippets and applied
  • Configured configs in compiled server to point to DB
  • Created realm and account
  • Moved launcher to WAR folder
  • Started servers
  • Used launcher to populate realm list successfully, entered login information pressed connect
  • Game client goes to Locating Battles, and a messagebox pops up saying Authentication Failed -- application will now terminate
  • LobbyServer.exe shows wall of text red error
Any idea what the error refers to?

Code: Select all

[14:15:19] I TCPManager : New Connection : 127.0.0.1:62142
[14:15:20] E TCPManager : Packet handler error :9 System.ArgumentNullException:
Value cannot be null.
Parameter name: value

Server stack trace:
   at FrameWork.ClusterProp.Builder.SetPropValue(String value) in F:\WarEmu\ware
mu\trunk\FrameWork\NetWork\ProtocolBuffers\GetClusterListReplyProto.cs:line 748
   at Common.AccountMgr.BuildClusterList() in F:\WarEmu\waremu\trunk\Common\Rpc\
AccountMgr.cs:line 310
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(
IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMes
sage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req
Msg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa
ta, Int32 type)
   at Common.AccountMgr.BuildClusterList()
   at LobbyServer.NetWork.Handler.AuthentificationHandlers.CMSG_GetClusterListRe
q(BaseClient client, PacketIn packet) in F:\WarEmu\waremu\trunk\LobbyServer\NetW
ork\Handler\AuthentificationHandlers.cs:line 106
   at FrameWork.TCPManager.HandlePacket(BaseClient client, PacketIn Packet) in F
:\WarEmu\waremu\trunk\FrameWork\NetWork\TCPManager.cs:line 629
[14:16:15] I BaseClient : disconnected  An existing connection was forcibly clos
ed by the remote host
I know this isn't really the place to talk about WarEmu stuff, but based on activity and wanting to improve some of this stuff I posted here.

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 3:03 pm
by titoos
This might be stupid, but did you try to shutdown firewall, AntiVir, etc services? Looks like simple network (although localhost) problem.

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 3:08 pm
by Etaew
titoos wrote:This might be stupid, but did you try to shutdown firewall, AntiVir, etc services? Looks like simple network (although localhost) problem.
Thanks for the answer, no I didn't try to shutdown anything. At least the error to me didn't look like it came that way. A connection was made to the server, but generated an error in handling the incoming packet.

Code: Select all

[14:15:20] E TCPManager : Packet handler error :9 System.ArgumentNullException:
Value cannot be null.

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 3:17 pm
by Etaew
Ahah progress after looking at the BuildClusterList method, and reading the error again it seems that it didn't like a few null values that I had set in the server entry.

The next issue I'll address is getting past the server select screen. It shows Martyr's Square as the only realm there, not the one I entered. Selected it shows the server has closed your connection. No entries are visible in the server consoles.

Edit: This one was because a file was in use by the Return of Reckoning launcher, I closed that down. Now I am in the world.

Time to get to work :)

Some of the things I will try and duplicate and investigate a fix for:
- Hotbar re-arranging
- Quests not tracking after loading screen
- Effects not reactivating after loading screen
- Group and Raid frames not updating health, and location says too far
- Public Quest interfaces
- Quest NPCs indicators not updating
- Map quest objectives locations not updating

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 6:01 pm
by titoos
Good luck pal :)

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 6:44 pm
by RyanMakara
Man I wish I still had my database updated. But I'm gonna have to re-install MySQL and re-configure everything again. Is the old thread on it still up-to-date, or is there need for a new installation for the server's current DB version and all?

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 6:52 pm
by Etaew
Is there a complication of packet logs somewhere, the ones I have found so far are:

- Praag DoK lvl37 RR39 RvR39
- Chaos Wastes DoK lvl37 RR39 RvR

Ideally I'd like some lower level stuff, just makes it easier to read (less in the quest log for example)

Re: Setting up a non DB Development Environment

Posted: Tue Aug 04, 2015 9:46 pm
by satori
Etaew wrote: Some of the things I will try and duplicate and investigate a fix for:
- Hotbar re-arranging
- Effects not reactivating after loading screen
- Group and Raid frames not updating health, and location says too far
thanks so much for this, small things like that can freak me out after some days of playing and i would love seeing them get fixed :)