[Release]MimirDev Source!

You can't. iWannaWin said the packet encryption isn't completely working yet.
Read my signature....I am part of MimirDev team..., Also that was my point it's all good having CMD's working, But if you can't log in whats the point of it being released.
 
Last edited:
Here's some usefull stuff to actually fix the encryption:


Splitting big packets (client can only handle <1460)
Credits by me.
PHP:
public static void SendToClient(byte[] data)
        {
            if (data.Length > 1380)
            {
                for (int i = 0; i < data.Length; i += 1380)
                {
                    byte[] splitted;
                    if ((data.Length - i) < 1380)
                    {
                        splitted = new byte[data.Length - i];
                        Buffer.BlockCopy(data, i, splitted, 0, data.Length - i);
                    }
                    else
                    {
                        splitted = new byte[1380];
                        Buffer.BlockCopy(data, i, splitted, 0, 1380);
                    }
                    client.Send(splitted);
                }
            }
            else
            {
                client.Send(data);
            }
        }

If you need any help, pm me.

-Kerelmans
 
MimirDev - [Release]MimirDev Source! - RaGEZONE Forums
IS that all you run or am I missing something?
 
maby a weird question but ill ask
do i need a sql for the database and wich files do i have to change with my ip or something??
i hope it will work
 
maby a weird question but ill ask
do i need a sql for the database and wich files do i have to change with my ip or something??
i hope it will work

Yes.

You need to have a MySQL server on localhost with no password for root. Unless you know what your doing then forget I said that xD.

SQL I created:
Code:
CREATE TABLE `maple`.`accounts` (
  `id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  `user` VARCHAR(32) NOT NULL,
  `pass` VARCHAR(32) NOT NULL,
  `banned` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
)
ENGINE = InnoDB;

CREATE TABLE `characters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `aid` int(10) unsigned NOT NULL,
  `name` varchar(13) NOT NULL,
  `gender` tinyint(1) unsigned NOT NULL,
  `skin` int(10) unsigned NOT NULL,
  `face` int(10) unsigned NOT NULL,
  `hair` int(10) unsigned NOT NULL,
  `level` int(10) unsigned NOT NULL DEFAULT '1',
  `job` int(10) unsigned NOT NULL DEFAULT '0',
  `str` int(10) unsigned NOT NULL DEFAULT '13',
  `dex` int(10) unsigned NOT NULL DEFAULT '4',
  `int` int(10) unsigned NOT NULL DEFAULT '4',
  `luk` int(10) unsigned NOT NULL DEFAULT '4',
  `hp` int(10) unsigned NOT NULL DEFAULT '50',
  `maxhp` int(10) unsigned NOT NULL DEFAULT '50',
  `maxmp` int(10) unsigned NOT NULL DEFAULT '50',
  `mp` int(10) unsigned NOT NULL DEFAULT '50',
  `ap` int(10) unsigned NOT NULL DEFAULT '0',
  `sp` int(10) unsigned NOT NULL DEFAULT '0',
  `exp` int(10) unsigned NOT NULL DEFAULT '0',
  `fame` int(10) unsigned NOT NULL DEFAULT '0',
  `map` int(10) unsigned NOT NULL DEFAULT '0',
  `spoint` int(10) unsigned NOT NULL DEFAULT '0',
  `gm` tinyint(1) NOT NULL DEFAULT '0',
  `admin` tinyint(1) NOT NULL DEFAULT '0',
  `rank` int(10) unsigned NOT NULL DEFAULT '0',
  `rankmove` int(10) unsigned NOT NULL DEFAULT '0',
  `jobrank` int(10) unsigned NOT NULL DEFAULT '0',
  `jobrankmove` int(10) unsigned NOT NULL DEFAULT '0',
  `meso` int(10) unsigned NOT NULL DEFAULT '0',
  `hpap` int(10) unsigned NOT NULL DEFAULT '0',
  `mpap` int(10) unsigned NOT NULL DEFAULT '0',
  `party` int(10) unsigned NOT NULL DEFAULT '0',
  `maxbuddylist` int(10) unsigned NOT NULL DEFAULT '20',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
 
and wich files do i have to change???

thanks for .SQL

Edit:
i dont have alot experince with .SQL but i dont think it works
do you have to add
USE Maple
If not created (or something) create maple??

some thing like that
 
Last edited:
Back