Register for your free account! | Forgot your password?

You last visited: Today at 16:09

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


[Release] Heaven Blessing

Closed Thread
 
Old 10/31/2008, 18:51   #16
 
elite*gold: 0
Join Date: Oct 2008
Posts: 2
Received Thanks: 0
Hey, look at the problem I have is that I can not find some lines to edit the file such as:
else if (ItemParts [0] == "723017")
public static void SaveChar (Character Charr)

in this case I do?

I hope that I can help



FR4N is offline  
Old 10/31/2008, 19:14   #17
 
elite*gold: 0
Join Date: Oct 2008
Posts: 342
Received Thanks: 66
Are u using LOTF?


~Xero~ is offline  
Old 10/31/2008, 19:24   #18
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,293
Received Thanks: 919
Quote:
Originally Posted by FR4N View Post
Hey, look at the problem I have is that I can not find some lines to edit the file such as:
else if (ItemParts [0] == "723017")
public static void SaveChar (Character Charr)

in this case I do?

I hope that I can help
search for

else if (ItemParts [0] == "

and you'll find some...

and

public static void SaveChar

cause for some reason i can't find things sometimes so i just make it shorter
Kiyono is offline  
Old 10/31/2008, 19:34   #19
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,159
The reason you sometime cannot find stuffs,is because I am using an non edited LOTF source for this,and that is what you should do too. All these "good" sources that are released,are only pathetic,maybe something good is in them,but always ,they include really bad stuffs. So,please,use normal LOTF source with GOOD e*pvp released / edits.

Thanks

Emme


_Emme_ is offline  
Old 10/31/2008, 20:56   #20
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,293
Received Thanks: 919
Quote:
Originally Posted by EmmeTheCoder View Post
The reason you sometime cannot find stuffs,is because I am using an non edited LOTF source for this,and that is what you should do too. All these "good" sources that are released,are only pathetic,maybe something good is in them,but always ,they include really bad stuffs. So,please,use normal LOTF source with GOOD e*pvp released / edits.

Thanks

Emme
I also use a clean LOTF and couldn't find the else if(itempart thingy so i just put it above a other one
Kiyono is offline  
Old 10/31/2008, 22:27   #21
 
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
Good Work Emme, but i'm getting some fuck erros :
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveHB(Character Charr) in C:\Documents and Settings\Vinicuis\Desktop\SoulCo\ShadowCO\COServer Project\DataBase.cs:line 1250
System.InvalidOperationException: Connection must be valid and open
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuSco Loaded 254 portals.

Sco Loaded 1032 NPCs.
DungMaster is offline  
Old 10/31/2008, 22:44   #22
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,159
Go into your source,in DataBase.cs, and search for line 1250. What does that line says?
_Emme_ is offline  
Old 10/31/2008, 23:35   #23
 
elite*gold: 20
Join Date: May 2007
Posts: 1,119
Received Thanks: 328
I like how people leach, get free stuff, then swear at you when it doesn't work correctly...or they fail at putting it in and just flame the person anyways >.>
LetterX is offline  
Old 11/01/2008, 01:46   #24
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 86
When I restart my server, The heaven's blessing is gone =(. I added all the things onto MySQL but HeavensBlessing still doesn't save. Is it even supposed to save?
justprownage is offline  
Old 11/01/2008, 13:20   #25
 
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
Quote:
Originally Posted by EmmeTheCoder View Post
Go into your source,in DataBase.cs, and search for line 1250. What does that line says?
Command.ExecuteNonQuery(); ... ;x

Code:
 
        public static void SaveHB(Character Charr)
        {
            try
            {
                MySqlCommand Command = null;
                Command = new MySqlCommand("UPDATE `Characters` SET `HeavenBless` = '" + Charr.HBEnd.ToString() + "',`WhichBless` = '" + Charr.WhichBless + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
              [COLOR="Red"]PS>>> Line 1250 [/COLOR] Command.ExecuteNonQuery();

            }
            catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
        }
DungMaster is offline  
Old 11/01/2008, 15:43   #26
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
@DungMaster
Don't Double Post!
Use button.
pauldexter is offline  
Old 11/01/2008, 15:49   #27
 
elite*gold: 0
Join Date: Apr 2007
Posts: 12
Received Thanks: 0
Quote:
Originally Posted by DungMaster View Post
Code:
 
        public static void SaveHB(Character Charr)
        {
            try
            {
                MySqlCommand Command = null;
                Command = new MySqlCommand("UPDATE `Characters` SET `HeavenBless` = '" + Charr.HBEnd.ToString() + "',`WhichBless` = '" + Charr.WhichBless + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
              [COLOR="Red"]PS>>> Line 1250 [/COLOR] Command.ExecuteNonQuery();

            }
            catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); }
        }

hello whats source you use...
beacuse if you have
Code:
if(ExternalDatabase.AllowQuerys)
                ExternalDatabase.DatabaseQueue.Enqueue(new MySqlCommand
is very different... ihave your prbolem and use other source...


the command is not compatible I guess ... :S
silvestre is offline  
Old 11/02/2008, 02:20   #28
 
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
Quote:
Originally Posted by silvestre View Post
hello whats source you use...
beacuse if you have
Code:
if(ExternalDatabase.AllowQuerys)
                ExternalDatabase.DatabaseQueue.Enqueue(new MySqlCommand
is very different... ihave your prbolem and use other source...


the command is not compatible I guess ... :S

I'm using ShadowCO Source
DungMaster is offline  
Old 11/07/2008, 20:23   #29
 
elite*gold: 0
Join Date: Mar 2006
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by justprownage View Post
When I restart my server, The heaven's blessing is gone =(. I added all the things onto MySQL but HeavensBlessing still doesn't save. Is it even supposed to save?
Same...
The problem come when log again after restart server, Save is good but when it go load delete all.
supersoto is offline  
Old 01/25/2009, 05:19   #30
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 490
thx emme very good command added to

seems i couldnt find it before its right next to the benefits =]


PeTe Ninja is offline  
Closed Thread



« Editable web release | [Release] Mr.Free for 5017 Pvp »

Similar Threads
How to get Heaven Blessing without spending money at all!!
08/16/2009 - CO2 Guides & Templates - 19 Replies
of course, many of u wishes to get heaven blessing but they don't have the money to buy it. well, i figured a way for u to get free heaven blessing without paying anything! and it only takes about 5-15 min.!! |STEP 1| Join the mount's warpaint event, just draw anything stupid :rolleyes: all we want is to get the link. (use the existing players login to get it after u finish) |STEP 2| take the link and scroll down to the end of the page u'll find register press it and register normally....
Exp Pot and Heaven Blessing
12/03/2008 - CO2 PServer - Discussions / Questions - 5 Replies
I followed the guides, both were by Emme, and everything seems to work fine. However, when a character logs in I get an error message in LOTF saying there's something wrong with line 1250 in database.cs, the "WhichBless" line. The characters disappear in game, so it seems like the "model" is missing which I can change back to smale and my character reappears. Am I missing any MySQL Character Tables for Exp Pot which could be the problem? Or is there something wrong with this line:...
Heaven Blessing
08/17/2007 - CO2 Main - Discussions / Questions - 2 Replies
I recently tried a heaven blessing, and I found that the rez where you are button doesn't work for me. It tells me I don't have heaven blessing. Anyone else have that, or know how to solve it?
Question about Heaven Blessing
03/30/2007 - CO2 Main - Discussions / Questions - 4 Replies
Does anyone know how to take the curse effect out so it does not lag no more?



All times are GMT +1. The time now is 16:09.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.