Server Help

ASSS Questions - ASSS 1.3.1 Windows

CypherJF - Tue Sep 07, 2004 1:59 pm
Post subject: ASSS 1.3.1 Windows
For those beginning w/ ASSS, I noticed the ZIP file is packaged wrong (ie: it's looking for files in config/, instead of ../config/); you will need to move the following from /bin/ to /:
* asss.exe
* pthreadVC.dll
* libdb4.dll

Note: Still doesn't seem to work w/ Catid's biller 1.11j. .sigh.
Note: Still doesn't support .39pr; obviously we/i knew expected this, but just reiterating.

@GREL: I get: 'D <billing> trying to connect to user db server at 127.0.0.1:1850'... Why is the billing trying to connect to the DB server, when the DB module is not loaded; and it's supposed to attempting to connect to the biller? Did I just setup a conf wrong.. or...



Quote:

I <arenaman> {0} created arena
I <mapdata> {0} successfully processed map file 'maps/smallmap.lvl'
I <flags> {0} arena has flaggame 1 (5-7 flags)
D <balls> {0} ball 0 is at (7829, 9614)
I <balls> {0} arena has 1 balls
D <flags> {0} flag 0 is at (498, 500) owned by -1
D <flags> {0} flag 1 is at (491, 494) owned by -1
D <flags> {0} flag 2 is at (502, 509) owned by -1
D <flags> {0} flag 3 is at (492, 503) owned by -1
D <flags> {0} flag 4 is at (500, 500) owned by -1
D <flags> {0} flag 5 is at (506, 503) owned by -1
I <persist> initializing serial number for interval per-reset, arenagrp (public)
to zero
I <persist> initializing serial number for interval per-game, arenagrp 0 to zero

I <persist> initializing serial number for interval unknown, arenagrp 0 to zero
I <persist> initializing serial number for interval forever, arenagrp (public) t
o zero
Assertion faI <arenaman> {0} [CypherJF] entering arena
iled: head->magic == MODMAN_MAGIC, file module.c, line 421

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


* Let me know how to fix that..
CypherJF - Tue Sep 07, 2004 2:00 pm
Post subject:
I also want to throw in here, what compiler did you use?

And, could you name "wincrap" to something not so... crappy... LOL... tongue.gif
Grelminar - Wed Sep 08, 2004 12:23 am
Post subject:
If you read the README, you would have read that you're supposed to run bin/asss from the root directory. So it's not looking in the wrong directory, you're running it from the wrong place. It might help if I put a batch file or something in the root directory to run bin/asss.exe.

I'm trying to move away from the word "billing", since that's a historical accident and doesn't describe what it does. So I'm calling it the "user database server", which is more accurate. Obviously, I didn't change the module names yet, but I probably will eventually.

About the assertion failure: I currently don't know what's going on there, but I've seen it before, and so has at least one other person. This issue may disappear soon, because:

That build was compiled with MS Visual C++. However, since I have only the command-line tools from VC (which are a free download from MS), I'm not sure I want to support that long-term. I think mingw32 might be a better solution, and there's even a free IDE available for it, for those who like IDEs. I'll play around with it and see if I can come up with something that actually lets other people build it on windows (I doubt anyone will be able to make use of the Makefile that comes with the current windows package).
Mine GO BOOM - Wed Sep 08, 2004 12:48 am
Post subject:
Grelminar wrote:
It might help if I put a batch file or something in the root directory to run bin/asss.exe.

Doing so still results in the same problem. I havn't had time to go into debugging it yet though. Even when copying all the exe/dlls into the root directory still causes the same problem.

The 'Start Server.bat' in which I use:
Code: Show/Hide
start "ASSS Server" /D . /MIN /NORMAL bin\asss.exe

Grelminar - Wed Sep 08, 2004 1:07 am
Post subject:
By "same problem" do you mean the assertion failure, or the not finding config files?
Mine GO BOOM - Wed Sep 08, 2004 1:21 am
Post subject:
Assertion error. It correctly finds all the config files in all the ways I've tried (my little batch file and copying to root directory). If you'd want to use the START program for a batch file, here is its help output. Whenever I make batch files using start, I usually always put in the /NORMAL and /D, even if they are set to default.
Code: Show/Hide
Starts a separate window to run a specified program or command.

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/WAIT] [/B] [command/program]
      [parameters]

    "title"     Title to display in  window title bar.
    path        Starting directory
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the application
                enables ^C processing, ^Break is the only way to interrupt
                the application
    I           The new environment will be the original environment passed
                to the cmd.exe and not the current environment.
    MIN         Start window minimized
    MAX         Start window maximized
    SEPARATE    Start 16-bit Windows program in separate memory space
    SHARED      Start 16-bit Windows program in shared memory space
    LOW         Start application in the IDLE priority class
    NORMAL      Start application in the NORMAL priority class
    HIGH        Start application in the HIGH priority class
    REALTIME    Start application in the REALTIME priority class
    ABOVENORMAL Start application in the ABOVENORMAL priority class
    BELOWNORMAL Start application in the BELOWNORMAL priority class
    WAIT        Start application and wait for it to terminate
    command/program
                If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to cmd.exe.
                This means that the window will remain after the command
                has been run.

                If it is not an internal cmd command or batch file then
                it is a program and will run as either a windowed application
                or a console application.

    parameters  These are the parameters passed to the command/program


If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:

non-executable files may be invoked through their file association just
    by typing the name of the file as a command.  (e.g.  WORD.DOC would
    launch the application associated with the .DOC file extension).
    See the ASSOC and FTYPE commands for how to create these
    associations from within a command script.

When executing an application that is a 32-bit GUI application, CMD.EXE
    does not wait for the application to terminate before returning to
    the command prompt.  This new behavior does NOT occur if executing
    within a command script.

When executing a command line whose first token is the string "CMD "
    without an extension or path qualifier, then "CMD" is replaced with
    the value of the COMSPEC variable.  This prevents picking up CMD.EXE
    from the current directory.

When executing a command line whose first token does NOT contain an
    extension, then CMD.EXE uses the value of the PATHEXT
    environment variable to determine which extensions to look for
    and in what order.  The default value for the PATHEXT variable
    is:

        .COM;.EXE;.BAT;.CMD

    Notice the syntax is the same as the PATH variable, with
    semicolons separating the different elements.

When searching for an executable, if there is no match on any extension,
then looks to see if the name matches a directory name.  If it does, the
START command launches the Explorer on that path.  If done from the
command line, it is the equivalent to doing a CD /D to that path.

CypherJF - Wed Sep 08, 2004 10:40 am
Post subject:
I moved the files down a directory, and ran it from a .bat file anyways...



Thanks though for the win build, good foward steps $
k0zy - Wed Sep 08, 2004 12:15 pm
Post subject:
Quick Tip:
Open the included .conf, .h and readme files in WordPad instead of Notepad.
Notpad doesn't recognize the *nix \n as a new line, because windows needs \r\n.

Start->Run->"write"->Ok
OR
Start->(All )Programs->Accessories->WordPad
Drag and drop the .conf file from the explorer on the Titlebar from WordPad.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
CypherJF - Wed Sep 08, 2004 12:39 pm
Post subject:
Right; I have shortcuts of Wordpad and Notepad in the 'Send To'... for this very reason...
Nerusai - Wed Sep 08, 2004 2:40 pm
Post subject:
Fixed win32 binary for asss.exe can be downloaded here, I'm not 100% sure everything is in it, but it ran fine here.

http://members.home.nl/siaon/asss-1.3.1win32.rar
Mine GO BOOM - Wed Sep 08, 2004 2:43 pm
Post subject:
Nerusai wrote:
Fixed win32 binary for asss.exe can be downloaded here, I'm not 100% sure everything is in it, but it ran fine here.

http://members.home.nl/siaon/asss-1.3.1win32.rar


Would you like to post what was changed in your release to have it work for you (I've not tried it yet)?
CypherJF - Wed Sep 08, 2004 4:17 pm
Post subject:
I tried that as well, asss appears and then closes... I'll check it out more later tonite..
CypherJF - Wed Sep 08, 2004 5:46 pm
Post subject:
Quote:

If you want to connect to a billing server, you can either use the
'billing_ssc' module or the 'billing' module with the proxy. The proxy
requires a relatively recent (2.1+) version of Python. The billing_ssc
module is somewhat better tested than the alternative.


I still can't get it to work to connect to Catid's biller; is the [billing] section the right section of global.conf for those settings; OR are those the new 'user management' w/e... connection settings..

I'll try and get more details; ASSS had reported back something about reliable packet dropped or something along those lines.. I'll check again when I get time..
Nerusai - Wed Sep 08, 2004 7:00 pm
Post subject:
Mine GO BOOM wrote:
[..]



Would you like to post what was changed in your release to have it work for you (I've not tried it yet)?


Most likely I used a proper compiler to get the thing going. I do own a copy of Visual C++.Net
Nerusai - Wed Sep 08, 2004 7:01 pm
Post subject:
CypherJF wrote:
I tried that as well, asss appears and then closes... I'll check it out more later tonite..


Try make asss.bat, edit it and type @asss.exe and then on the next line @pause so you can see what's wrong.
CypherJF - Wed Sep 08, 2004 10:31 pm
Post subject:
Says Unrecoverable error in loading module billing_ssc... tried the @ thing and it still didn't stay open; :/
Maucaub - Wed Sep 08, 2004 10:54 pm
Post subject:
1) The distributed binary also crashes with an assertion error on my system. I haven't invested the time to track down exactly why, yet, but I might if I get the time. Upon first glance, it would seem something's wrong with the compile/link in that distro because ....

2) If I recompile with my copy of VC6, it works fine, no changes to the code necessary. I will also rebuild using the free VC Toolkit once I find the time.

3) @Cypher: My recompiled version works with my biller using the billing_ssc module, so it should work with VIE-compatible billers if compiled and configured properly.

4) doc/ is missing files in the windows distro, specifically the userguide and the devguide. The files are present in the linux distro.

5) Wincrap? Come on, now ....
Smong - Thu Sep 09, 2004 4:46 pm
Post subject:
I also get the arenaman assertion error (I'm using win98se).

The billing works with subbill, but says
Quote:
: Unknown packet type: 21

Catid's biller (ssbilling2) says
Quote:
Connection request from 127.0.0.1:1375
Invalid login from 127.0.0.1 Punt!
Connection termination from 127.0.0.1:1375 Bye!

CypherJF - Thu Sep 09, 2004 5:24 pm
Post subject:
>> this was just for debugging purposes... all parties not involved can disregard icon_wink.gif

Quote:
I <billing_ssc> connecting to user database server at 127.0.0.1:1850
D <mapnewsdl> news file 'news.txt' reread
I <billing_ssc> lost connection to user database server (auto-retry in 180 secon
ds)
D <net> (client connection) reliable packet with too big delta (-1718744388 - 0)

I <net> (client connection) dropping client connection


asss.exe has encounted a problem and needs to close. We are sorry for the inconvenience. (bs but okay w/e) and wants to report to microsoft...
Smong - Thu Sep 09, 2004 5:36 pm
Post subject:
Incase anyone is wondering, the two logs I posted were from the biller consoles.
Nerusai - Thu Sep 09, 2004 5:39 pm
Post subject:
Same build runs like a charm here(Btw, my build does miss the billing modules and my ISP won't let me upload the fixed version so if you want it, I'm often on as Nerusai on SSCX)

I'm 100% virusfree as well, so that's not it.
Solo Ace - Thu Sep 09, 2004 5:52 pm
Post subject:
100%? And you're running Windows? sa_tongue.gif
Grelminar - Fri Sep 10, 2004 1:28 am
Post subject:
The "invalid packet 21" is expected. It's a packet that the ssc biller understands, and I expect others don't, but asss always sends it anyway.

I'm not sure what's wrong with catid's biller. I might give it a shot if I have time, but I expect it'll be easy for anyone to track down, as the source to both sides is available.

Sorry about the assertions and other weirdness in that version. It was my first try, and clearly it didn't work so well. I can't really debug stuff with vc, since I only have the free tools. But: I'm working now on getting it working under mingw in the dev-c++ ide. I should have a package that'll be buildable out-of-the-box (after installing dev-c++), and be much easier to maintain and debug.
Grelminar - Sat Sep 11, 2004 3:40 pm
Post subject:
oh, and it's missing the pdf/html versions of the user guide and dev guide because those are generated by latex and some other tools, which would be extremely difficult to get running on windows. up-to-date versions of those documents should be available on sscx.net/asss/.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group