| View previous topic :: View next topic |
| Author |
Message |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 4:32 am Post subject: Dantae's Playbook Export Tool - AI Transfer script |
|
|
http://userscripts.org/scripts/show/34502
It allows you to select a team that you have OC/DC access to and will quickly transfer your game plans over to the other team.
Its about 99% done, I am just having trouble with the
| Code: | | <input type="submit" style="font-size: 16px; width: 200px;" value="Update" name="action"/> |
button, I want it to say "Export to Team" when a team other than the one you are at is selected. I can change the Value but doing this will cause the page to reload if you hit that button. So Either Im going to release it with this one thing I wanted in it, or Ill sit back and wait to figure the problem out.
And yes It really works. It automatically selects the teams you have OC/DC access to and will display the team logo on the menu.[/url]
Last edited by Augie on Fri Sep 26, 2008 5:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
robelder
Joined: 15 Jul 2008 Posts: 45
|
Posted: Thu Sep 25, 2008 10:11 am Post subject: |
|
|
| Wow, you guys are doing awesome. These new tools are pretty amazing! |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 2:23 pm Post subject: |
|
|
| I havent tested it with more than 3 teams. So Im not sure what it would look like if you have GM/coordinator access for more than 10 teams. |
|
| Back to top |
|
 |
robelder
Joined: 15 Jul 2008 Posts: 45
|
Posted: Thu Sep 25, 2008 2:33 pm Post subject: |
|
|
| Hmm, I own one and GM 4 so, that's not me. |
|
| Back to top |
|
 |
Sooner Steve

Joined: 25 Sep 2008 Posts: 1
|
Posted: Thu Sep 25, 2008 8:56 pm Post subject: |
|
|
| Just want to let you know that your script is da bomb! I have used it all day today and it is phenomenal! Thanks for the great work! |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 9:17 pm Post subject: |
|
|
Crap, A sooner fan is using my script? I feel dirty now.
Glad your enjoying the script. It was always pretty easy to just edit the elements with firebug, this just makes it so much simpler.
Ive been looking at the actual playbook stuff and am going to see if I can expand on this concept. I need to learn more about javascript and programing. Hopefully I can get the next version set to allow for saving the gameplans to a file, or script or maybe find some way to allow saving gameplans into a database...
who knows but it all depends on what I can learn about this programming when I get bored. |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 10:21 pm Post subject: |
|
|
actually before I do any save play to file I am going ot work on reducing server load with the two pages it pulls. This is one of the reasons I still kinda want to keep it to testing.
Been noticing if there is bad server lag that this script does not work very well since it is calling 2 diffrent pages.
Possible solutions would be to set it to pull the season date from the main page and only allow one server query to check your team gm status per day. Though this means if you get any status changes you will have to wait till the next day for the script to pull the update. |
|
| Back to top |
|
 |
robelder
Joined: 15 Jul 2008 Posts: 45
|
Posted: Thu Sep 25, 2008 10:37 pm Post subject: |
|
|
| Where is the script? Am I blind or is there not a link? |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 10:44 pm Post subject: |
|
|
hehehe
I havent posted the link in this thread yet. most people that have found it looked in my old scripts post or asked me nicely.
I really need to do some testing when the server is acting like crap, it will probably take me a few hours to figure out and write the code to save server requests and keep the script from putting even more stress on the host. |
|
| Back to top |
|
 |
robelder
Joined: 15 Jul 2008 Posts: 45
|
Posted: Fri Sep 26, 2008 9:17 am Post subject: |
|
|
That's cool, I can always transfer the other way. I just was going crazy reading about how great it works and couldn't figure out where they got it.
|
|
| Back to top |
|
 |
|