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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Odd crash..

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Odd crash..
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Tue 27 Dec 2005 12:18 AM (UTC)  quote  ]
Message
Yes, I understand that, and thanks for letting me know.

I was just trying to eliminate whether or not MUSHclient did have some problem that was introduced in the latest version.

- Nick Gammon

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

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Mon 26 Dec 2005 03:41 AM (UTC)  quote  ]
Message
This is quite probable, which is why I initially suggesting it was a heads up to a possible problem, not a certainty of one. Here is a screen shot of the program crashing today, after using Opera yesterday, then Mushclient for 2-3 hours, then no reboot, then using Mushclient again for 4. The last thing that happened was sending something from the command window. I had to reboot to prevent it crashing again (which it did when I just re-opened it. The system had begun to actually lag at that point from over use. I have been rebooting daily for a few months now because of these problems and no desire to lose anything by accident if I reinstalled.

http://www.geocities.com/shadowfyr2/Junk/musherror.jpg

A quick google search implies that its a COM or OLE automation error or some sort. Though not a known one.

As I suggested, this is probably not a real bug, just my system going from mangled to maimed. :( I thought that might be the case from the start, but wasn't 100% sure, so figured I would mention it here anyway, in case it was a real problem. Sorry I wasn't more clear about that from the start.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Mon 26 Dec 2005 01:21 AM (UTC)  quote  ]
Message
MUSHclient inevitably uses some system DLLs, including the winsock.dll which does the communications.

It is possible the problem is there, and if it is it will appear that MUSHclient has crashed when it is really the DLL. Maybe the crash dialog box would show that, possibly not.

However if your system is generally unstable, and MUSHclient crashes extremely rarely, it might just be your unstable system, and the fact that MUSHclient is a program you use a lot.

- Nick Gammon

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

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Sun 25 Dec 2005 12:41 AM (UTC)  quote  ]
Message
Sigh.. 3 hours of game play, logging every command, output and note, no crashes.. I even let the spell tracker time out (reach the point where it stops showing the information, instead of constantly spamming the window while I am AFK), on the off chance *that* was the problem. Nothing happened... :P

At this point, the only thing I can think of it that recently I started playing the games on iwon.com, which use a lot of flash, scripting, etc. My system has to be rebooted once a night to keep working and I know for a fact that if I combine these things:

1. Looking at the forums I read.
2. Looking at blogs.
3. Looking at tech pages.
4. Looking at comics.
*then* 5. look at pages which use a lot of images or movie clips or I assume even flash stuff, like the games.

This can and does occationally cause my system to start doing really strange things. Usually it means programs start crashing, but at least once I have a CD drive fry itself because the driver failed to turn it off and it kept the laser on for over a half hour and two days ago my mouse went ape shit and started jumping around the screen. I have had the system get confused and think Tab was the same thing as Alt-Tab (something not uncommon even with people with *working* versions of Windows...).

Until someone else reports this problem happening, I am going to assume its not Mushclient, but instead my bloody unstable copy of Windows doing it. :( I will still send you a screen shot and data on the error, if it happens again. But other than the changes you made recently to the client, this is the **only** thing has changed recently. And I know it can cause my system to behave unpredictibly. This is just the first time I have ever seen it effect something as stable and relatively small as Mushclient.

Hopefully, after the holidays I will be getting the rebates from a bigger HD and DVD burner I got and combining that with the Christmas money I just got, I can get a copy of XP. After that its just a matter of getting the guts to install it and reinstall all the other junk I have. But, hopefully most of my problems will go away with litterally 10 times the HD space and a functional OS. lol

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Sat 24 Dec 2005 05:21 PM (UTC)  quote  ]
Message
Not using OnPacketRecieved. As for reverting to 3.71... I installed that one as soon as I got it and didn't notice any crashes at all, though I admit I didn't have it long before you released a new one. If it crashes again today I will try to a) write down the error, b) clip a screenshot (maybe the print screen key will work instead..) and then revert to 3.71 to see if the same thing ends up happening with it. Unfortunately, with my system this could easilly be something else that got screwed up, which is why I wasn't at all sure this was a real problem with Mushclient. I would be a lot happier if other people where reporting the same issue. :(

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 23 Dec 2005 11:20 PM (UTC)  quote  ]
Message
I can't see any extra changes I accidentally made that might be causing this. If you can't reproduce it easily (except for playing for hours), can you revert back to version 3.71 for a while, and see if the problem is still there? Maybe it is from 3.70 to 3.71 that is the problem.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 23 Dec 2005 10:41 PM (UTC)  quote  ]
Message
Are you using a plugin with OnPluginPacketReceived in it?

- Nick Gammon

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

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 23 Dec 2005 08:20 PM (UTC)  quote  ]
Message
Umm. First off, its so intermittent that I would have to play for hours for each plugin removed, just to hope to reproduce it. It was an access violation I think, page fault or the like. I tried to get a screen shot, but for some idiot reason the function for doing that in my pain program wouldn't activate over the Mushclient window, nor could I drag it across the error window... I forgot the write down what it was.

The line that seemed to be the last one shown would be like:

HP: [340/761] CONC: [409/1579] opponent: badly wounded

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 23 Dec 2005 08:13 PM (UTC)  quote  ]
Message
Quote:
Do you have the global option set: Bleed background colour to edge?


- Nope. That option is off.


Quote:
Are you using "other" trigger colours? That is, where you select "other" from the list and use the RGB picker to select a colour.


- A miriad of them. Too many to be useful to you without sending you the entire world file, script file and the whole set of plugins I have loaded. lol However, the ones related to the lines likely to have appeared when the problem happened both times are the ones I have already named.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 23 Dec 2005 08:12 PM (UTC)  quote  ]
Message
The fix for Lua calls was realling just resetting the stack top (in the Lua stack) just prior to making the call. That would not even be done for VBscript.

It would certainly help if you can try to reproduce it, maybe by removing plugins you think might be responsible to narrow it down to the one that is.

With your HP colouring plugin, can you paste examples of the sort of lines that you typically get, I can try to force those through with Shift+Ctrl+F12 to try to make it happen.

Is there any useful information in the crash message? Access violation? Stack overflow? If an access violation does it seem to be a nil-dereference (that is, the violation address will be zero or very close to zero).

- Nick Gammon

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

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 23 Dec 2005 07:58 PM (UTC)  quote  ]
Message
The first time, just as I typed a command. As in I hit enter, the text disappeared from the input box, but then the connection failed, the client crashed and when I logged back in and checked the 'last ooc' command to see if the text was sent at all, it wasn't in the muds history for the channel. The second time though I had just walked away to get something from the kitchen and it crashed 'before' I returned to the keyboard.

Note: You have made changes to how some things with calls to scripts work too, and I have 1) a timer that updates data on the info bar every two seconds or so, based on data from the prompt, showing my current exp, 2) the coloring stuff for my current HP/CP and something that also updates every second that tracks which spells are active. That last one is custom made and not available from Magnum's site (or at least I don't think I ever provided it for anyone else). The code for that is here:


<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE muclient>
<!-- Saved on Sunday, September 08, 2002, 1:33 AM -->
<!-- MuClient version 3.26 -->

<!-- Plugin "Spell_Tracker" generated by Plugin Wizard -->

<muclient>
<plugin
   name="Spell_Tracker"
   author="kagehi"
   id="b5a12674355d40240455d8a1"
   language="VBscript"
   purpose="Displays a line every 10 seconds that shows the status of spells."
   save_state="y"
   date_written="2002-09-08 01:26:57"
   requires="3.25"
   version="1.0"
   >

</plugin>


<!--  Get our standard constants -->

<include name="constants.vbs"/>

<!--  Up Triggers  -->

<triggers>
  <trigger
   enabled="y"
   match="^Godspeed\."
   name="Godspeed_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your mind is blessed\."
   name="MB_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your prayer is answered and you sense God's hand surrounding you, creating"
   name="Godshield_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   back_colour="8"
   enabled="y"
   match="^You cast aura of resistance upon yourself and feel immune against stunning"
   match_back_colour="y"
   match_text_colour="y"
   name="AoR_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
   text_colour="14"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your health is blessed\."
   name="HB_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You feel older and wiser all of a sudden\!"
   name="WofW_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
 <trigger
   enabled="y"
   match="^from your own soul\."
   name="Soullight_Up"
   regexp="y"
   keep_evaluating="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your internal body clock feels.*"
   name="Clock_Up"
   keep_evaluating="y"
   regexp="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You cover .* with your punishment\."
   name="Pn_Cast"
   keep_evaluating="y"
   regexp="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You feel wiser and more intelligent\."
   name="Prismatic_Aura_Up"
   keep_evaluating="y"
   regexp="y"
   script="ResetTmr"
   sequence="98"
  >
  </trigger>
  <trigger
    enabled="y"
    match="^strength flood your body\."
    name="Fortitude_Up"
    keep_evaluating="y"
    regexp="y"
    script="ResetTmr"
    sequence="98"
  >
  </trigger>
  <trigger
    enabled="y"
    match="^\w+ allows you to guard (him|her)\."
    name="SG_Up"
    keep_evaluating="y"
    regexp="y"
    script="ResetTmr"
    sequence="98"
  >
  </trigger>
<!--  <trigger
    enabled="y"
    match="^grow to immense proportions\!"
    name="Empower_Up"
    keep_evaluating="y"
    regexp="y"
    script="ResetTmr"
    sequence="98"
  >
  </trigger> -->

<!--  Down Triggers  -->

  <trigger
   enabled="y"
   match="^Your blessing of Godspeed is lifted from your body."
   name="Godspeed"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You no longer have a blessed mind.*"
   name="Mind_Bless"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your inspiration fades."
   name="Inspiration"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You no longer have a blessed health.*"
   name="Health_Bless"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You feel that your immunity again(ts|st) stuns is fading away\."
   name="AoR"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your body clock is back.*"
   name="Body_Clock"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You do not feel old and wise anymore\.$"
   name="Word_of_Wisdom"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your Godshield slowly loses.*"
   name="Godshield"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your fortification fades.*"
   name="Fortification"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your soul light slowly ebbs away\."
   name="Soullight"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^Your prismatic aura dissipates\."
   name="Prismatic_Aura"
   regexp="y"
   keep_evaluating="y"
   script="IcoDrops"
   sequence="99"
  >
  </trigger>
  <trigger
    enabled="y"
    match="^You feel that the effects of your fortitude have faded away\."
    name="Fortitude"
    regexp="y"
    keep_evaluating="y"
    script="IcoDrops"
    sequence="99"
  >
  </trigger>
  <trigger
    enabled="y"
    match="^You are no longer guarding \w+\."
    name="Guardian"
    regexp="y"
    keep_evaluating="y"
    script="IcoDrops"
    sequence="99"
  >
  </trigger>
<!--  <trigger
    enabled="y"
    match="^You feel your empowerment fading\."
    name="Empowerment"
    regexp="y"
    keep_evaluating="y"
    script="IcoDrops"
    sequence="99"
  >
  </trigger> -->

<!--  General Triggers  -->

  <trigger
   enabled="y"
   match="^Your stats are: Str .*, Dex .*, Con .*, Wis (.*), Int .*\."
   name="CatchStat"
   keep_evaluating="y"
   regexp="y"
   script="MakeAdj"
   sequence="98"
  >
  </trigger>
  <trigger
   enabled="y"
   match="^You have died\."
   name="DeathReset"
   keep_evaluating="y"
   regexp="y"
   script="DeathReset"
   sequence="98"
  >
  </trigger>
</triggers>

<!--  Timers  -->

<timers>
  <timer name="IconTimer" script="IconDec" enabled="y" second="2" active_closed="y">

  </timer>
  <timer name="ShowThem" script="ShowThem" enabled="y" second="10" active_closed="y">

  </timer>
</timers>

<!-- Aliases  -->
<aliases>
  <alias
   name="IconToggle"
   script="IconToggle"
   match="icons *"
   enabled="y"
  >
  </alias>

</aliases>

<!--  Script  -->


<script>
<![CDATA[

sub OnPluginInstall
  dim Icnm, Ico, Tms, FTms, Colors, IcDrops,Adj,Ada
  ' Up indicators, must match the 'name' of the up trigger.
  Icnm = "WofW_Up,HB_Up,MB_Up,Fortitude_Up,Clock_Up,Godspeed_Up,Godshield_Up,AoR_Up,Inpiration_Up,SG_Up"
  Icnm = Icnm + ",Soullight_Up,Pn_Cast,Prismatic_Aura_Up"
  
  ' Down indicators, must match the 'name' of the down trigger.
  IcDrops = "Word_of_Wisdom,Health_Bless,Mind_Bless,Fortitude,Body_Clock,Godspeed"
  IcDrops = IcDrops & ",Godshield,AoR,Inspiration,Guardian,Soullight,NULL,Prismatic_Aura"
  
  'Symbols that will be used in the display.
  Ico = "Ww,Hb,Mb,Ft,Bc,Sp,Sh,Ar,In,Sg,Sl,Pn,()"
  
  'Start status, -21 means it starts disabled. Higher than 0 means this is a casting delay (i.e. time until usable again).
  Tms = "-21,-21,-21,-21,-21,-21,-21,-21,-21,-21,-21,950,-21" 'Start Disabled.
  
  'Base times. This is the minimum time a spell is expected to last.
  FTms = "1450,1750,1790,3020,580,680,1140,900,1,1800,1800,950,1200"
  
  'This will hold the 'Adjusted' times for spells effected by a stat.
  Adj = FTms
  
  'Adjustment amount. This is how many seconds to add 'per' stat point.
  Ada = "0,3,3,0,0,0,0,0,0,0,0,0,0"
  
  'We use preset colors here for clearity, instead of calcing them on the fly.
  Colors = "#007ffe,#00b2fe,#00e9fe,#00fee0,#00feae" ' Colors by 5% (Blues)
  Colors = Colors & ",#00fe77,#00fe44,#00fe11,#26fe00,#59fe00" '(Greens)
  Colors = Colors & ",#90fe00,#c3fe00,#fafe00,#fecf00,#fe9d00" '(Yellow-Orange)
  Colors = Colors & ",#fe6600,#fe3300,#fe0000,#be4545,#881818" '(Red)
  world.setvariable "Icnm",Icnm
  world.setvariable "Ico",Ico
  dim Test,Test2
  Test = split(world.getvariable("Tms"),",")
  Test2 = split(Tms,",")
  if world.getvariable("Tms") = "" or ubound(Test2) <> ubound(Test) then
    world.setvariable "Tms",Tms
    world.setvariable "OTms",Tms
    world.setvariable "Adj",Adj
  end if
  if world.getvariable("FTms") <> FTms then
    world.setvariable "Adj",Adj
    world.setvariable "FTms",Ftms
  end if
  world.setvariable "Colors",Colors
  world.setvariable "IcDrops",IcDrops
  world.setvariable "Ada",Ada
end sub

function OnPluginCommand (sText)
  world.setvariable "LCTime", Now
  OnPluginCommand = vbTrue
end function

sub DeathReset (tname, output, wilds)
  call ResetIcons (" ")
end sub

sub ResetIcons (Fill)
  dim Tms, Ico, FTms
  Tms = split(world.getvariable("Tms"),",")
  Ico = split(world.getvariable("Ico"),",")
  FTms = split(world.getvariable("FTms"),",")
  dim count
  for count = 0 to ubound(Tms)
    if Ico(count) = "Pn" then
      Tms(count) = FTms(count)
    else
      Tms(count) = -21
    end if
  next
  world.setvariable "Tms", join(Tms,",")
  world.note "Icon counters reset!"
end sub

sub IconToggle (name, output, wildcards)
  dim Flag
  Flag = ucase(wildcards(1))
  if Flag = "RESET" then
    dim Tms, Ico, FTms
    Tms = split(world.getvariable("Tms"),",")
    Ico = split(world.getvariable("Ico"),",")
    FTms = split(world.getvariable("FTms"),",")
    dim count
    for count = 0 to ubound(Tms)
      if Ico(count) = "Pn" then
        Tms(count) = FTms(count)
      else
        Tms(count) = -21
      end if
    next
    world.setvariable "Tms", join(Tms,",")
    world.note "Icon counters reset!"
  end if
  if Flag = "ON" then
    world.enabletimer "ShowThem",1
    world.note "Icons will now display!"
  end if
  if Flag = "OFF" then
    world.enabletimer "ShowThem",0
    world.note "Icons Off!"
  end if
end sub

sub IconDec (name)
  dim Adj 'Adjusted times.
  Adj = split(world.getvariable("Adj"),",")
  dim Ico ' List of icons to display.
  dim Tms ' Current times.
  Ico = split(world.getvariable("Ico"),",")
  Tms = split(world.getvariable("Tms"),",")
  dim count
  for count = 0 to ubound(Ico)
    Tms(count) = int(Tms(count)) + 2
    if int(Tms(count)) >= Adj(count) then
      Tms(count) =  Adj(count)
    end if
    if Tms(count) < 0 then 'Make sure it stays gray.
      Tms(count) = -21
    end if
  next
  world.setvariable "Tms", join(Tms,",")    
end sub

sub ShowThem (name)
  if abs(DateDiff("n",world.getvariable("LCTime"),Now)) < 5 then
    call DisplayIt
  end if
end sub

sub ResetTmr (name, output, wildcards)
  dim Icnm ' Names.
  dim Tms ' Current times.
  dim Ada
  Ada = split(world.getvariable("Ada"),",")
  Icnm = split(world.getvariable("Icnm"),",")
  Tms = split(world.getvariable("Tms"),",")
  dim count,test
  test = 0
  for count = 0 to ubound(Icnm)
    if Icnm(count) = name then
      Tms(count) = 0
      if ada(count) > 0 then
        test = 1
      end if
    end if
  next
  world.setvariable "Tms", join(Tms,",")
  if test then
    world.enabletrigger "CatchStat", 1
    world.send "stats"
  end if
end sub

sub IcoDrops (name, output, wildcards)
  dim IcDrops
  dim Tms ' Current times.
  IcDrops = split(world.getvariable("IcDrops"),",")
  Tms = split(world.getvariable("Tms"),",")
  dim count
  for count = 0 to ubound(IcDrops)
    if IcDrops(count) = name then
      Tms(count) = -21
    end if
  next
  world.setvariable "Tms", join(Tms,",")    
  call DisplayIt
end sub

sub DisplayIt ()
  dim Adj
  dim Tms ' Current times.
  dim Ico ' List of icons to display.
  dim OTms ' Original times at start.
  dim Colors
  Adj = split(world.getvariable("Adj"),",")
  Colors = split(world.getvariable("Colors"),",")
  Tms = split(world.getvariable("Tms"),",")
  Otms = split(world.getvariable("OTms"),",")
  Ico = split(world.getvariable("Ico"),",")
  world.colourtell "#FFFFFF","#00","["
  dim count
  for count = 0 to ubound(Ico)
    if Tms(count) < 0 then
      world.colourtell "#808080","#00",Ico(count)
    else
      dim cl,Ft
      Ft = Adj(count)
      cl = Tms(count) / Ft
      cl = int(cl * 19)
      if cl > 19 then
        cl = 19
      end if
		  if OTms(count) > 0 then
		    cl = 19 - cl
		  end if
      world.colourtell Colors(cl),"#00",Ico(count)
    end if
    if count < ubound(Ico) then
      world.colourtell "#FFFFFF","#00","-"
    end if
  next
  world.colournote "#FFFFFF","#00","]"
end sub

sub MakeAdj (name, output, wildcards)
  dim Adj
  dim FTms
  dim Ada
  Adj = split(world.getvariable("Adj"),",")
  Ftms = split(world.getvariable("FTms"),",")
  Ada = split(world.getvariable("Ada"),",")
  world.enabletrigger "CatchStat", 0
  dim ABase, Temp
  ABase = 133
  Temp = int(wildcards(1))
  Temp = Temp - ABase
  dim count,ttime,tad
  for count = 0 to ubound(Adj)
    ttime = Ftms(count)
    tad = Ada(count)
    Adj(count) = ttime + (Temp * tad)
  next
  world.setvariable "Adj", join(Adj,",")    
  call DisplayIt
end sub

]]>
</script>
</muclient>


I know for a fact that the HP/CP coloring system fired just prior to the crash. The one above **should** have continued to fire the entire time I was away from the keyboard, but the last like was the HP/CP one, *not* the spell tracker. That could mean something is going seriously wrong with the spelltracker in this version that didn't happen in prior versions. It certainly doesn't seem to be consistently something caused by typing or by reacting to the muds text. But then, I played for another 2 hours 'after' the crash, but avoiding the use of ctrl-x and ctrl-c to quickly remove and replace commands. I normally do that a lot. Such as typing a long message to a channel, seeing a spell drop, so ctrl-x-ing the message, so I can recast the spell, then ctrl-c-ing the message back, so I can finish typing it.

At this point I have no clue which of these things might be doing it. But the only changes you have made recently are to handling script result codes and triggers. And the triggers in these cases don't even use custom colors, but *build* the lines they display themselves... That leaves either a new bug in the clipboard/input window code or some obscure and intermittent issue with the code you changed for result codes, which worked for everything except Lua before, but may ironically now be failing in on cases for VBScript instead. But that is purely a guess, since nothing else makes much sense to me as a possibility.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 23 Dec 2005 07:41 PM (UTC)  quote  ]
Message
A couple more questions:


  • Do you have the global option set: Bleed background colour to edge?

  • Are you using "other" trigger colours? That is, where you select "other" from the list and use the RGB picker to select a colour.


- Nick Gammon

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

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 23 Dec 2005 07:34 PM (UTC)  quote  ]
Message
On the occasions when you got the crash, was it:


  • Immediately upon typing a command (and thus probably something to do with command processing), or

  • An another time (and thus probably something to do with data received from the MUD)?


- Nick Gammon

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

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 23 Dec 2005 06:26 PM (UTC)  quote  ]
Message
All right. It happened again. The last event was a trigger for coloring combat, in this plugin, as near as I can tell:

http://www.magma.ca/~2k00lmag/muds/hitbar.zip

I am using the "inc3" option. Note, the help for it might actually be a bit off. I also used ctrl-x a few times to clip stuff I didn't want to send yet, so I could type in other commands. I left the keyboard for a moment, so don't remember, but I might have done that "just prior" to when it died. Otherwise, I can see nothing that should have caused it.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 23 Dec 2005 03:20 PM (UTC)  quote  ]
Message
Hmm. I looked to see what you had changed, by clicking the option, but I cancelled it, so the trigger was never used at all. But your right, that is the only unique thing I did that differed from the prior uses, was to look at that new setting. Though why it would cause a problem when I didn't confirm the change....

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[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.


3,884 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]