Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 12:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



New Tool for Rappelz

Discussion on New Tool for Rappelz within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 76
Received Thanks: 81
New Tool for Rappelz

This is the new tool I am working on to add, modify, delete data from rappelz rdb
I want to implement several tables of the db for a better management of the tables.
I need help only with a problem that I have and it is the use of use_item_flag since I do not understand very well how to generate it if someone could give me an example of code to be able to create it from the application and not have to use the Flag_generator from the outside I would appreciate it.
Attached Images
File Type: jpg Rappelz_Tool.jpg (187.6 KB, 197 views)
Capturador is offline  
Old 07/29/2019, 19:58   #2
 
SilentWisdom's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
Code:
using System;
using System.IO;
using System.Windows.Forms;

namespace Grimoire.Tabs.Styles
{
    public partial class UseFlag : UserControl
    {
        readonly Logs.Manager lManager;
        protected bool calculating = false;

        public UseFlag()
        {
            InitializeComponent();
            lManager = Logs.Manager.Instance;
        }

        public UseFlag(int flag)
        {
            InitializeComponent();
            lManager = Logs.Manager.Instance;
        }

        private int flag
        {
            get
            {
                return (flagIO.Text.Length == 0) ? 0 : Convert.ToInt32(flagIO.Text);
            }
            set { flagIO.Text = value.ToString(); }
        }

        private void UseFlag_Load(object sender, EventArgs e)
        {
            string flagsPath = Grimoire.Utilities.OPT.GetString("useflag.list_path");
            if (flagsPath == null)
            {
                MessageBox.Show("No path for flag file defined!", "Flag Path Exception", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return;
            }

            int flags = 0;
            
            if (File.Exists(flagsPath))
            {
                using (StreamReader sR = new StreamReader(flagsPath))
                {
                    string lineVal = null;
                    while ((lineVal = sR.ReadLine()) != null)
                    {
                        flagList.Items.Add(lineVal);
                        flags++;
                    }
                }

                lManager.Enter(Logs.Sender.USEFLAG, Logs.Level.NOTICE, "{0} Flags loaded to tab: {1}", flags, Tabs.Manager.Instance.Text);
            }
            else
            {
                string msg = string.Format("Could not load flag list at:\n{0}", flagsPath);
                lManager.Enter(Logs.Sender.USEFLAG, Logs.Level.ERROR, msg);
                MessageBox.Show(msg, "Load Flags Exception", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        private void calculate_Click(object sender, EventArgs e)
        {
            calculating = true;

            flag = 0;
            for (int index = 0; index < flagList.Items.Count; index++)
            {
                if (flagList.GetSelected(index))
                {
                    flag |= (int)Math.Pow(2.0, index);
                }
            }

            calculating = false;
        }

        private void reverse_Click(object sender, EventArgs e)
        {
            for (int index = 0; index < flagList.Items.Count; index++)
            {
                flagList.SetSelected(index, ((flag >> index) & 1) == 1);
            }
        }

        private void flagIO_TextChanged(object sender, EventArgs e)
        {
            if (flag == 0) { reverse.Enabled = false; }
            else
            {
                reverse.Enabled = true;

                if (!calculating)
                {
                    if (Grimoire.Utilities.OPT.GetBool("useflag.auto_reverse"))
                    {
                        reverse_Click(null, EventArgs.Empty);
                    }
                }
            }
            if (flagIO.Text.Length == 0) { flag = 0; }
        }
    }
}
SilentWisdom is offline  
Old 07/30/2019, 02:30   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 76
Received Thanks: 81
TY for help

thanks for the code now understanding the flag better
Capturador is offline  
Old 08/02/2019, 15:55   #4
 
elite*gold: 0
Join Date: Oct 2010
Posts: 168
Received Thanks: 22
english version please
h96vy is offline  
Old 08/02/2019, 21:23   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 76
Received Thanks: 81
It is for future servers in Spanish

I try to create the tools in Spanish because I have a good time working on the string of the game in Spanish, so my applications are created in that language for future servers in Spanish.
I am currently with string 9.5.2 translating it into Spanish and I have been 60% of the translated string.
Note: I have lasted a long time because the translation was done only

Currently finished
1. Interface
2 NPCs
3. Monsters
4. Combinations, titles, etc.
5. Character Skills and Creatures
6. Effects
Currently missing
1. Items
2. Quests

I currently test the string on the game portal server
Attached Images
File Type: jpg Ejemplo.jpg (117.6 KB, 131 views)
File Type: jpg screen_1.jpg (202.8 KB, 132 views)
File Type: jpg screen_2.jpg (186.5 KB, 129 views)
File Type: jpg screen_3.jpg (342.8 KB, 78 views)
File Type: jpg screen_4.jpg (349.0 KB, 75 views)
File Type: jpg screen_5.jpg (224.7 KB, 71 views)
File Type: jpg screen_6.jpg (237.2 KB, 71 views)
File Type: jpg screen_7.jpg (467.7 KB, 74 views)
File Type: jpg screen_8.jpg (427.2 KB, 74 views)
Capturador is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Deli Rappelz, Rappelz Private Server, Türkçe Rappelz Private Server, Rappelz Deli
03/10/2014 - Rappelz Private Server - 2 Replies
Merhaba kardeşlerim, deli rappelz açıldı. Oyundan kısaca bahsedersek oyun 7.4 versiyonlu muhteşem bi oyundur. Herkeze tavsiye edebilirim - Oyunda sadece oyuncuyum sizleride oyunda görürsek daha mutlu oluruz. Oyun 24 saat açıktır istediğiniz zaman girer oynarsınız. ######### Oyun özellikleri ######### x60 Drop özelliği (1 Saat içerisinde 100 level olabilme imkanı.) & ne zor ne kolay tam orta derece. sıkılmayacaksınız! Volkanus (Aktif!)



All times are GMT +1. The time now is 12:46.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.