Soludra's/Jonathan's Plugins for Achaea trouble (Please Help)

Posted by TethrynValis on Sat 02 Oct 2010 02:06 PM — 13 posts, 47,584 views.

#0
I am using Jonathan's ATCP, MapWindow, Gauges, and Compass plugins, however, it would appear that none of them are working. Nothing updates, the MapWindow is blank and will not change size. I am also using Tsunami's ACS 2 (Achaea Curing System) simply for it's autosipping.

http://jonathan.com/mushclient-achaea-plugins

http://sites.google.com/site/tsunamigautama/achaeacuringsystem(acs2.0)

If anyone could help I would really appreciate it!
Amended on Sat 02 Oct 2010 02:24 PM by TethrynValis
USA #1
Hmm, that's odd. There were some recent changes to how plugin callbacks are handled, but I tested those exact plugins (minus ACS2) and it worked fine. I'll try again a bit later.

Also, you're using MUSHclient v4.61, right? You mentioned that in your comment on my blog, but you left it out here. ;)
Australia Forum Administrator #2
If you had version 4.62, that had some problems with plugins talking to each other. Try version 4.61 or 4.63.
#3
Uninstalled and deleted everything. Went and got version 6.63 and on starting I get the error...

Error number: 0
Event: Run-time error
Description: locking protocol
Called by: Immediate execution

Downloaded only Soludra's plugins, they all seem to fnction properly except for the map. Map Parse command does nothing, nor will it change size or update as I move. I can move it around though. On opening Achaea everything loads, the map shows the rooms I am in, but there is a bit of gibberish at the top.

I've also noticed that in the lower right corner of the compass are some numbers, I've assumed they are some sort of coordinates for the map?

<6533>

I don't have the ACS2 this time...
Amended on Sun 03 Oct 2010 10:45 AM by TethrynValis
USA #4
TethrynValis said:
Error number: 0
Event: Run-time error
Description: locking protocol
Called by: Immediate execution

Um... huh? Nick's going to have to explain that one. O_o

TethrynValis said:
On opening Achaea everything loads, the map shows the rooms I am in, but there is a bit of gibberish at the top.

Sometimes it grabs some of the stuff before the map. This usually happens with the house/city announce bits. Run MAP PARSE a couple times to flush it (if possible).

TethrynValis said:
I've also noticed that in the lower right corner of the compass are some numbers, I've assumed they are some sort of coordinates for the map?

<6533>

That's the ID of your current room. Achaea assigns an ID to every room. (Note that this isn't the same number as Vadi's mapper.) If you ever use Nick's generic automapper, this is what you'd probably use for a goto and whatnot.

TethrynValis said:
I don't have the ACS2 this time...

ACS2 has a habit of preventing any other ATCP plugins from getting the ATCP data. It can be remedied, but I don't have my fixed file (I probably deleted it a long time ago). Paste the AchaeaCuringSystem.xml file (or whatever it's called) to mushclient.pastebin.com and post the link here, and I'll modify it to be less antisocial.
#5
I tried Map Parse a bunch of times and nothings happened...

Here is the ACS2 pastebin...

http://mushclient.pastebin.com/6fyLdErq

(Thanks for doing this all over again Soludra! I had to reinstall my entire computer and lost everything you did for me last time.)

Would it be possible to use your Map Window and Nick's/Dontarion's Mapper at the same time?
Amended on Mon 04 Oct 2010 06:09 AM by TethrynValis
Australia Forum Administrator #6
TethrynValis said:

Uninstalled and deleted everything. Went and got version 6.63 and on starting I get the error...

Error number: 0
Event: Run-time error
Description: locking protocol
Called by: Immediate execution


Version 4.63 I hope.

The message "locking protocol" comes from the SQLite3 database engine. It means:

Sqlite3 site said:

SQLITE_PROTOCOL

This value is returned if some other process is messing with file locks and has violated the file locking protocol that SQLite uses on its rollback journal files.


I don't know what would cause that in your case, but perhaps you deleted the database but left behind the journal file? Nowadays if WAL (Write Ahead Logging) is enabled you will find a couple of files in your directory when the database is open: xxx.db-shm and xxx.db-wal. If you delete one or the other when you shouldn't you might cause that error.
Amended on Sun 03 Oct 2010 11:21 PM by Nick Gammon
USA #7
TethrynValis said:
http://mushclient.pastebin.com/6fyLdErq

...Lord have mercy, there's almost no newlines in that paste. O_o

Can you open the original plugin XML in Wordpad (not Notepad) and re-save it? Wordpad usually normalizes the newlines. Then re-paste it (and double-check that it doesn't all look scrunched up like it is now)? It'd be almost impossible to do this properly otherwise without reformatting it myself.
#8
http://mushclient.pastebin.com/Fy5qRKb8

Like this?

And how should I get the xxx.db-shm and xxx.db-wal files back if that's whats missing?
USA #9
TethrynValis said:
http://mushclient.pastebin.com/Fy5qRKb8

Like this?

Yep, just like that. Thanks!

Here's the modified file. Note that these changes are entirely untested. From now on, this fixed ACS2 will require that my ATCP plugin be installed if it is to receive any ATCP data.

http://mushclient.pastebin.com/QgPQpFFU

Also, since I'm not going to start modifying ACS2 more than neccesary, I can't bundle my PPI module with it. You'll need to copy my 'ppi.lua' file from the libraries/ folder in the ATCP.plugin/ plugin, rename it to ppi-ex.lua, and put it in MUSHclient/lua/ so that ACS2 can access it. The reason you need to rename it when you copy it to lua/ is because Nick included his own version of PPI with MUSHclient, and I don't want to break any plugins that use it. ([EDIT]: Careful not to rename the copy of the file that's still in the ATCP.plugin libraries though.)


As for the technical synopsis: ACS2 takes the ATCP data, processes it, and broadcasts it to other plugins. I suspect it has an OnPluginBroadcast callback of its own somewhere (but not in this file) so it can use the data itself. All I changed is how ACS2 gets the ATCP data: it gets it from the ATCP plugin instead of processing it manually. It still broadcasts the same data as before.

But again, this is an untested modification. If you run across any problems, let me know.
Amended on Mon 04 Oct 2010 09:31 AM by Twisol
#10
THANK YOU! Now I just need your MapWindow to work properly and I think I'll be set!

That or get the Mapper again...
USA #11
Surely someone must have come up with something better than the ACS by now ;) I also thought I had taken down that website.. guess not!
USA #12
I put up a copy of XCore on my site but when I did it I thought it was a decent system and not an old backup. Needless to say I quickly found out when I went to fight it was an old backup missing many things. It took me a week or two just to get it able to keep me alive in basic fights it was missing so much.

Seems it's pretty popular lately but as a system it's meant to foster people to learn not pester me to fix it for them. It won't work for you out of the box. I've even gone in and fixed some of the stuff about the core I hated like how everything wasn't module.seeall. I hated that so much but its how nitrile wrote some of the base and I only very recently fixed that.