Obnoxious Nexus Issue

by Shiri

Back to Mechanic's Corner.

Shiri2007-08-18 01:37:02
QUOTE
{<}You notice a dazed look in {w} eyes for a brief moment.

#wait 100
#echo CONCUSSION $1 CONCUSSION $1 CONCUSSION $1
This echo seems to work perfectly at all times.

QUOTE
{<}Horror overcomes {w}'s face as {w} body stiffens into paralysis.

#wait 100
#echo PARALYSE $1 PARALYSE $1 PARALYSE $1


This echo seems to work fine in solo, but in group combat, for some bizarre reason, it spazzes out and gets me an error message which I have to manually click to close and continue. I can't for the life of me work out why. Are the two {w}s somehow interfering with the $1s? Can anyone tell me what the problem is here so I can either fix it or bug it properly?
Unknown2007-08-31 17:20:49
I would try this instead maybe it will help

CODE
Horror overcomes {} face as {w} body stiffens into paralysis.

#wait 100
#echo PARALYSE $1 PARALYSE $1 PARALYSE $1


I do not know if this would work but it is probably worth a try.
Krellan2007-08-31 18:02:30
um...I don't use a single {w} or any sort of bracket stuff sad.gif
Unknown2007-08-31 19:21:45
That code I gave is not going to work. I tried it out and it doesn't.
Daganev2007-08-31 19:29:25
I am pretty sure the two w's are overriding eachother and causing problems.

try doing

{<}Horror overcomes {w:paralTarget}'s face as {w} body stiffens into paralysis.

#wait 100
#echo PARALYSE $paralTarget PARALYSE $paralTarget PARALYSE $paralTarget
Unknown2007-08-31 23:45:57
actually as long as the nexus client here is the same as the one for achaea. you can have multiples. I set up a tarot script on nexus with batches of cards so you could perform a function like this..

dcard 2 hierophant 10 hermit 2 priestess

and the way it works is

trigger:

dcard {d} {w} {d} {w} {d} {w}

and the script takes those and stores variables using $1 $2 --- $6 respectively.. I would think that it would be the same here, but I havent tried that here

Shiri2007-09-01 01:29:50
I'll give that a try, thanks Daganev.
Shiri2007-09-01 14:34:25
Didn't work. sad.gif
Krellan2007-09-01 16:28:12
sad.gif <----- look how sad he is
Shiri2007-09-08 08:54:16
Here. I found the script error.

"An error was encountered while running your script.
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
while processing the following commands of text:

1: #wait 100
2: #echo PARALYSE $1 PARALYSE $1 PARALYSE $1

What the hell does that mean!?
Xavius2007-09-08 09:09:15
Nexus doesn't actually have array support, does it?

Looks more like a bug with Nexus than your script.
Shiri2007-09-08 09:17:54
Ok. I'll try to bug it and hope it gets through to the right people then.

Also, I have no idea what an array is, so I couldn't tell you if Nexus has them or not.
Unknown2007-09-08 15:10:30
QUOTE(Shiri @ Sep 8 2007, 04:17 AM) 439697
Ok. I'll try to bug it and hope it gets through to the right people then.

Also, I have no idea what an array is, so I couldn't tell you if Nexus has them or not.


An array is basically a list of things that can be referenced by their location in the array (called the index). So, for example, if there's an array called "people" and it has in it Shiri, Krellan, and Derian, then people = Shiri, people = Krellan, people = Derian (they are usually zero based so 0 = first item in the array).

The problem you got comes up when there are only three items in the array, and I try to get the value of the fourth item. For example, if I tried to see what the value of people was, I would get an error like you got, because only 0-2 are filled in.

My guess is that they have an array with only one item in it, then try to get the value in array instead of array. That's basically what the error message means -- 1 >= 1. The first 1 is the index they are trying to get, the second 1 is the number of items in the array - at least, if I remember my java errors correctly that's what it is.

That concludes today's lesson.
Unknown2007-09-08 15:26:22
So, it probably means that $1 is not filled in this specific case.
Is that code only called as a response to a trigger containing variables that will set $1?
The message might appear as a result of the code being called without such a trigger that will set the variable $1.

Disclaimer: I have no knowledge of Nexus.

Edit: Unclear sentences improved a tiny bit
Shiri2007-09-08 15:31:08
That code is called on this trigger:

{<}Horror overcomes {w}'s face as {w} body stiffens into paralysis.

The first {w} is normally $1, and the second is normally $2. This also seems to work sometimes, when it feels like it, because it was going "PARALYSE Aramel's PARALYSE Aramel's PARALYSE Aramel's" earlier. Then the time after that it spazzed.
Ildaudid2007-09-08 17:01:52
What happens if you make the triggers:

{<}Horror overcomes {w}'s face as his body stiffens into paralysis.


{<}Horror overcomes {w}'s face as her body stiffens into paralysis.


That will leave you with only 1 W and may work? Not sure though. Also can you make a {his|her} in Nexus? If so, you can make that one line. If not will have to make 2 lines.

Rika2007-09-26 08:41:02
Since I just figured this out, try:

{<}Horror overcomes {w}'s face as {} body stiffens into paralysis.
Asmoth2007-10-14 15:38:58
I mean absolutely no disrespect.... However, Why the hell are you using nexus? Why on god's green earth are you using nexus? Mushclient is free to download, Zmud or Cmud is cheap... and there are like 3 or 4 good systems for sale out there... Nexus...just...blows..
Rika2007-10-15 04:15:30
QUOTE(Asmoth @ Oct 15 2007, 04:38 AM) 449531
I mean absolutely no disrespect.... However, Why the hell are you using nexus? Why on god's green earth are you using nexus? Mushclient is free to download, Zmud or Cmud is cheap... and there are like 3 or 4 good systems for sale out there... Nexus...just...blows..


And since we are in no way affecting your enjoyment of the game, why the hell are you in this thread?