Jump to content
UBot Underground

Recommended Posts

Sometimes UBOT seems to stop working for me.

 

When that happens I do a FILE, SAVE and then re-open the file I just saved.

 

That usually causes everything to start working again as if I closed UBOT and re-opened everything.

 

Even though I had just saved the file, the file that opened was 2 days old.

 

What a sick feeling I have to know that two days of great coding is gone.

 

Has this ever happened to anyone else?

 

 

Link to post
Share on other sites

Uhh i once changed the value in waiting time for the Code view ,and when i switched back to Node view nothing but my wait command was there ............man i was Super Pissed since then every change i enter into code i save it in to Notepad++ and i live in peace,Truth be told Ubot sometimes acts Weird and buggy like you said very frustrating when it happens to you the first time!

Link to post
Share on other sites

Almost all the time. I'm always redoing the work I just did. I also hate it when I screw up causing a infinite loop and try to hurry to go to the auto save folder, but the file is gone.

 

On some of my big bots, I have to close and re-open the program every hour or so because it just becomes its so slow. Lol

 

Its annoying. I had to redue my current project from scratch because the ubot file just opens blank.

 

Just got to save, save, save. Oo that's a smart idea. Might create a auto save bot haha.

 

Regards,

HaHaItsJake

Link to post
Share on other sites

I save every hour on hour and increment file #.

 

Ubot134.ubot

 

 

I have one project in thousands.

 

Should start doing that. I don't know why I haven't. Was always a new file version when ever I hired a developer for something. 

 

Regards,

HahaItsJake

Link to post
Share on other sites

Some rules I learned over the years:

 

1. Before you open an ubot file, always make a copy. Everytime I work on one of my bots, I create a new copy and save it to a new file.

2. Before I switch from code to node view, I hit STRG+A (Select all) and STRG-C (copy). Then I switch to node view and back to code view. Sometimes stuff get's removed when you make an error in code view. (There's already a bug report for that behavior)

 

3. After every command i edit, I save my bot. 

4. My ubot source directory is within my dropbox (encrypted via Safemonk) folder and get's automatically synchronized. So I automatically have a copy everytime I save a new version of that ubot file. And dropbox automatically synchronizes that. So I can jump back in time via the dropbox website if something is completely screwed up.

 

Since that process is a habit I've never lost code again.

 

It's a bit more necessary with Ubot, but I have an almost identical process for my C# projects. Without that source code copy of course. But I also copy my C# projects and synchronize them via dropbox to get versioning. 

Or I use GitHub for the projects where I have to collaborate. 

 

Dan

Link to post
Share on other sites

Thanks to every one responding.

I hate that sick feeling you get when you know there is no way to recover and you have hours ahead of you to get back to the point you left off.

I appreciate hearing everyone's comments because I know I saved it prior to re-opening it but my changes were still gone.

The even more odd thing is that I have a Carbonite backup running and the version on their server was 2 days old too.

It's like the saves I do often were just not working at all.

I was wondering if my having UBOT open during the time when their forum server went away yesterday had anything to do with the issue.

 

Any way, I'm glad we have this thread up here now so more people will be thinking of over protecting their time invested.

Link to post
Share on other sites

Yea this happens to me all the time, so much so that when doing a ton of coding I like to save off to a text file then compare lines on reload to make sure it saved. Feel for ya bud, been there.

Link to post
Share on other sites

Yep, Yep

 

Save often and save a copy of source for every tab,

 

If you move something to another tab (from code view) you need to hit node view before you go back to original tab and hit save.

 

ctrl+s - can never do too often!!

 

I also save manually.

 

This little thing is most valuable.

 

ui button("Save n See") {
    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""f""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""s""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Up")
    plugin command("File Management.dll""open file"$special folder("Application"))
}

 

After I save I check the date of the file.

 

It is In every bot I am developing and in bot bank.

 

CD

Link to post
Share on other sites

Yep, Yep

 

Save often and save a copy of source for every tab,

 

If you move something to another tab (from code view) you need to hit node view before you go back to original tab and hit save.

 

ctrl+s - can never do too often!!

 

I also save manually.

 

This little thing is most valuable.

 

ui button("Save n See") {

    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Press")

    plugin command("WindowsCommands.dll""keyboard event""f""Key Press")

    plugin command("WindowsCommands.dll""keyboard event""s""Key Press")

    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Up")

    plugin command("File Management.dll""open file"$special folder("Application"))

}

 

After I save I check the date of the file.

 

It is In every bot I am developing and in bot bank.

 

CD

Code Docta (TC),

Thanks I like the Save and See button.

Link to post
Share on other sites

 

It's like the saves I do often were just not working at all.

I was wondering if my having UBOT open during the time when their forum server went away yesterday had anything to do with the issue.

 

 

I don't think it would be a problem. I didn't at first until I just opened my current project that I been working on. Completed about 80% of a whole tab lastnight around 5am MTN Time and I know I saved the hell out of it because I had to redue to the tab lastnight. Anyways, just opened it up and Proof, 45% of the coding (that was the most difficult) I did lastnight is gone. 100% sure I saved it multiple times before going to bed. The forums and Wiki was down at the time which made me go to bed since I couldn't find information about my problem on Ubot sites.

 

The worst part, it's not that the coding that was done is gone, it's the fact that the coding was complicated and some Regex/Features is a pain (for me). Now I have to go back and research the solution again because I can't remember on the top of my head. Always having to go back into other bots and go off that coding or basic code scripts I created. 

 

Sad Sad Human At The Moment,

HaHaItsJake

Link to post
Share on other sites

The worst part, it's not that the coding that was done is gone, it's the fact that the coding was complicated

 

I hear you!. The code that I lost was some of my best and most complicated code.

I had built loops 4 levels deep that altered text I had scraped and turn it into spin text, spun the result and put it in a list to be written back out to the web.

As I re-write the code I am making the same mistakes and then having to figure out the solutions a second time.

What a pain!!!

Link to post
Share on other sites

CTRL + S all the time. :) Also save as after big changes so you can revert back. Would love to see and auto save added that can be enabled and disabled.

Link to post
Share on other sites
giganut,

The thing is that both HaHaItsJake and myself know that we had done saves and the code still is missing.

I believe the SAVEs were not working.

 

I like the "Save & See button" above so you can verify the time stamp from the save is current.

Link to post
Share on other sites

I understand what you mean, I've made changes to elements and went back to look at the same command that I just made, and the elements where different inside them, and also when you select an element and then click the gear icon, and the wrong generated HTML shows in the advanced element editor. I guess I have just been using ubot for long enough that I have learned to live with some of the things that obviously are not working correctly.

 

Where are you saving the ubot code? are you saving it on your c:\ drive or are you saving it in a library. Dose your user account have full admin rights?

Link to post
Share on other sites

I hear you!. The code that I lost was some of my best and most complicated code.

I had built loops 4 levels deep that altered text I had scraped and turn it into spin text, spun the result and put it in a list to be written back out to the web.

As I re-write the code I am making the same mistakes and then having to figure out the solutions a second time.

What a pain!!!

 

I know what you mean. Mine lastnight was with having multiple threads inside threads inside another layer of threads. Ran freaking amazing too other then the last needed code haha. 

 

Where are you saving the ubot code? are you saving it on your c:\ drive or are you saving it in a library. Dose your user account have full admin rights?

I just been saving it to my second HDD D:\ in a folder on my desktop. Has to be or I wouldn't be on the computer. ;P 

 

A Kid Looking At A Blank .ubot File,

HaHaItsJake

Link to post
Share on other sites

You can run something like this for auto saving.

 

With some mods to fit your needs.

 

Now IDK how the memory will build up but it's an idea.

 

 

loop while(1 = 1) {
    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""f""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""s""Key Press")
    plugin command("WindowsCommands.dll""keyboard event""Alt""Key Up")
    wait(60)
}

 

Stick in your bot bank and run it from there. Just gotta remember to run it.

 

If you have dev edition use onload.

Link to post
Share on other sites
uniquebot,

Wow, 3 weeks work lost!! That sucks!!

I've only seen that when people have had a hardware failure and didn't have a backup.

I've always been a fanatic about backup because of what I have seen people loose; but in this case my on-going Carbonite backup didn't even capture a copy of the file.

I am presuming that my SAVEs where not actually doing anything.

Now I am using the script from above to check the time stamp of the file with every significant change and save of the code.

I am also changing the file name with a new version number daily.

Too bad that so much precaution is necessary.

Link to post
Share on other sites

This is beginning to be a serious Bug,so many users have issues and you are a longtime user which means this has been going on for a while,really strange behavior i think its because of Ubots connection to internet and its software being partially controlled by their server,probably for protections of Ubot software!

Link to post
Share on other sites

Funny isnt there an autosave option for ubot or a plugin?....

Yes, I believe there is an autosave function in UBOT. That is why the software sometimes asks if you want to recover a file.

The problem is in the situations being mentioned is that the SAVE function did not seem to be working at all.

I did check the autosave folder/file when I lost my code and the file in that folder had a date/timestamp for two days before the problem was discovered so it was no help.

Link to post
Share on other sites

I have been complaining about this for years, everyone knows about it and everyone has been a victim

it shits me to tears that I have to save a heap of versions as you end up with 30 files for one decent bot

 

The next thing you are to discover is your bot, will not open in UBOT and you have to send it to ubot for them to fix

 

It's just not good enough UBOT :angry:

Link to post
Share on other sites

SmileyBot,

Thanks for your input.

I am hoping that newer UBOTTERs will read this thread and maybe be spared the agony.

Saving the code in Nick's text based source safe is starting to look better and better to me.

 

Spot on, if someone could improve Nicks convertor to.

 

save any open .ubot file every 3mins to a log folder %appdata% time stamped

 

Ubot to text convertor can be found here:

http://imautobots.com/downloads/ubot-to-txt-converter/

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...