Raised This Month: $18 Target: $400
 4% 

[INC] Bank


Post New Thread Reply   
 
Thread Tools Display Modes
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 05-09-2020 , 13:15   Re: [INC] Bank
Reply With Quote #51

Quote:
Originally Posted by iGANGNAM View Post
It's bad for production. It doesn't cache any data, mysql queries blocks whole server thread (var increase)
I had this plugin for few currency platform, but turn out after 50k db entries I have to rewrite whole thing....
Yep.. this is bad. I could rewrite it tho.
__________________
Arkarr is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 05-10-2020 , 05:45   Re: [INC] Bank
Reply With Quote #52

Quote:
Originally Posted by Arkarr View Post
Yep.. this is bad. I could rewrite it tho.
That would be lovely
__________________
iGANGNAM is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 05-15-2020 , 10:08   Re: [INC] Bank
Reply With Quote #53

Quote:
Originally Posted by iGANGNAM View Post
That would be lovely
Okay, it's done. If you could be kind enough to give me a feedback, that be great !
__________________
Arkarr is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 05-20-2020 , 06:25   Re: [INC] Bank
Reply With Quote #54

Quote:
Originally Posted by Arkarr View Post
Okay, it's done. If you could be kind enough to give me a feedback, that be great !
Did I miss the update? It still with Fast Query but I'll try it.
Edit: It's 10 times better now, just var still can go up to 1.0+ if u check few banks a lot times
Found issue. When you set value from the exterior way (not in-game), it won't get updated on the game
So if you update value in-game it will also be going to update with in-game value not current value in the database.
That's kind of the downside of the plugin now. It breaks the most important feature for me...
Sometimes players say they have 0 currency even DB value is there.
Complete mess with bank list after update
__________________

Last edited by iGANGNAM; 05-20-2020 at 07:40.
iGANGNAM is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 05-20-2020 , 12:01   Re: [INC] Bank
Reply With Quote #55

Quote:
Originally Posted by iGANGNAM View Post
Did I miss the update? It still with Fast Query but I'll try it.
Edit: It's 10 times better now, just var still can go up to 1.0+ if u check few banks a lot times
Found issue. When you set value from the exterior way (not in-game), it won't get updated on the game
So if you update value in-game it will also be going to update with in-game value not current value in the database.
That's kind of the downside of the plugin now. It breaks the most important feature for me...
Sometimes players say they have 0 currency even DB value is there.
Complete mess with bank list after update
Oh.. Oh wow. Sorry. Have you made a backup ? Snap. I am sorry. I actually tested only with 1 bank. Damn it. Stupid me.

I'll fix it up.
__________________
Arkarr is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 05-22-2020 , 06:01   Re: [INC] Bank
Reply With Quote #56

Quote:
Originally Posted by Arkarr View Post
Oh.. Oh wow. Sorry. Have you made a backup ? Snap. I am sorry. I actually tested only with 1 bank. Damn it. Stupid me.

I'll fix it up.
Maybe it would be possible to make some native who returns all bank currencies? So fewer SQL queries? Or it's going to be fully cached?
__________________

Last edited by iGANGNAM; 05-22-2020 at 06:02.
iGANGNAM is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 05-22-2020 , 12:57   Re: [INC] Bank
Reply With Quote #57

Quote:
Originally Posted by iGANGNAM View Post
Maybe it would be possible to make some native who returns all bank currencies? So fewer SQL queries? Or it's going to be fully cached?
I don't get what you mean but right now, there isn't a lot of queries at all.
__________________
Arkarr is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:35.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode