Author |
Message |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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 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
Thats it for now
THanks in advance....! |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: 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. _________________ Oldbie Server Help |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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... |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: 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. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri May 27, 2005 2:25 am Post subject: |
 |
|
|
|
try using enc_null instead of enc_cont in modules.conf |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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... |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: 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. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: Fri May 27, 2005 12:33 pm Post subject: |
 |
|
|
|
and berkely db is?
i need mysql to show scores on my website if thats not possible i have no use for asss on my server... |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: 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 _________________
 |
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: 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). |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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  |
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: Fri May 27, 2005 5:02 pm Post subject: |
 |
|
|
|
What can we do to change the install guide? Or wiki layout?
user feedback :d |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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.
I'd write a module you'd want for you, too bad I don't have enough time.
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). |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: 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. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sat May 28, 2005 12:31 pm Post subject: |
 |
|
|
|
Speaking of which, does anybody know the default directory of bdb on linux? |
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: 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. |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: 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". |
|
Back to top |
|
 |
SHRIKEE Newbie
Joined: May 16 2005 Posts: 12 Location: Netherlands Offline
|
Posted: 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
ALso i see no point in making it not compatible with .38 as a whole lot of people still use .38!
*deletes asss* |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: 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? |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: 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. |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: 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. |
|
Back to top |
|
 |
|