Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Problems running winasss (1.4.0, compiled on msvc++.net)

 
Post new topic   Reply to topic Printable version
 View previous topic  settings Post :: Post ASSS Windows Settings (?getsettings/?q...  View next topic  
Author Message
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 12:43 pm    Post subject: Problems running winasss (1.4.0, compiled on msvc++.net) Reply to topic Reply with quote

I also mailed this to Grelminar, but knowing he is a busy man I might get the solution handed quicker if I post it here as well:

Winasss 1.4.0, build on msvc++.net

Description of the problem: After loading the module logman, no other modules will report that they have loaded in the console. Putting them twice in modules.conf will give the error message that the module is already loaded. It will then proceed to generate an unrecoverable error on bw_default. bw_default can only fail if cfg is returning an error, probably because it's not loaded properly.

Screendump:
starting winasss...
winasss 1.3.5 built at Sep 6 2005 00:45:59
Loading modules...
I <cmod> loading C module 'deadlock' from 'internal'
I <cmod> loading C module 'prng' from 'internal'
I <cmod> loading C module 'logman' from 'internal' <- After this 4 modules fail to report in the console
Unrecoverable error (5): Error in loading module 'bw_default'
winasss cannot start. error loading modules.
Press any key to continue . . .

Removing bw_default will lead to the next module in line failing to load.

Part of modules.conf
; not on windows: unixsignal
deadlock

prng
logman
mainloop <- Does not report anything in the console
config <- Does not report anything in the console
playerdata <- Does not report anything in the console
lagdata <- Does not report anything in the console

bw_default
net
chatnet

---

The executable is 'properly' compiled with all the modules in it. Or at least it should be, the first three load just fine, ergo the others should.
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Sep 10, 2005 1:57 pm    Post subject: Reply to topic Reply with quote

In conf/global.conf look for the [log_console] section. There could be settings here that are hiding log messages.

This should print everything.
Quote:
[log_console]
all = DIMWE


Also I don't want to be too picky, but what you posted does say 'winasss 1.3.5 built at Sep 6 2005 00:45:59'.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 2:11 pm    Post subject: Reply to topic Reply with quote

The version is a direct download from www.sscx.net/asss, nothing was changed.

part of global.conf
;[log_console]
; all = DIMWE

I'm uncommenting this, result is completely the same.
Back to top
View users profile Send private message Add User to Ignore List
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 2:15 pm    Post subject: Reply to topic Reply with quote

Anyway(With your hint I checked ASSSVERSION which was defined at 1.4.0, so I checked the project files ->), I think I found a problem, it seems the project is pointing to an older version of the winasss main.c, let me fix this.
Back to top
View users profile Send private message Add User to Ignore List
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 2:18 pm    Post subject: Reply to topic Reply with quote

The problem remains.

Console output:

starting winasss...
asss 1.4.0 built at Sep 10 2005 20:17:24
Loading modules...
I <cmod> loading C module 'deadlock' from 'internal'
I <cmod> loading C module 'prng' from 'internal'
I <cmod> loading C module 'logman' from 'internal'
Unrecoverable error (5): Error in loading module 'bw_default'
winasss cannot start. error loading modules.
Press any key to continue . . .
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Sep 10, 2005 2:25 pm    Post subject: Reply to topic Reply with quote

Have you tried making a new project from scratch instead of just updating a few files?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 2:29 pm    Post subject: Reply to topic Reply with quote

There was nothing to update, I somehow added an old version to the project - it was on a completely different drive. (I edited the project files to point to the one it should, besides that I doubt much is different in the main.c anyway. I cleaned the project and did a rebuild.)

This <is> a completely new project because Grelminar changed the entire project structure.
Back to top
View users profile Send private message Add User to Ignore List
Sai
Newbie


Joined: Sep 09 2005
Posts: 13
Offline

PostPosted: Sat Sep 10, 2005 5:37 pm    Post subject: Reply to topic Reply with quote

Solution: bw_default was missing EXPORT. (Thanks Grel)
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Sep 11, 2005 7:04 am    Post subject: Reply to topic Reply with quote

Heh, I've had these issues too.

Grel mist've read my complaining. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Sep 11, 2005 2:25 pm    Post subject: Reply to topic Reply with quote

lots of times it will tell you a module fails before logging other ones as loaded correctly. This happens when I make custom modules and they fail loading right at the begining.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 40 page(s) served in previous 5 minutes.

phpBB Created this page in 0.469798 seconds : 34 queries executed (94.0%): GZIP compression disabled