Register for your free account! | Forgot your password?

You last visited: Today at 17:17

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


Exp Pot and Heaven Blessing

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 7
Received Thanks: 0
Exclamation Exp Pot and Heaven Blessing

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: "Charr.WhichBless = (byte)DR["WhichBless"];" Has this ever happened to anyone else?
Thanks to anyone who can help.

Here is the Error Message that comes up in LOTF when a character logs in:
System.InvalidCastException: Specified cast is not vaild.
at COServerProject.DataBase.GetCharInfo<Character Charr, String UserName> in
C:\Documents and Settings\Desktop\LOTF Source\COServerProject\DataBase.cs:line 1250



punch_hi_kick_lo is offline  
Old 12/02/2008, 18:23   #2
 
elite*gold: 0
Join Date: Jun 2006
Posts: 114
Received Thanks: 30
Emme Left a few error's in his exppot... but there easy to fix.. it takes like 5 seconts

ok when u lay out all the stuff in correct places it says u have a problem with MyC lient

Make MyC lient MyClient and its fixed


imported_spitt_fire911 is offline  
Old 12/02/2008, 21:57   #3
 
elite*gold: 0
Join Date: Oct 2006
Posts: 222
Received Thanks: 27
Well, he says that there's something wrong in the line with Whichbless so it probably wouldn't be make MyC lient MyClient, because else the whole thing wouldn't work... Punch hi kick lo, you should add a table for Whicbless and Heavenbless in your Mysqldatabase in the row character.

HeavenBless
varchar(32)
latin1_swedish_ci
Not null

WhichBless
tinyint(10)
UNSIGNED
not null
0



This should do it,


Ciao!


Btw, thank* if i helped you, because i love those thanks LOOOL i'm having too much fun and on the other side i'm bored loool.
sherwin9 is offline  
Old 12/02/2008, 22:39   #4
 
elite*gold: 0
Join Date: Jun 2005
Posts: 686
Received Thanks: 338
Quote:
Originally Posted by sherwin9 View Post
WhichBless
tinyint(10)
UNSIGNED
not null
0
A TINYINT is basically a sbyte/byte (8-bits) and will never be 10 digits long.

It being unsigned, makes it a byte so only a max of 3 digits will ever be used.
If it were signed (not unsigned) it would be a sbyte with a max of 4 digits (1 for the optional negative).


nTL3fTy is offline  
Old 12/03/2008, 07:19   #5
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 300
Don't forget there is also another bug that needs fixed and that is to stop the super weapon effects from blinking to other players when your blessed.

you don't see it everything looks fine but to other players looking at you your super weapons effects blink on and off lol.
Tw3ak is offline  
Old 12/03/2008, 22:37   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 153
Quote:
Originally Posted by Tw3ak View Post
Don't forget there is also another bug that needs fixed and that is to stop the super weapon effects from blinking to other players when your blessed.

you don't see it everything looks fine but to other players looking at you your super weapons effects blink on and off lol.
Easy as **** fix, if people know the difference between a logical or and a logical and >_>


tao4229 is offline  
Reply



« [Request/Help] | Help? »

Similar Threads
[Release] Heaven Blessing
09/16/2009 - CO2 PServer Guides & Releases - 44 Replies
Time to release heavingblessing, so my HB benefits actually works,ha-ha :D Okay,before we start,I have to give Kinshi credits : Kinshi - Got the effectname from him. Okay,lets go folks! First,we define,thats a smart option,huh? In...
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...
Heaven Blessing/Noble Rank
04/28/2009 - CO2 PServer - Discussions / Questions - 2 Replies
Hi.... I was wondering if there was a way to take off the heaven blessing animation and the noble rank animation if you can can you post here or tell me on msn :) ty [email protected] add me on msn
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&#39;t work for me. It tells me I don&#39;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 +2. The time now is 17:17.


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.