[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Soludra's/Jonathan's Plugins for Achaea trouble (Please Help)

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

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by TethrynValis   (5 posts)  [Biography] bio
Date Sat 02 Oct 2010 02:06 PM (UTC)

Amended on Sat 02 Oct 2010 02:24 PM (UTC) by TethrynValis

Message
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!
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #1 on Sat 02 Oct 2010 07:50 PM (UTC)
Message
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. ;)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sat 02 Oct 2010 09:00 PM (UTC)
Message
If you had version 4.62, that had some problems with plugins talking to each other. Try version 4.61 or 4.63.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by TethrynValis   (5 posts)  [Biography] bio
Date Reply #3 on Sun 03 Oct 2010 07:37 AM (UTC)

Amended on Sun 03 Oct 2010 10:45 AM (UTC) by TethrynValis

Message
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...
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #4 on Sun 03 Oct 2010 09:44 AM (UTC)
Message
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.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by TethrynValis   (5 posts)  [Biography] bio
Date Reply #5 on Sun 03 Oct 2010 11:00 AM (UTC)

Amended on Mon 04 Oct 2010 06:09 AM (UTC) by TethrynValis

Message
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?
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Sun 03 Oct 2010 11:20 PM (UTC)

Amended on Sun 03 Oct 2010 11:21 PM (UTC) by Nick Gammon

Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #7 on Mon 04 Oct 2010 03:04 AM (UTC)
Message
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.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by TethrynValis   (5 posts)  [Biography] bio
Date Reply #8 on Mon 04 Oct 2010 08:45 AM (UTC)
Message
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?
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #9 on Mon 04 Oct 2010 09:30 AM (UTC)

Amended on Mon 04 Oct 2010 09:31 AM (UTC) by Twisol

Message
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.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by TethrynValis   (5 posts)  [Biography] bio
Date Reply #10 on Mon 04 Oct 2010 10:30 AM (UTC)
Message
THANK YOU! Now I just need your MapWindow to work properly and I think I'll be set!

That or get the Mapper again...
[Go to top] top

Posted by Tsunami   USA  (204 posts)  [Biography] bio
Date Reply #11 on Mon 04 Oct 2010 06:47 PM (UTC)
Message
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!
[Go to top] top

Posted by Dontarion   USA  (62 posts)  [Biography] bio
Date Reply #12 on Fri 08 Oct 2010 05:45 PM (UTC)
Message
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.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


32,308 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]