76 (edited by Neolyum 2013-12-25 15:47:13)

Re: [MOD] OpenFNG (updated and maintained again)

Hi all smile
I wanted to build a server for my Raspberry Pi (ARM processor).
When i compile the server with the command "../bam/bam server_release" it shows the following:

[1/3] #1 c++ src/game/server/gamemodes/openfng.cpp
In file included from src/game/server/gamemodes/openfng.cpp:8:0:
src/engine/server/server.h:65:1: error: invalid use of incomplete type 'struct CNetBan'
src/engine/shared/network.h:252:8: error: forward declaration of 'struct CNetBan'
src/engine/server/server.h:76:21: error: 'CNetRange' does not name a type
src/engine/server/server.h:76:32: error: ISO C++ forbids declaration of 'pRange' with no type [-fpermissive]
src/game/server/gamemodes/openfng.cpp: In member function 'void CGameControllerOpenFNG::DoRagequit()':
src/game/server/gamemodes/openfng.cpp:243:26: error: 'class CServer' has no member named 'BanAdd'
bam: 'objs/game/server/gamemodes/openfng.o' error 256
[2/3] #1 c++ src/game/server/gamecontroller.cpp
src/game/server/gamecontroller.cpp: In member function 'void IGameController::CycleMap()':
src/game/server/gamecontroller.cpp:316:1: error: a function-definition is not allowed here before '{' token
src/game/server/gamecontroller.cpp:749:1: error: expected '}' at end of input
bam: 'objs/game/server/gamecontroller.o' error 256
bam: error: a build step failed

i also get it on my x64 Linux so i think there is no problem with the ARM processor..

and i dont know what to do with this so i want to ask you! big_smile
thx in advance,
Neolyum

77 (edited by fisted 2015-01-18 02:13:35)

Re: [MOD] OpenFNG (updated and maintained again)

Just a quick notification that I've changed my username on github to 'fstd', which means the old link does not work anymore.
Also the original openfng branch, which i fucked up in 2012, is back; from now on use the openfng branch, not openfng_fixed_0_6

The current (0.6) version of OpenFNG can be found at:
https://github.com/fstd/teeworlds/tree/openfng

Precompiled binaries for whoever needs them can be found at:
https://github.com/fstd/teeworlds/tree/openfng-bin

Please everybody update their OpenFNG servers to the latest version (0.6.3/0.09 (see serverbrowser)).
A couple bugs have been fixed including one which is known to cause crashes.

78 (edited by Deku / mint-pi 2015-03-07 05:05:13)

Re: [MOD] OpenFNG (updated and maintained again)

I seem to be unable to authenticate via a bind. I've checked and the password in the bind is exactly identical to the server's password, but i get a "Wrong password 1/3" etc. error when attempting to use the bind. I don't know if this is mod-specific or not though...

I've got two FNG maps which are close to ready for public release, hopefully they'll be on the forums soon! Aforementioned maps are on the back burner. Still doing mapping, but have higher priority map projects.
It should never take 45 seconds to download a map for anyone with a decent connection.

79

Re: [MOD] OpenFNG (updated and maintained again)

bind x rcon_auth password

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

80

Re: [MOD] OpenFNG (updated and maintained again)

jxsl13 wrote:

bind x rcon_auth password

That should work.

Not Luck, Just Magic.

81

Re: [MOD] OpenFNG (updated and maintained again)

That's exactly what I have, though... It doesn't work for either of the two passwords I set.

I've got two FNG maps which are close to ready for public release, hopefully they'll be on the forums soon! Aforementioned maps are on the back burner. Still doing mapping, but have higher priority map projects.
It should never take 45 seconds to download a map for anyone with a decent connection.

82

Re: [MOD] OpenFNG (updated and maintained again)

try it with a simple password and then again with your not so simple one.

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

83

Re: [MOD] OpenFNG (updated and maintained again)

What key are you binding to?

A is for Apple.

84

Re: [MOD] OpenFNG (updated and maintained again)

Hello here !

Some one would be nice and tell me how fix this command "sv_allow_UTF8_names 1" ?

We can find it on GitHub but i dont know it works (i'm a noob in coding and compiling).

85

Re: [MOD] OpenFNG (updated and maintained again)

Alpha B wrote:

Hello here !

Some one would be nice and tell me how fix this command "sv_allow_UTF8_names 1" ?

We can find it on GitHub but i dont know it works (i'm a noob in coding and compiling).

You can enable it by adding `sv_allow_utf8_names 1` to the config file.

86

Re: [MOD] OpenFNG (updated and maintained again)

I have added but it does not work :s

That why i think it's need to be recompiled or something else.

87

Re: [MOD] OpenFNG (updated and maintained again)

[55ddb4a5][server]: added option '-Settings-' 'echo .'
[55ddb4a5][server]: added option 'Restart' 'restart 10'
[55ddb4a5][server]: added option 'Shuffle' 'shuffle_teams'
[55ddb4a5][server]: added option '-Mix/ClanWars/Versus-' 'echo .'
[55ddb4a5][server]: added option '1V1' 'sv_spectator_slots 14'
[55ddb4a5][server]: added option '3V3' 'sv_spectator_slots 10'
[55ddb4a5][server]: added option '4V4' 'sv_spectator_slots 8'
[55ddb4a5][server]: added option '5V5' 'sv_spectator_slots 6'
[55ddb4a5][server]: added option 'Free' 'sv_spectator_slots 0'
[55ddb4a5][server]: added option '-Maps-' 'echo .'
[55ddb4a5][server]: added option 'ctf1' 'sv_map ctf1'
[55ddb4a5][server]: added option 'ctf2' 'sv_map ctf2'
[55ddb4a5][server]: added option 'ctf3' 'sv_map ctf3'
[55ddb4a5][server]: added option 'ctf4' 'sv_map ctf4'
[55ddb4a5][server]: added option 'ctf5' 'sv_map ctf5'
[55ddb4a5][server]: added option 'ctf6' 'sv_map ctf6'
[55ddb4a5][server]: added option 'ctf7' 'sv_map ctf7'
[55ddb4a5][console]: executing 'openfng.cfg'
[55ddb4a5][server]: option '-Settings-' already exists
[55ddb4a5][server]: option 'Restart' already exists
[55ddb4a5][server]: option 'Shuffle' already exists
[55ddb4a5][server]: option '-Mix/ClanWars/Versus-' already exists
[55ddb4a5][server]: option '1V1' already exists
[55ddb4a5][server]: option '3V3' already exists
[55ddb4a5][server]: option '4V4' already exists
[55ddb4a5][server]: option '5V5' already exists
[55ddb4a5][server]: option 'Free' already exists
[55ddb4a5][server]: option '-Maps-' already exists
[55ddb4a5][server]: option 'ctf1' already exists
[55ddb4a5][server]: option 'ctf2' already exists
[55ddb4a5][server]: option 'ctf3' already exists
[55ddb4a5][server]: option 'ctf4' already exists
[55ddb4a5][server]: option 'ctf5' already exists
[55ddb4a5][server]: option 'ctf4' already exists
(last message repeated 1 times in 0 secs)
[55ddb4a5][console]: executing 'openfng.cfg'
[55ddb4a5][server]: option '-Settings-' already exists
[55ddb4a5][server]: option 'Restart' already exists
[55ddb4a5][server]: option 'Shuffle' already exists
[55ddb4a5][server]: option '-Mix/ClanWars/Versus-' already exists
[55ddb4a5][server]: option '1V1' already exists
[55ddb4a5][server]: option '3V3' already exists
[55ddb4a5][server]: option '4V4' already exists
[55ddb4a5][server]: option '5V5' already exists
[55ddb4a5][server]: option 'Free' already exists
[55ddb4a5][server]: option '-Maps-' already exists
[55ddb4a5][server]: option 'ctf1' already exists
[55ddb4a5][server]: option 'ctf2' already exists
[55ddb4a5][server]: option 'ctf3' already exists
[55ddb4a5][server]: option 'ctf4' already exists
[55ddb4a5][server]: option 'ctf5' already exists
[55ddb4a5][server]: option 'ctf4' already exists
(last message repeated 1 times in 0 secs)
[55ddb4a5][server]: starting...
[55ddb4a5][datafile]: loading. filename='maps/openfng5.map'
[55ddb4a5][datafile]: allocsize=1608
[55ddb4a5][datafile]: readsize=1460
[55ddb4a5][datafile]: swaplen=1480
[55ddb4a5][datafile]: item_size=1164
[55ddb4a5][datafile]: loading done. datafile='maps/openfng5.map'
[55ddb4a5][server]: maps/openfng5.map crc is 35876c81
[55ddb4a5][net]: failed to bind socket with domain 2 and type 2 (10048 'Normalmente Ú permitida apenas uma utilizaþÒo de cada endereþo de soquete (protocolo/endereþo de rede/porta).
')
[55ddb4a5][server]: server name is 'FKT Clan OpenFNG @ TeeworldsBrasil'
[55ddb4a5][datafile]: loading data index=13 size=2230 uncompressed=129600
[55ddb4a5][server]: version 0.6 626fce9a778df4d4
[55ddb4a5][engine/mastersrv]: refreshing master server addresses
[55ddb4a5][register]: refreshing ip addresses
[55ddb4a5][engine/mastersrv]: saving addresses
[55ddb4a5][register]: fetching server counts
[55ddb4a5][register]: WARNING: No master servers. Retrying in 60 seconds
[55ddb4e1][engine/mastersrv]: refreshing master server addresses
[55ddb4e1][register]: refreshing ip addresses
[55ddb4e1][engine/mastersrv]: saving addresses
[55ddb4e1][register]: fetching server counts
[55ddb4e1][register]: WARNING: No master servers. Retrying in 60 seconds

Brazilian CTF/DM player. big_smile

Skype: maloke321

88 (edited by fisted 2015-08-26 15:21:28)

Re: [MOD] OpenFNG (updated and maintained again)

Frogger wrote:

[55ddb4a5][net]: failed to bind socket with domain 2 and type 2 (10048 'Normalmente Ú permitida apenas uma tilizaþÒo de cada endereþo de soquete (protocolo/endereþo de rede/porta).')

If i interpret that correctly, you need to change your sv_port, because you're already running a server on the port you chose.

Alpha B wrote:

I have added but it does not work :s

That why i think it's need to be recompiled or something else.

More likely that you're running an old version that doesn't have that setting.

89

Re: [MOD] OpenFNG (updated and maintained again)

[55eb40e5][engine]: running on unix-linux-amd64
[55eb40e5][engine]: arch is little endian
[55eb40e5][storage]: added path '$USERDIR' ('/home/steam/.openfng')
[55eb40e5][storage]: added path '$DATADIR' ('data')
[55eb40e5][storage]: added path '$CURRENTDIR' ('/home/steam/gameserver/teeworlds/openfng')
[55eb40e5][console]: failed to open 'autoexec.cfg'
[55eb40e5][console]: executing 'openfng.cfg'
[55eb40e5][server]: added option 'map openfng3' 'sv_map openfng3'
[55eb40e5][server]: added option 'map openfng4' 'sv_map openfng4'
[55eb40e5][server]: added option 'map openfng5' 'sv_map openfng5'
[55eb40e5][server]: added option 'map openfng2' 'sv_map openfng2'
[55eb40e5][server]: added option 'map openfng5_beat' 'sv_map openfng5_beat'
[55eb40e5][server]: added option 'map openfng6' 'sv_map openfng6'
[55eb40e5][server]: added option 'map openfng7' 'sv_map openfng7'
[55eb40e5][server]: added option 'map ponds of death' 'sv_map ponds_of_death'
[55eb40e5][server]: added option 'map sun god' 'sv_map Sun_God'
[55eb40e5][server]: added option 'map mountain shadow' 'sv_map Mountain_Shadow'
[55eb40e5][server]: added option 'map epic island' 'sv_map Epic_Island'
[55eb40e5][server]: added option '1 round per map' 'sv_rounds_per_map 1'
[55eb40e5][server]: added option '2 round per map' 'sv_rounds_per_map 2'
[55eb40e5][server]: added option '3 round per map' 'sv_rounds_per_map 3'
[55eb40e5][Console]: No such command: sv_allow_utf8_names.
[55eb40e5][tuning]: laser_damage changed to 10.00
[55eb40e5][console]: failed to open 'openfng'
[55eb40e5][server]: starting...
[55eb40e5][datafile]: loading. filename='maps/openfng5.map'
[55eb40e5][datafile]: allocsize=1716
[55eb40e5][datafile]: readsize=1460
[55eb40e5][datafile]: swaplen=1480
[55eb40e5][datafile]: item_size=1164
[55eb40e5][datafile]: loading done. datafile='maps/openfng5.map'
[55eb40e5][server]: maps/openfng5.map crc is 35876c81
[55eb40e5][server]: server name is '[TGF]Crazy's OpenFNG[24/7|FASTDL]'
[55eb40e5][datafile]: loading data index=13 size=2230 uncompressed=129600
[55eb40e5][server]: version 0.6 626fce9a778df4d4
[55eb40e5][engine/mastersrv]: refreshing master server addresses
[55eb40e5][register]: refreshing ip addresses
Segmentation fault

I need help I am a total noob at compiling this stuff

90 (edited by Deepfinder 2015-09-06 11:20:25)

Re: [MOD] OpenFNG (updated and maintained again)

Draakoor wrote:

Segmentation fault

I have the same fail. Looks like nobody can help us.
https://www.teeworlds.com/forum/viewtopic.php?id=11534

I will be banned if I troll again ...

91

Re: [MOD] OpenFNG (updated and maintained again)

@Draakoor, @Deepfinder that's not enough information to be able to solve the problem.

Please do the follwoing:

1. Build the debug server (that is "bam server_debug")
2. Run "gdb ./openfng_srv_d"
3. Type "run"
4. Wait for segfault
5. Type "bt"
6. Paste the whole output here.


Alternatively if that's too hard, catch me on IRC, #OpenFNG on Quakenet.

92

Re: [MOD] OpenFNG (updated and maintained again)

fisted wrote:

Removed very long quote // heinrich5991

https://github.com/fstd/teeworlds/blob/ … p?raw=true

Not Found !!!
This hyperlinks exists, how should I download?

93 (edited by Deepfinder 2015-10-21 00:32:55)

Re: [MOD] OpenFNG (updated and maintained again)

It works for me.

I will be banned if I troll again ...

94

Re: [MOD] OpenFNG (updated and maintained again)

@aligoli The links were wrong, thanks for pointing it out.  I have updated the first post, should work now.

PS: Please don't fullquote like that...

95

Re: [MOD] OpenFNG (updated and maintained again)

A new "official" OpenFNG server is up and running at 81.169.239.112:8303 (Name: OpenFNG Reference Server)

96 (edited by Inlakech 2015-12-05 02:44:28)

Re: [MOD] OpenFNG (updated and maintained again)

About the OpenFNG Reference. The config is nice perhaps just activate the utf8_names_char 1. Cause this feature missing.
The new score setting is really fun to play big_smile

97

Re: [MOD] OpenFNG (updated and maintained again)

I like the new score setting smile But utf8 names aren't work on the new "official" OpenFNG server. Is it normal ?

And if you want to add some news maps, I will be happy to share mine .

98

Re: [MOD] OpenFNG (updated and maintained again)

new score setting makes noobs feel super noobier which isnt good, so I'll just opt out of that ;D otherwise nice+nice updates smile

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat

99

Re: [MOD] OpenFNG (updated and maintained again)

Hi fellows. I've been playing FNG a lot in this year, and i've got a few ideas, how to make this mod better.

First idea - golden spikes. Now we have white spikes +3 (+5) for everybody and red/blue spikes +5 (+10) for red/blue team. I offer to make golden spikes +10 (+15) for both teams, and place them in very hard-to-reach parts of the map. The idea comes from observing very high-skilled players, who moving frozen tees on crazy path, but dont get for that any rewards, except an esthetic pleasure. With well-placed golden spikes players with such skill will be able to get serious advantage, based on their high-skill.

Also, spikes can be placed very high, for exmpl, so u will need to hammerfly with your teammate to get an extra point from sacrificing. This can be very helpful to increase teamplay and interaction skills at all.


Then I want to talk about the main principle of spikes placing, on examle of most popular fng map - openfng5_beat. Now we have red spikes near red base and blue spikes near blue base. It looks logical, but after long time of gaming an analyzing I decided, that it's completely unfair.

When red team is shooting better and playing more strong, the battlefront line moves closer to blue base. Obviously, this happens due to better skill of red team. But since there's no red spikes close to blue base, the blue team can make even more points, then red, despite of their current disadvantage.

I think, blue and red spikes must me swithed. Maybe, not completely, maybe, red spikes on red base are still needed. But whole my point is basing on simple idea - i u play better and lock enemy on their base, u must make more points, then enemy. It will stimulate agressive and offensive playing, we must give it a try.

I understand, that I literraly offer to promote basecamping, so my next idea is to give a few-second freeze-protection after respawn. After that killing basecamper depends only on your own skill. I always said, and keep saying, that there's nothing wrong with basecamping, it's just another playing style.

And the very last idea is again about openfng5_beat. I've played on a couple versions of this map, including exodusfng, version by games-in-evolution and some other. My favourite one is used on f3ar servers, but ABSOLUTELY all versions have a big fat minus. Nobody plays at the top of the map. Middle level and low level are playable, but nodoby actually plays on the top. What we need to do is to get rid of unhookable walls to the top. Now the only way up is right from base, and through the middle in some versions. If everyone can easily reach the top lvl, the will be fights. And playing 8x8 wont be so tight.

I hope anyone can finish reading that post big_smile gl&hf everyone

100 (edited by [pieLover] 2015-12-20 01:13:43)

Re: [MOD] OpenFNG (updated and maintained again)

Salty Balls wrote:

--snip--

I agree with everything you said completely. @Deku if you're reading this, I think it's map making time

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat