Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO] CSS Bank (including MySQL support) v1.6.6


Post New Thread Reply   
 
Thread Tools Display Modes
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 03-16-2010 , 13:05   Re: CSS Bank (including MySQL support)
Reply With Quote #11

@BeG:
in the databases.cfg something like that:
Code:
"cssbank"
{
    "driver"  "mysql"
    "host"   "webserverURL"
    "database"  "databasename"
    "user"   "databaseuser"
    "pass"   "dbpassword"
}
in the cssbank.cfg:
Code:
css_bank_dbconfig "cssbank"
Maybe these threads will help you a little bit:
https://forums.alliedmods.net/showthread.php?t=96827
http://sourceserver.info/viewtopic.php?f=49&t=393


@bouncer:
Why do you need a web interface? That interested me now.

I've never created a web interface. But if I find time and before I get bored I can try it.

But at the moment the admin section is taking my time.
__________________
greeetz Miraculix ;-)
Miraculix is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 03-16-2010 , 16:21   Re: CSS Bank (including MySQL support)
Reply With Quote #12

K well just thought I'd be cool to have a web interface...let people transfer money on web etc... makes it more fun and interesting
__________________


bouncer is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 03-16-2010 , 18:09   Re: CSS Bank (including MySQL support)
Reply With Quote #13

thx i will post if it works =)
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 03-21-2010 , 11:08   Re: CSS Bank (including MySQL support)
Reply With Quote #14

New version available.
Now admin have the possibility to add/remove/set money.
Code:
1.2 (03-21-2010)
        ** Fixed: Playernames now shown in right teamcolor
        ++ Added: Admin menu; Command: bankadmin
        ++ Added: Possibility to edit amount menu in translation file
        >> Changed: color in chat from lightgreen to green
        >> some code improvements
Next, the question arises to me:
How useful is a credit function? (I found in eventscripts BBank)
Is anyone interested in or is that redundant?

Last but not least:
Has anyone translated it into another language or would like to do?
ATM I'm on French. But my French is not the best. Not to say cruel
__________________
greeetz Miraculix ;-)
Miraculix is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 03-21-2010 , 12:29   Re: CSS Bank (including MySQL support)
Reply With Quote #15

Quote:
Originally Posted by bouncer View Post
K well just thought I'd be cool to have a web interface...let people transfer money on web etc... makes it more fun and interesting
what about this?
__________________


bouncer is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 03-21-2010 , 13:00   Re: CSS Bank (including MySQL support)
Reply With Quote #16

Oh yeah its on my (privat) todo list.

But for me its just a challenge. I see no real use in it.
I'll try to realise it the next weeks/month. Its not forgotten.

What should the WI can do? Gimme a list to work with...
__________________
greeetz Miraculix ;-)

Last edited by Miraculix; 03-21-2010 at 13:18.
Miraculix is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 03-21-2010 , 13:12   Re: CSS Bank (including MySQL support)
Reply With Quote #17

What should the WI can do? Gimme a last to work with...
what you mean? you want ideas?
__________________


bouncer is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 03-21-2010 , 13:29   Re: CSS Bank (including MySQL support)
Reply With Quote #18

OK. I would say gimme a "list".

I told Ive never create a webinterface. So I need some ideas how to look like.
And what features should the webinterface include.
Ive no idea yet.
__________________
greeetz Miraculix ;-)
Miraculix is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 03-21-2010 , 13:32   Re: CSS Bank (including MySQL support)
Reply With Quote #19

-Shows how much money each player has
-have a list with multiple columns (Steam ID, Money, Name) (All I can think of for now, for the columns)
-Search option to search by steam id or name
-Ability to transfer money to other players...

Can't really think right now...will let you know soon if I get anymore ideas. But for now this is pretty simple stuff I believe and good enough.

EDIT: I'm planning to show a small block on my site at www.brotherhoodofgamers.com once you got this working to show richest players.
__________________


bouncer is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 03-21-2010 , 13:45   Re: CSS Bank (including MySQL support)
Reply With Quote #20

Ok but you know an external MySQL database is required...

At first I try to create a "navlist" for your HP with the bank Top10. I think it should be not the biggest problem.
__________________
greeetz Miraculix ;-)
Miraculix is offline
Reply



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:51.


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