Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Wonderking Emulator

Status
Not open for further replies.
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
* Requires OCDB set up.
I RECOMMEND .

SVN link:

HSLess Client
THIS IS NOT A LOCALHOST.

SQL
Code:
/*
Navicat MySQL Data Transfer
Source Server         : localhost
Source Server Version : 50139
Source Host           : localhost:3306
Source Database       : wonderking
Target Server Type    : MYSQL
Target Server Version : 50139
File Encoding         : 65001
Date: 2010-03-01 22:30:05
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `accounts`
-- ----------------------------
DROP TABLE IF EXISTS `accounts`;
CREATE TABLE `accounts` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `Username` char(32) DEFAULT NULL,
  `Password` char(20) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of accounts
-- ----------------------------
INSERT INTO `accounts` VALUES ('1', 'admin', '123123');
-- ----------------------------
-- Table structure for `items`
-- ----------------------------
DROP TABLE IF EXISTS `items`;
CREATE TABLE `items` (
  `PlayerID` smallint(2) NOT NULL DEFAULT '0',
  `ItemID` smallint(2) DEFAULT NULL,
  `Count` smallint(2) DEFAULT NULL,
  `Position` tinyint(1) unsigned DEFAULT NULL,
  `HasAttributes` tinyint(1) unsigned DEFAULT NULL,
  `IsEquipment` tinyint(1) unsigned DEFAULT NULL,
  `Level` tinyint(1) unsigned DEFAULT NULL,
  `RareType` tinyint(1) unsigned DEFAULT NULL,
  `AddOption` tinyint(1) unsigned DEFAULT NULL,
  `AddOption2` tinyint(1) unsigned DEFAULT NULL,
  `AddOption3` tinyint(1) unsigned DEFAULT NULL,
  `Option` smallint(2) DEFAULT NULL,
  `Option2` smallint(2) DEFAULT NULL,
  `Option3` smallint(2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of items
-- ----------------------------
INSERT INTO `items` VALUES ('1', '393', '55', '0', '0', '0', null, null, null, null, null, null, null, null);
INSERT INTO `items` VALUES ('1', '3222', '1', '0', '1', '0', '11', '3', '1', '6', '4', '152', '24', '36');
-- ----------------------------
-- Table structure for `players`
-- ----------------------------
DROP TABLE IF EXISTS `players`;
CREATE TABLE `players` (
  `ID` smallint(6) NOT NULL,
  `UserID` int(11) NOT NULL,
  `Name` char(20) NOT NULL,
  `Level` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `Money` bigint(20) DEFAULT NULL,
  `HP` smallint(6) NOT NULL DEFAULT '0',
  `MP` smallint(6) NOT NULL DEFAULT '0',
  `MaxHP` smallint(6) NOT NULL DEFAULT '0',
  `MaxMP` smallint(6) NOT NULL DEFAULT '0',
  `Map` smallint(6) NOT NULL DEFAULT '0',
  `Str` smallint(6) NOT NULL DEFAULT '0',
  `Dex` smallint(6) NOT NULL DEFAULT '0',
  `Int` smallint(6) NOT NULL DEFAULT '0',
  `Luck` smallint(6) NOT NULL DEFAULT '0',
  `Vit` smallint(6) NOT NULL DEFAULT '0',
  `Wis` smallint(6) NOT NULL DEFAULT '0',
  `Job1` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `Job2` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `Job3` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `Job4` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `X` smallint(6) NOT NULL DEFAULT '0',
  `Y` smallint(6) NOT NULL DEFAULT '0',
  `Hair` smallint(6) NOT NULL,
  `Eyes` smallint(6) NOT NULL,
  `SP` smallint(6) NOT NULL DEFAULT '0',
  `AP` smallint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of players
-- ----------------------------
INSERT INTO `players` VALUES ('1', '1', 'Admin', '200', '1000000', '900', '100', '900', '100', '300', '999', '999', '999', '999', '999', '999', '3', '9', '17', '0', '400', '536', '15', '37', '999', '999');
-- ----------------------------
-- Procedure structure for `ChangePassword`
-- ----------------------------
DROP PROCEDURE IF EXISTS `ChangePassword`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `ChangePassword`(IN `User` char(32),IN `Pass` varchar(20))
BEGIN
   UPDATE Accounts SET Password = Pass WHERE Username = User;
END
;;
DELIMITER ;
-- ----------------------------
-- Procedure structure for `FullLogin`
-- ----------------------------
DROP PROCEDURE IF EXISTS `FullLogin`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `FullLogin`(IN `User` char(32),IN  `Pass` char(20))
BEGIN
  select ID from Accounts where Username = User and Password = Pass;
END
;;
DELIMITER ;
-- ----------------------------
-- Procedure structure for `GetItems`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetItems`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetItems`(IN `pID` smallint, IN `bool` tinyint)
BEGIN
 select * from Items where PlayerID = pID and IsEquipment = bool;
END
;;
DELIMITER ;
-- ----------------------------
-- Procedure structure for `GetPlayer`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetPlayer`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetPlayer`(IN `uID` int, IN `pName` char(20))
BEGIN
     select * from Players where UserID = uID and Name = pName;
END
;;
DELIMITER ;
-- ----------------------------
-- Procedure structure for `GetPlayers`
-- ----------------------------
DROP PROCEDURE IF EXISTS `GetPlayers`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetPlayers`(IN `uID` int)
BEGIN
     select * from Players where UserID = uID;
END
;;
DELIMITER ;
-- ----------------------------
-- Procedure structure for `Login`
-- ----------------------------
DROP PROCEDURE IF EXISTS `Login`;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `Login`(IN User char(32))
BEGIN
  select ID,Password from Accounts where Username = User;
END
;;
DELIMITER ;

hmm still working on the client but if anyone wants the gm commands from the client here they are...



anyone want a unpacked client to mess around with let me know and ill post one...

Code:
/userect

/clash

/questpass

/com

/delsk

/delst

/witem

/statp

/nowhp

/nowmp

/gomap

/skill

/level

/money
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
Re: [Release] Wonderking Source

You might want to add Emulator in the title.
Title edited. Thanks.
PS: Probably will be no updates from me on this source, unless I get a good team together. According to a friend of mine, the source's structure should be changed to two different consoles. So if you plan on doing anything with it, that should probably be at the top of your list.

Kthx.
 
凸(ಠ益ಠ)凸
Loyal Member
Joined
Jun 16, 2008
Messages
1,665
Reaction score
227
awsome

u could always try a way like ffxi or gunbound where u cancel the gameguard by editing your host
 
Last edited:
Custom Title Activated
Loyal Member
Joined
May 28, 2007
Messages
1,023
Reaction score
164
my plan worked.
kthxbye. ;D
 
凸(ಠ益ಠ)凸
Loyal Member
Joined
Jun 16, 2008
Messages
1,665
Reaction score
227
which visual express is needed for this?
 
凸(ಠ益ಠ)凸
Loyal Member
Joined
Jun 16, 2008
Messages
1,665
Reaction score
227
thank you isint that the same vc a habbo?
 
Newbie Spellweaver
Joined
Mar 21, 2008
Messages
93
Reaction score
0
anyone can post guide how to open a server?
 
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
anyone can post guide how to open a server?
I could have one up pretty soon.
But here's a quickstop textual guide.


Edit Tools\WonderKing.cs to your LAN or WAN IP. (127.0.0.1 or 192.168.x.x)
Portforward. Range 10000-11000 should be good. Or just 10000, 10001, and 10002 if you can only port forward one at a time.
Download the MySQL ODBC Driver
Go to Control Panel, then Administrative Tools.
Click Data Sources (OCDB)
Then add a new Source named Wonderking
Then run your source, and you're done.
 
Newbie Spellweaver
Joined
Mar 21, 2008
Messages
93
Reaction score
0
but how i open the files? with C#? i need SDK ?
 
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
but how i open the files? with C#? i need SDK ?
It's compiled with Visual C# 2010. So you should download Visual Studio 2010 Beta 2. You can open it up with that.
 
Newbie Spellweaver
Joined
Mar 21, 2008
Messages
93
Reaction score
0
thank you!

---------- Post added at 02:07 PM ---------- Previous post was at 02:07 PM ----------

btw, how i change the ip on the client?
 
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
No problem.

@everyoneelse
New revision just put up. Includes new packet. Chat and Change Map packet is bugged though. If someone could sniff them for me, it'd be greatly appreciated.
 
Newbie Spellweaver
Joined
May 11, 2009
Messages
5
Reaction score
0
any one have private server of wonderking??
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Apr 8, 2008
Messages
1,125
Reaction score
330
You can change the IP by using an ini file. Name it info.ini.


info.ini
Code:
[info]
ip = YOUR IP ADDRESS
 
Last edited:
Status
Not open for further replies.
Back
Top