ET Pro 3.2.2 beta test release 3 + serverside-mod support

Official ET Pro announcements here...

Moderators: Forum moderators, developers

User avatar
RoadKillPuppy
Posts: 207
Joined: Thu Apr 08, 2004 9:21 am
Location: Belgium!
Contact:

Post by RoadKillPuppy »

Etadminmod is the only program that uses playsound.lua on my server.

As for the testing: the server instantly crashed with a crashlog when I loaded the lua script for the first time.
After a restart it crashed again, but this time without a crashlog.
The last message in the etconsole.log = "setting motd"
Without the lua script loaded, things seems going ok.


-------- UNRECOVERABLE ERROR --------
This may be due to a bug in etpro
Information to be used in a bug report is being generated:
------------- CUT HERE --------------
Version: etpro 3.2.2
Platform: Linux
Build: Nov 6 2005 22:25:29
Signal: Segmentation violation (11)
Signal code: 1
fault address: 0x88f8943a
Load addresses:
0x0069d000 /lib/libdl.so.2
0x006a3000 /lib/libm.so.6
0x00572000 /lib/libc.so.6
0x00554000 /lib/ld-linux.so.2
0x0011d000 /lib/libnss_files.so.2
0x00764000 /opt/srv/badabing/pb/pbsv.so
0x00289000 /lib/libnss_dns.so.2
0x00722000 /lib/libresolv.so.2
0x0028f000 /opt/srv/badabing/pb/pbcls.so
0x003ab000 /opt/srv/badabing/pb/pbags.so
0x02686000 /opt/srv/badabing/etpro/qagame.mp.i386.so
EIP: 048041bd
edi:08f89bf8 esi:08f3c877 ebp:bf9ae265 esp:bf9ae1b2
eax:08f893fb ebx:02773a28 ecx:08f6ec98 edx:08f42cbc
stack:
00000203 ad7b0000 00000068 00000000 00000000 00000000 00000000 00010000
dd500000 0100bf9a 00080000 00000000 00000000 00020000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
code:
00 80 3f 00 00 80 3f 00 00 80 3f 00 00 80 3f 00 00 80 3f 00 00 80 3f 00 00 80
3f 00 00 80 3f 00 00 80 3f 00 00 80 3f 00 00 00 00 00 00 00 00 00 00 00 00 03
Stack trace:
1 entries
/opt/srv/badabing/etpro/qagame.mp.i386.so[0x269d0c2]
------------- CUT HERE --------------
Trying to clean up...
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

i tried with the playsound.lua on your wiki page, and I can't reproduce your crash at all. are you running a different script than what's on your page? are you using some weird linux kernel or distro?

it looks like something completely bizarre about your system is hosing lua. a strange distro, weird kernel patch, 3rd party kernel protection software, or weirdness from selinux or maybe prelinking.

it might help if i could get ssh access to poke around.
User avatar
|TFP|RED-BARON
Posts: 14
Joined: Fri Oct 21, 2005 3:18 am
Location: Germany,Düsseldorf
Contact:

Post by |TFP|RED-BARON »

I also have this Lua script but my Server is running. But still not tested him Public, but my 10 Maps Campaign running and cycling. @RoadKillPuppy did you have a old baserace_b3, can be this your Server Problem ?????
Image
User avatar
RoadKillPuppy
Posts: 207
Joined: Thu Apr 08, 2004 9:21 am
Location: Belgium!
Contact:

Post by RoadKillPuppy »

bani: it's the same script, fedora core 4, fedora kernel, selinux doesn't give anything in dmesg... And it's working allright on my home testsystem.
ssh access is no problem, check ur pm.

|TFP|RED-BARON: interesing... it is actually running baserace_b3, but without the lua script it's running fine... (have a link to the problems with that map?)
User avatar
|TFP|RED-BARON
Posts: 14
Joined: Fri Oct 21, 2005 3:18 am
Location: Germany,Düsseldorf
Contact:

Post by |TFP|RED-BARON »

No, i dont have but i was on your Server and this size of pk3 (7.233 KB) is differnt like my baserace_b3.pk3 and baserace_b3a.pk3. But when it runs without lua, the Problem must be on other side.
Image
User avatar
Rookie One
Posts: 28
Joined: Wed Nov 02, 2005 4:58 am
Location: Ruda Slaska, Poland
Contact:

Post by Rookie One »

If I could only make a request I'd like to be able to access the level struct. :)
User avatar
daita
Posts: 48
Joined: Thu Mar 03, 2005 5:37 am
Location: Jungle
Contact:

Post by daita »

wow, great !

does it support sql or http/get protocole ? :)

daita.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

daita wrote:wow, great !

does it support sql or http/get protocole ? :)

daita.
There are a number of libraries available for lua. Whether they will play well with the peculiarities of running under ET is for you to find out :moo:

(it would be nice if libcurl was exposed from the engine, but AFAIK that would require another ET release)
send lawyers, guns and money
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

libcurl is client only, not etded :lol:
User avatar
RoadKillPuppy
Posts: 207
Joined: Thu Apr 08, 2004 9:21 am
Location: Belgium!
Contact:

Post by RoadKillPuppy »

fyi, the script is updated with a workaround for the crash.
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

etpro-lua-2 is released that should fix all known crashes, and a caveat section has been added to the api documentation.
User avatar
HarryHirsch
Posts: 92
Joined: Mon Sep 01, 2003 9:28 am
Location: Germany

Post by HarryHirsch »

Item: 11 weapon_thompson
Received signal 1, exiting...
ET 2.60 linux-i386 Mar 10 2005
no crashlog written !

used autoref.lua + etconst.lua exact like it is in wiki

Harry
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

signal 1 is SIGHUP

someone deliberately shutdown your server from the linux console, etpro didn't crash. therefore, no crashlog :D

you can duplicate this:

Code: Select all

killall -HUP etded.x86
you'll see the same message 8)
User avatar
Rookie One
Posts: 28
Joined: Wed Nov 02, 2005 4:58 am
Location: Ruda Slaska, Poland
Contact:

Post by Rookie One »

The et.G_SpawnGEntityFromSpawnVars function seems to be broken or something, I get an error about a G_SpawnString call while not spawning. :?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

et.G_SpawnGEntityFromSpawnVars can only be called in et_InitGame()
Locked