I am trying to run Sear 0.6.3 on Ubuntu 8.04. When I run Sear and get to the Character Selection window there are no characters listed. Although I can type a name I cannot choose a Type from the dropdown list since it is empty. When I click Create New Character, all i get is a message saying "Please specify a name and type for the character to be created" I even clicked the Refresh button but still no characters are displayed, The only thing I can do is click Close.
Oh I should have mentioned that I'm trying to connect to the WorldForge active servers such as main, pop, shakespeare, etc that appear in the Connect to Server window. I'm not hosting my own server. But any of the active servers that I try to connect to will not show any characters. BTW, thanks for the reply.
ah ha, I get it now. I finally found a server that did have a list of characters. So I'm alright now. I know what you mean now by the cyloadrules. Thank you very much erik.
Alright. I think that Al did some change to the way the rules are defined that invalidates any old rules, so if people just upgrade their server without running cyloadrules the list will be empty. But Al knows more about that.
If cyloadrules has not been run at all on a server it should not cause this problem. I seem to recall seeing issues like this with Sear, but don't remember what causes them. Are you connecting to public servers, or running one of your own? You may have more luck if you try Ember rather than Sear as it has had more development and support recently.
I connected to the pwrcycle.llama11 server both with Ember and Sear and it was able to give me a list of characters. I haven't tried all of the servers but all the ones that I tried didn't have a list of characters except the pwrcycle server. I was able to get into the game, move around, look around, pick up stuff, and attack some players (hehe, I was just testing). I used Sear first but couldn't get a list of characters from any of the servers and also didn't give me a list of server addresses as much as Ember did. Then I tried Ember and that's how I found the pwrcycle server. And then I was able to connect with it with sear by typing the server address.
And just out of curiosity, I tried to set up a cyphesis server on my home network only. I installed the cyphesis server 0.5.15 that came included with my Ubuntu 8.04 distro, I tried to follow whatever instructions I can find, set up the postgresql server as best as I could to my knowledge, and apply those cyloadrules as instructed from the documentations. However when I try to run cyclient, this is the message I get:
Cld not find python module define_world 2008-10-11 13:42:42 SCRIPT_ERROR Traceback (most recent call last): 2008-10-11 13:42:42 SCRIPT_ERROR File "/usr/share/cyphesis/rulesets/mason/define_world.py", line 11, in <module> 2008-10-11 13:42:42 SCRIPT_ERROR from cyphesis import probability 2008-10-11 13:42:42 SCRIPT_ERROR ImportError: No module named cyphesis ERROR: Failed to logout
I was able to connect with both Sear and Ember but no characters are listed. I know I haven't configured it correctly so I'm still trying to get it to work. Any advice?
It looks like some files are missing from the cyphesis-cpp package. A set of python files are installed in /usr/share/cyphesis/scripts alongside /usr/share/cyphesis/rulesets, and are critical to the python interface running correctly. This have probably been missed because the layout has changed fairly recently. I believe the package has come from debian, so it might be best to consider filing a bug against the debian package, but I don't know much about the details of how this is done as I am not a debian user.
Since you mentioned that my ubuntu distro may been missing some scripts I decided to download the source and build it. I followed the wiki instructions that is provided by the wiki link under Services from the worldforge home page or the http://wiki.worldforge.org/wiki/Installing_Cyphesis#Installation_of_Cyphesis_from_source site.
I was successful in doing that. I can connect to my cyphesis server and I do get a list of characters and I am able to log in. However, I'm still confused about some things. When I ran cyclient, it gave me a few error messages and looks like some of the entities didn't load. Here is the output I got after running cyclient
./cyclient Seen: 0 Created: boundary(21) Created: boundary(22) Created: boundary(23) Created: boundary(24) Created: fir(25) Created: fir(26) Server disconnected No reply to make Reporting python error 2008-10-12 20:23:52 SCRIPT_ERROR Traceback (most recent call last): 2008-10-12 20:23:52 SCRIPT_ERROR File "/opt/worldforge/share/cyphesis/rulesets/mason/define_world.py", line 276, in default 2008-10-12 20:23:52 SCRIPT_ERROR m.make('fir',pos=(0,10,settlement_height), style = tree_styles['fir'][randint(0,len(tree_styles['fir']) - 1)]) 2008-10-12 20:23:52 SCRIPT_ERROR File "/opt/worldforge/share/cyphesis/scripts/cyphesis/editor.py", line 44, in make 2008-10-12 20:23:52 SCRIPT_ERROR return self.m.make(ent) 2008-10-12 20:23:52 SCRIPT_ERROR RuntimeError: Entity creation failed Server disconnected ERROR: Failed to logout
Although, I am able to login, all I get is a sky and my character is in the middle. No ground, trees, water or anything else. Is that what I'm only suppose to get? Am I suppose to create my own ground, trees, water, etc? Or am I missing some stuff?
That looks like the cyclient output I would typically expect when the server crashes. Are you sure it is till running after you've seen that? Before running cyclient no world has been created, so your server will look empty.
Are there any error messages on the server output? If so can you paste them here? Could you also let me know what version of cyphesis you downloaded, which version of Mercator you have installed, and if the server does crash it would be great if you could get a gdb backtrace of the crash.
I am using cyphesis 0.5.16 and mercator 0.2.6. I both downloaded them from the worldforge web site.
Sorry I wasn't clear but after I run cyclient, the server does crash. But I can run cyphesis again and connect.
Here's how it looks when I run cyphesis ronin@genin:/opt/worldforge/bin$ ./cyphesis 2008-10-13 02:30:11 NOTICE DATABASE: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "accounts_pkey" for table "accounts" 2008-10-13 02:30:11 NOTICE DATABASE: NOTICE: CREATE TABLE / UNIQUE will create implicit index "accounts_entity_ent_target_key" for table "accounts_entity_ent" 2008-10-13 02:30:13 INFO Running
Then I open another terminal and run cyclient, then I get the error messages that I mentioned from my previous post.
Then I get this from the terminal from where I ran cyphesis 2008-10-13 02:30:13 INFO Running 2008-10-13 02:31:57 CRITICAL Segmentation fault 2008-10-13 02:31:57 NOTICE Please report this bug to alriddoch@googlemail.com Segmentation fault
I'll try to get a gdb traceback as you mentioned. I'm not to familiar with it so I'll have to find out how to use it. If you can give me instructions on how to do it, please tell me.
The problem is a mismatch between versions of cyphesis and Mercator. You can either downgrade Mercator to 0.2.5, or try getting cyphesis from cvs. The Mercator change happened after 0.5.16 was released and it was not possible to do anything about the fact that older releases don't work with it.
Cyphesis in cvs has loads of new features, and performs much better.
I really need to get working on a new release. Sorry for this confusion.
OK I have the same problem. The fedora programs list has the problem, so I can't select a character class. How does cyloadrules work? I am new to Linux. How do I use, load, install, reactivate (whatever) cyloadrules. If wfut is wrong what's the link to the right wfut? Not just the page its on, I've tried that and there are multiple links there. Very confusing. wfut openned once but has hung every subsequent time. I have fedora 10 and what seems to be the latest sear and ember, etc. 11.may Found cyloadrules but still can't see how to fix the glitch. Ember gives an error too. I want to play this game. Let me in! Let me in! lol At least I haven't 'burned' and money in the 'forge'. lol
Versions of cyphesis for quite a while now have not had the problem you describe. If cyloadrules has not been run, the rules are simply loaded directly from files on startup. In order for loading of rules to fail completely the installation must be broken or incomplete, and this would cause large numbers of errors to be reported.
Sear is not being actively supported right now, so we can only really try and offer help with Ember issues.