Server Help

ASSS Questions - a few questions about setting up asss and getting started

SHRIKEE - Thu May 26, 2005 5:04 pm
Post subject: a few questions about setting up asss and getting started
Ive been trying to setup asss 1.3.6 for windows.
My goals is to host a small public zone with playerstats. thats why i need the mysql thing.
Ok. ive been on the wiki about setting up the server i found it a very poor setup guide. Its way from complete the way i saw it...
Plus its not solving my problems.

Ive got a subgame setup now which i understand, so im not new to ss hosting icon_smile.gif though i never thouched asss yet...
i use no biller YET! havent got that working. do i need subbill? or is it buildin?

Ok ive been editing the global.conf, kicked in my settings and stuff
then went to modules.conf, which i didnt changed at first... first i wanted to get the zone online.
Then i edited staff.conf to make me sysop
then i ran asss.bat. the zone started normal i think
but then i want to join it says theres a newer version of continuum and it should download an update. i click yes. then it just hangs at a download bar thingy.

Then i look at the console of asss to see whats wrong and i see the client (continuum) has no update.exe. i noticed a whole bunch of people dont have it... so how do i shut it down... how do i make it work with continuum .38

---

Also im wondering how to setup mysql. ive made a db and user for it and got that running. but it wont connect, error 10060 on the asss console.

The server is remote at ip 192.168.1.2 of my lan, it should be able to have connections from other then 127.0.0.1 or localhost. Im pretty sure of that icon_smile.gif

Thats it for now icon_smile.gif

THanks in advance....!
Bak - Thu May 26, 2005 8:21 pm
Post subject:
Do you know how to code?

You could try using enc_null instead of enc_cont in modules.conf
i88gerbils - Thu May 26, 2005 11:02 pm
Post subject:
Move "continuum.exe" into the clients/ directory. Though that might break security.dll, in which case read above. I believe the most recent version of asss supports Continuum .39pr1.

ASSS supports standard billing server thru a module, but you can use the new player data system grel. came up with to ignore the concept of a billing server.
SHRIKEE - Fri May 27, 2005 12:52 am
Post subject:
i dont know how to code c nor do i code in python...

i checked the .exe is already there

also i would like a billing server. just to avoid that password thingy, which might scare people off.
and i want to be able to play with a .38 release...
Purge - Fri May 27, 2005 1:10 am
Post subject:
ASSS has a built in password database module. I think it's auth_file in the modules.conf.
Bak - Fri May 27, 2005 2:25 am
Post subject:
try using enc_null instead of enc_cont in modules.conf
SHRIKEE - Fri May 27, 2005 10:37 am
Post subject:
i enabled end_null, disabled both other mods. butstill i need the update...

any other ideas?

also i was thinking about the mysql things. whats stored in the mysql db?

also which tables should i create... i now have an empty db but to input stuff there need to be tables init...
Cyan~Fire - Fri May 27, 2005 11:34 am
Post subject:
Modules use the mysql. I'm pretty sure ASSS keeps track of scores through Berkeley Database itself or something like that.
SHRIKEE - Fri May 27, 2005 12:33 pm
Post subject:
and berkely db is?

i need mysql to show scores on my website icon_smile.gif if thats not possible i have no use for asss on my server...
D1st0rt - Fri May 27, 2005 3:18 pm
Post subject:
If possible, switch to 1.4.0 now that it has been released. There was also a discussion a while back about which version of continuum to use, I can't find it quickly but it was decided that .39pr1 would be used instead of .38
i88gerbils - Fri May 27, 2005 4:42 pm
Post subject:
The default mysql usage in ASSS only records the login information. You'd have to write your own mysql scoring module (or get someone to do it for you).
SHRIKEE - Fri May 27, 2005 4:47 pm
Post subject:
i found it very dificult to set up in windows... ill stick to subgame

thanks for your support icon_smile.gif
i88gerbils - Fri May 27, 2005 5:02 pm
Post subject:
What can we do to change the install guide? Or wiki layout?


user feedback :d
SHRIKEE - Fri May 27, 2005 5:15 pm
Post subject:
hmm i think its very basic and just things like 'set this to this' but no explaination what it exactly does...

now i understood alot of it... but i can imagine there are people who dont...

also the help files are very similiar... i didnt understand a bit from it... and the line simply run asss.bat and it works is a total lie...

i dunno, i think in general some better and clearer documentation would be awesome.
Solo Ace - Fri May 27, 2005 7:01 pm
Post subject:
You ain't seen nothing yet.
ASSS is better documented than a lot of other (semi) open-source software. sa_tongue.gif

I'd write a module you'd want for you, too bad I don't have enough time. sa_tongue.gif

If you need any other help (in your own first language!) add solo _ ace [@] hotmail . com to your MSN contact list (if you have one).
Smong - Sat May 28, 2005 4:37 am
Post subject:
What i88gerbils is saying is move continuum.exe from your continuum folder and overwrite the one in asss/clients. The server does a checksum on asss/clients/continuum.exe thats why it says version mismatch.

Also if you make yourself sysop in staff.conf you should be able to enter with any version. You will still get the version message from cont, but it won't kick you when you try to enter.

The score db can be accessed with bin/dbtool. I'm guessing you can write a script or something to pull the last resets stats. Such a script would probably be a bunch of commands in a text file (like you would enter at a prompt), no complex programming required.
D1st0rt - Sat May 28, 2005 12:31 pm
Post subject:
Speaking of which, does anybody know the default directory of bdb on linux?
i88gerbils - Sat May 28, 2005 8:46 pm
Post subject:
i'll find out... use the --prefix option next time :P


Code: Show/Hide

  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local/BerkeleyDB.4.2]

Grelminar - Tue May 31, 2005 2:14 am
Post subject:
As someone else pointed out, scores aren't stored in a mysql database. They're stored with berkeley db, and you can extract them with dbtool. A bit of scripting should produce something workable for a web site. The mysql support was written for the alias database, and that's the only thing that uses it so far.

Recent versions of asss support only continuum 0.39pr1. It's much easier if it only supports one version at a time, and 0.39pr1 seems to be the best existing version at this point. Sorry.

I don't have much experience with mysql errors. Make sure the user's password is set, and the user has access to the databases and tables that you're trying to use. The aliasdb module will create the table that it uses, if it doesn't exist.

You're welcome to use a billing server, but be aware that it won't avoid the password warning. You have to be connected to the SSC billing server to do that. Also note that asss doesn't store scores in the billing server. It's only good for sharing accounts and chat across multiple zones.
Grelminar - Tue May 31, 2005 2:15 am
Post subject:
D1st0rt wrote:
Speaking of which, does anybody know the default directory of bdb on linux?


If you use a packaged version from your linux distribution (which is by far the easiest way to go), it should be "/usr".
SHRIKEE - Tue May 31, 2005 10:52 am
Post subject:
Grelminar wrote:
As someone else pointed out, scores aren't stored in a mysql database. They're stored with berkeley db, and you can extract them with dbtool. A bit of scripting should produce something workable for a web site. The mysql support was written for the alias database, and that's the only thing that uses it so far.

Recent versions of asss support only continuum 0.39pr1. It's much easier if it only supports one version at a time, and 0.39pr1 seems to be the best existing version at this point. Sorry.




i see no point in using 2 db types, why not port all of em to mysql OR berkely, i prefer mysql then icon_smile.gif

ALso i see no point in making it not compatible with .38 as a whole lot of people still use .38!

*deletes asss*
Cyan~Fire - Tue May 31, 2005 11:51 am
Post subject:
I'm not too worried about bdb, but I do wish it supported .38. Subgame can do it just by saying AllowPreRelease=1, so it can't be that hard, right?
Smong - Tue May 31, 2005 2:24 pm
Post subject:
A problem with mysql scores is what if the db goes down or the connection is temporarily broken. Anyone joining would have reset stats. So a copy of the scores should be kept locally too.

Grelminar has said many times that he's staying with 39pr1, although support for multiple verions would be nice.
Grelminar - Wed Jun 01, 2005 1:23 am
Post subject:
You may not see a point, but that doesn't mean there isn't a point. FWIW, it wouldn't be too hard to port persist to use mysql, but it wouldn't be what you think: stats would be stored in blobs, not as integers, and you'd still have to do a fair bit of work to extract them. Porting the alias db to bdb would be harder, but also possible. I don't see any particularly good reason to spend time on it, though. Porting both to sqlite is probably more likely to happen than either of those options.

I'm not sure how subgame supports both versions at one (securely), so I can't say exactly how hard it would be. If you really really want me to, I'll try to look into it.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group