Combination Xx 317-603
Welcome to Conbination Xx ,please make a free account today to have access to making your own topics,if you are new to Unforgivscape,and do not have a client download can be found at the "announcements/updates" section of the Forums thanks for your time and don't forget to vote for us and you can download the new 317 client at http://www.mediafire.com/?3vdw42jcy511d1l
..::The forum Team::..


Image
 
PlayHomeUnforgivscapeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Top posters
Awesome4me (842)
 
Sinji (502)
 
Abel (270)
 
Eh Im God (260)
 
Blue Phat (228)
 
Mikenike (227)
 
Travis (223)
 
©I Am G0d I (202)
 
AskingAle (186)
 
๖̶ۣۜMєlaηiє™♥ (136)
 
Latest topics
» NOSTALGIA 2017
Fri Jun 16, 2017 4:21 pm by Abel

» I'm back, bitches.
Thu Dec 26, 2013 1:33 pm by Liam

» Hey been awhile
Thu Dec 26, 2013 12:35 pm by Liam

» Sweet Nostalgia
Sat Dec 07, 2013 4:23 am by Abel

» Hello ! [2013]
Sun Apr 28, 2013 5:31 am by Abel

» The hell happened?
Tue Jan 22, 2013 7:02 pm by MADBRO

» isaac abusing powers
Mon Dec 24, 2012 5:52 pm by Travis

» Hello :-)
Fri Dec 21, 2012 9:53 pm by dronza

» Scumbag UFG
Thu Dec 06, 2012 5:12 am by antmanfolife


Share | 
 

 Auto donation system

View previous topic View next topic Go down 
AuthorMessage
Eh Im God
Legendary Member
Legendary Member
avatar

Posts : 260
Unforgivscape Reputation : 0
Join date : 2011-04-29
Age : 22
Location : united kingdom

PostSubject: Auto donation system   Wed May 18, 2011 9:44 pm

Auto donation system,317-508-525-614


This works for my 614:

Tested Sources - Not giving name
Difficulty - 3/10
Base - PI
Revision - 614
Programs needed - Xampp, install the service MySql and Apache in Xampp (download from google)
Files Modified - Client.java, sql.java


~ Starting ~
First Download Xampp, Sql Java, and Donate Sql File>>>>> LINKS WILL BE AT BOTTOM!<<<<<<<
Next install it and install the services: MySql and Apache.
Now go to into the server folder and go to src > server > util > and put the sql.java file inside there. Please change the settings that correspond to yours. [Defualt is root for username and nothing for the pass]
Next go to src > server > model > players > Client.java and add this at the top:

import server.util.SQL;

Now search for the logout method and below:
PlayerSave.saveGame(this);
Add this:

SQL.createConnection();
SQL.saveStatus(this);
SQL.isDonator(this);
SQL.destroyConnection();

Now open Xampp and start Apache then MySql.
Then click Admin for MySql. Now login and create a Database called "status"
Then click import and import the donate.sql file

The system should now be setup, if any quires please contact me on the forums, or ingame ~thanks
Back to top Go down
View user profile
 
Auto donation system
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» gaslow auto changeover system
» Mercedes auto central locking after 40 second
» How to choose the right auto satellite system
» Auto Sleeper Nuevo EK Water System
» T25 Auto-Sleeper Propex vents

Permissions in this forum:You cannot reply to topics in this forum
Combination Xx 317-603 ::  Coders zone-
Jump to: