Register for your free account! | Forgot your password?

You last visited: Today at 13:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE][PYTHON/LUA][GUI] Bank-System

Discussion on [RELEASE][PYTHON/LUA][GUI] Bank-System within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1


 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,361
Received Thanks: 3,388
[RELEASE][PYTHON/LUA][GUI] Bank-System

Bank-GUI

Features
  • Einzahlung
  • Auszahlung
  • Jeder Spieler kann mehrere Bankkonten anlegen
  • Spieler können auf jedes Bankkonto überweisen
  • Spieler können, sofern sie ID & Passwort des Bankkontos haben, auf andere Bankkonten zugrifen
  • Es wird alles gelogt [administration]
  • Grafische Benutzeroberfläche (GUI) (wer das tutorial befolgt, kann's Ingame mit F7 aufrufen)

Folgende Tabellen werden gebraucht (quest-Datenbank):
Attached Files
File Type: rar Bank-GUI.rar (4.6 KB, 114 views)
File Type: rar Bank-GUI 1.1 (Register added).rar (4.9 KB, 84 views)
File Type: rar Bank-GUI 1.2 (popupwindow added).rar (5.6 KB, 51 views)
File Type: rar Bank-GUI 1.3 (FINAL!).rar (5.6 KB, 271 views)
Mr. 'Avenue™ is offline  
Thanks
17 Users
Old 04/14/2015, 22:30   #2
 
elite*gold: 0
Join Date: Apr 2015
Posts: 26
Received Thanks: 32


mysql_query gibt so oder so einen String zurück.
So castest du einen String zu einem String.

Btw solltest lieber mit der Playerid arbeiten, wenn du eine neue Tabelle machst.
Im Falle eines neuen Chars mit dem Namen eines alten, hat der neue alles, was der alte hatte.
​Remix is offline  
Thanks
1 User
Old 04/14/2015, 22:40   #3
 
Tuora's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 1,045
Received Thanks: 954
Heute gut drauf oder so?^^ nette Releases
danke
Tuora is offline  
Thanks
1 User
Old 04/14/2015, 23:19   #4
 
.Despero™'s Avatar
 
elite*gold: 75
Join Date: Mar 2012
Posts: 2,655
Received Thanks: 742
Vahap Verspätetes 2000 Beiträge Releases? echt gute Arbeit von dir
.Despero™ is offline  
Old 04/14/2015, 23:34   #5
wild wild son




 
Nick's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 5,830
Received Thanks: 3,369
In Bezug auf die Anleitung besteht dringender Korrekturbedarf, dort sind dir scheinbar ein paar Fehler im Zusammenhang mit den BB-Codes unterlaufen.

Die Aufmachung gefällt mir (trotz Schlichtheit) recht gut.

lg
Nick is offline  
Thanks
1 User
Old 04/14/2015, 23:48   #6

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Schönes Release, wobei es am DB-Design eines zu meckern gibt

edit:

hätte das db design so gemacht:

Code:
CREATE TABLE bank_user (
id int(6) not null auto_increment,
account_id int(11) not null,
password varchar(41) not null,
name varchar(20) not null,
money int(20) not null default 0,
`time` datetime not null default CURRENT_TIMESTAMP,
primary key(id)
);

create table bank_deposit_log (
id int(10) not null auto_increment,
user_id int(6) not null,
money int(20) not null,
`time` datetime not null default CURRENT_TIMESTAMP,
primary key(id)
);

create table bank_login_log (
id int(10) not null auto_increment,
user_id int(6) not null,
tryed_password varchar(20) not null,
status boolean not null,
`time` datetime not null default CURRENT_TIMESTAMP,
primary key(id)
);

create table bank_transfer_log (
id int(10) not null auto_increment,
user_id int(6) not null,
transfer_to int(6) not null,
`value` int(10) not null default 0,
`time` datetime not null default CURRENT_TIMESTAMP,
primary key(id)
);

create table bank_withdraw_funds_log (
id int(10) not null auto_increment,
user_id int(6) not null,
money int(20) not null,
bank_name varchar(20) not null,
`time` datetime not null default CURRENT_TIMESTAMP,
primary key(id)
);

ALTER TABLE bank_deposit_log
SET FOREIGN KEY(user_id)
REFERENCES bank_user.id;

ALTER TABLE bank_login_log
SET FOREIGN KEY(user_id)
REFERENCES bank_user.id;

ALTER TABLE bank_transfer_log
SET FOREIGN KEY(user_id)
REFERENCES bank_user.id;

ALTER TABLE bank_transfer_log
SET FOREIGN KEY(transfer_to)
REFERENCES bank_user.id;

ALTER TABLE bank_withdraw_funds_log
SET FOREIGN KEY(user_id)
REFERENCES bank_user.id;
Dafür müssten natürlich auch Änderungen an der Quest gemacht werden
rollback is offline  
Thanks
1 User
Old 04/14/2015, 23:59   #7
 
elite*gold: 115
Join Date: Sep 2012
Posts: 158
Received Thanks: 250
Schönes System - Vielen Dank
Arvøs is offline  
Old 04/15/2015, 19:38   #8


 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,361
Received Thanks: 3,388
UPDATE:
- Registration hinzugefügt
- Tutorial ausgebessert
Mr. 'Avenue™ is offline  
Old 04/16/2015, 09:01   #9
 
STREL's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 44
Received Thanks: 100
Red face great work

Quote:
Originally Posted by Mr. 'Avenue™ View Post
UPDATE:
- Registration hinzugefügt
- Tutorial ausgebessert
Mr. 'Avenue™, nice work, I will we make a mod to accomplish another function(same work, the difference this don't save yang)
¿You give me your permission for it?
STREL is offline  
Old 04/16/2015, 13:19   #10
 
Alergix2's Avatar
 
elite*gold: 103
Join Date: Aug 2014
Posts: 1,425
Received Thanks: 315
bester mann!!! D
Danke dafür!
Alergix2 is offline  
Old 04/16/2015, 19:42   #11

 
fabian1233's Avatar
 
elite*gold: 273
Join Date: Aug 2010
Posts: 539
Received Thanks: 266

weiterentwicklung meines systems
fabian1233 is offline  
Old 04/17/2015, 00:34   #12
 
elite*gold: 0
Join Date: Jul 2014
Posts: 12
Received Thanks: 3
Bei mir spuckt er den Error in der Syserr aus:
PHP Code:
0417 00:30:18795 :: Failed to load script file PopupWindow.py
0417 00
:30:18796 :: error  No file or directory
0417 00
:30:18800 :: 
ui.py(line:2763LoadScriptFile
system
.py(line:192execfile
system
.py(line:161Run
system
.py(line:176__LoadTextFile__
system
.py(line:61__init__

LoadScriptFile1 
- <type 'exceptions.IOError'>:No file or directory

0417 00
:30:18800 :: ============================================================================================================
0417 00:30:18800 :: Abort!!!!


0417 00:30:18802 :: 
uiBank.py(line:26__LoadWindow
ui
.py(line:2769LoadScriptFile
exception
.py(line:36Abort

BankWindow
.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>:

0417 00:30:18802 :: ============================================================================================================
0417 00:30:18802 :: Abort!!!! 
Brodish is offline  
Old 04/17/2015, 23:28   #13


 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,361
Received Thanks: 3,388
Quote:
Originally Posted by Brodish View Post
Bei mir spuckt er den Error in der Syserr aus:
PHP Code:
0417 00:30:18795 :: Failed to load script file PopupWindow.py
0417 00
:30:18796 :: error  No file or directory
0417 00
:30:18800 :: 
ui.py(line:2763LoadScriptFile
system
.py(line:192execfile
system
.py(line:161Run
system
.py(line:176__LoadTextFile__
system
.py(line:61__init__

LoadScriptFile1 
- <type 'exceptions.IOError'>:No file or directory

0417 00
:30:18800 :: ============================================================================================================
0417 00:30:18800 :: Abort!!!!


0417 00:30:18802 :: 
uiBank.py(line:26__LoadWindow
ui
.py(line:2769LoadScriptFile
exception
.py(line:36Abort

BankWindow
.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>:

0417 00:30:18802 :: ============================================================================================================
0417 00:30:18802 :: Abort!!!! 
Hab's mal hinzugefügt. Lade dir bitte das neueste Update (1.2) herunter.
Mr. 'Avenue™ is offline  
Old 04/18/2015, 15:05   #14
 
elite*gold: 0
Join Date: Mar 2015
Posts: 19
Received Thanks: 1
0418 16:00:18568 :: Traceback (most recent call last):

0418 16:00:18569 :: File "uiBank.py", line 150, in OnUpdate

0418 16:00:18569 :: AttributeError
0418 16:00:18569 :: :
0418 16:00:18569 :: 'module' object has no attribute 'BANK'
0418 16:00:18569 ::
Undead Corporation is offline  
Old 04/18/2015, 15:21   #15


 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,361
Received Thanks: 3,388
Quote:
Originally Posted by Undead Corporation View Post
0418 16:00:18568 :: Traceback (most recent call last):

0418 16:00:18569 :: File "uiBank.py", line 150, in OnUpdate

0418 16:00:18569 :: AttributeError
0418 16:00:18569 :: :
0418 16:00:18569 :: 'module' object has no attribute 'BANK'
0418 16:00:18569 ::
Add this to your constInfo.py:
Code:
# Banksystem
INPUT_IGNORE = 0
BANK = {
	"qid"	: 0,
	"questCMD" : "",
	"id" : "NaN",
	"pwd" : "",
	"Money" : 0,
	"loggedin" : 0,
}
# Banksystem [END]
Mr. 'Avenue™ is offline  
Thanks
1 User
Reply

Tags
banksystem, gui, lua, metin2, python


Similar Threads Similar Threads
[PYTHON | RELEASE] KillEfekt & Blood System
12/27/2022 - Metin2 PServer Guides & Strategies - 54 Replies
Onlye for ElitePVP. Please a do not share any other place.(Lütfen hiç bir forumda paylaşmayin.Sadece ElitePVP.) (Bitte teilen nicht alle Foren.) Hi.I'm Fatihbab34™ Python = Fatihbab34™ Design = Khafkef™ Video ; KillEfekt & Blood System | Fatihbab34? - YouTube
[Release]Bank System mit GUI
07/11/2014 - Metin2 PServer Guides & Strategies - 66 Replies
hi ich möchte heute mein Bank System mit euch teilen ich habe es erstellt da es meines wissens nach noch keine Bank mit GUI gibt hier ein paar screens: http://epvpimg.com/0glRe.png
[Release]Bank System über Mysql+Log System
09/06/2013 - Metin2 PServer Guides & Strategies - 16 Replies
Hallo, wie die Überschrift schon sagt Release ich euch heute ein Bank System von einem Freund von mir. Bevor ihr meckert, ich habe die Erlaubnis von ihm! Ich weiß es gibt viele Bank Systeme, aber so eins wie ich es euch Heute Release habe ich bis jetzt noch nicht gesehen. Features:



All times are GMT +2. The time now is 13:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.