Author Topic: [Help] AMP-server setup  (Read 6450 times)

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
[Help] AMP-server setup
« on: July 09, 2010, 07:51:18 pm »
Hi, I want to setup an AMP-server on ArchLinux. Any help is appreciated.
I already had a working KorX-server but I want a AMP-server without it now.

I downloaded the source of LAKITU svn repository and patched the directory 5.3 with the amp.patch.
There was no error. After that I compiled 'SERVER' and 'GAME_QVM'. Everything compiled fine.

The server works but I can't connect.  >:(
The official client closes to the desktop and tremfusion to the main menu.
Error in the console of Tremfusion:
Code: [Select]
ERROR: CL_PARSEGAMESTATE: BAD COMMAND BYTEAnother some time ago was:
Code: [Select]
ERROR: CL_PARSEPACKETENTITIES: END OF MESSAGEBut I can't reproduce this one at the moment.

What can I do, what could be wrong? Thanks in advance.  ;)

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [Help] AMP-server setup
« Reply #1 on: July 09, 2010, 08:36:27 pm »
AFAIK Lakitu's svn doesn't come with a working server.  Use the old one you were using.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
Re: [Help] AMP-server setup
« Reply #2 on: July 10, 2010, 01:02:24 pm »
I think 5.3 should work because AMP is based on it -> see here.
Do you mean KoRx with 'Use the old one'?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [Help] AMP-server setup
« Reply #3 on: July 10, 2010, 01:33:16 pm »
The whole point of having the server and the qvm seperate is that the server doesn't need to change for gameplay changes.  Any post-tjw server should work.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: [Help] AMP-server setup
« Reply #4 on: July 10, 2010, 02:25:47 pm »
if your having trouble with latiku7 qvm 5.3 maybe a later version of latiku7 it might work better

heres a link to a patch that i did for my qvm it works as far as i can tell and it should work with later versions of latiku7 and has been somewhat cleaned up in terms of whitespace and a few bugfixes that were not in the original patch but were suggested on the blackout forums
AMP for SlackersQVM 1.1(based on latest latiku SVN so should apply with little to no issues for latest latiku release)

EDIT: looking at it there will be a few files that will need to be manually added because of extra features in my qvm like nobuild and changes to the listed qvm name etc

the tremded shouldn't matter i have used both tremfusion and fsm-trem tremdeds with testing(by testing i mean play a map 2-3 times and declare that it works :))
« Last Edit: July 10, 2010, 02:33:01 pm by SlackerLinux »
Slackware64 13.1
SlackersQVM/

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
Re: [Help] AMP-server setup
« Reply #5 on: July 10, 2010, 03:15:39 pm »
Patching 5.5 reports errors and compiling doesn't work too. Rezyn wrote me a new patch which worked without an error and lakitu trunk.
But it was the same problem, I could start the server but I couldn't connect.

How can I compile the tjw-server? I just found precompiled binaries and qvm's.

I also found out that the official tremded binary does not work for me, also after a completely reinstall.
Tremfusionded and MG tremded + Lakitu7's 5.5 qvm do.

Anyway, I have a working AMP-server, what I have done:  :)

Download Lakitu's 5.3 version, patch and compile it.
To bugfix the spawn bug, change "#define GENTITYNUM_BITS 12" to "10".
Use the MG Tremded + the selfcompiled game.qvm.

Conclusion: the selfcompiled tremded binary caused the 'error'.  :-\

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: [Help] AMP-server setup
« Reply #6 on: July 10, 2010, 11:42:39 pm »
Patching 5.5 reports errors and compiling doesn't work too. Rezyn wrote me a new patch which worked without an error and lakitu trunk.
But it was the same problem, I could start the server but I couldn't connect.

How can I compile the tjw-server? I just found precompiled binaries and qvm's.

I also found out that the official tremded binary does not work for me, also after a completely reinstall.
Tremfusionded and MG tremded + Lakitu7's 5.5 qvm do.

Anyway, I have a working AMP-server, what I have done:  :)

Download Lakitu's 5.3 version, patch and compile it.
To bugfix the spawn bug, change "#define GENTITYNUM_BITS 12" to "10".
Use the MG Tremded + the selfcompiled game.qvm.

Conclusion: the selfcompiled tremded binary caused the 'error'.  :-\

good to here you got it working yeh that gentity bug should be fixed in my patch(meaning it never changes from its default value)

by the official tremded binary do you mean the 1.1.0 binary? yeh that will never work the glue connecting newer game.qvm's and tremded was changed ages ago so they are nolonger compatible
Slackware64 13.1
SlackersQVM/

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
Re: [Help] AMP-server setup
« Reply #7 on: July 11, 2010, 02:44:20 pm »
Yes, I mean the 1.1.0 binary. But one more question:
I'm using tremfusionded with my qvm file now, set adminrights to 5 but after a restart my guid is different -> no more admin.
Why is this and what can I do?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [Help] AMP-server setup
« Reply #8 on: July 11, 2010, 02:51:42 pm »
guid is based on server IP and port.  Don't change them.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
Re: [Help] AMP-server setup
« Reply #9 on: July 14, 2010, 04:04:58 pm »
The server is hosted on the same computer which I use for playing (just for testing).
So is it not possible to use DynDNS and give adminrights to players because the IP is changing?
Is there another 'working' way to avoid this?

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: [Help] AMP-server setup
« Reply #10 on: July 15, 2010, 01:30:47 am »
if its on the same pc connect using the loopback address 127.0.0.1
Slackware64 13.1
SlackersQVM/

Radioactiveman

  • Posts: 6
  • Turrets: +0/-0
Re: [Help] AMP-server setup
« Reply #11 on: July 15, 2010, 03:33:59 pm »
That's clear, but if a friend wants to play too and he should be an admin ...