[Request]EVERYTHING to make nobility work(LOTF)

08/05/2009 21:02 Jay1029#1
I find nobility codes here and there. Some are confusing as hell like UndressMyShadow's. I can't add that one. Every code I try to add gives me errors. Something to do with rank and donation idk. So could someone please be so kind as to send me everything I need to make Nobility work. I'd appreciate it.
Thanks!
08/06/2009 05:53 PeTe Ninja#2
Just use that one that other guy released and convert to mysql.
08/06/2009 07:40 PeTe Ninja#3
Arcotemple & Daniel stop fighting over who can code or who can't code.

I don't want the pros to come in here and make fun of us ! xD


Anyway.. just create your own. You might want to make a datetime so you wont have to send packets every 5 seconds instead everytime you go on map would be fine ( teleport void )
08/06/2009 20:28 Jay1029#4
I still lac the skillz to make my own >.>
08/06/2009 20:56 danielachraf#5
Quote:
Originally Posted by PeTe Ninja View Post
Just use that one that other guy released and convert to mysql.
i said something and went to sleep .. don't care what did he say. and Jay don't understand anything , you said to him CONVERT ? i tried many times to let him understand ...
08/07/2009 22:30 Jay1029#6
Quote:
Originally Posted by danielachraf View Post
i said something and went to sleep .. don't care what did he say. and Jay don't understand anything , you said to him CONVERT ? i tried many times to let him understand ...
Dude wtf are you talking about? You have never helped me rofl!! The only things you do say to me don't make sense lol.
08/07/2009 22:41 Pete1990#7
Use search there is tons of topics on this
#Request close
08/07/2009 22:44 tanelipe#8
Like he stated in his first post the existing codes didn't work for him. It's a valid thread so no closing.
08/08/2009 00:02 n0mansland#9
Quote:
Originally Posted by tanelipe View Post
Like he stated in his first post the existing codes didn't work for him. It's a valid thread so no closing.
There's also 2 or 3 of these threads by Jay though...
08/08/2009 00:37 raidenx123#10
well in my opinion no one will give him a FULLY CODED AND WORKING nobility system for lotf...
08/08/2009 05:56 Jay1029#11
Alright I know now that I won't get a fully coded nobility system. I'll just keep trying with the information that's already out there. Unless someone would at least tell me what I need to stop the error I'm getting. Which is

I have added
Code:
public int Rank = 0;
public int Donation = 0;
under public byte Stamina = 0;

I added this: under public void Save()
Code:
        public void SaveDonation()
        {
            if (MyClient.There)
                if (MyClient.Online)
                    DataBase.SaveDonation(this);
        }
        public void SaveRank()
        {
            if (MyClient.There)
                if (MyClient.Online)
                    DataBase.SaveRank(this);
        }
And this: under public static void SaveChar(Character Charr)
Code:
        public static void Donation(Character Charr)
        {
            try
            {
                MySqlCommand Command = null;
                Command = new MySqlCommand("UPDATE `Characters` SET `Donation` = '" + Charr.Donation + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
                Command.ExecuteNonQuery();

            }
            catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
        }
        public static void Rank(Character Charr)
        {
            try
            {
                MySqlCommand Command = null;
                Command = new MySqlCommand("UPDATE `Characters` SET `Rank` = '" + Charr.Rank + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
                Command.ExecuteNonQuery();

            }
            catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
        }
I'm pretty sure everything is right. But SaveDonation and SaveRank are underlined.[/QUOTE]
08/08/2009 06:23 CoAttack#12
IF you really want help I can tell you the cheap easy way to do it ...

do what you doing there, make an npc ...

then go to SpawnMeToOthers, and SpawnOthersToMe also UdpateSpawn . there you can add the effects . the npc wont as hard just create it so there is donation things then save it.

Now when you login make sure it checks for the rank id so that way if its like rank 1 then its a king. and it shows when they log in you can also check out your Teleport void and when someone teleports somewhere else it shows... I can probably help you if you get the things...or i might use search and go get the ini one and convert then make it a bit better if you still need help.. just try yourself first post here what i told you to do =]]
08/09/2009 04:48 Jay1029#13
I don't really understand what you mean here

Quote:
then go to SpawnMeToOthers, and SpawnOthersToMe also UdpateSpawn . there you can add the effects . the npc wont as hard just create it so there is donation things then save it.
08/09/2009 05:29 CoAttack#14
World.________________

make it so if they are that rank it shows.