[AL Plugin] Universal Banking "The Financial Revolution Continues" v502 26-01-11
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 2255
- Joined: Mon, 31. Oct 05, 08:44
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
The problem is with Hotkey Manager putting the hotkey back after it has been removed, apparently.
I'm not going to be investigating any further into this matter as i will be removing support for Hotkey Manager in the next version anyway. Not due to any issues with Hotkey Manager, but rather there is no need for it any more. The uninstall script has to be run anyway when removing Universal Banking so it handles the hotkey removal while removing everything else. This will stop any conflicts or issues that are currently being experienced.
MarCon
I'm not going to be investigating any further into this matter as i will be removing support for Hotkey Manager in the next version anyway. Not due to any issues with Hotkey Manager, but rather there is no need for it any more. The uninstall script has to be run anyway when removing Universal Banking so it handles the hotkey removal while removing everything else. This will stop any conflicts or issues that are currently being experienced.
MarCon
When you select close account you can't back out anymore. It asks to proceed or not, but it proceeds anyway or another no matter what you select.
I checked the code, and you have something like
proceed=get user input boolean/var etc..
that shoud go right behind close.account label... like this
close.account:
proceed=get user input
if proceed=true
closeAccountCode
end
return whatever
i can c/p if needed
p.s. I really like this script, been trying to find/ a station selling script for ages but always something messed with my evil plan.
I checked the code, and you have something like
proceed=get user input boolean/var etc..
that shoud go right behind close.account label... like this
close.account:
proceed=get user input
if proceed=true
closeAccountCode
end
return whatever
i can c/p if needed
p.s. I really like this script, been trying to find/ a station selling script for ages but always something messed with my evil plan.
Split say NEED MORE FIREPOWER!!
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
vukica
Oh s**t ! Ooops.
Yep found where your talking about. Stupid mistake on my behalf. I'll get it fixed in the next couple of days. As it's not a critical error i'll see if there is anything else needs doing at the same time.
The station selling was the part that caused the holdup of the script release. Hope you like it.
Thanks for the bug report.
Sesk
I think your prob is related to the above also, but i'll check to make sure.
Same to you, thanks for the bug report.
MarCon
Oh s**t ! Ooops.
Yep found where your talking about. Stupid mistake on my behalf. I'll get it fixed in the next couple of days. As it's not a critical error i'll see if there is anything else needs doing at the same time.
The station selling was the part that caused the holdup of the script release. Hope you like it.
Thanks for the bug report.
Sesk
I think your prob is related to the above also, but i'll check to make sure.
Same to you, thanks for the bug report.
MarCon
I have been loving this so far, earning interest on my creditssssss and selling off stations I no longer want to deal with except one little thing.
My balance went from over 2 billion to negative 2 billion. No reason at all. No loans, it just flip flopped between entries. Now when it computes interest one time it will deduct from the negative balance (with a positive interest adjustment) and the next time it will add to it. Please help before my billions are sucked away.....
Here is the screenshot.
http://i1087.photobucket.com/albums/j47 ... ssssss.jpg
My balance went from over 2 billion to negative 2 billion. No reason at all. No loans, it just flip flopped between entries. Now when it computes interest one time it will deduct from the negative balance (with a positive interest adjustment) and the next time it will add to it. Please help before my billions are sucked away.....
Here is the screenshot.
http://i1087.photobucket.com/albums/j47 ... ssssss.jpg
***modified*** means more options
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
@ Taowulf
First, create another account and put half from the first account into it. it's the game engine unable to handle numbers over 2 billion. You will get the same amount of interest just spread over 2 accounts. better to have a number of accounts with a smaller amount in each rather than 1 large account. If it keeps behaving badly you may need to delete the account and use a cheat script to get you back the credits that are effected.
Notice to everyone, keep your accounts below 1,500,000,000 for this very reason.
MarCon
First, create another account and put half from the first account into it. it's the game engine unable to handle numbers over 2 billion. You will get the same amount of interest just spread over 2 accounts. better to have a number of accounts with a smaller amount in each rather than 1 large account. If it keeps behaving badly you may need to delete the account and use a cheat script to get you back the credits that are effected.
Notice to everyone, keep your accounts below 1,500,000,000 for this very reason.
MarCon
My mistake, iwas thinking this was an end around to get past that. That is what get for trying to think after building a complex.
Since it won't let me get the credits out of the account, in fact won't let me deposit to it either I guess I will have to recreate my filty lucre the old fashioned way.
But since getting the government to bail me out is not an option I will get it back via cheat.
Since it won't let me get the credits out of the account, in fact won't let me deposit to it either I guess I will have to recreate my filty lucre the old fashioned way.
But since getting the government to bail me out is not an option I will get it back via cheat.
***modified*** means more options
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
@ Taowulf
Sorry if my post this morning was a bit abrupt. It was made pre first coffee and breakfast. not a good time for me to be posting replies to problems .
I'll take a look at the script this evening with the idea of the script creating auto accounts and depositing credits into them if it is going to overflow the account. Also a notification to the player re full accounts might be a good idea also.
Sorry if this situation has caused you any dramas.
MarCon
Sorry if my post this morning was a bit abrupt. It was made pre first coffee and breakfast. not a good time for me to be posting replies to problems .
I'll take a look at the script this evening with the idea of the script creating auto accounts and depositing credits into them if it is going to overflow the account. Also a notification to the player re full accounts might be a good idea also.
Sorry if this situation has caused you any dramas.
MarCon
Not a problem at all, I just hadn't done my research correct. Building a complex and a hundred jumps to locate an Aran took me off of the golden path.
Having a mechanism to autotransfer or autorollover into a new account would be good for when we become otherwise occupied. I just shut down TC so I can't go back to look but even an option to have non interest bearing accounts would be good. This one just got away from me while I was otherwise occupied.
Love the plugin though, especially the abilty to sell my "accidental" stations.
Having a mechanism to autotransfer or autorollover into a new account would be good for when we become otherwise occupied. I just shut down TC so I can't go back to look but even an option to have non interest bearing accounts would be good. This one just got away from me while I was otherwise occupied.
Love the plugin though, especially the abilty to sell my "accidental" stations.
***modified*** means more options
Got to put this script into serious use and trounce it to pieces and look for holes again,
Also got a ton of ideas how to expand this script. Again inspired by how our 'legal and ah so uncorrupted' banks do business themselves in the real world.
Also got a ton of ideas how to expand this script. Again inspired by how our 'legal and ah so uncorrupted' banks do business themselves in the real world.
X3:TC Heavy M6 guide : : : Let's pretend you are an addict, lets pretend that you are a X-games player... but i am repeating myself here.
- Samuel Creshal
- Posts: 17833
- Joined: Sat, 6. Mar 04, 16:38
Is this script known to be incompatible with Sector Takeover? Else I've found a weird bug. The script is essentially doing nothing, I can't open accounts and station management isn't doing anything (and I get one "Play account is low on credits"-message followed by three "Player account is overflowing"-messages every few minutes).
Using the zip version (401), no other scripts except STO and bonus package installed.
Edit: Debug code removed to improve thread readability.
Using the zip version (401), no other scripts except STO and bonus package installed.
Edit: Debug code removed to improve thread readability.
Last edited by Samuel Creshal on Wed, 17. Nov 10, 01:10, edited 1 time in total.
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Samuel Creshal
It's not incompatable with STO as far as i know, and it shouldn't be.
What the debug is telling me (thanks for that btw) is the script that handles all the initial array setups for all the account types has failed misserably. No arrays have been created or they can't be found thus nothing can work. AFAIK no one else has had this prob so it may be a bad DL or faulty install. Can i get you to start by re DLing the script and reinstalling it from that DL if you havn't tried that as yet. (prob the first thing you tried though)
It is a bit strange though, the AL script is running every 1 minute as it's supposed to, however, if the array sizes are 'zero' it should auto shutdown (no point it running if it's doing nothing) but it's still running. Very strange !!!
Did the AL plugin auto start, or did you start it from the Game play / AL menu?
The AL plugin shouldn't start until an account has been created, if no arrays, 'Account Name Array Not Found, Going to Exit : ' there are no accounts so the AL plugin should not have even started.
The more i look at the debug and run through how things are supposed to work the stranger this gets.
[Joke]
You broke it! and don't come the "Wasn't me, i didn't do it" line
[/Joke]
I'll look into it further and see what i can come up with.
MarCon
It's not incompatable with STO as far as i know, and it shouldn't be.
What the debug is telling me (thanks for that btw) is the script that handles all the initial array setups for all the account types has failed misserably. No arrays have been created or they can't be found thus nothing can work. AFAIK no one else has had this prob so it may be a bad DL or faulty install. Can i get you to start by re DLing the script and reinstalling it from that DL if you havn't tried that as yet. (prob the first thing you tried though)
It is a bit strange though, the AL script is running every 1 minute as it's supposed to, however, if the array sizes are 'zero' it should auto shutdown (no point it running if it's doing nothing) but it's still running. Very strange !!!
Did the AL plugin auto start, or did you start it from the Game play / AL menu?
The AL plugin shouldn't start until an account has been created, if no arrays, 'Account Name Array Not Found, Going to Exit : ' there are no accounts so the AL plugin should not have even started.
The more i look at the debug and run through how things are supposed to work the stranger this gets.
[Joke]
You broke it! and don't come the "Wasn't me, i didn't do it" line
[/Joke]
I'll look into it further and see what i can come up with.
MarCon
- Samuel Creshal
- Posts: 17833
- Joined: Sat, 6. Mar 04, 16:38
It gives a shutdown message via subtitle every minute, but restarts anyway.mark_a_condren wrote:It is a bit strange though, the AL script is running every 1 minute as it's supposed to, however, if the array sizes are 'zero' it should auto shutdown (no point it running if it's doing nothing) but it's still running.
Reinstalled, btw, even checked the file checksum, no change.
Edit 2: Alright, figured it out. You can't link the player account into the station manager, plugin.mc.bank.stn.cr.updater.xml won't find it in the account array.
Edit 3: If you delete a linked account via the main menu, it shows up as undeleteable "null" account in the linked account list, spawning error messages again.
-
- Posts: 1468
- Joined: Wed, 3. Aug 05, 05:05
Thanks Samuel Creshal
Going to work on script tonight (as in now), will post new version when i get these and some other niggles sorted out.
Thanks for the bug reports, time to go make it compatable with 'linux' users, not the OS, just the 'users'.
MarCon
Will fix this to prevent from happening again.Edit 2: Alright, figured it out. You can't link the player account into the station manager, plugin.mc.bank.stn.cr.updater.xml won't find it in the account array.
Edit 3: If you delete a linked account via the main menu, it shows up as undeleteable "null" account in the linked account list, spawning error messages again.
Going to work on script tonight (as in now), will post new version when i get these and some other niggles sorted out.
Thanks for the bug reports, time to go make it compatable with 'linux' users, not the OS, just the 'users'.
MarCon