Index  •   DF Generator  •   MQ Generator  •    

It is currently Wed Sep 20, 2017 22:44 pm

Post new topic Reply to topic  [ 13 posts ]  Go to page Previous  1, 2
 [Tutorial] Setting up a DragonFable Private Server 
Author Message
 Post subject: Re: [Tutorial] Setting up a DragonFable Private Server
PostPosted: Tue May 03, 2016 14:30 pm 

Joined: Tue May 03, 2016 14:19 pm
Posts: 1
Reply with quote
Where is database.sql in compressed version?

 Post subject: Re: [Tutorial] Setting up a DragonFable Private Server
PostPosted: Thu Aug 25, 2016 11:07 am 
User avatar

Joined: Thu Aug 25, 2016 11:02 am
Posts: 11
Reply with quote
Currently I'm still gathering newer files and finding ways to gather all shop locations such as Yulgar's shop.

Plus I'll be fixing my character generator script to allow them to use different weapons other than their default class weapons in the PvP arena and actually I'll be using Visual Basic to form the GUI of the program that will interface with the compiled Python script. (There are many ways to compile a Python script, and one of them is built-in with the Python installation)

The reason for compiling the Python script is to bypass the requirement for users to have Python pre-installed to their system beforehand. The only downside is that Visual Basic is not cross-compatible with Linux or Macintosh, so the GUI version of the character generator will be Windows only until I learn how to work with QT5.


I've finished my new character generator script which now adds 1 weapon and 1 armor item to each generated character over the level 1 and I even fixed the statistics a bit to match with the class. (Warriors get more strength, Rogues get more dexterity, Mages get more intellect)

The weapon item does not match the class and may result in some bugged characters that will send you into an infinite loading screen when selected in the PvP match. (The top-100 still works like a charm though)

If you come across the infinite loading screen bug with PvP, check your database in the 'df_equipment' table to check for equipment with more than 1 weapon for a single CharID for the generated characters. Somewhere down the line from generating the characters to running the PHP query, the script doubles the items generated for the generated characters so the PvP script is trying to load users with multiple weapons enabled simultaneously which doesn't work at all.

My updated character generator

My updated Dragonfable private server contents

The character generator also requires a username.txt file to be added to the same folder so that your generated characters can have unique usernames.

You can add more if you'd like, but these usernames came from a Mojang database leak back in 2012. (It's perfectly legal since it doesn't contain any password information or email addresses, just usernames)



This is an example of a Mage generated by the character generator script.
Spoiler: show

If you want to add "wugytaiw" to your database:
INSERT INTO `df_characters` (`userid`, `name`, `level`, `dragon_amulet`, `race`, `born`, `gender`, `HomeTownID`, `HasHouse`, `hairid`, `colorhair`, `colorskin`, `colorbase`, `colortrim`, `classid`, `BaseClassID`, `PrevClassID`, `raceid`, `hairframe`, `gold`, `exp`, `hp`, `mp`, `Silver`, `Gems`, `Coins`, `MaxBagSlots`, `MaxBankSlots`, `MaxHouseSlots`, `MaxHouseItemSlots`, `intSTR`, `intINT`, `intDEX`, `intEND`, `intLUK`, `intCHA`, `intWIS`, `intStatPoints`, `strArmor`, `strSkills`, `strQuests`, `HasDragon`) VALUES (0, 'wugytaiw', 79, 1, 'Human', '2014-05-23T14:10:06.363', 'F', 0, 0, 16, 6834795, 13279655, 9384504, 8217124, 3, 3, 3, 1, 1, 685687, 0, '1660', '490', 0, 0, 40688, 20, 5, 0, 0, 0, 110, 2, 253, 0, 2, 19, 4, '00000000000000000000000000000000000000000000000000', '00000000000000000000', '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 0);
INSERT INTO `df_equipment` (`CharID`, `ItemID`, `StartingItem`, `count`, `Level`, `Exp`, `House`, `HouseItem`, `intEquipSlotPos`) VALUES (4, 8076, 1, 1, 1, 0, 0, 0, 0);

 Post subject: Re: [Tutorial] Setting up a DragonFable Private Server
PostPosted: Thu Sep 07, 2017 14:46 pm 

Joined: Wed Sep 06, 2017 21:07 pm
Posts: 3
Reply with quote
I keep geting error while trying to log in that my username or pass was incorrect and it is correct..anyone?

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page Previous  1, 2

 Who is online 

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: