BenLand100
2008-04-04 00:29:21
I decided to rewrite SMART from scratch in order to find and fix the little bugs that I never really liked but didn't want to mess with. Lots of it is faster than the old version, its a little smaller, and you can close SMART without closing SCAR now ;) I also added a SmartGetFieldArray3DObject for those of you wanting to write UID searching. If you've got a little bug or tweak that you want added, tell me and I'll do my best on it. No, I don't think you can run more than one from a SCAR still, though you can try. I could "fix" it, but it would be a major restructure.
Chances are this is FULL of bugs, so test, test, test. That being said, you might not want to leave it running unattended until we can ensure that it is stable. Also, its likely that I broke some exports in the process of rewriting it… so try as many as you can, I can't really test on Linux as much as I would like to. In reality, all I've tested is that the SMART window comes up in SCAR :)
Anyway, I rewrote it in GNU C++, so there is a slight chance I might decided to release the source for this version. That being said, it was a PAIN IN THE ASS to get windows resources to work in gnu… No 7z this time, i'm too lazy, zip was a 2 click operation. Have fun :D
Edit: Lets try the DEBUG version, its a lot larger, but it will open a command prompt to let you see some of what's happening… I know there is a problem with exiting that I'll have to resolve, but lets try to nail down any starting and running problems.
Edit: NEW VERSION, keep testing.
Markus
2008-04-04 01:21:30
Wowawewa! This looks cool :D
When my v2's stop I'll install this one straight away ;)
edit: Sorry man, but it's far from stable. I can't even enable+disable it without crashing :( (crashing = SMART window stops responding, SCAR isn't affected).
bullzeye95
2008-04-04 01:30:08
Ohh, very nice :)
I'll check this out tomorrow and see if I find any bugs… thanks!
BenLand100
2008-04-04 01:59:35
From: bullzeye95
Ohh, very nice :)
I'll check this out tomorrow and see if I find any bugs… thanks!
You won't have to look far ;)
Bobarkinator
2008-04-04 08:04:28
The version you gave me last night, I tried to run a script and SCAR along with SMART crashed ;)
Wizzup?
2008-04-04 10:36:24
From: Bobarkinator
The version you gave me last night, I tried to run a script and SCAR along with SMART crashed ;)
Smart 1 and Smart 2 crash quite some times for me too. But I always get C++ Runtime Library errors, or SCAR just totally disappears. ;)
I'll test this version now, Ben.
Markus
2008-04-04 10:40:54
Omg, this version hates me. It doesn't crash wtf? Heisenbug anyone?
Bobarkinator
2008-04-04 11:36:30
Ben gave me a version last night that crashed when I ran a script, I'm not sure how much he changed it before he released it.
BenLand100
2008-04-04 12:26:16
From: Markus
Omg, this version hates me. It doesn't crash wtf? Heisenbug anyone?
Erm, it
doesn't crash? I'm confused because it's Hindenburg that blew up, and Heisenberg's uncertainty principle… So If you mean that it did not crash, then it is pretty uncertain I guess,,, I just expected it to crash and pull a Hindenburg :[
Edit: I did change the Disable/Enable thing since the first time you used it if thats what you are talking about…
From: Bobarkinator
Ben gave me a version last night that crashed when I ran a script, I'm not sure how much he changed it before he released it.
Depending on when I gave it to you I changed it a lot or just some. Anyway, descriptive please, what did it DO when it crashed? Just disappear or freeze? Did it say anything in the prompt?
Wizzup?
2008-04-04 12:41:31
FATAL ERROR in native method: Using JNIEnv in the wrong thread
Process dying, take a screenshot quick if you need to save this output
I'll give it some more tries.
I started my script. Stopped it to log in once (disabled logged in, then enbabled)
When I hit ctrl alt r scar crashed, and so did Smart.
Markus
2008-04-04 14:23:36
Wikipedia: A heisenbug is a computer bug that disappears or alters its characteristics when it is researched.
Yakman
2008-04-04 16:25:22
hehe, you can make one those with the assert keyword
int myVar;
//myVar is used somehow
assert (myVar = 25);
the code works with assert enabled, but mysteriously bugs with it disabled,
that one little equals sign can cost you dearly, hours of fun for all the family :)
BenLand100
2008-04-04 16:33:56
From: Wizzup?
I'll give it some more tries.
I started my script. Stopped it to log in once (disabled logged in, then enbabled)
When I hit ctrl alt r scar crashed, and so did Smart.
Ah yes, I know exactly what caused that :P Otherwise, did it work pretty well?
From: Markus
Wikipedia: A heisenbug is a computer bug that disappears or alters its characteristics when it is researched.
Meh, I read it as Heisenberg, and inferred that it had something to do with randomness :P Anyway, the problem you described I fixed (i think) so it really wasn't a heisenbug :P
Bobarkinator
2008-04-04 16:51:01
9:57:22 PM CDT is when you created the file. Either way I'll download this version and tell you what happens
BenLand100
2008-04-04 17:33:10
From: Bobarkinator
9:57:22 PM CDT is when you created the file. Either way I'll download this version and tell you what happens
just posted a new one, for anyone else.
Smartzkid
2008-04-04 18:33:12
Quite nice, Ben.
Ran with one world, stopped script, then ran with another world.
BenLand100
2008-04-04 19:44:25
From: Smartzkid
Quite nice, Ben.
Ran with one world, stopped script, then ran with another world.
I assume you called SmartSetup in the script? Thats very strange if you did… let me check some of my logic.
Smartzkid
2008-04-04 20:53:55
Yeah. Lemme retest, might have been an invalid world.
EDIT: Nevermind, seems v3 can eat invalid worlds with no ill effects :)
BenLand100
2008-04-04 21:09:59
New version, someone try running two Smarts from different Scars but where both scar's are in the same folder (e.g. open two scars from the same folder). I think the way GCC links might have fixed whatever was causing the problem… Anyway, post any errors that are new or you are still getting.
XcanadamanX
2008-04-21 15:43:53
here i just tried it. i didnt do the 2 smarts though. got this:
Bobarkinator
2008-04-21 16:20:20
Get the latest Java maybe, its 1.6.0_05, you have 1.6.0_03
XcanadamanX
2008-04-21 17:41:25
it worked fine for about 10 mins. i'll do that anyway though.
edit: new one. with the new java
Bobarkinator
2008-04-21 20:46:43
Does SMART still start up?
XcanadamanX
2008-04-22 07:54:49
yeah…those errors are after like 10 mins.
Bobarkinator
2008-04-22 07:59:22
Have you tried different scripts?
Smartzkid
2008-04-24 18:47:13
Have you tried just leaving SMART up w/o a script running?
XcanadamanX
2008-04-24 20:55:00
ya works fine…had it up for like 2 days
edit: anyone getting this? smart wont open with v3