iConomy

Approved iConomy 1.3.5

No permission to download

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Having problems with plugin. An loading
Error in plugin iConomy:
Traceback <most recent call, last>;
File "<string>", line 37, in On_PluginInit
SystemError: Object reference not set to an inctance of an object
Python:
self.__DefaultMoney__ = float(ini.GetSetting("Settings", "DefaultMoney"))
"DefaultMoney", "100.0"

Either this is a first setup problem, because of the current way of ini handling in Fougerite, or you set a not number in the config.

If It's a number just reload the plugin, and It should work.
 

NickDrake

New Member
Member
Oct 12, 2015
2
2
1
37
Parts Unknown
Thanks and one more question. Problem was fixed with replace "float" by "int" in "DefaultMoney" field. Every time on shutdown all players losing their money. Have any possibility for adding long-time saving. Like .ini or mysql database?
 
Last edited:
  • Informative
  • Agree
Reactions: ice cold and DreTaX

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Thanks for reporting. There is something I screwed when I added thr on server save event. It will be fixed when I am home.

Sent From My Samsung Galaxy S4
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Thanks and one more question. Problem was fixed with replace "float" by "int" in "DefaultMoney" field. Every time on shutdown all players losing their money. Have any possibility for adding long-time saving. Like .ini or mysql database?
Bug in Fougerite fixed. Put the int back to float(), It should be okay.
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
Well with Ctrl+C the iConomy Database seems to be saved, but isn't there any autosave option like every 5 minutes or so?

Why does a normal shutdown (e.g. via rustpp.shutdown) not trigger the saving function?
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
It should. I will look at the bugs tomorrow and fix everything. I think there is a problem with the datastore saving.

Sent From My Samsung Galaxy S4
 

tarynkelley

Retired Staff
Retired Staff
Trusted Member
Nov 14, 2015
575
178
28
Parts Unknown
I have to revoke my statement about Saving.

It doesn't work on a running Server of me. I use "Fougerite.save" and CTRL+C for closing/restarting the server, but the amount of money gets reset to 100.
 

McRustReloaded

Retired Staff
Retired Staff
Member
Mar 20, 2016
140
17
18
46
Parts Unknown
Hey Dre !

I have some issues with iConomy.
I tested it several times in some conditions. With older fougerite, with newer fougerite, and also with latest fougerite, but i have still the same issues. After 2-3 hours the server begins to lag enormous. The server don´t crash but the lags are hard. So if i disable iConomy, and i restart server all lags are gone ! The server runs without any lags for days. What can i do about it? Cause we like iConomy.

GreetZ
GhosT
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Hey Dre !

I have some issues with iConomy.
I tested it several times in some conditions. With older fougerite, with newer fougerite, and also with latest fougerite, but i have still the same issues. After 2-3 hours the server begins to lag enormous. The server don´t crash but the lags are hard. So if i disable iConomy, and i restart server all lags are gone ! The server runs without any lags for days. What can i do about it? Cause we like iConomy.

GreetZ
GhosT
o_O

I don't exactly know if IConomy can cause thing like that, I will check the code, might be outdated.

Are you sure about this? Try the latest threadsaving option, that can also make your server smoother, when you have a lot of objects.
 

McRustReloaded

Retired Staff
Retired Staff
Member
Mar 20, 2016
140
17
18
46
Parts Unknown
o_O

I don't exactly know if IConomy can cause thing like that, I will check the code, might be outdated.

Are you sure about this? Try the latest threadsaving option, that can also make your server smoother, when you have a lot of objects.
I will move to ur latest Fougerite in several hours ! Thx 4 ur work mate !
 

ice cold

Active Member
Trusted Member
Member
Oct 24, 2016
606
876
43
Canada
@DreTaX he mate i have 1 problem everytime when i restart my server the money goes back to 100 even with a full datastore save could you try to fix this problem becaus i love this plugin

Love

Your son

Ice cold