Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all 25214 articles
Browse latest View live

[Release] Effect Inventory fix Not 100%

$
0
0
hey this is for SwiftEmulator... Lets go :D
Search:
Code:

internal void AddEffect(int EffectId, int Duration)
and replace the void with:
Code:

internal void AddEffect(int EffectId, int Duration)
        {
            using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
            {
                adapter.runFastQuery(string.Concat(new object[] { "INSERT INTO user_effects (user_id,effect_id,total_duration,is_activated,activated_stamp) VALUES (", this.UserId, ",", EffectId, ",", Duration, ",0,0)" }));
            }
           
            this.Effects.Add(new AvatarEffect(EffectId, Duration, false, 0.0));
            this.GetClient().GetMessageHandler().GetResponse().Init(Outgoing.AddEffectToInventary);
            this.GetClient().GetMessageHandler().GetResponse().AppendInt32(EffectId);
            this.GetClient().GetMessageHandler().GetResponse().AppendInt32(0);
            this.GetClient().GetMessageHandler().GetResponse().AppendInt32(0);
            this.GetClient().GetMessageHandler().SendResponse();
        }


Image:

Bild: fixedrwujn.png - abload.de


it's not 100%

[Help] HELP with MY.CNF for retro (users upto 900) - Phoenix 3.11.0

$
0
0
Hi all,
there is problems with mysql server that is freezing/bugging up.
When reaching all from 600-900 online users.

I do then need some help with the mysql configuration,
here is the my.cnf iam using right now:

Code:

# Other default tuning values# MySQL Server Instance Configuration File
# ----------------------------------------------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------------------------------------------
#
# On Linux you can copy this file to /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options
# (@localstatedir@ for this installation) or to
# ~/.my.cnf to set user-specific options.
#
# On Windows you should keep this file in the installation directory
# of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
# make sure the server reads the config file use the startup option
# "--defaults-file".
#
# To run run the server from the command line, execute this in a
# command line shell, e.g.
# mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# To install the server as a Windows service manually, execute this in a
# command line shell, e.g.
# mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# And then execute this in a command line shell to start the server, e.g.
# net start MySQLXY
#
#
# Guildlines for editing this file
# ----------------------------------------------------------------------
#
# In this file, you can use all long options that the program supports.
# If you want to know the options a program supports, start the program
# with the "--help" option.
#
# More detailed information about the individual options can also be
# found in the manual.
#
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
#
#
# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]
no-beep


# pipe
# socket=mysql
port=3306


[mysql]


default-character-set=utf8




# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
# server_type=3
[mysqld]


# The next three options are mutually exclusive to SERVER_PORT below.
# skip-networking
# enable-named-pipe
# The Pipe the MySQL Server will use
# socket=mysql


# The TCP/IP Port the MySQL Server will listen on
port=3306


# Path to installation directory. All paths are usually resolved relative to this.
# basedir="C:/Program Files/MySQL/MySQL Server 5.6/"


# Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.6/data\"


# The default character set that will be used when a new schema or table is
# created and no character set is defined
character-set-server=utf8


# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB


# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"


# Enable Windows Authentication
# plugin-load=authentication_windows.dll


# General and Slow logging.
log-output=NONE
general-log=0
general_log_file="OWNEROR-8LCN5P7.log"
slow-query-log=0
slow_query_log_file="OWNEROR-8LCN5P7-slow.log"
long_query_time=10


# Binary Logging.
# log-bin


# Error Logging.
log-error="OWNEROR-8LCN5P7.err"


# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections=2000


# Query cache is used to cache SELECT results and later return them
# without actual executing the same query once again. Having the query
# cache enabled may result in significant speed improvements, if your
# have a lot of identical queries and rarely changing tables. See the
# "Qcache_lowmem_prunes" status variable to check if the current value
# is high enough for your load.
# Note: In case your tables change very often or if your queries are
# textually different every time, the query cache may result in a
# slowdown instead of a performance improvement.
query_cache_size=275M


# The number of open tables for all threads. Increasing this value
# increases the number of file descriptors that mysqld requires.
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_open_cache=2048


# Maximum size for internal (in-memory) temporary tables. If a table
# grows larger than this value, it is automatically converted to disk
# based table This limitation is for a single table. There can be many
# of them.
tmp_table_size=3G


# How many threads we should keep in a cache for reuse. When a client
# disconnects, the client's threads are put in the cache if there aren't
# more than thread_cache_size threads from before.  This greatly reduces
# the amount of thread creations needed if you have a lot of new
# connections. (Normally this doesn't give a notable performance
# improvement if you have a good thread implementation.)
thread_cache_size=80


#*** MyISAM Specific options


# The maximum size of the temporary file MySQL is allowed to use while
# recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
# If the file-size would be bigger than this, the index will be created
# through the key cache (which is slower).
myisam_max_sort_file_size=100G


# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method.  This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_sort_buffer_size=1000M


# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
key_buffer_size=2G


# Size of the buffer used for doing full table scans of MyISAM tables.
# Allocated per thread, if a full scan is needed.
read_buffer_size=1M
read_rnd_buffer_size=1M


# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=512M




#*** INNODB Specific options ***




# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
#skip-innodb


# Additional memory pool that is used by InnoDB to store metadata
# information.  If InnoDB requires more memory for this purpose it will
# start to allocate it from the OS.  As this is fast enough on most
# recent operating systems, you normally do not need to change this
# value. SHOW INNODB STATUS will display the current amount used.
innodb_additional_mem_pool_size=400M


# If set to 1, InnoDB will flush (fsync) the transaction logs to the
# disk at each commit, which offers full ACID behavior. If you are
# willing to compromise this safety, and you are running small
# transactions, you may set this to 0 or 2 to reduce disk I/O to the
# logs. Value 0 means that the log is only written to the log file and
# the log file flushed to disk approximately once per second. Value 2
# means the log is written to the log file at each commit, but the log
# file is only flushed to disk approximately once per second.
innodb_flush_log_at_trx_commit=1


# The size of the buffer InnoDB uses for buffering log data. As soon as
# it is full, InnoDB will have to flush it to disk. As it is flushed
# once per second anyway, it does not make sense to have it very large
# (even with long transactions).
innodb_log_buffer_size=52M


# InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and
# row data. The bigger you set this the less disk I/O is needed to
# access data in tables. On a dedicated database server you may set this
# parameter up to 80% of the machine physical memory size. Do not set it
# too large, though, because competition of the physical memory may
# cause paging in the operating system.  Note that on 32bit systems you
# might be limited to 2-3.5G of user level memory per process, so do not
# set it too high.
innodb_buffer_pool_size=2486M


# Size of each log file in a log group. You should set the combined size
# of log files to about 25%-100% of your buffer pool size to avoid
# unneeded buffer pool flush activity on log file overwrite. However,
# note that a larger logfile size will increase the time needed for the
# recovery process.
innodb_log_file_size=1244M


# Number of threads allowed inside the InnoDB kernel. The optimal value
# depends highly on the application, hardware as well as the OS
# scheduler properties. A too high value may lead to thread thrashing.
innodb_thread_concurrency=36

[Help] RevCMS password recovery.

$
0
0
So I'm wondering if there is a password recovery system for RevCMS where people are able to change their password or reset their password if they forgot it.

If not then I'm wondering if someone wants or if someone feels like coding it for me.

Thanks.

Verstuurd van mijn GT-I9070 met Tapatalk

allowed to die because tantra?

$
0
0
allowed to die because tantra? their technology is old and gives many complications trying to create new things by not having the files of moficacion the good for those who are willing to try a new adventure "client" I recommend the game :thumbup1: http://es.edeneternal.aeriagames.com / are 5 razasa and many kinds whosoever can use at any time by pressing the letter k good hope even if you do not try and play this message block Podre taught some tricks;)

[Discussion] GMS RED server by Ereve??

$
0
0
anyways, got an email like 10 minutes ago about some new servers, only know one place I put my email address to get "private updates", apparently they are launching two ems/gms servers that are up to date, posted a red update in game on their fb

looks like cough.. someones work >_> cough...

don't know if I am allowed to post this but heres the url to get the screenies: facebook.com/erevenetwork

anyways, what do ya think? same cycle as the last servers?

Quick Question About Inventory Squares

$
0
0
alright i reskin some new swords but im wondering how do you fix the squares when you scroll over it

How to Enable Christmas/ Solorius Even and Decorations ALC

$
0
0
Is there a way to enable this? Or something like this?

old gamserver.config
# Enable the Christmas decorations
# Default: false
gameserver.world.decor.christmas = true

Questions!!!

$
0
0
I have questions:

1. How to make/model weapons?
I have some knowledge about 3d modelling but, IDK how to make it usable for flyff. I made a custom item, but it is way too big. I'm using 3ds Max 2010

2. Are there any READY MADE OFFLINE Flyff servers?
I need an offline server to test my items. BUT I DON'T WANT TO CREATE A SERVER. It looks too complicated.

3. Are there any good tutorials regarding modelling items?(Like weaps, wings, masks, cs, etc.)
I am willing to learn. If there is any one willing to teach me please PM me :D

Please indicate the number of the question you answered.

Thanks in advance! :D

California, and Cliffside Release by Connor1224

Help me Learn Skill

[Help] Please Help..IIS7 Website something error

How to add cspoints to MEMB_INFO ??

$
0
0
Hi everbody , ym searching for like 2 days , how to add cspoints in the table , i have muserver s3 ep2 , and i cant find cspoints in MEMB_INFO , i search in the characters table to , but isnt there ...... So my question is how to add cspoints ?? Please help me . Thank you !!

[AD] DivinityMU Taro - Season 8 [Low Rate Server]

$
0
0
In this thread you find a little description of DivinityMU Taro Server!

Server Name: DivinityMU Taro
Server EXP : 20x
Server Drop: 40%
Server Vers: Season 8 EP1.
Fresh Start: 16 December 2013.


DivinityMU Taro Specials:

+Full Season 8 Original Items and Events
+Coins System. (You can gain from:Grand Reset,Vote,Blood Castle,Devil Square,Illusion Temple,Chaos +Castle,Selupan,Medusa,Gorgon Event,etc.)
+NO ITEM DONORS.
+NO PREMIUM SERVICES.
+NO crashes,downtime and lag (Didicated host 1000 MB/s)
+DDOS Protection.
+NO WIPES.
+MU Helper.
+Guild/Player Reputation System.
+Balanced PvP.
+Party Boost system.
+Special Events like (Lottery,Archer,Delgardo,etc.)
+PowerUP Shop (X Shop).

More info about server settings can be found on our forums.

Community since 2007 without downtime.

If you dare to join us, these are the links:

Server URL : DivinityMU Taro - Mu Online Romania Official Server , DivinityMU Taro Season 8 Low XP
Forum URL : DivinityMU Taro Forums - Powered by vBulletin


Thank you for your time!

[Tutorial] Set server buttons active (only for new FrontEnd)

$
0
0


FrontendWarZ.cpp

add

Code:

void FrontendWarZ::InitButtons()
{
    Scaleform::GFx::Value vars[7];
    vars[0].SetBoolean(false);
    vars[1].SetBoolean(true); // Oficial
    vars[2].SetBoolean(false);
    vars[3].SetBoolean(false);
    vars[4].SetBoolean(false);
    vars[5].SetBoolean(true); // PTE
    vars[6].SetBoolean(false);
    gfxMovie.Invoke("_root.api.Main.BrowseGamesChannelsAnim.initButtons", vars, 7);
}

Find

Code:

gfxMovie.Invoke("_root.api.setLanguage", g_user_language->GetString());
add

Code:

InitButtons();
find

Code:

gfxMovie.RegisterEventHandler("eventOptionsControlsRequestKeyRemap", MAKE_CALLBACK(eventOptionsControlsRequestKeyRemap));
for show browse when press server buttons

add

Code:

gfxMovie.RegisterEventHandler("eventSetCurrentBrowseChannel", MAKE_CALLBACK(eventSetCurrentBrowseChannel));
add
Code:

void FrontendWarZ::eventSetCurrentBrowseChannel(r3dScaleformMovie* pMovie, const Scaleform::GFx::Value* args, unsigned argCount)
{
    r3d_assert(argCount == 1);
    // CurrentBrowse = args[0].GetUInt(); // used for server filter (Official , Private , PTE , Stronghold , Tiral , Veteran , Premium) only work in allright source


    gfxMovie.Invoke("_root.api.Main.showScreen","ServerBrowse"); // show browse screen
}

FrondEndWarZ.h

add
Code:

void eventSetCurrentBrowseChannel(r3dScaleformMovie* pMovie, const Scaleform::GFx::Value* args, unsigned argCount);
void InitButtons();

Weapon retails+premium helping

$
0
0
Hey guys,
I created a private server and I've problems with weapons retails and premium.
1.with the retails I want to change for all the accounts the retails no from the table "user retails" it's possable?
2.If I create a new account from my warrock website he got Premium Gold automaticly, how can I change it?
Thank u, PM me or reply here. :)

[Development] FlyForPawn : Recruiting Devs/Staffs

$
0
0
Hi, I am Jack Laurence, the owner of Fly For Pawn.

First of all, the server is currently on its testing release as I continue to fix some stuffs and had the website/design done as well as some script added on it such as register and other stuffs.

The server is currently in need of 2 developers at the moment who could work for several things such as fixing the bugs.

Site:
FlyForPawn : FlyFF Private Server

Email:
Please do send me an email: lawrencetecho@gmail.com , once you get accepted, you'll be added to the staff list and we'll have our agreement in chat. See you guys.

Screenshots:

We'll greatly appreciate dev's who can do:

+ Adding of maps.
+ Adding of items.
+ Fixing some scripts and bugs such as disconnection issues.

What do dev's get?

+ First of all, they become staffs in the server, each task done is actually credited, not by time since I am not to give tasks periodically, only for some time when there are bugs spotted and some stuffs that has to be fixed.

[AD] DivinityMU Taro - Season 8 [Low Rate Server].

$
0
0
In this thread you find a little description of DivinityMU Taro Server!

Server Name: DivinityMU Taro
Server EXP : 20x
Server Drop: 40%
Server Vers: Season 8 EP1.
Fresh Start: 16 December 2013.


DivinityMU Taro Specials:

+Full Season 8 Original Items and Events
+Coins System. (You can gain from:Grand Reset,Vote,Blood Castle,Devil Square,Illusion Temple,Chaos +Castle,Selupan,Medusa,Gorgon Event,etc.)
+NO ITEM DONORS.
+NO PREMIUM SERVICES.
+NO crashes,downtime and lag (Didicated host 1000 MB/s)
+DDOS Protection.
+NO WIPES.
+MU Helper.
+Guild/Player Reputation System.
+Balanced PvP.
+Party Boost system.
+Special Events like (Lottery,Archer,Delgardo,etc.)
+PowerUP Shop (X Shop).

More info about server settings can be found on our forums.

Community since 2007 without downtime.

If you dare to join us, these are the links:

Server URL : DivinityMU Taro - Mu Online Romania Official Server , DivinityMU Taro Season 8 Low XP
Forum URL : DivinityMU Taro Forums - Powered by vBulletin


Thank you for your time!

Newbie needs help.

$
0
0
Hello guys, I am Crost. You might know by my post count I am new here. I used to play some maplestory private servers. So, well I was told to come here if I wanted to learn to make things (of course maple story things). Well I really want to learn more and more. I saw a lot of great releases here and I want to be part of it. I am learning Java currently. I'll do C# after that and then some other language. Can any of you guys give this dumb minded HomoSapien any advice?

With Regards,
Crost.

PCK extractor for 1.3.6

$
0
0
Please, anyone, give me PCK extractor for 1.3.6
Thankyou for answers...

v142 WARP_TO_MAP Analyzing Help

$
0
0
I have been trying to understand on how packets work for sometime now, as far I know I came across a halt I took this packet from a v142 private server and started to compare it with the source released...

I have written the part where Im stuck at how does that packet equals to what I got etc.. thanks..

Code:

02 00 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 < ????00 00 00 00 00 00 00 00 < getChannel
00
01 00 00 00
00 01 00 00  < 256 Bytes
EC 38 CE 78 EC 38 CE 78 EC 38 CE 78 < Randomizer Bytes ?!
FF FF FF FF FF FF BF FF < What's This
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 < 20 Bytes ?!
//addCharStats
C4 04 00 00 4C 6F 73 65 72 00 00 00 00 00 00 00 00 00 02 25 4E 00 00 44 75 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 0C 00 05 00 04 00 04 00 32 00 00 00 32 00 00 00 32 00 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 CD FD 77 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 0A 00 00 00 00 05 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


E8 01 07 00 4C 75 6C 7A 7A 7A 7A 01 07 00 4C 75 6C 7A 7A 7A 7A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 60 60 60 60 00 40 E0 FD 3B 37 4F 01 05 00 01 04 E7 0F 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF 01 04 00 00 07 03 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 01 2A 2D 10 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF 01 04 00 00 07 02 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07 00 01 26 5E 10 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF 01 04 00 00 05 04 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0B 00 01 F0 DD 13 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF 01 01 00 00 07 11 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 37 00 01 20 E2 11 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF 3C 00 00 00 01 00 01 00 01 00 01 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 60 4E 0F 00 00 00 80 05 BB 46 E6 17 02 FF FF FF FF C0 80 01 00 14 00 14 00 02 00 02 00 04 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 40 E0 FD 3B 37 4F 01 FF FF FF FF 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 02 00 0C 00 00 00 00 00 00 00 00 80 05 BB 46 E6 17 02 49 00 00 00 00 00 00 00 00 80 05 BB 46 E6 17 02 00 00 00 00 01 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B FF C9 9A 3B 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 0B 00 43 72 65 61 74 69 6E 67 2E 2E 2E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 E0 FD 3B 37 4F 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 48 3B 57 F9 FD CE 01 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 75 96 8F 00 00 00 00 00 76 96 8F 00 00 00 00 00 77 96 8F 00 00 00 00 00 78 96 8F 00 00 00 00 00 00 00 00 00 30 48 3B 57 F9 FD CE 01 64 00 00 00 00 00 01

Code:

public static MaplePacket getCharInfo(MapleCharacter chr) {
        MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
        mplew.writeShort(SendOpcode.WARP_TO_MAP.getValue());
        mplew.write(HexTool.getByteArrayFromHexString("02 00 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00"));
        mplew.writeLong(chr.getClient().getChannel() - 1);
        mplew.write(0);
        mplew.writeInt(1);
        mplew.writeInt(256); // ???       
       
        for (int i = 0; i < 3; i++) {
            mplew.writeInt(Randomizer.nextInt());
        }
       
        mplew.write(HexTool.getByteArrayFromHexString("FF FF FF FF FF FF BF FF")); // WTF ?! Nexon
        addCharacterInfo(mplew, chr);


        mplew.writeLong(0L);
        mplew.writeLong(0L);
        mplew.writeLong(getTime(System.currentTimeMillis()));
        mplew.writeInt(100);
        mplew.write(0);
        mplew.write(chr.getJob().getId() >= 3200 ? 1 : 0);
        return mplew.getPacket();
    }

And

Code:

public static void addCharacterInfo(MaplePacketLittleEndianWriter mplew, MapleCharacter chr) {
        mplew.write(HexTool.hex("FF FF FF FF FF FF BF FF"));
        mplew.writeZeroBytes(20);
        addCharStats(mplew, chr);

        // Stuck Over Here ?!
        mplew.write(chr.getBuddylist().getCapacity());
        if (chr.getBlessOfFairyOrigin() != null) {
            mplew.write(1);
            mplew.writeMapleAsciiString(chr.getBlessOfFairyOrigin());
        } else {
            mplew.write(0);
        }
        if (chr.getBlessOfEmpressOrigin() != null) {
            mplew.write(1);
            mplew.writeMapleAsciiString(chr.getBlessOfEmpressOrigin());
        } else {
            mplew.write(0);
        }
        MapleQuestStatus ultExplorer = chr.getQuestNoAdd(MapleQuest.getInstance(111111));
        if ((ultExplorer != null) && (ultExplorer.getCustomData() != null)) {
            mplew.write(1);
            mplew.writeMapleAsciiString(ultExplorer.getCustomData());
        } else {
            mplew.write(0);
        }
        addInventoryInfo(mplew, chr);
        addSkillInfo(mplew, chr);
        addCoolDownInfo(mplew, chr);
        addQuestInfo(mplew, chr);
        addRingInfo(mplew, chr);
        addRocksInfo(mplew, chr);
        addMonsterBookInfo(mplew, chr);
        mplew.writeShort(0);
        mplew.writeShort(0);
        chr.QuestInfoPacket(mplew);
        if ((chr.getJob() >= 3300) && (chr.getJob() <= 3312)) {
            addJaguarInfo(mplew, chr);
        }
        mplew.writeInt(0);
        addStealSkills(mplew, chr);
        mplew.writeZeroBytes(5);
        addInnerStats(mplew, chr);
        mplew.writeInt(chr.getHonourLevel());   
        mplew.writeInt(chr.getHonourExp());
        mplew.writeLong(0);
        mplew.writeZeroBytes(17);
        mplew.writeLong(getTime(-2L));
        mplew.write(0);
        mplew.writeInt(0);
        mplew.writeMapleAsciiString("Creating...");
        mplew.writeInt(0);
        mplew.writeInt(0);
        mplew.writeZeroBytes(39);
        mplew.writeLong(getTime(-2L));
        mplew.writeZeroBytes(75);
        mplew.writeLong(getTime(System.currentTimeMillis()));
        mplew.writeInt(0);
        mplew.write(1);
        mplew.writeShort(0);
    }

Viewing all 25214 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>