Log in

View Full Version : Factions not working on vanilla build


Artavash
11-04-2007, 02:05 AM
Hi
First of - thanks for the wikki - I followed all the instructions and have got a server up and running on Win2K server first time.

Wierd thing is the aggro and social aggro status of the mobs. I can see the faction values changing for my char in the tables after completing some quests and killing orcs outside Freeport.

However I can walk right up to the orcs and even though they should attack me - they ignore me. If I attack one of them - he will fight - but his compatriot does not aggro. Nor will the guards attack the mob if I retreat back to them.

This has happened in every zone I have so far tried to load in addition to the Freeport zones - NorthRo, East Commonlands, Oasis.

So I logged onto the PEQ Grand Creation server and the mobs behave as they should do.

When I built the server I followed the wikki for 0.7.0 exactly (as my knowledge of Perl and MySQL is very limited). So I think I had a fresh copy of the PEQ db - and to be sure I used WinCVS again to download a new copy, and issued the following commands in mysql
\u peq
source drop_system.sql
source load_system.sql

Still the same. Can anyone suggest a reason for this - or the table that might hold the key?
Sorry if this is a really dumb question - but I'm still on a steep learning curve with this one.,
Thanks

Theeper
11-04-2007, 07:27 AM
Turn your GM flag off.

Artavash
11-05-2007, 12:15 AM
Cheers for the suggestion, but sadly no success.

I have not yet enabled the GM function on the account as I wanted to poke around as a standard user first.
To confirm this I checked the Status setting in the Account table and it is already set to 0 (zero)
Any other ideas? Which tables might contain a problem?

I also realised I had not tested it with another character - so I created a new one in a different zone and had same issue. I'm sure it's a server issue, but I will create a new account and check that too.

Thanks

cavedude
11-05-2007, 01:26 AM
It sounds like you are missing maps. Create a maps directory within your server directory, go here: http://sourceforge.net/project/showfiles.php?group_id=88515

Download both the Maps and new_maps files. (They are hefty downloads, so give them some time) Extract Maps first, make sure the actual files are in the maps directory you created, and not sub folder of that, then do the same for new_maps, overwrite if it asks you to. Start up the server and let us know how it goes. :)

Artavash
11-05-2007, 02:47 AM
Cavedude - you are indeed a dude. :)
It was the maps.
I had downloaded and expanded them - but they were still in thier sub-folders. Made me feel like a numpty - but I'm glad to say it is working.
My wood elf druid logged in a crushbone and was immediately mashed to bits. :)

If you can say - what's in the map files that made the difference? I assumed that the map files I had already downloaded were working as I had no error from the client when I logged in - the map looked ok - it was the mobs behaviour that was odd.

Cheers

cavedude
11-05-2007, 02:55 AM
The server uses the maps to determine Line of Sight. By default, the server is configured to assume no NPCs have LOS if no maps exist, so they won't aggro or assist anything because they can't "see" them. You also would have found that spells wouldn't have worked, either.

This behavior can be changed in the code, but it's for the best. If everything had LOS by default without maps, then dungeons would be a mess, NPCs running through walls and floors and the like.

Of course, with the maps everything works properly so there is no need to worry. I'm glad you got it working :)