[FIXED] in-game error running settitle scripts

Started by Frosty, February 11, 2009, 07:47:59 PM

Frosty

Not sure if this is the right place to report this.

When I first press my bind key, I get the in-game self-tell, but also reports:

Unknown command: "settitle 6$$"settitle 7
Unknown command: "settitle 8$$"settitle 9
Unknown command: "settitle 10$$"settitle 11
Unknown command: "settitle 12$$"settitle 13
Unknown command: "settitle 6$$"settitle 7

Then each subsequent press gives:

Unknown command: "settitle 2$$"settitle 5

Any ideas?

SuckerPunch

Looks like the settitle binds are goofed... weird.

Steiner

I had that issue on my spin of that script. Take a look mine and see if you can figure out what the issue is.

Devs Only (You probably won't understand this if you aren't a dev):
In my script I looped each settitle into an array and joined them using $$ and trapped the string in quotes. This way no extra double-quotes and no trailing characters.
~Steinerd

Nod

Quote from: Frosty on February 11, 2009, 07:47:59 PM
Not sure if this is the right place to report this.

When I first press my bind key, I get the in-game self-tell, but also reports:

Unknown command: "settitle 6$$"settitle 7
Unknown command: "settitle 8$$"settitle 9
Unknown command: "settitle 10$$"settitle 11
Unknown command: "settitle 12$$"settitle 13
Unknown command: "settitle 6$$"settitle 7

Then each subsequent press gives:

Unknown command: "settitle 2$$"settitle 5

Any ideas?

Same problem here.

Tazhyngarth

I don't see how this is happening...I ran them twice when I read the OP, then just now twice more and no problems still.

What selection are you guys using for the Binds, and are you using the Auto-Generated ones or the regular Full ones from This Thread?

Darkfaith

Those would be the auto generated files, and I think know why. The auto generated files have quotation marks where there shouldn't be. For instance, my 0.txt file from the original bind files looks like this:

Quotet "settitle 0$$settitle 2$$settitle 4$$settitle 5$$settitle 6$$settitle 7$$settitle 8$$settitle 9$$settitle 10$$settitle 11$$settitle 12$$bindloadfile c:\binds\settitle\1.txt"

But my 0.txt file from the auto generated files looks like this:

Quoteh "settitle 2$$"settitle 5$$"settitle 6$$"settitle 7$$"settitle 8$$"settitle 9$$"settitle 10$$"settitle 11$$"settitle 12$$"settitle 13$$bindloadfile e:\bindsheroes\settitle\1.txt"

The extra quotation marks after each $$ is what is keeping the files from working.
"We can't just cling to childish things
As evil just grows closer
Humanity's in jeopardy
This fight is far from over"
- RWBY Vol 2, "Time to Say Goodbye"

MechMaven

I'm having the same problem. The auto-generator is busted. It's adding "settitle x$$ for each settitle command in each bind file, and then adding the bindloadfile command with a closing quotation mark at the end, rather than settitle x$$ and enclosing the whole string in quotes.

i.e. it currently looks something like:

t string of '"settitle x$$'s + 'bindloadfile PATH\y.txt"'

when it should be:

t " + string of 'settitle x$$'s + 'bindloadfile PATH\y.txt"'

which I think is what Steiner is saying. (Quotation marks highlighted in red for emphasis)

Steiner

I will have a look at it right now.

If you don't hear anything in our hour from the post timestamp on this post... than bump it. It needs to get fixed :D.
~Steinerd

Tazhyngarth

Yes, the hour is up, but we're still working on it.  Will post back when done.

Steiner

Quote from: Tazhyngarth on February 18, 2009, 09:00:55 PM
Yes, the hour is up, but we're still working on it.  Will post back when done.

We're in the last legs of validating it!

Just a little while longer, lol (like anyone is paying this close attention, lol)
~Steinerd

eabrace

You obviously have no idea how many times a day I hit refresh on my browser.  ;D
Titan Twitter broadcasting at 5.000 mWh and growing.
Titan Facebook

Paragon Wiki admin
I was once being interviewed by Barbara Walters...In between two of the segments she asked me..."But what would you do if the doctor gave you only six months to live?" I said, "Type faster." - Isaac Asimov

Nod

Quote from: Steiner on February 18, 2009, 09:19:44 PM
We're in the last legs of validating it!

Just a little while longer, lol (like anyone is paying this close attention, lol)

WORK FASTER, WORK HARDER!

/crack whip 

;)

Steiner

Well.. it's done on my end.

Waiting for final validation from Taz, and then it will be pushed live by Senor SuckerPunch.
~Steinerd

Tazhyngarth

Based on what Steiner and I went through yesterday, it was fine.  I got busy at work and didn't get a chance to Post back here before ultimately forgetting to do so by the time I got home.

SO...without further ado, SP, please push it Live.

LOL at Nod and Eabrace, I honestly didn't think anyone was going to be focusing more on this Thread than Steiner and I yesterday, so I too had to laugh at his post :P.

eabrace

I spend way too much time each day refreshing Unread Posts here, the Recent Changes on the wiki, my SGs forum index, the wiki forum index, and the CoH main index.   :-\
Titan Twitter broadcasting at 5.000 mWh and growing.
Titan Facebook

Paragon Wiki admin
I was once being interviewed by Barbara Walters...In between two of the segments she asked me..."But what would you do if the doctor gave you only six months to live?" I said, "Type faster." - Isaac Asimov