Jump to content

Scripts don't install properly


Guest SeySayux

Recommended Posts

Hi, I've some problems with my server. After an upgrade, I noticed my dungeons and creatures were suddenly scripted worse than before. So I descided to see what went wrong....

Problem: Talking to guards don't give directions. Dungeons are unscripted.

Likely Cause: ScriptDev2 wasn't properly installed.

-> Check for ScriptDev2 installation: ScriptDev2 not correctly added to build system.

Possible Solution: Apply ScriptDev2 patch.

Result Guards still don't give directions.

Likely cause: ScriptDev2 still not properly installed.

-> Check if ScriptDev2 was properly installed: Build time took long enough. Messages about ScriptDev2 being compiled came over the screen. Copied compiled libmangosscript.so.0.0.0 manually to lib folder.

Result: Guards still don't give directions.

Likely Cause: Specific version of mangos is broken.

Possible solution: Upgrade mangos and ScriptDev2

Result: Guards still don't give directions.

I'm using:

Mangos r9796

ScriptDev2 r1679

Debian Linux 5.0 kernel 2.6.26-2 i586

I'm at the end of my wits now. Could anyone tell me where I should look next?

- SeySayux

UPDATE: Using Playerbot patch.

Link to comment
Share on other sites

I can think of some possibilities.

1. You should ask in the SD2 forum, since this isn't a mangos problem, but a SD2 problem.

2. Read the "installation" guides in the SD2 forum to see if you have missed something.

3. Have you really compiled mangos and SD2 correctly (check no. 2)?

4. Have you created the scriptdev2 database and applied the correct sql updates (check no. 2)?

5. Have you applied the SD2 sql updates to the mangos database (check no. 2)?

6. Have you copied the scriptdev2.conf to the correct place?

7. What/How exactly did you update your server?

Link to comment
Share on other sites

do a ".se in" command in the server and will tell you what scripting library you using

mangos>se in

CLI command under processing...

MaNGOS/0.16.0 (* * Revision 9796 - *) for Linux_x32 (little-endian)

Using script library: ScriptDev2 (for MaNGOS 9641+) Revision [1679] 2010-04-24 20:42:21 (Unix)

Using World DB: UDB 0.12.0 (388) for MaNGOS 9582 with SD2 SQL for rev. 1639

Using creature EventAI: ACID 3.0.4 - Final Release for Mangos (3.3.2 Client)

Online players: 0 (max: 1) Queued players: 0 (max: 0)

Server uptime: 1 Hour(s) 52 Minute(s) 34 Second(s).

Link to comment
Share on other sites

2. Read the "installation" guides in the SD2 forum to see if you have missed something.

Check and double-check

3. Have you really compiled mangos and SD2 correctly (check no. 2)?

I assume so. I followed the instructions.

4. Have you created the scriptdev2 database and applied the correct sql updates (check no. 2)?

Yes.

5. Have you applied the SD2 sql updates to the mangos database (check no. 2)?

Check and double-check.

6. Have you copied the scriptdev2.conf to the correct place?

/opt/mangos/etc/, I suppose.

7. What/How exactly did you update your server?

git pull/svn up, applied all sql patches with release number higher than my running release, applied scriptdev2 sql stuff (the full.sqls), applied sd2 patch to mangos, autoreconf -ivf && make.

Link to comment
Share on other sites

Guards no longer use SD2 after the Gossip_Menu tables have been added in the core. You just need to set their Gossip_Menu_Id properly in the Creature_Template. You will find these tables at your database provider, not here.

I already found out something like that, but thanks anyways. Problem is that my database provider doesn't seem to know about that...

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use